Update Antrea entry in landscape.yml

Now that it is a CNCF Sandbox project
Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

:heavy_check_mark: Deploy Preview for landscape ready!
:hammer: Explore the source changes: 2dc015270b3c7be596b5911429d58bd3aa359a1a
:mag: Inspect the deploy log: https://app.netlify.com/sites/landscape/deploys/60b81ea091910d0008a55477
:sunglasses: Browse the preview: https://deploy-preview-2126--landscape.netlify.app

LGTM


Skopeo exporter

[x] I have read Pelorus Contributing guidelines

Linked Issues

resolves #967
Description

A new type of provider for the commit time exporter that works similarly to the deploytime, but additionally for the found running applications it reaches out to the external container registry and tries to get commit time from the Docker label.
This is WIP that still require a new image build and extensive testing.
Testing Instructions
Currently run the exporter using python interpreter on the system that has skopeo installed:
$ export KUBECONFIG=<path to kubeconfig>
$ export LOG_LEVEL=debug
$ export PROVIDER=containerimage
$ export NAMESPACES=<optional step to list namespaces for running pods>
$ python exporters/committime/app.py
$ #Open http://localhost:8080

This exporter can be use to calculate the above commit time, based on the provided example application, that is already in the test quay.io repository:
Create ReplicaSet using OCP WebUI or oc apply command with the following ReplicaSet in the testnamespace namespace, that must be existing:
apiVersion: apps/v1
kind: ReplicaSet
metadata:
  name: example
  namespace: testnamespace
spec:
  replicas: 2
  selector:
    matchLabels:
      app: httpd
  template:
    metadata:
      name: httpd
      labels:
        app: httpd
        app.kubernetes.io/name: httpd
    spec:
      containers:
        - name: httpd
          image: >-
            quay.io/pelorus/httpd-sample-app:latest
          ports:
            - containerPort: 8080

And start the exporter as above.
You can also create instance of the committime as in the following example (note committime one):
apiVersion: charts.pelorus.dora-metrics.io/v1alpha1
kind: Pelorus
metadata:
  name: pelorus-sample
  namespace: test-pelorus-operator
spec:
  exporters:
    instances:
      - enabled: true
        app_name: deploytime-exporter
        exporter_type: deploytime
      - enabled: true
        extraEnv:
          - name: PROVIDER
            value: containerimage
        app_name: committime-exporter
        exporter_type: committime
        image_name: 'quay.io/pelorus/rc-pelorus-exporter:skopeo_8'
    global: {}
  openshift_prometheus_basic_auth_pass: changeme
  openshift_prometheus_htpasswd_auth: 'internal:{SHA}+pvrmeQCmtWmYVOZ57uuITVghrM='
  prometheus_retention: 1y
  prometheus_retention_size: 1GB
  prometheus_storage: false
  prometheus_storage_pvc_capacity: 2Gi
  prometheus_storage_pvc_storageclass: gp2

Don't forget documentation for the new exporter

please update PR description/test instructions, it is outdated

I have run the exporter locally without installing skopeo, and it does not break (I think it triggers skopeo_failures). I would create an issue about this, I think it strange to not break when skopeo is not available

/lgtm

I have run the exporter locally without installing skopeo, and it does not break (I think it triggers skopeo_failures). I would create an issue about this, I think it strange to not break when skopeo is not available

If skopeo fails we create a failed list and we re-try up to 3 times and then pass for 2 days. We really don't care what was the failure as skopeo may have number of errors, but you are right that missing skopeo CLI may be something we should catch in a first place. We do control the container image content and with your change we now include skopeo, so it's not really something standard user will see imo.


fixed overflow in group-function tests

The changes in group_functions.hpp are mostly quality of life changes.
The diffs for the reduce/scan tests go crazy, but I only extracted the tests using multiplication and put them into their own test-case and replacing the data generator with one, that is 1 almost everywhere. Also since the multiplication-tests doesn't overflow anymore I don't need to disable float anymore :tada:

@hipSYCL-ci-bot test please

Thank you!


Continue on pending challenge

Did you have a check if this is also working for :letsencrypt_test provider?.. I recall eitherr :letsencrypt or letsencrypt_test had different state transitions flow.. and one of the two was giving me troubles with these states..
If they both work with this change I'm merging.. just confirm it plz

Let me check that. I'll also need some time though no hurry getting this merged :-)


Update evaluation section for gluon multiclass LR

Closes #58

Thanks! Yes somewhere I reverted the eval code by accident. Thanks for the fix.


A simpler representation of an axis location?

the problem
Currently we store axis locations (in both fea-rs and in fontc) as some sort of map (hash or b-tree) of tag->value. In the font binary, these end up stored as a (sparse) array of values, in axis-order.
I'm finding our current representation a bit difficult to work with, and I'm wondering if there would be some benefit to using a representation closer to what ends up in the binary. The idea would be that we have a Location type that is always normalized and is internally stored as Vec<f32>, and then we enforce that these can only be constructed if you have an AxisOrdering (or something) type, which enforces the invariant that the length of the vector equals the number of axes, and they are in the correct order.
benefits
I think this has a number of benefits:

we don't need to worry about OrderedFloat
we only need to validate/construct once, and conversion to the final representation is trivial
storing locations uses less memory (definitely, no storing tags)
we're probably computationally more efficient, since computers love arrays (not sure how significant this is, but if we're doing tons of hashing it could be relevant)
we don't have to worry as much about the possibility of an unexpected tag or similar, since we're 'valid by construction'

I'm writing this up right now because I'm running into some annoyances in moving to using f32 instead of Fixed, and it's making me revisit some older design ideas I've had. This doesn't need to block the f32 changes; it's more a longer-term evolution idea.
drawbacks
It's possible that there are drawbacks here that I'm not considering?

maybe we want to construct locations in places where we do not have access to the axis order?
maybe there are implementation challenges to implementing the constructor that I'm not thinking about (what does this API actually look like, how does this work in an avar2 world, etc)

in any case, I think this would likely be at least worth investigating.

The drawback of needing a global thing that has to be involved to produce a Location is fairly significant; it's moving toward what Javaland would call the LocationFactory. It complicates every bit of code that ever needs to interact with a Location.
Also, suppose I have some code that wants to work with two sources at once, or even just want to alter the axis order. Now I have several active AxisOrdering. Which one did any given location come from? I guess it has to know?

A very achievable step that would make my life better is to have just one Location type; receiving fea_rs::compile::variations::AxisLocation not the compilers location type is a nuisance. I propose - again - fea-rs gets to see fontdrasil and we move some stuff from fontir/src/variations.rs there.
I think that might let us avoid the callback interaction via VariationInfo, we could just give the compiler enough information to do unit conversions and compute deltas because it could directly interact with VariationModel.


Make one of the cartesian product elements a digraph

They're taking up valuable space, so one of them could be moved into a digraph. Most of the time, the order doesn't matter, but people also don't use infinite lists that often. One disadvantages of moving the safe version to a digraph is that if someone tries to use cartesian product on an infinite list, their program will hang and they might find it hard to figure out why. One disadvantages of moving the unsafe version to a digraph is that if someone depends on the order of the output and they unwittingly use the safe version with its weird order, it's going to be hard to diagnose why their program isn't working.
Alternatively, a flag could be added to prefer infinite-list-safe operations over strict ones.

There's been too many times where I've needed the unsafe option but had to settle for sorting the safe option, taking up more bytes. Making both of the cartesian products monographs was intentional, and is something I would prefer to keep.
Also, the flag option sounds like pain on all fronts (implementation + downvote potential)


autoSkip support for calculateTickRotation

If you have autoSkip on then you can have calculateTickRotation return 0. This addresses space constraints via auto-skipping instead of rotation. As a result, it leaves more room for the chart contents by keeping the scale height low since there's no rotation. The current logic is not cohesive and calculates the labelRotation and _autoSkip independently often coming up with results that are fairly sub-optimal when combined
Closes user reports https://github.com/chartjs/Chart.js/issues/3981 and https://github.com/chartjs/Chart.js/pull/5765. Closes my previous attempt https://github.com/chartjs/Chart.js/pull/6072. Partially addresses https://github.com/chartjs/Chart.js/issues/6074

Rotation and auto skipping might not work too well together, but I don't think a "magic button" is the solution.
If a user wants maxRotation = minRotation when autoSkip = true, it can be specified in config.
Just my opinion, feel free to disagree 👼


[VS Code] Cannot read property 'sessionId' of undefined

Error:
Cannot read property 'sessionId' of undefined
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.925

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.28.2

platformName
MacOS

platformVersion
18.0.0

Thanks for reporting this! We're already tracking this issue via #1172, so I'm going to close this as a duplicate. Thanks!


Request group actions

Adds the capability to execute aggregate actions against a request group:

All of the included actions have had their implementations updated to support multiple request Ids.
Todo:

[x] Update all request data immediately on action execution
[x] Add some context to actions that aren't available

@tpetr @Calvinp @wolfd

Fixed the merge issues and hide/show of the menu, should be good to test this out more now


update to golangci-lint v1.60.3

also use .golangci.yml config the same as cluster-backup-operator

/cc @birsanv


4 inch led display help

Was having trouble finding the display in the parts list. Took a chance on the 4 inch HDMI display found here.
http://www.lcdwiki.com/4inch_HDMI_Display-C#Download_Resources
Can I get some advice to get this display working?   It works fine in the Rasbian OS.  When I try to get it to work with Raspiblitz it just flashes a blue screen.  Is there a way to load the drivers after the RaspiBlitz OS is installed?
Thanks
J

Was having trouble finding the display in the parts list.

Which country are you in?

Can I get some advice to get this display working?

Looks like an HDMI display ... so you need to switch the RaspBlitz from GPIO-LCD to HDMI mode. See details on this in the FAQ: https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd

Was having trouble finding the display in the parts list.

Which country are you in?

Can I get some advice to get this display working?

Looks like an HDMI display ... so you need to switch the RaspBlitz from GPIO-LCD to HDMI mode. See details on this in the FAQ: https://github.com/rootzoll/raspiblitz/blob/v1.6/FAQ.md#can-i-run-the-raspiblitz-without-a-displaylcd

If you already have an IP for the Pi, connect via ssh (find in the router settings):
sudo nano /boot/config.txt
uncomment the following that is on line 6:
hdmi_safe=0
Ctrl + X, Y, Enter (to save the file)
sudo reboot
If you cant ssh yet:
Plug the microSD to your other machine and edit the config.txt the same way described above. And then just try again the card on the pi.
Let me know if this works for you @jdh3. It works on a normal HDMI monitor for me.

If you already have an IP for the Pi, connect via ssh (find in the router settings):
sudo nano /boot/config.txt
uncomment the following that is on line 6:
hdmi_safe=0
Ctrl + X, Y, Enter (to save the file)
sudo reboot
If you cant ssh yet:
Plug the microSD to your other machine and edit the config.txt the same way described above. And then just try again the card on the pi.
Let me know if this works for you @jdh3. It works on a normal HDMI monitor for me.

I have the same problem.  The screen will never be touchscreen will it?  I really want that feature.  Anyone have another amazon link LCD that would work out of the box?  The one on the guide is gone.

I have the same problem.  The screen will never be touchscreen will it?  I really want that feature.  Anyone have another amazon link LCD that would work out of the box?  The one on the guide is gone.

I did get it working with the help above and some digging around with one problem that still remains.  I tried adding the html text file alone and it did not work but after Ben10Brasileiro made me aware of the config.txt file I started just changing random things and got it to boot with the screen on.
I you want this screen to work first add the html.txt file to the boot drive.  The code below will only work (for me) if the html file is present and then the code below is added.  Im sure some things below are turned on and don't need to be I was trying random things until I got it to work.
The code below copy and pasted should get it to work.
For more options and information see
http://www.raspberrypi.org/documentation/configuration/config-txt.md
Some settings may impact device functionality. See link above for details
uncomment if you get no picture on HDMI for a default "safe" mode
hdmi_safe=1
uncomment this if your display has a black border of unused pixels visible
and your display can output without overscan
disable_overscan=0
uncomment the following to adjust overscan. Use positive numbers if console
goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
uncomment to force a console size. By default it will be display's size minus
overscan.
#framebuffer_width=1280
#framebuffer_height=720
uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=1
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
hdmi_drive=2
uncomment to increase signal to HDMI, if you have interference, blanking, or
no display
config_hdmi_boost=4
uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
enable_uart=1
Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
Additional overlays and parameters are documented /boot/overlays/README
Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=tft35a
#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900
The only problem now is it hangs on the i2c prompt.  https://github.com/rootzoll/raspiblitz/issues/1940
I disconnected the HDMI and it will now will boot up and I can ssh into the machine.  Before it would not even boot up to SSH.  Im currently syncing the blockchain and if all goes as expected, I think will be able to turn the screen back on via ssh commands.  If someone has advice of the i2c hanging problems that would be great.  I would like to thank everyone that helped me.

I did get it working with the help above and some digging around with one problem that still remains.  I tried adding the html text file alone and it did not work but after Ben10Brasileiro made me aware of the config.txt file I started just changing random things and got it to boot with the screen on.
I you want this screen to work first add the html.txt file to the boot drive.  The code below will only work (for me) if the html file is present and then the code below is added.  Im sure some things below are turned on and don't need to be I was trying random things until I got it to work.
The code below copy and pasted should get it to work.
For more options and information see
http://www.raspberrypi.org/documentation/configuration/config-txt.md
Some settings may impact device functionality. See link above for details
uncomment if you get no picture on HDMI for a default "safe" mode
hdmi_safe=1
uncomment this if your display has a black border of unused pixels visible
and your display can output without overscan
disable_overscan=0
uncomment the following to adjust overscan. Use positive numbers if console
goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
uncomment to force a console size. By default it will be display's size minus
overscan.
#framebuffer_width=1280
#framebuffer_height=720
uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=1
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
hdmi_drive=2
uncomment to increase signal to HDMI, if you have interference, blanking, or
no display
config_hdmi_boost=4
uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on
enable_uart=1
Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
Additional overlays and parameters are documented /boot/overlays/README
Enable audio (loads snd_bcm2835)
dtparam=audio=on
dtoverlay=tft35a
#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900
The only problem now is it hangs on the i2c prompt.  https://github.com/rootzoll/raspiblitz/issues/1940
I disconnected the HDMI and it will now will boot up and I can ssh into the machine.  Before it would not even boot up to SSH.  Im currently syncing the blockchain and if all goes as expected, I think will be able to turn the screen back on via ssh commands.  If someone has advice of the i2c hanging problems that would be great.  I would like to thank everyone that helped me.

I can boot and ssh in.  I currently am syncing the blockchain as well.  When you say "I disconnected the HDMI"  do you mean the little HDMI to HDMI converter plug that connects the screen to the pi board?
Did you have to install the drivers like the seller indicated on AMZ?
The Raspiblitz setup guide kind of acts like this should be plug and play.

I can boot and ssh in.  I currently am syncing the blockchain as well.  When you say "I disconnected the HDMI"  do you mean the little HDMI to HDMI converter plug that connects the screen to the pi board?
Did you have to install the drivers like the seller indicated on AMZ?
The Raspiblitz setup guide kind of acts like this should be plug and play.

Yes I removed the mini plug that converts it to the larger plug on the screen.   I had to do this to be able to ssh into the pi.  The strange thing is that I could not even ssh into the pi without tweaking the config.txt first.
After I got the screen to work while booting it would hang at i2c. Which is much better than the flashing blue screen.
After the hanging at i2c prompt..I restarted the pi and unplugged the hdmi and I could ssh into the pi like the instructions said.
After I get this synced up I think ill maybe play with the config file some more maybe can figure something out.  Would be nice if the screen worked everytime I powered it off and on again with out using commands.  I guess will see how it plays out in few days.

Yes I removed the mini plug that converts it to the larger plug on the screen.   I had to do this to be able to ssh into the pi.  The strange thing is that I could not even ssh into the pi without tweaking the config.txt first.
After I got the screen to work while booting it would hang at i2c. Which is much better than the flashing blue screen.
After the hanging at i2c prompt..I restarted the pi and unplugged the hdmi and I could ssh into the pi like the instructions said.
After I get this synced up I think ill maybe play with the config file some more maybe can figure something out.  Would be nice if the screen worked everytime I powered it off and on again with out using commands.  I guess will see how it plays out in few days.

Sounds good.  I had another 3.5 screen I plugged in but it didn't come up right away.  I installed a driver for the 4 inch screen earlier so I am going to install the 3.5 driver now and see what happens.  If it doesn't come up right away I am going to just leave it alone for the blockchain to sync and try more things after that like you.

Sounds good.  I had another 3.5 screen I plugged in but it didn't come up right away.  I installed a driver for the 4 inch screen earlier so I am going to install the 3.5 driver now and see what happens.  If it doesn't come up right away I am going to just leave it alone for the blockchain to sync and try more things after that like you.

For touchscreen to work @pkepler @jdh3 try this:
https://www.youtube.com/watch?v=4Va3Imd8ByM&feature=youtu.be
http://www.lcdwiki.com/4inch_HDMI_Display-C

All info from where you bought.

For touchscreen to work @pkepler @jdh3 try this:
https://www.youtube.com/watch?v=4Va3Imd8ByM&feature=youtu.be
http://www.lcdwiki.com/4inch_HDMI_Display-C

All info from where you bought.

Yes I removed the mini hdmi plug that converts it to the larger humid plug on the screen. I had to do this to be able to ssh into the pi. The strange thing is that I could not even ssh into the pi without tweaking the config.txt first.
After I got the screen to work while booting it would hang at i2c. Which is much better than the flashing blue screen.
After the hanging at i2c prompt..I restarted the pi and unplugged the hdmi and I could ssh into the pi like the instructions said.
@jdh3
Nice, no screen problem and I2C.
Just one thing I forgot to mention to you, you config.txt. are rewritten automatically after setting up blitz.
The hdmi safe made you access the screen right, but it was the first boot, the second boot will be rewritten (because you are still setting up the pi|), then you need to correct the config.txt´ file again do hdmi_safe=1`, cause it returned to default settings.
Try editing the file again and boot with the hdmi cable plugged, tell me if works fot you.

Yes I removed the mini hdmi plug that converts it to the larger humid plug on the screen. I had to do this to be able to ssh into the pi. The strange thing is that I could not even ssh into the pi without tweaking the config.txt first.
After I got the screen to work while booting it would hang at i2c. Which is much better than the flashing blue screen.
After the hanging at i2c prompt..I restarted the pi and unplugged the hdmi and I could ssh into the pi like the instructions said.
@jdh3
Nice, no screen problem and I2C.
Just one thing I forgot to mention to you, you config.txt. are rewritten automatically after setting up blitz.
The hdmi safe made you access the screen right, but it was the first boot, the second boot will be rewritten (because you are still setting up the pi|), then you need to correct the config.txt´ file again do hdmi_safe=1`, cause it returned to default settings.
Try editing the file again and boot with the hdmi cable plugged, tell me if works fot you.

Sounds good. I had another 3.5 screen I plugged in but it didn't come up right away. I installed a driver for the 4 inch screen earlier so I am going to install the 3.5 driver now and see what happens. If it doesn't come up right away I am going to just leave it alone for the blockchain to sync and try more things after that like you.

The 3.5 screen displays fine, although I don't know if the touchscreen part works yet.  Refocusing on 4 inch screen though, I am changing the display back and trying again. Excuse my Linux ignorance but when I look at these instructions:
They list drivers for the Raspbian or Ubuntu/Kali/Retropie.  I should only have to install for the Raspbian correct?

Sounds good. I had another 3.5 screen I plugged in but it didn't come up right away. I installed a driver for the 4 inch screen earlier so I am going to install the 3.5 driver now and see what happens. If it doesn't come up right away I am going to just leave it alone for the blockchain to sync and try more things after that like you.

The 3.5 screen displays fine, although I don't know if the touchscreen part works yet.  Refocusing on 4 inch screen though, I am changing the display back and trying again. Excuse my Linux ignorance but when I look at these instructions:
They list drivers for the Raspbian or Ubuntu/Kali/Retropie.  I should only have to install for the Raspbian correct?

They list drivers for the Raspbian or Ubuntu/Kali/Retropie. I should only have to install for the Raspbian correct?

Correct, only raspbian. But you should verify if this is the seller you bought from.

They list drivers for the Raspbian or Ubuntu/Kali/Retropie. I should only have to install for the Raspbian correct?

Correct, only raspbian. But you should verify if this is the seller you bought from.

My update is I can SSH into RaspiBlitz, the screen will work until i2c prompt. The screen will not respond after that.  Everything else is working in the background.
Basically its headless.  I will try some more edits but the pi loves to rewrite the boot SD card almost every reboot the commands don't want to stay.

My update is I can SSH into RaspiBlitz, the screen will work until i2c prompt. The screen will not respond after that.  Everything else is working in the background.
Basically its headless.  I will try some more edits but the pi loves to rewrite the boot SD card almost every reboot the commands don't want to stay.

UPDATE
With the drivers installed from the command prompt (after you have RaspiBlitz installed) It appears to be working now.
sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ sudo ./MPI4008-show
Thanks everyone

UPDATE
With the drivers installed from the command prompt (after you have RaspiBlitz installed) It appears to be working now.
sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ sudo ./MPI4008-show
Thanks everyone

Was having trouble finding the display in the parts list.

Which country are you in?
USA @rootzoll

USA @rootzoll

@Animalmother9000 can you check if the LCD link is correct for USA?

Ben10Brasileiro-  What was your last "Build Failed" mean?  I am still downloading the blockchain.  As soon as its finished I can move forward to testing the screen.  jdh3, can we leave this open just a bit longer?

@pkepler its another issue I mentioned for a person to see this one. Its not related to your problems ok, dont worry.

@rootzoll Have updated the link. The supply on Amazon is constantly changing. Also the merchants.


Is it possible to safely remove old time quantums?

Hi,
I wanted to know if it is possible to remove old data from index without reimporting all data. The use case is the following. I import data with YMD time quantum and I am only interested in last 30 days of data.

Do I get performance penalty for having data which is not out of Range query?
Is where a way to use TopN query for finding top intersections within specified Range (as I understand I can use Range for the bitset I'm intersecting with, but not for the frame)?
Can I just delete corresponding views from disk and expect everything to work?

Thanks for your answer,
Jonas

Hey @jarutis,
Great questions!
First, if you're only interested in data from the last 30 days, you might consider defining the timeQuantum on your frame as either "D" or "DH" (depending on if you need hour granularity in your range queries). In your case there wouldn't be any reason to store "Y" or "M".
As far as removing old time quantums, you can't currently do that on a running Pilosa cluster. The only option, if you need to remove those, is to stop the Pilosa server, delete the appropriate view directories (standard_20170607 for example), and restart Pilosa. The alternative is to leave those old time quantum directories there with the downsides being that they obviously take up space and they require additional open file handles, although there wouldn't be a performance penalty.
With all that said, I'm going to open a new issue to allow users to remove old timeQuantums from a running Pilosa cluster via the API. Thanks for the suggestion!
Regarding your TopN question, I don't quite understand what you're trying to do. Can you provide an example?

I opened #613 to address this.

Thanks for quick answer!
I want to query TopN intersections for last 30 days only, so that rows with older timestamps would not be included in the bitsets.
For example:
TopN(Range(frame="segment", segment_id=37, start="2017-05-06T00:00", end="2017-06-06T00:00"), frame="domain", n=500)
Can I apply range to all the bitsets that I'm intersecting with in the domain frame?
This is not a big issue for me as i'll probably just delete old data.

The example query that you gave is going to return the top 500 domains that have columns in common with the columns found for segment 37 over the last 30 days. It sounds like you're wanting to associate time to the domain as well, but in this case it's going to include domains from all time.
I think I understand what you're trying to do, but unfortunately you can't currently filter by time on a TopN query. I'll give some more thought on how we might achieve that because it seems like a useful function.
In the mean time—and it might be unreasonable depending on your use case—a heavy-handed way to approach this might be to write every setbit to 30 topN frames at once, where the newest frame represents "today" and the oldest frame represents "the last 30 days". All your read queries would need to go to the oldest frame, and that frame would effectively represent TopN over the last 30 days. Every day you could delete the oldest frame. I'm not necessarily advocating this—the write performance may not meet your requirements—but logically I think it achieves what you want.

Closing this issue, but let me know if you have other question.


CRUD API like semation.com

Hello Kazi & Timucin,
thank you very much for the work you have done with SleekDB!
The idea of storing data in JSON files is as simple as it is ingenious.
For my next application, I would like to build on it. But since the frontend is designed with Vue,
I still need an API to get the data via URL request from my webserver.
The docs don't say anything about an API and a quick search only resulted in this page: https://semation.com/.
Unfortunately without any reference to the source code.
So my question: Is there (somewhere) a CRUD API for  SleekDB?
Additionally, I would be interested in the future of SleekDB.
Are there any big changes planned that are worth waiting for?
Kind regards Kolja

Hi @KoljaL
Thank you for your interest.
Currently SleekDB has no ready to use API implementation.
You can use SleekDB as a "in software database".
With SleekDB you can build your own API backend.
I am currently working on a headless CMS using SleekDB.
When it's finished, you will be able to use that as an API backend powering your Software.

Hi @Timu57
Thank you for your answer.
In the meantime, I have read a little more about SleekDB and have developed my project further.
I probably don't need a "real" API, but exactly what you meant by "software database".
I'm curious about your CMS, is there already a pre-release?


Modal close button without title is left aligned

Hello,
if you create a modal without a title, the close button is not aligned right but left.

        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          ×
        </button>

Modal body text goes here.

        <button type="button" class="btn btn-primary">Save changes</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>

For testing, you could just remove the title from the modals on the example page via the browser inspector: http://v4-alpha.getbootstrap.com/components/modal/#examples

Hey @Johann-S , I think adding ml-auto  to button.close should fix the issue. I had issues in running npm in my machine. But this should fix the issue => https://github.com/shankariyerr/bootstrap/blob/22616/scss/_close.scss#L28
Should I raise a PR? I'm planning to squash some bugs in the coming days. Let me know guys.

Do not hesitate to fix some bugs by opening PRs @shankariyerr 😉

Hello @Johann-S thanks, I just created my first PR: https://github.com/twbs/bootstrap/pull/22620
I just changed one file, still baffled about the number of changes took place. Am I missing something?

@bembelimen, I faced same problem. To fix this issue I modified few classes in Modal component.
Here is the list of classes:
.modal-header
{
display: block!important;
}
.modal-title
{
float: left;
}
.modal-header .close
{
float: right;
}
With these adjustments, my issue is fixed You can check my fiddle https://jsfiddle.net/ue89kxmg/

Hello,
with @PurvaA with @shankariyerr PR the issue is fixed (the Flexbox way): https://github.com/twbs/bootstrap/issues/22616#issuecomment-301446115

@Johann-S should we add a has-pr label to this?


757 lint format text

This PR finalizes lint aspects of wording and format of the lint warning/errors description and text

replaced by https://github.com/np-guard/vpc-network-config-analyzer/pull/795


Question about inference time

Thanks for your good code implementation!
It looks easy to understand and utilize.
However, I wonder if the inference time of this implementation is faster than the previous NeRF.
Thanks.

Our method only shows better training convergence than NeRF. For inference, there is no significant difference. In future updates, we will provide the Cuda implementation for neural points query to optimize the inference time.


Natspec completions

closes #342
closes #343
closes #296
This one is branched off a rebased version of PR #328

This is great.
I have pinged the channel to confirm people are happy with the suggestion we are making to users.
Reading through the spec I suspect we need to support completions on /// comments as well. Does that require a different approach?

I think we can achieve that with some small adaptation. Should I add that to this PR?

This is great.
I have pinged the channel to confirm people are happy with the suggestion we are making to users.
Reading through the spec I suspect we need to support completions on /// comments as well. Does that require a different approach?

I think we can achieve that with some small adaptation. Should I add that to this PR?

Yes, lets add that to the requirement.

@kanej triple forward slash format is implemented! ready to re-review

@kanej ready for review!


Update to the latest Vite

Hi @Dzoukr,
I've updated vite to the latest version. There is one crucial thing to know:
Since version 4.0.2 @vitejs/plugin-react doesn't run fast-refresh correctly for .js files. I've made an issue with the question if this is a bug. One of the workarounds is to set jsxRuntime to classic.
I hope this will be helpful.
Thanks for your amazing work! :)

Published as v4.1.0. Thanks again!


Add lslidar driver for Apollo platform

Add lslidar driver for Apollo platform，230706

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


Update settings submit button to Save

I'm assuming this was unintentionally set to send.

Thank you! It was. I'm going to merge this.


Multiple fixes for the state format documentation

A lot later than I promised but let's hope I got it right this time at least. Changes include:

Friend structure can contain padding
Not all integers are stored in Little Endian

In case you're interested, I wrote an implementation of this format based on the documentation and a tool to go along with it. It can serialize and deserialize a Tox state file from/to json.

This change is

Previously, Impyy (Impyy) wrote…
> #### Multiple fixes for the state format documentation
>
> A lot later than I promised but let's hope I got it right this time at least. Changes include:
>
> - Friend structure can contain padding
>
> - Not all integers are stored in Little Endian
>
>
>
> In case you're interested, I wrote an [implementation](https://github.com/Impyy/tox4go/tree/master/state) of this format based on the documentation and a [tool](https://github.com/Impyy/tox4go/tree/master/cmd/state-tool) to go along with it. It can serialize and deserialize a Tox state file from/to json.
>
>
>

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Components

First I really like what you do and hope I can help you with the code once I have some time, but Ive read somewhere you want it feel like Unity, that means with added features using the add button separative on top will get tidius really quickly so there could be implemented the Inspector window, precise editing of transform and adding separate componenets, will take a look at it myself and hope we can make this the firat true universal engine.

@honzapatCZ Hello! Great to hear you like UltraEd and are willing to help in the future. Yeah my original idea was for the editor to work sort of like Unity with the component system. I like the idea of starting with a simple game object and then adding the needed functionality. The "Add" menu I know needs some work and I've been adding more features to the right-click menu. Definitely the Inspector Window is something needed pretty bad since there's only the gizmo currently to manipulate actors in the scene. Would also like to get the collision stuff finally done too. Lol lots of things to do when building an editor. Didn't total realize that I guess. :)


Images are loading to slow

https://worthwhile.com/insights/2016/07/11/django-page-load-speed/

https://www.sitepoint.com/five-techniques-lazy-load-images-website-performance/#:~:text=Lazy loading images means loading,won't even be loaded.

NGINX gzip ausliefern.

Lazy load mit Django.

Python script Bilder komprimieren.


Will be v1.1 released?

v1.1-rc1 is released at 2023-02-04. Will v1.1 be released anytime soon?
ps. I am considering if this worth to build ubdsrv package for ALT Linux distributions.
See who currently builds it https://repology.org/project/ubdsrv/versions
Distributions rarely build form master or random commit and usually build from a release tag.

Hello,
Now v1.1 is released, and I think you can build it against v1.1.
Thanks,

@ming1  That's great! Thanks!


Intermittent test_search failure on Travis-CI

The following test failure occurs occasionally on Travis-CI:
test_search: /home/travis/build/kylelutz/compute/test/test_search.cpp:45: void compute_test::search_int::test_method(): Assertion `iter == vectort.begin() + 10' failed.
Running 2 test cases...
unknown location(0): fatal error in "search_int": signal: SIGABRT (application abort requested)
*** 1 failure detected in test suite "TestSearch"

See the build here: https://travis-ci.org/kylelutz/compute/jobs/33041316
We should investigate this (potentially run it on the Intel CPU OpenCL implementation under valgrind).

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3935304-intermittent-test_search-failure-on-travis-ci?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F402515&utm_medium=issues&utm_source=github).

I got almost the same problem (but in test_search_n.cpp) with clang on Travis-CI (https://travis-ci.org/boostorg/compute/builds/79994943). I check it on my PC (AMD HD7770) on master and this error occurs both with clang and g++.  It does not happen every time.
Running 2 test cases...
test_search_n: /home/jakub/git/compute/test/test_search_n.cpp:37: void compute_test::search_int::test_method(): Assertion `iter == vectort.begin() + 10' failed.
unknown location(0): fatal error in "search_int": signal: SIGABRT (application abort requested)

*** 1 failure detected in test suite "TestSearchN"

OK, I know where the bug is.  I'll push a fix in a few minutes.

This was fixed in https://github.com/boostorg/compute/pull/511. Can be closed.

Closed. Thanks!


[Synapse]Add synapse data plane go sdk

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Can one of the admins verify this patch?


"python setup.py egg_info did not run successfully." i am trying to install super-gradients in my pycharm using pip, but i keep getting this error, and it seems it is not the fault of the pip command, can someone help me get throughh T_T

💡 Your Question
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\HP\AppData\Local\Temp\pip-install-txjybkht\onnx_c6d58deb48ff4b42baa245fc73569753\setup.py", line 81, in
assert CMAKE, "Could not find cmake executable!"
Versions
No response

Can you please provide some information on the environment?
Looks like it is working as expected on my Ubuntu machine:
/super-gradients/setup.py egg_info
running egg_info
writing src/super_gradients.egg-info/PKG-INFO
writing dependency_links to src/super_gradients.egg-info/dependency_links.txt
writing requirements to src/super_gradients.egg-info/requires.txt
writing top-level names to src/super_gradients.egg-info/top_level.txt
reading manifest file 'src/super_gradients.egg-info/SOURCES.txt'
adding license file 'LICENSE.md'
writing manifest file 'src/super_gradients.egg-info/SOURCES.txt'

Process finished with exit code 0

Can you confirm that if you run installation as follows it works: pip install super_gradients ?

Closing as stale
Some things that you may try if you still encounter this issue:

Always try latest SG release
If on windows - most of the time the problem comes from pycocotools dependency than must be compiled on target machine. Ensure you have build tools available. Or install matching version of pycoctools from conda if manual build is impossible


Lokalise: Translations update

This pull request was initiated by Lokalise (user Justin Bassett) at 2019-12-18 23:33:57

Hello @balloob,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

b10c0c55335f790eaea16f071c6046b10cca066e - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.
86c2b8cbd2b68764c9f56773f4bad2a15c6dcdc4 - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.
2151a40ed642bf10ea11a38091bed2ad770990a9 - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.
2c0169098e88c380df49c5badca5fd65ae98bec7 - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.
54c3418dc0b6f6445f1f9dec5f628d36da654a0c - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.
afa86f2ce5eb6413aeef990812c94eb1b9856171 - This commit has something that looks like an email address (support@lokalise.com). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Please Close


Best way to trigger prompt for pin?

Thanks to this guide, I am now using my yubikey-based GPG credentials for encryption, signing and ssh.  I've noticed that inserting the Yubikey and attempting to ssh does not trigger gpg-agent to prompt me for a pin though.  Explicitly gpg-based operations like decryption do prompt me, so I have resulted to doing gpg -d dummy.gpg after inserting the card in order to get the pin prompt (which gpg agent then caches for the configured amount of time).

Am I doing something wrong that is preventing ssh requests from triggering a request for my pin?  Any pointers  to fix that?
Also, is there a more generic way to ping the opengpg card to prompt me for a pin, rather than running a dummy decryption or signing request?

Thanks!

If other's are having same issue as me - it goes incredibly slow and eventually just says sign_and_send_pubkey: signing failed for RSA "/home/xxxx/.ssh/id_rsa_yubikey.pub" from agent: agent refused operation

@SamMorrowDrums never found a really nice solution to this, every now and then I just don't get prompted to unlock, particularly on ssh-based tasks.  My workaround has been to just make a dummy decryption call, gpg -d somefile.gpg which usually prompts me for a pin whenever the card is locked, and then I can repeat my ssh-based command again.
On rare cases I'm told to 'insert key with id XXX' and I have to remove and re-insert the yubikey, I believe this is due to switching between yubikey GPG functions vs the other built-in functions (like yubico authenticator app for those apps that still don't support U2F)

SERIAL=$(gpg-connect-agent 'scd serialno' /bye 2>&1 | cut -f3 -d' ' | head -n 1) gpg-connect-agent "scd checkpin $SERIAL" /bye

I had multiple problems with configuring that - I use tmux and TTYs got mixed all the time for some reason.
But @auroraunit217 response got me on the right track, and I fixed my problem by changing pinentry flavour to qt.
Not sure how to do this in vanilla config, In nixos that's:
services.gpg-agent.pinentryFlavor = "qt";

By the way, a commend that may help y'all with debugging is journalctl -fan100.

If anyone uses zsh in combination with powerlevel10k.
The outlined solution:
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null

does not work for as export GPG_TTY="$(tty)" resolved into not a tty due different initialization behaviour of stdin
powerlevel10k offers the $TTY env var to get the same output. (Not sure how it is withouth powerlevel10k)
What I used instead:
export GPG_TTY=$TTY
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
gpg-connect-agent updatestartuptty /bye > /dev/null


resetMocks breaks timers: "fake" config options

Adding "resetMocks": true to the Jest config causes Jest to ignore timers: "fake" in the config file. Using jest.useFakeTimers() still works.
This bug is present in Jest 17 and 18, but not Jest 16 (with clearMocks).
I will follow-up with a reproduction momentarily.

Reproduction: https://github.com/benweissmann/jest-issue-2455-repro

Hey @benweissmann thanks for catching this!
I've just opened a PR with a fix proposition, we'll see how it goes ;)


progress bar has been added to screen content

I added a progress bar to MetroWindow, which can be activated using the Working property.

@eliezeralmeida Thx for contributing, but I think such a feature should not be added to this lib, which is in main case a style/theme lib. You can add this feature if you need this in your own app by adding this to you rmain content and you will get the same behavior.
/cc @thoemmi

I agree with @punker76, that's application logic. Every user of MahApps.Metro can add a spinner to his window, it's not a styling concern.

A spinner is something useful for a better UX. Adding it to all windows is a boring job, you have the option to create a new window by extending the MahApp.Window, so the style should checked and updated every MahApp update. So the proposal to add it directly in MahApp. Thank you very much for the return.

@eliezeralmeida Your request is reasonable, but having a spinner on every window is a very special requirement. Many users of MahApps.Metro have their own requirements, each of those reasonable for his use cases, but adding all those feature requests to the library whould lead to a feature explosion and would be hardly maintainable.

@thoemmi I understand


Added and built for telegraph.js

Added my event emitter lib, telegraph.js!

(Selected for inclusion in commit bundle)


2.0

Opening PR now to begin code review. Will update README and jazzy when rdy.
Tested on my other app.
Example usage of new API would be:
import UIKit
import BackgroundVideo

class MyViewController: UIViewController {
  private let backgroundVideo = BackgroundVideo()

  override func viewDidLoad() {
    super.viewDidLoad()

    backgroundVideo.play(view: view, videoName: "worldstar", videoType: "mp4")
  }
}

play() has three additional optional parameters:

isMuted: defaults to true
opacity: defaults to 1.0
loopVideo: defaults to true

One caveat of this approach is that if the user wants the video to loop, they need to declare an instance of BackgroundVideo in such a way that it's retained for the life of the UIView they want it to play on (like in the example above). If it's just declared in a function, the instance gets deallocated as soon as the function ends and the notification center cannot alert it to repeat the video.

I also think some work needs to be done regarding the audio. Right now, even when muted, if the user is listening to music on the their phone, then opens the app using this API, their audio will be "dampened".

I started getting a Swift 4 @objc warning, let me know if my fix for it gives you any errors.
Also where did the convention for your API docs come from? I can conform to that--the way I've done it in the PR, I thought that's what jazzy wanted.

Yep, I've always gotten that @objc warning. Not sure how to code around it...
I think your current format is better than what I originally had. We can stick with what you have in the PR.

Cool! My latest commit had a fix for that warning. I'll work on README and jazzy next.

First pass README update is up. Migration guide and old docs still WIP.

Just one small typo. The other 4 comments are merely just reminders (for the links) or small things that I'd prefer added/changed. Amazing work! 👍 I can't wait to merge this haha.

Where is the typo

What is the link to the docs? And what was the command to regen them? Not jazzy?

Right now, they're just hosted on GitHub Pages, which unfortunately redirects to my personal website. Therefore, they're at http://wilsonding.com/SwiftVideoBackground/.
You can run make docs to run the makefile, which contains jazzy + all the settings to properly delete + regen docs. If it doesn't work, try rm -r docs, then run make docs. (sometimes it is finicky). I chose to do this instead of using a .jazzy.yml file, because I have to manually copy over the Assets folder (the images were not appearing correctly in the generated docs from simply running jazzy).

addressed your comments
added migration guide
added link to old docs

I couldn't get jazzy to work, maybe you can do that.

All of these changes look great! I regenerated jazzy docs, removed a few lines from the old README that were irrelevant to 0.06, and then updated the CHANGELOG according to the work you had written in the migration guide.
Everything looks good to me. Please look over my changes when convenient, and if everything looks good, I think we're ready to merge this to master. LGTM 👍

I just updated podspec in preparation for our 2.0.0 release for CocoaPods. I added you as a library author. As such, it requires an email. I just added the email you have public on GitHub. Please feel free to change it to something else if you want.

lgmt 🐉


Why I added 'Expression' , the value of this field is not saved at the time of the save.

Hello！
[DisplayName("审核状态"),Expression("CASE WHEN AuditStatus IS NULL THEN 1 ELSE AuditStatus END")]
public AuditStatus? AuditStatus
{
get { return (AuditStatus?)Fields.AuditStatus[this]; }
set { Fields.AuditStatus[this] = (Int32?)value; }
}
Why I added 'Expression("CASE WHEN AuditStatus IS NULL THEN 1 ELSE AuditStatus END")' , the value of this field is not saved at the time of the save.

How do you expect a calculated field to be saved??

Add another calculatef expression field if you intend to display field value differently.


Plantchance fix to be a real percentage chance of planting.

I have not tested the following code.

Linked to issue #1

Cannot believe I messed up that math so badly lol. Ill accept it, thanks!


[New Port Request] WinDivert

Library name: WinDivert
Library description: Windows Packet Divert (WinDivert) is a user-mode packet capture-and-divert package for Windows 2008, Windows 7, Windows 8, Windows 10 and Windows 2016.
Source repository URL: https://github.com/basil00/Divert
Project homepage (if different from the source repository): https://www.reqrypt.org/windivert.html

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


[tf.data.dataset] .take after .shuffle doesn't work as expected

Issue Type
Bug
Source
source
Tensorflow Version
2.8.0
Custom Code
No
OS Platform and Distribution
OSX 12.5.1 and Linux Ubuntu
Python version
3.9.12
Current Behaviour?
Performing .take(1).repeat() after .shuffle(N) returns N different elements.
Reproduction instructions:
dataset = tf.data.Dataset.from_tensor_slices([1, 2, 3, 4])
dataset = dataset.shuffle(4)
dataset = dataset.take(1)
dataset = dataset.repeat()
dataset = dataset.take(10)
for x in dataset:
  print(x)

This will print 10 different, random integers in the range 1 - 4.
Expected behavior:
I would have expected this to print only a single unique integer. It appears the early .shuffle interferes with the later .take, which is very counterintuitive.
See this colab:
Link to colab
Standalone code to reproduce the issue
Link to colab

@sachinprasadhs,
I was able to reproduce the issue on tensorflow v2.8, v2.9 and nightly. Kindly find the gist of it here.

Usually .shuffle() will create a new dataset taht will start by filling up a buffer with the first items of the source dataset.
Then, when it is requested it will pull one out randomly from the buffer and replace it with a fresh one from the source dataset.
Usually, if you mention the buffer size, you can limit the items to be picked from that buffer size.
In the below scenario, when you mention the buffer size as 1, it always picks up the first element from the source dataset and then gets used in the followed up code.
dataset = tf.data.Dataset.from_tensor_slices([1, 2, 3, 4])
dataset = dataset.shuffle(1)
dataset = dataset.take(1)
dataset = dataset.repeat()
dataset = dataset.take(4)

for x in dataset:
  print(x)

tf.Tensor(1, shape=(), dtype=int32)
tf.Tensor(1, shape=(), dtype=int32)
tf.Tensor(1, shape=(), dtype=int32)
tf.Tensor(1, shape=(), dtype=int32)


How to set $icon-font-path for development vs. production

I am using bootstrap-sass with bower, gulp and gulp-sass (there is no Ruby involved). To get icons working, I am setting up $icon-font-path as follows in my main.scss:
$icon-font-path: "../bower_components/bootstrap-sass/assets/fonts/bootstrap/";
@import "../bower_components/bootstrap-sass/assets/stylesheets/bootstrap";

This works perfectly for the dev build - the icon fonts are picked up correctly from the bower_components directory. However for my production build, this does not work. My production folder structure is as follows:
/
|--- fonts
|    `--- glyphicons-hallings-xxx
`--- styles
     `--- main.css

To make this work I have to change my main.scss as follows:
$icon-font-path: "../fonts/";
@import "../bower_components/bootstrap-sass/assets/stylesheets/bootstrap";

What's the best approach to make the dev and production builds to work correctly without making changes to my main.scss?

General non-Bootstrap-specific Sass questions like this are outside the scope of this issue tracker, which is for bug reports and feature requests only. Try asking on a general Sass community forum instead, such as https://groups.google.com/forum/#!forum/sass-lang or perhaps http://stackoverflow.com/questions/tagged/sass.
Good luck!

@cvrebert, thanks for pointing me in the right direction.


correlation_ratio returns 1.0000000000002 (does not satisfy 0 <= x <= 1)

The following issue is based on the latest, github version of dython on the master branch.
In some rare cases, some functions return values just very slightly outside of its supposed theoretical range, like in the example below. It returns 1.0000000000000002 but theoretically the return values should be in [0, 1].


v 6.0.0 RegisterEventHandlers not working on macOS desktop

Describe the bug
I've registered event handlers but none of them are being called.
Is this a known issue?
await _initAgoraRtcEngine();
_addAgoraEventHandlers();
await _engine.joinChannelWithUserAccount(
        token: token, channelId: channelId, userAccount: userId);

I think you can see if there are any errors output to the console.


Request for google_artifact_registry_repository_cleanup_policy resource

What resource do you need?
Terraform Resource Name:
google_artifact_registry_repository_cleanup_policy
What is your use case?
Configure cleanup policy for google artifacts to automatically delete artifact versions that you no longer need or keeping artifacts that you want to store indefinitely.

@cwichka, thank you for bringing up this. As far as I understand, there is no new resource for this. I assume you want to use the cleanup_policies and cleanup_policy_dry_run fields.

Thanks @turkenf .
Yes right, i was referring to those fields, my bad.

I am closing this issue, these fields are available now: https://github.com/upbound/provider-gcp/blob/b0985987bbdab44094d32b7a040d246c14ad76a6/apis/artifact/v1beta1/zz_registryrepository_types.go#L403


removed existing s3 environment in prep for new tutorial

This removed just the environment and inputs, but leaves the s3 code to be used by a new tutorial later
Signed-off-by: Richard Jones<EMAIL_ADDRESS>

@samalba this is ready, but needs to go out concurrently with the new tutorial which I should have ready Friday


Could not use liquibase cli on windows if there is a parenthesis in path

Environment
Liquibase Version: 4.18.0
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version: n/a
Database Vendor & Version: n/a
Operating System Type & Version: Windows 10 Pro
Infrastructure Type/Provider: n/a
Description
When I try to run liquibase under cmd on Windows I get an error.
After investigation it seems this is due to the parenthesis in path.
Steps To Reproduce

Download Liquibase CLI > Archive Download (zip)
Unzip the archive in the folder "Program Files (x86)"
Run liquibase

Actual Behavior
C:\Program Files (x86)\liquibase-4.18.0>liquibase
\liquibase-4.18.0\\jre was unexpected at this time.

Expected/Desired Behavior
We must see liquibase banner.

🎉


[feature] syntax highlight ANTLR grammars

I assume this would be extremely simple versus a full syntax highlighting mechanism. Here is what the intellij plugin does:

Comments, keywords, rule names, token names, and strings.

Fixed by 8ccdda6280b18fb715fa82adcbf0b3296d92f546


Error in trl 0.5.0

If you copy paste the code from hugging face SFTTrainer page (Supervised Fine-tuning Trainer) it results in error:
name ‘PeftModel’ is not defined

Code:
trainer = SFTTrainer(
“facebook/opt-350m”,
train_dataset=dataset,
dataset_text_field=“text”,
max_seq_length=512,
)
trainer.train()

If I downgrade to 0.4.0 the issue is no longer there.

Thanks @coralexbadea , I have managed to reproduce, meanwhile you can install PEFT pip install peft to overcome the issue


Fix chart label

What this PR does / why we need it:
Invalid label when chart version includes +
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@yujunz Thanks for the fix!


CameraManager with SwiftUI?

General Question about using CameraManager with SwiftUI. Is there an example of how to do this. I’m trying to figure it out, but still in a very early learning curve. Any help would be appreciated.
is there also a way to manually rotate the camera image &/or flip the camera image?

It works fine with UIViewControllerRepresentable. Here is an example that will attach an UIImage to the binding you pass.
To use it, create a view, your SwiftUI view where you want to have the CameraView. Your view needs to have a @State that holds the output UIImage.
struct CameraView : UIViewControllerRepresentable {

    @Binding var image : UIImage?
    let cameraManager : CameraManager?

    func makeUIViewController(context: Context) -> CMViewController {
        let vc = CMViewController(camera: .front, coordinator: context.coordinator)
        return vc
    }
    func updateUIViewController(_ uiViewController: CMViewController, context: Context) {
        print("Updated")

    }
    func makeCoordinator() -> Coordinator {
        //
        let coordinator = Coordinator(cameraManager : self.cameraManager ?? CameraManager())

        return coordinator
    }

    class Coordinator : NSObject {
        init(cameraManager: CameraManager) {
            self.cameraManager = cameraManager
        }

        let cameraManager : CameraManager
    }

    class CMViewController : UIViewController {

        let coordinator : Coordinator

        init(camera :  CameraDevice, coordinator : Coordinator) {
            self.coordinator = coordinator

            super.init(nibName: nil, bundle: nil)
            self.setCamera(camera)
        }
        func setCamera(_ camera : CameraDevice ){
            self.coordinator.cameraManager.cameraDevice = camera
            self.coordinator.cameraManager.writeFilesToPhoneLibrary = false

        }

        required init?(coder: NSCoder) {
            fatalError("init(coder:) has not been implemented")
        }

        override func viewDidLoad() {
            self.coordinator.cameraManager.addLayerPreviewToView(self.view, newCameraOutputMode: .stillImage) {
                print("CMViewController DONE")
            }
        }
    }

}

It works fine with UIViewControllerRepresentable. Here is an example that will attach an UIImage to the binding you pass.
To use it, create a view, your SwiftUI view where you want to have the CameraView. Your view needs to have a @State that holds the output UIImage.
struct CameraView : UIViewControllerRepresentable {

    @Binding var image : UIImage?
    let cameraManager : CameraManager?

    func makeUIViewController(context: Context) -> CMViewController {
        let vc = CMViewController(camera: .front, coordinator: context.coordinator)
        return vc
    }
    func updateUIViewController(_ uiViewController: CMViewController, context: Context) {
        print("Updated")

    }
    func makeCoordinator() -> Coordinator {
        //
        let coordinator = Coordinator(cameraManager : self.cameraManager ?? CameraManager())

        return coordinator
    }

    class Coordinator : NSObject {
        init(cameraManager: CameraManager) {
            self.cameraManager = cameraManager
        }

        let cameraManager : CameraManager
    }

    class CMViewController : UIViewController {

        let coordinator : Coordinator

        init(camera :  CameraDevice, coordinator : Coordinator) {
            self.coordinator = coordinator

            super.init(nibName: nil, bundle: nil)
            self.setCamera(camera)
        }
        func setCamera(_ camera : CameraDevice ){
            self.coordinator.cameraManager.cameraDevice = camera
            self.coordinator.cameraManager.writeFilesToPhoneLibrary = false

        }

        required init?(coder: NSCoder) {
            fatalError("init(coder:) has not been implemented")
        }

        override func viewDidLoad() {
            self.coordinator.cameraManager.addLayerPreviewToView(self.view, newCameraOutputMode: .stillImage) {
                print("CMViewController DONE")
            }
        }
    }

}

Thank you Mertol Kasanan, that worked. It would have taken me quite awhile to figure all of that out. Saved me a lot of trial & error. Much appreciated.

Thank you Mertol Kasanan, that worked. It would have taken me quite awhile to figure all of that out. Saved me a lot of trial & error. Much appreciated.

Found the reason why https://github.com/imaginary-cloud/CameraManager/issues/114#issuecomment-320117154


enhanced exhibitor dependancy appearing logic

Allow explicit dependency for exhibitor logic. It makes sure that when these flags are used, it will always print out the related sub flags.

Successfully tested install and upgrade.


admin: flask-admin modelviews

Adds Flask-Admin model views registration.

Signed-off-by: Krzysztof Nowak<EMAIL_ADDRESS>

This is a new PR for PIDStore's admin interface as the old one (PR https://github.com/inveniosoftware/invenio-pidstore/pull/30) was opened against a branch next which seems to be outdated.
The admin interface of this PR assumes the entry-point interface of this PR in Invenio-Admin:  https://github.com/inveniosoftware/invenio-admin/pull/7

merged as a6cc56a52841cdff7ebdd6ffa897e6714da36e94


Java embed control UI in designer and EmbedControlFx lose track of updates

Describe the bug
It appears that sometimes the EmbedControlFx and the version inbuilt within TcMenu Designer lose track of updates that were started from the UI, IE the message ack is potentially not getting to the right control. This results in the control going red momentarily to indicate the error condition.
To Reproduce
Run a remote embed control session to a board, where you'll notice some manual user inputs that result in updates (EG pressing button) are not properly handled and the control momentarily goes red.  This seems to affect buttons and up-down controls most.
Expected behavior
The updates should be properly processed in all cases.
Desktop UI issue (please complete the following information):

Any
Not applicable, designer and API 4.4.1

Embedded environment - if applicable
Noticed on AVR Keyboard example.

was not in the Java side, tcLog issue


Menu missing on the v1 endpoint

The topic menu is missing on the v1.0 endpoint.  It is there when switching to beta but switching back to v1.0, it is gone again.

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

ID: d489b596-8db6-6b4e-7271-77a6fb735c37
Version Independent ID: afc8208d-990b-098f-0508-fcd5745d35e6
Content: Microsoft Graph REST API v1.0 endpoint reference - Microsoft Graph v1.0
Content Source: api-reference/v1.0/overview.md
Product: non-product-specific
GitHub Login: @angelgolfer-ms
Microsoft Alias: MSGraphDocsVteam

Thank you @RayGHeld for catching this error. I've linked a PR that will fix the issue.


Feature/save revision no conflict

Now we can save revisions!

Resolves #221
DCO 1.1 Signed-off-by: Sam Richard<EMAIL_ADDRESS>

@Snugug 3 responses. Indentation ones...meh, moving the text to config...not meh


Adding Squarespace to User List

Adding svg logo and change to user data.

Mind running svgo

Also, needs to be 500x200 (2.5x1).

Updated; thanks again for the help.

Thanks http://babeljs.io/users/#Squarespace


perf(expr): optimize lower/upper/trim/md5

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR optimizes lower/upper/trim/md5 operations by avoiding generating String.

bench
Before time(us)
After time(us)
Change(%)

md5(varchar)
447.040
338.540
-24.3%

ltrim(varchar,varchar)
38.893
20.666
-46.9%

rtrim(varchar,varchar)
38.870
22.311
-42.6%

trim(varchar,varchar)
38.327
20.831
-45.6%

lower(varchar)
36.172
10.851
-70.0%

upper(varchar)
34.607
10.946
-68.4%

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#6868

This depends on #6995. Need to wait for it to be merged. 😅


CPU spikes on envoy restart

Issue
The CPU usage for the Consul-Envoy-XDS goes up to 99.9% whenever I restart the Envoy service.
Infrastructure topology

Envoy server: uses gRPC to connect to the two instance of the custom service;
3 Consul servers;
2 instances of the custom service;
Consul-Envoy-XDS server that discover services using Consul and pushes them to Envoy.

Step to reproduce
These are the step to reproduce in my environment:

Start Consul-Envoy-XDS service on machine 1;
Start Envoy service on machine 2;
Restart Envoy service on machine 2, at this point the CPU usage spikes.

Services configuration
Envoy config:
node:
  id: envoy-01
  cluster: envoy

dynamic_resources:
  ads_config:
    api_type: GRPC
    grpc_services:
      envoy_grpc:
        cluster_name: xds_cluster
  cds_config:
    ads: {}

static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address: { address: <IP_ADDRESS>, port_value: 443 }
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          stat_prefix: ingress_http
          codec_type: AUTO
          rds:
            route_config_name: local_route
            config_source:
              ads: {}
          http_filters:
          - name: envoy.router
      tls_context:
        common_tls_context:
          tls_certificates:
            certificate_chain:
              filename: "/opt/envoy/fullchain.pem"
            private_key:
              filename: "/opt/envoy/privkey.pem"
          validation_context:
            trusted_ca:
              filename: "/etc/ssl/certs/ca-certificates.crt"

  clusters:
  - name: xds_cluster
    connect_timeout: 0.25s
    type: STATIC
    lb_policy: ROUND_ROBIN
    http2_protocol_options: {}
    hosts: [{ socket_address: { address: <XDS_HOST>, port_value: <XDS_PORT> }}]
admin:
  access_log_path: /dev/null
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 9901 }

Consul-Envoy-XDS config
PORT: 8053
LOG_LEVEL: info
CONSUL_CLIENT_PORT: 8500
CONSUL_CLIENT_HOST: localhost
CONSUL_DC: dc1
CONSUL_TOKEN: "mock"
WATCHED_SERVICE: my-service

Logs
After the first connection the Consul-Envoy-XDS logs are the following:
Dec 17 06:00:24 consul-envoy-xds-1 systemd[1]: Stopped systemd script for running consul-envoy-xds.
Dec 17 06:00:24 consul-envoy-xds-1 systemd[1]: Started systemd script for running consul-envoy-xds.
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 consul watch triggerred: map[my-service:[grpc] consul:[]]
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 discovered services from consul catalog for EDS: [[0xc0000fc540 0xc0000fc600]]
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 discovered services from consul catalog for CDS: [[0xc0000fc900 0xc0000fc9c0]]
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 discovered services from consul catalog for RDS: [[0xc0000fccc0 0xc0000fcd80]]
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 received event on hub
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 received ACK on stream: version_info:"1545024430568586111" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" response_nonce:"1545024430568587076"
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 received ACK on stream: version_info:"1545024430893282922" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"my-service" type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" response_nonce:"1545024430893283892"
Dec 17 06:00:24 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:00:24 received ACK on stream: version_info:"1545024430893083551" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"local_route" type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" response_nonce:"1545024430893084501"

And this are the logs after I restart the service:
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 stream context done
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received discovery request on stream: node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > type_url:"type.googleapis.com/envoy.api.v2.Cluster"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for EDS: [[0xc0000fc000 0xc0000fc180]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for CDS: [[0xc0000fc000 0xc0000fc180]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for RDS: [[0xc0000fc000 0xc0000fc180]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received event on hub
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 sent CDS on stream: version_info:"1545026792297155665" resources:<type_url:"type.googleapis.com/envoy.api.v2.Cluster" value:"\n\021my-service\020\003\032\004\n\002\032\000\"\002\010\001\320\001\001" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" nonce:"1545026792297154903"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 sent RDS on stream: version_info:"1545026792620979802" resources:<type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" value:"\n\013local_route\022.\n\rlocal_service\022\001*\032\032\n\003\n\001/\022\023\n\021my-service" > type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" nonce:"1545026792620980747"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 sent EDS on stream: version_info:"1545026792621194419" resources:<type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" value:"\n\021my-service\0229\n\005\n\003dc1\022\027\n\023\n\021\n\017\022\n<IP1>\030\360.\020\001\022\027\n\023\n\021\n\017\022\n<IP2>\030\360.\020\001\"\000" > type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" nonce:"1545026792621195321"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received discovery request on stream: node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"my-service" type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for EDS: [[0xc0000fc0c0 0xc0000fc300]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for CDS: [[0xc0000fc0c0 0xc0000fc180]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 discovered services from consul catalog for RDS: [[0xc0000fc0c0 0xc0000fc180]]
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received event on hub
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received ACK on stream: version_info:"1545026792297155665" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" response_nonce:"1545026792297154903"
Dec 17 06:06:32 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:32 received discovery request on stream: node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"local_route" type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent CDS on stream: version_info:"1545026792621417525" resources:<type_url:"type.googleapis.com/envoy.api.v2.Cluster" value:"\n\021my-service\020\003\032\004\n\002\032\000\"\002\010\001\320\001\001" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" nonce:"1545026792621418452"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent RDS on stream: version_info:"1545026793024713260" resources:<type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" value:"\n\013local_route\022.\n\rlocal_service\022\001*\032\032\n\003\n\001/\022\023\n\021my-service" > type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" nonce:"1545026793024714181"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent EDS on stream: version_info:"1545026793024936282" resources:<type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" value:"\n\021my-service\0229\n\005\n\003dc1\022\027\n\023\n\021\n\017\022\n<IP1>\030\360.\020\001\022\027\n\023\n\021\n\017\022\n<IP2>\030\360.\020\001\"\000" > type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" nonce:"1545026793024937146"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 discovered services from consul catalog for EDS: [[0xc0000fc000 0xc0000fc0c0]]
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 discovered services from consul catalog for CDS: [[0xc0000fc0c0 0xc0000fc180]]
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 discovered services from consul catalog for RDS: [[0xc0000fc0c0 0xc0000fc180]]
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received event on hub
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026792621194419" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"my-service" type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" response_nonce:"1545026792621195321"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026792621417525" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" response_nonce:"1545026792621418452"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026793024713260" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"local_route" type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" response_nonce:"1545026793024714181"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026793024936282" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"my-service" type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" response_nonce:"1545026793024937146"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent CDS on stream: version_info:"1545026793025169914" resources:<type_url:"type.googleapis.com/envoy.api.v2.Cluster" value:"\n\021my-service\020\003\032\004\n\002\032\000\"\002\010\001\320\001\001" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" nonce:"1545026793025170817"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent RDS on stream: version_info:"1545026793349755572" resources:<type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" value:"\n\013local_route\022.\n\rlocal_service\022\001*\032\032\n\003\n\001/\022\023\n\021my-service" > type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" nonce:"1545026793349756509"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 sent EDS on stream: version_info:"1545026793349951748" resources:<type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" value:"\n\021my-service\0229\n\005\n\003dc1\022\027\n\023\n\021\n\017\022\n<IP1>\030\360.\020\001\022\027\n\023\n\021\n\017\022\n<IP2>\030\360.\020\001\"\000" > type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" nonce:"1545026793349952680"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026793025169914" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > type_url:"type.googleapis.com/envoy.api.v2.Cluster" response_nonce:"1545026793025170817"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026793349755572" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"local_route" type_url:"type.googleapis.com/envoy.api.v2.RouteConfiguration" response_nonce:"1545026793349756509"
Dec 17 06:06:33 consul-envoy-xds-1 consul-envoy-xds_bin.sh[442]: 2018/12/17 13:06:33 received ACK on stream: version_info:"1545026793349951748" node:<id:"envoy-01" cluster:"envoy" build_version:"5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE" > resource_names:"my-service" type_url:"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment" response_nonce:"1545026793349952680"

Fix for this issue: https://github.com/gojektech/consul-envoy-xds/pull/24


Add Properties to New Post dialogue

Dear @benweet,
I think it would be more logical and intuitive if the user can add properties directly in the New Post dialogue.
What do you think?
Warmly,
-Robert

I agree.


Search by symbol

Related to #20. It would be nice if it was possible to search by "symbol", where a symbol is a definition such as a class/trait/object and maybe val/var/def.

Related vscode example: https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol
Related editor API: https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.documentsymbolprovider.html

Looking into this but will need help on how to parse the semanticdb into the editor's notion of SymbolKind especially how to lookup if a symbol is a member of a class.

We can add the denotation of a symbol. The denotation can tell us if the symbol is a trait/class/def/val/... https://github.com/scalameta/scalameta/blob/f7463f78227e092b5dab0a05667733b0a2b23952/scalameta/semantic/shared/src/main/scala/scala/meta/semantic/Flags.scala#L32 Need to figure out how to import semanticdb.proto definitions into metadoc.proto  https://scalapb.github.io/faq.html#how-do-i-generate-scala-code-for-protos-from-another-jar

Fixed in #27


Missing "AI Services" tab in "08-exercise-debug-search-issues" exercise

When following the Debug search issues exercise I am instructed to select the "AI Services" tab under the "Skillsets" section. However, in my Azure portal, the "AI Services" tab is not present (screenshot attached), preventing me from proceeding with the exercise.

I tried to fix this by clicking "Connect AI service," selecting the appropriate service, and pressing "Save," but nothing has changed.

OK. is an interface change on the Portal

Oh no
Execution result
Status
Timed out
Error message
Indexing was stopped because the free skillset execution quota has been reached. When no cognitive services subscription is attached to a skillset, only 20 documents can be enriched at a time. To index more documents, attach a cognitive services subscription to your skillset. See https://aka.ms/cog-srch-attach for more information.
Datasource
hotels-sample
Target index
hotels-sample-index
Start
15/06/2024, 12:14:01
End
15/06/2024, 12:14:01
Docs succeeded
0/0
Errors/Warnings
0/0

Appears to be a change in the studio after all, and if the quota is changed for F0 tiers, we may need to switch this lab to S0. Thanks for reporting, we'll have to investigate. @afelix-95 if you have time, lets see if it's just a UI update or using S0 tier that can work around this. If not, I'll update the lab to work

Just a UI update. After choosing the created AI service resource and running the indexer, it was able to index all 50 documents. From the error message, my guess is that the Free AI service resource might have been selected instead of the one created during the exercise.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #662   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           7        7
  Lines        1073     1073
=======================================
  Hits          997      997
  Misses         76       76

Continue to review full report at Codecov.

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

Coverage remained the same at 89.74% when pulling 8a8489848563459781a101036c714fe62e8b915a on template-sync-1 into a13dba5401cefbca238577bf3bd6a32e0ae4a2ac on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


sort chan_no lists before comparing equality

Thanks for contributing a pull request! Please make sure you have read the
contribution guidelines
before submitting.
Please be aware that we are a loose team of volunteers so patience is
necessary. Assistance handling other issues is very welcome. We value
all user contributions, no matter how minor they are. If we are slow to
review, either the pull request needs some benchmarking, tinkering,
convincing, etc. or more likely the reviewers are simply busy. In either
case, we ask for your understanding during the review process.
Again, thanks for contributing!
Reference issue
Fixes #6032
What does this implement/fix?
sorts the channel numbers from the config and pdf files prior to comparing.
Additional information
n/a

Changed to sort by chan_no values. This should allow the subsequent zip to function properly. I tested this locally and it appears to function as expected for my data. Fixed the typo.

@joshbear can you add an update to whats_rew.rst in the BUG section mentioning this fix?

Closing for #6300


Parse Json from database to JsonNode encoding

com.vladmihalcea
hibernate-types-52
2.2.2

@Entity
@TypeDef(
name = "jsonb-node",
typeClass = JsonNodeStringType.class
)
public class Test implements Serializable {
@Type(type = "jsonb-node")
@Column(columnDefinition = "json")
private JsonNode data;
…
}
Hello,
First of all congratulations for your work.
I have a problem with the charset when I get the data from the database, the data is stored with utf-8 but when it is read and then passed to JsonNode the encoding is not utf-8.
Is there any way to say that in reading the encoding is utf-8?
thanks

As long as the JDBC Driver uses UTF-8, just like the DB, you should be tine. You can also customize the Jackson ObjectMapper as explained in the articles provided in the README file.


Add config for logging denials

@ivanyu LGTM except one thing, could you please add this flag into test AivenAclAuthorizerConfigTest#correctFullConfig and AivenAclAuthorizerConfigTest#correctMinimalConfig?

@willyborankin yep, thanks, added


[Bug] Invoice preview on pos not displayed

When you have a few invoices, and try to access them through the POS view (quick invoice view), for some reason when you click on the invoice you'll land on a blank page. Console logs say this:
[Error] Refused to display 'https://localhost:14142/invoices/SszkSoNhCvZtF7jXnFKgGr' in a frame because it set 'X-Frame-Options' to 'DENY'.
[Error] Failed to load resource: the server responded with a status of 404 () (SszkSoNhCvZtF7jXnFKgGr, line 0)
[Error] Refused to display 'https://localhost:14142/invoices/Xw4hoJdWNz7i71o3i2LdmD' in a frame because it set 'X-Frame-Options' to 'DENY'.
[Error] Failed to load resource: the server responded with a status of 404 () (Xw4hoJdWNz7i71o3i2LdmD, line 0)

Preview videeo
https://github.com/user-attachments/assets/585ae32f-d5e4-40cf-870f-566e0d34766c

We'll need to disable the access of the recent transactions in that context, because it would lead to accessing the server views in the POS iframe. I'll fix this on the server and we can use the invoices list for accessing that info inside the app.

Can confirm on my end as well, and would it make more sense to just label it Recent Invoices? I still conceptually like Transactions, as I think that's a bit clearer to the end user, but we use Invoices everywhere else, and even on the Dashboard.

I've read the design note calls but I am not quite convinced this is a solution. This feature was implemented for a cashier role aka someone who only has a view only mode on the POS and for them this is a way to double-check if the payment is settled.
@dennisreimann have you guys discussed how this solution may be impacted by other roles?

As discussed on Mattermost: For now the invoices list can be an equivalent for roles, whcih are not permitted to access the Dashboard. The recent transactions list feature of the POS requires the CanViewInvoices permission, which is also required for the invoices list inside the app.


Type encode error in scala/http

@vsapronov:
Looking at this:
https://github.com/specgen-io/specgen/blob/dee88d71df85af66596c8a44e80720b8e81a704d/gen/scala/http.go#L47
def decode(s: String): Long = s.toShort

I think that this should be s.toLong?  If I'm right, then this is actually causing a bug in a generated service.

Just to be clear: the consequence is for numbers greater than 32767 (the upper most of short data type in Java), we get a decode error.
@vsapronov This is important to us. Thanks for the help.

This is certainly a bug. Thank you for reporting.
I will let you know as soon as the build with the fix will be available (should be this week).

Created work item: https://trello.com/c/u7e6BVxy/198-fix-scala-long-types-bug

@JennyLeahy Could you please try version 2.1.1828 of the sbt-specgen plugin. I would recommend to try it just one service to see if it creates any backward incompatibilities.