"ERROR: The requested resource requires user authentication" on every work item.

On every item I get this error message:
Copying work item 311 to {gh-org}/{gh-repo} on github
  Issue created: https://github.com/{gh-org}/{gh-repo}/issues/304
  comment created: https://github.com/{gh-org}/{gh-repo}/issues/304#issuecomment-2226658271
ERROR: The requested resource requires user authentication: https://dev.azure.com/{ado-org}/_apis/wit/workItems/311

It does create Issues in GH. Not sure what is causing this error or what the issue is.

I think the issue is that the README says an ADO PAT with READ access is needed, but in line 190 the script is writing to ADO to tag the work items.
https://github.com/joshjohanning/ado_workitems_to_github_issues/blob/main/ado_workitems_to_github_issues.ps1#L190
az boards work-item update --id "$workitemId" --fields "System.Tags=copied-to-github; $workitemTags" --discussion "$discussion" | Out-Null;


Data validation fails for some numbers

This is related to issue #3433.
To replicate the error: Create a number field with validate.step of .0000001 and validate.min -90. Try inputting value 81.96 on the admin panel blueprint.
Expectation: The blueprint saves.
Result: The blueprint fails to save, indicating invalid input in that field.
A couple of notes:

Changing the step to .000001, removing the min, or changing the input value to 81.9 or 81.9692 (as a few examples) all provide the expected result. Changing the step .00001, however, still fails validation. This is consistent with issues with the PHP fmod function.
The fmod function used to be used in Grav/Common/Data/Validation.php in the typeNumber function (and did, in fact, cause the exact problems expected). It is no longer used in that function, however, so I think the error must be introduced elsewhere.

Yes, I removed fmod() call because it had rounding issues. I think the issue comes from how floating points work, they are never accurate due to how they are being saved. There's no other code anywhere, I bet the precision error comes from div.

That makes sense. What would be the best way to deal with the issue? Is there anything I can do short of changing the input to a text field?

Not sure. I already fixed this as this was supposed to be the better working solution (and it was).

I can't think of a way to deal with PHP's issues in this regard. Maybe there isn't one, or maybe it just requires a very creative solution, but as long as we don't have a solution this probably shouldn't be a thing at all. Can step be removed from the validation function, or at the very least can there be an option to set in the blueprint that will ignore step? Right now if I don't include a step value it just defaults to 1, so I'm forced to include the step value.
Frankly, I would just say ignore step values of .001 or lower: i.e. if (isset($params['step']) && ($params['step'] > .001).  Since the validation won't be accurate anyways, it would be better to err on the side of allowing the input than not allowing it.


Modifications in Mesh constructors

The constructors in the subclasses of Mesh are quite cluttered due to the 'initmesh' keyword argument.
Everything would be just fine with a single generic constructor which takes the pair (p, t) as an argument.
Additional constructors that build different default meshes for the unit square/cube/etc. should be implemented as class methods. For example:
m = MeshTri.unit_square_symmetric()
m = MeshTet.unit_cube()
m = MeshQuad.reference_domain() # Note! These are needed in GlobalBasis.refinterp

Demonstrated this in https://github.com/kinnala/scikit-fem/commit/6431e52d2f2261478ed435cc99f1c27fc78088f5

Some things to remember:

refinterp which does plotting on a refined mesh, uses initmesh='refdom'
fixing the examples that use initmesh='sqsymmetric'

This is now done in https://github.com/kinnala/scikit-fem/commit/2d260db613857ceccadaa64047fad6e588c0fc14


Update to v2.4.5

Signed-off-by: Jakob Gray<EMAIL_ADDRESS>

/lgtm

This should satisfy rebuild for https://github.com/stolostron/backlog/issues/22154


Initial radial gauge chart

Still a work in progress (I left TODO items in comments), but want to go ahead and get some feedback.
Current state:

that's so cool, thank you @sjcobb !
Instead of adding an example of Gauge, do you think we could instead add the gauche chart related to the node exporter dashboard.
Because the one you modified is the one representing the node exporter dashboard. And you should find some gauge to display :).
Last question : the gauge chart here is done with Echart, are you planning to do it as well with uplot ? @LukeTillman I supposed that's what we need to do for the moment right ?

Thanks! From what I can see on their demo page, it doesn't look like uPlot supports radial gauge charts. Which is by design, see their creator's response here, "uPlot is unlikely to do radial/polar charts like pie, radar, gauge"

ah right, thanks for the info @sjcobb. If you are ok to complete the node exporter dashboard, that would be cool.
I didn't look into the details, but it looks good to me overall. And yup definitely now it would make sense to have a common code to wrape the echart so it can decrease the amount of code (and potentially duplicated code) between the Gauge and Line chart.


US102322: Create a demo and test data for alerts.

The title says test data. Did you mean demo data?

@m6jones Oh, yeah, good point. Dummy data for the demo, not for tests.


Getting Remote Routes via ADS

Hi this is no real "issue" more a "question". I am working on a windows environment. The local system runs a twincat service. There are several remote routes managed on this specific machine. Is there any way to get the remote Routes (AmsNetIds) from this machine with an ADS command? I couldn't realy find any documentation regarding the Ports and Index Group combinations.

Hi! Your question was too interesting so I had to go deeper...
I knew that that Tc2_Utilities library has function block FB_EnumRouteEntry so I tested it and checked what is going on using ADS monitor.
I found the data:

It was quite trivial to parse. However there are 38 bytes that I couldn't find quickly. Perhaps transport mode, timeout time etc..
I updated ads-client to 1.11.0 so it has sendAdsCommand() available for use. You can try yourself if you like, update the ads-client and check the following gist:
https://gist.github.com/jisotalo/cfcc9e4935dfc6f391667cad2cdcb6c6
Result is something like:
[
  {
    amsNetId: '<IP_ADDRESS>.1.1',
    _unknown: <Buffer 01 00 00 00 00 00 60 ea 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 03 00 00 00 00 00 00 00>,
    address: '<IP_ADDRESS>',
    name: 'XP'
  },
  {
    amsNetId: '<IP_ADDRESS>.1.2',
    _unknown: <Buffer 01 00 00 00 00 00 60 ea 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 03 00 00 00 00 00 00 00>,
    address: '<IP_ADDRESS>',
    name: 'pi'
  },
  {
    amsNetId: '<IP_ADDRESS>.1.1',
    _unknown: <Buffer 01 00 00 00 00 00 60 ea 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00 00 00 0a 00 00 00 00 00 00 00>,
    address: '<IP_ADDRESS>',
    name: 'CX-3D6394'
  }
]

Note that this is not anything 100% working, just coding for fun :)

That is perfect! Especially now i can somehow understand how you got this far with your project! This is more and by far faster then anything i expected. It looks very promissing but cant say when i have time to test this. Thank you very mutch for the help, i will close this as solved.

Haha, thanks! Not always this fast, just had some spare time and you had an interesting question!


Flow map/shore waves

A good addition would be the ability to either add a flow map or make waves near shallow surfaces move towards the shore. I'm using crest for an island and it looks like a pool near the shores.

There is an ocean input for adding a flow map - shader Crest/Inputs/Flow/Add Flow Map. It's fairly recent and I haven't heard of people using it, I would be curious to hear if it works for you.
I'm not sure if you've added ocean inputs before, there's a video on it here in case you have not: https://www.youtube.com/watch?v=sQIakAjSq4Y&t=3s

I don't see Crest/Inputs/Flow/Add Flow Map. There's fixed direction and whirlpool and both don't work. I've followed the video you've linked.
Here's the fixed direction input:

I can see the plane in the simulation map but as far as I can see it has no effect on the flow. I've tried changing the speed and direction in the shader.

Could you fill out the issue template? We have numerous versions of crest, and numerous versions within each, which is why we added the template. Thanks!

Describe the bug
Adding a directional flow input does not have any effect
Screenshots / video

Log
No warnings/errors
Versions
built-in, Unity 2019.3.0f3
To Reproduce
Add the script and shader as usual to a plane and place the plane on top of the ocean.
Platform

Editor and standalone
Windows 10

Hardware
GTX 1070, i7 4770k

Hm the shader should be there: https://github.com/crest-ocean/crest/blob/master/crest/Assets/Crest/Crest/Shaders/OceanInputs/FlowAddFlowMap.shader
It may not be on the last release though if you are on that version? If so you'll need to download crest directly from the main page of this repos to get latest.

I get the same result with the shader you linked to. The flow map shows up in the AnimWaves map but it doesn't affect the actual waves.

I've managed to get it working. I forgot to tick 'Create Flow Sim' in the ocean renderer script.
But there's another problem. I have to set the speed very high in order to move the waves towards the shore.
https://media.giphy.com/media/XI25VW8YSupR49XWJC/giphy.gif

Ok, I see this hasn't really worked.
The flow system was designed for horizontally flowing water, like rivers etc. We don't have a great solution for shorelines at the moment, but we're thinking about it and hope to have another run at this soon.
It would be possible to orient the waves along the shoreline manually by setting the wind direction. It would be possible to set up multiple Shape Gerstner Batched scripts for different angles and crossfade between them using the Weight param on this script. Not ideal but thats the best we can offer right now.

Thanks for the suggestion. I've tried it but since I'm using crest for an island i can't really make it work well, they just cancel each other out.
I saw an option called Direct towards point and I don't know what it exactly does, I can't seem to make the waves all move to a point.

Yeah the direct towards point appears to be broken. We were never 100% happy with how it worked - it had its own set of problems - so we'll be seeking a new solution going forwards. I'll update this issue if we make progress on it.


Class pyNASA has no attribute 'outgassing'

Running the basic case here https://bmtgoncalves.github.io/pyNASA/ shows the following error. I already moved resources.json to the pyNASA folder
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

`from pyNASA import pyNASA
nasa = pyNASA
data = nasa.outgassing()

Traceback (most recent call last):
File "", line 1, in
AttributeError: class pyNASA has no attribute 'outgassing'`

Initializing the class as 'PyNASA()' shows a 'not defined' error:
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from pyNASA import pyNASA
nasa = PyNASA()

Traceback (most recent call last):
File "", line 1, in
NameError: name 'PyNASA' is not defined`

Not sure if related to your Python version, but it works for me on Anaconda Python 3, Ubuntu 16.04.2.
from pyNASA import pyNASA
nasa = pyNASA()
data = nasa.outgassing()
from pprint import pprint as pp
pp(data)
category cure  cvcm        id                material_usage   mfr  \
0           12  NaN  0.00  GSC33214                     CLICKBOND   CLB
1           12  NaN  0.00  GSC33217                     CLICKBOND   CLB
2            6  NaN  0.05  GSC32950              BLANKET MATERIAL   SCH
3           15  NaN  0.13  GSC34174                         ORING   PRS
....

Thanks @kinow ! Just tried with Python 3.4.5 |Anaconda 4.3.0 (x86_64) and it worked


fix bad content-type in captcha response

In some undiscovered cases, the content-type of the captcha-page will be text/plain instead of text/html.
a blank new meteor-project with sikka doesn't send the captcha-page in text/html, but unfortunately my more complex meteor-app does. I don't know why, but the response content-type in line 42 seems to be wrong. It should be 'text/html' not 'html'. Changing this fixed the problem for me.

This pull-request was necessary for me to use Sikka as well. I think it should be merged.

Pinging @arunoda since there haven't been updates to this repo/pull-request for a while.

@arunoda I have the same issue.

I was going to make a PR for the same change but realized I forgot to check if someone had done it first.

Maybe https://github.com/xunga/sikka-CM would be better to use, since it's been updated more than this repo.


add --explict flag

add a --explicit flag which takes as input a path to a CSV that will launch 1 task per row, passing the column names as flags and the values of the row as the arguments.
Example command given by user:
launch_experiment -j example-job-id --explicit path/to/tasks.csv
tasks.csv
state,scenario
CA,scen1
CA,scen2
NC,scen1
NC,scen2

This will result in the following tasks launched with the following arguments passed to run_task.py
run_task.py --jobid example-job-id --state CA --scenario scen1
run_task.py --jobid example-job-id --state CA --scenario scen2
run_task.py --jobid example-job-id --state NC --scenario scen1
run_task.py --jobid example-job-id --state NC --scenario scen2

CLOSED BY #14


Problem with unzip

I had some problems installing tools. I always got

WARNING: Could not unzip the archive of doctoolchain 2.0.1. Please delete archive from C:\Users\ralfd.posh_sdk.meta\archives (or delete all with 'sdk flush archives'

I debugged it a bit and noticed that it wasn't a problem with the archives folder but with the temp folder.
I already contained an item and this the number of items in this folder after unzipping was !=1
https://github.com/ronnypolley/posh-sdkman/blob/develop/PSSDKMan/Utils.ps1#L432
I wonder if it would make sense to clean up the temp folder before we execute the install command?

fixed with PR from @rdmueller


py.test has importerrors on Python 2.7

For some time now, when running python setup.py test on Python 2.7, pytest cannot import several modules of its own.
Looking at travis, it seems to have started to happen since pytest 2.7.2 was used.

Still okay at 800fc33
Problem since 132a7d6
Downgrading to pytest=2.7.1 (along with package py) didn't make a difference though.
Downgrading to setuptools=17 neither.
Any ideas @felipeacsi ?

I don't see any problem with pytest in build 348 after https://github.com/python-acoustics/python-acoustics/commit/132a7d65f47db50bde4376535eda101eba08d41a
What I can see after the importerrors is that there are always syntax errors. For example in travis job 389.1 there is a problem using yield from which were introduced in python 3.3. Perhaps you can handle this using six or other alternative. In 389.2 there are other issues. Looking at other jobs there are similar errors so hopefully is a "simple" thing.
I hope that helps. Let me know if you can resolve this issue.

Those builds you refer to are for PR #169 , which is indeed Python 3.4 only for now. Yes, I can easily get rid of the yield from and make it compatible with the other versions.
Looking at the builds https://travis-ci.org/python-acoustics/python-acoustics/builds
There were some errors which I fixed, but still there is an issue that pytest for Python 2.7 can't import certain modules.
https://travis-ci.org/python-acoustics/python-acoustics/jobs/70867743
==================================== ERRORS ====================================
____ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_commands.py _____
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_commands.py:41: in <module>
    from testtools import content
E   ImportError: No module named testtools
______ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_core.py _______
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_core.py:45: in <module>
    import fixtures
E   ImportError: No module named fixtures
______ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_files.py ______
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_files.py:20: in <module>
    import fixtures
E   ImportError: No module named fixtures
______ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_hooks.py ______
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_hooks.py:44: in <module>
    from testtools.content import text_content
E   ImportError: No module named testtools.content
___ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_integration.py ___
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_integration.py:17: in <module>
    import fixtures
E   ImportError: No module named fixtures
____ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_packaging.py ____
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_packaging.py:47: in <module>
    import fixtures
E   ImportError: No module named fixtures
______ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_setup.py ______
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_setup.py:30: in <module>
    import fixtures
E   ImportError: No module named fixtures
______ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_util.py _______
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_util.py:20: in <module>
    import testscenarios
E   ImportError: No module named testscenarios
_____ ERROR collecting .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_version.py _____
.eggs/pbr-1.3.0-py2.7.egg/pbr/tests/test_version.py:18: in <module>
    from testtools import matchers
E   ImportError: No module named testtools
==================== 312 passed, 9 error in 159.72 seconds =====================

pytest was trying to discover tests in .eggs folder so it discover .eggs/pbr-1.3.0-py2.7.egg/pbr/tests/*. I've added .eggs to ignored folders for pytest and the issue is gone.


YTD does reflect Fiscal Year Start

Describe the problem
Selected July as the first month of the fiscal year, but YTD resets in January.
Bravo version
0.9.5 (0.9.8190.17886)
Tabular model
Power BI Dataset
Power BI
Power BI Desktop Version: 2.107.841.0 64-bit (July 2022)
Steps to reproduce the behavior
No response
Additional context
No response
Screenshots

Anything else ?
No response

In the current version, all measures created by the standard calendar template are based on the solar calendar date and not on the fiscal date. We are evaluating the possibility of also providing measures based on the fiscal calendar in a future version but at the moment we do not have a timeline for this.
To get the measure based on the fiscal date, you can manually duplicate the YTD measure and add the YearEndDate parameter to the DATESYTD function, as in the following example. The YearEndDate param is an optional string with a date that defines the year-end date.

Added in version 0.9.6
This version includes the new fiscal calendar templates.


[FEATURE] Remove “Events Manager link in the upper left corner. This will be later replaced by a logo.

done.

Added as part of https://github.com/rokwire/events-manager/pull/876


Updates to the Sim

Hi, I first want to say that your tool helps out the community an incredible amount. Thank you for keeping this tool updated whenever a new feature or unit is released. That being said, I was wondering if you could implement a push notification system either through email or some other means so the community is able to see whenever there is a new update. Thank you for taking this into consideration. Keep up the great work!
p.s. Sorry for posting this as an "issue". I don't know how else I can reach you.

you can get notifications via the notifications settings of this github project in the top right of the page

Thank you! Sorry for bothering your workflow. I did not know this feature existed.


Add bgg logo and update condor's logo

Add BlueGreen Geophysics' logo and update Condor's logo.

@lheagy I just added the BHP logo since I saw it in the program you shared. Is that ok?

:+1: Thanks for catching that Santi!


Failed to connect to Backend?

Describe the bug
When Uploading a world (specifically .mcworld file) it wouldn't work and says "Oops, Failed to connect to backend
Something went wrong communicating with the server."
To Reproduce
Steps to reproduce the behavior:

Go to chunker.app/#
Click on Upload archive
Uploaded world.mcworld file
See error

Expected behavior
I expected it work as it should :(
Screenshot

Smartphone

Device: [Infinix Hot 30 Play]
OS: [XOS 13]
Browser [Chrome]
Version [127.0.6533.103]

Additional context
I downloaded it from my server and have tested it in my minecraft bedrock. Thx.

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

I use NetGuard, it only blocks network from an app

my ISP is Converge btw, it works on mobile data.

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

I use NetGuard, it only blocks network from an app

my ISP is Converge btw, it works on mobile data.

Are you able to try a different device? I suspect it might be to do with how your ISP does handling of ports if you're not using a VPN.

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

I use NetGuard, it only blocks network from an app

my ISP is Converge btw, it works on mobile data.

Are you able to try a different device? I suspect it might be to do with how your ISP does handling of ports if you're not using a VPN.

i have tried it now, and it works. I think its the Port forwarding :/

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

I use NetGuard, it only blocks network from an app

my ISP is Converge btw, it works on mobile data.

Are you able to try a different device? I suspect it might be to do with how your ISP does handling of ports if you're not using a VPN.

i have tried it now, and it works. I think its the Port forwarding :/
I deleted the port i forwarded and now it works, it just wont let me download the converted worlds.

I believe this is because your internet provider is using a different IP for when connecting to chunker and requesting a download which unfortunately trips up how the download system works. You might find with a VPN it works if by chance you have access to one to try.

Could you confirm what internet provider you use? Have you tried a different device? This error sometimes happens when a VPN / Proxy is in use.

I use NetGuard, it only blocks network from an app

my ISP is Converge btw, it works on mobile data.

Are you able to try a different device? I suspect it might be to do with how your ISP does handling of ports if you're not using a VPN.

i have tried it now, and it works. I think its the Port forwarding :/
I deleted the port i forwarded and now it works, it just wont let me download the converted worlds.

I believe this is because your internet provider is using a different IP for when connecting to chunker and requesting a download which unfortunately trips up how the download system works. You might find with a VPN it works if by chance you have access to one to try.

Thanks, i found this solution working!


fix exercse and diet link in GIL about page

fix broken exercise and diet link in GIL About page

Thank you @achen2401


Question on JDBC Streams

Hi,
Does slick and alpakka uses change data capture technology of JDBC database in the hood or uses some
Primary key and time stamp
Column and then keep query’s database in a loop.
Thanks
Sri

Hi. I can't answer this for sure. My guess is: no. Feel free to reach out to the Alpakka project. https://github.com/akka/alpakka


Support link is dead

Where are we sending the support link in the nav to?

send to<EMAIL_ADDRESS>

@ardeay can you please take this one

yes @chloespilotro


support different dhcp client in Linux

Some Linux environment like Yocto has no dhclient tool set.
So add a macro named CHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD to config
the command which used to query the IP address from the DHCP server.
The macro didn't added into CHIPDeviceConfig.h due it is only used for Linux and by default the command is reset to using "dhclient".
For example in Yocto arm64 cross compile :
#Yocto using udhcpc to fetch IP and DNS info
PLATFORM_CFLAGS='-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME="mlan0"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD="udhcpc -b -i %s & "'
PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}
PKG_CONFIG_LIBDIR=${PKG_CONFIG_PATH}
gn gen out/aarch64 --args="target_os="linux" target_cpu="arm64" arm_arch="armv8-a"
import("//build_overrides/build.gni")
target_cflags=[ "--sysroot=${SDKTARGETSYSROOT}", "${PLATFORM_CFLAGS}" ]
target_ldflags = [ "--sysroot=${SDKTARGETSYSROOT}" ]
custom_toolchain="${build_root}/toolchain/custom"
target_cc="${OECORE_NATIVE_SYSROOT}/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc"
target_cxx="${OECORE_NATIVE_SYSROOT}/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++"
target_ar="${OECORE_NATIVE_SYSROOT}/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar""
Signed-off-by: Haoran Wang<EMAIL_ADDRESS>

 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.

@saurabhst ?


adding bg-sync tag name check

R: @jeffposnick @addyosmani @gauntface
Adds a check for tag name before replaying the requests in background sync queue.

Coverage decreased (-0.08%) to 89.15% when pulling 6ee994d80e8f0b5f7641777ae5320c6baadc1186 on bg-sync-tagfix into a5e9424e952f18a5d76c3a4f117e7b9eb00b34f5 on v3.


Add owner references to backup created by schedule

Without the OwnerReferences in the backup created by the schedule, ArgoCD was deleting the backup object as they were created.
RHTAPSRE-259

/lgtm


Development Related to EDRD-Sprints - 6, 7 & 8

Development Related to EDRD-Sprints - 6, 7 & 8

HI Yash


Add gitignore file with content

#11 I added node_modules/ & .cache/ directories and .DS_Store files to gitignore. I also removed these files from Git.
After running npm install locally there were lots of changes in the package-lock.json file so I pushed the updated version as well so it is synced up with package.json.
I noticed that public/ dir is still in Git (it is usually ignored as well).

Thank you for this contribution @mahewi. Are you able to add the public directory to the .gitignore like @moonmeister recommended?

Thank you @moonmeister for the comment! @M0nica I added all of the Gatsby's default gitignore options. I also removed public/ from Git


Strange editor behaviour

The integrated editor shows strange behaviour:

Tested with we AUR (Arch Linux) and the cargo install build.
Tested with Konsole and rxvt-unicode (urxvt)
Other Cursive or ncurses-rs tools work fine.
NCurses-Version: 6.1.20180127

Same here. And CTRL+C seems the only way to exit the editor, without saving the contact.
Tested with AUR and xfce-terminal.

Same issue with Alacritty.  The UI can be interacted with.  Hitting tab will highlight the "save" button and hitting enter will successfully complete the action.


Slideshow

In certain situations, you want to present multiple images. Therefore, a slideshow-element should be created.
I would suggest the following syntax:
:::slideshow

![](image.png "Another description")
![](image2.png "A description")

:::

The slideshow-element should have one options. The option auto controls, if the slideshow moves to the next element after a predefined time. For example, auto=5 means that after 5 seconds, the next image will be shown. The default should be auto=0 (aka disabled).
The result should look similar to this one: https://www.w3schools.com/howto/howto_js_slideshow.asp

implemented in c0d6e1e


Feature Request - support logging of structured data to journald

sensu is currently sending its structured JSON logging data to stdout/stderr where it is picked up by journald and stored as a "text blob" making it unnecessarily difficult to parse.
It would be fantastic if the logging data could be sent properly to journald so that as an example "level" is picked up correctly and we could use the features of journalctl to look at and query the logging data.
As an example, currently the following are all logged as normal log messages, while they clearly are not:
Feb 28 14:53:39 app3 sensu-api[633]: {"timestamp":"2018-02-28T14:53:39.384936+0800","level":"error","message":"[amqp] Detected TCP connection failure: Errno::ECONNREFUSED"}
Feb 28 14:53:43 app3 uchiwa[526]: {"timestamp":"2018-02-28T14:53:43.964653208+08:00","level":"warn","message":"GET http://<IP_ADDRESS>:4567/stashes returned: 500 Internal Server Error"}

If the logging data was structured, we could do:
journalctl -u sensu.slice -p err

And only get the error messages.
Your Environment

Sensu version used: 1.2.1

Very cool suggestion @peterhoeg! The core team will review this as part of our weekly triage (that happens to be tomorrow - good timing 😄).
Could you provide a bit more detail on the current challenges you face when parsing errors? It will be helpful as we prioritize backlog. Thanks!

Sure - there are a few different use-cases:

When setting up and/or troubleshooting sensu, you typically set the LOG_LEVEL to info or debug which produces a very large quantity of messages. Finding errors and warnings is difficult. Obviously not "travelling sales man difficult" but if would be far easier if we could simply query using the levels that journald supports.

Currently looking for any kind of specific output means grep.
If as an example the "file" key/value here was stored in its own field in the following journal entry, you would be able to query based on that and easily find any mentioning of the file:

Feb 28 14:53:39 app3 sensu-api[633]: {"timestamp":"2018-02-28T14:53:38.949637+0800","level":"warn","message":"loading config file","file":"/etc/sensu/conf.d/client.json"}

So you could do this:
  journalctl -u sensu-api _file=/etc/sensu/conf.d/client.json

journald supports tagging messages with other kinds of meta data so as an example, using a message id (a uuid basically) would allow you to find all the messages of a certain type without having it dumped on you when looking at the output

You could also dump your timestamp since all log entries are already tagged for you. Then the user can choose the resolution to see.

One more thing, with structured logging data, the sensu-plugins-logs plugin will be able to check sensu as well using logging levels:
https://github.com/sensu-plugins/sensu-plugins-logs/blob/master/bin/check-journal.rb

In talking to the engineering team it seems we are already supporting this use case in http://github.com/sensu/sensu-go (aka Sensu 2.0). I think we're open to supporting this in Sensu 1.x should someone in the community be willing to work on the implementation in http://github.com/sensu/sensu-logger.

Closing this as we aren't planning to address it in Sensu 1.x and it is fixed in Sensu 2.0


Pull up to finish an Activity??

How to change the pull direction to up?

I'll make it possible next release

@xingrz thanks


replace bivariate_normal in kalman.rst

bivariate_normal will soon be deprecated - need something to replace with

You might be able to replace it with scipy.stats.multivariate.normal. I also saw that the QuantEcon/rvlib repository has a branch with some code for drawing from multivariate distributions here.

Thanks @duncanhobbs - will look into it.

@natashawatkins we have defined a function bivariate_normal in this lecture. So we will not face this problem again. Can we close this issue?


Extension loading animation loop bug

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.72.2
OS Version: Windows 10

Steps to Reproduce:

Connect to a slow network 😊
Search for an extension in the marketplace and click on it.

Example video:

Note: video is slowed down for better presentation

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.75.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I checked the latest vs code version and it seems that this bug is resolved by changing the loading animation.
Thanks.


NodeJS class instanciation with callback wrong wolor

In NodeJS, when you instanciate a new class with multiple arguments it starts to freak out.
Here is an example of class and function, the function colors are correct, but the class colors aren't:

Here is a non-exhaustive list of tokens that are green and shouldn't be:

Apart from this bug, amazing job I love it so much <3

changes in ST core broke highlighting in a number of places. I still haven't had time to fix everything, but I'd be happy to merge prs if anyone is still experiencing these issues and wants to provide a fix.

Please see https://github.com/jonschlinkert/sublime-monokai-extended/pull/88.


Script could not run on OSX

OSX use its own sed etc.
Without install gnu sed, the script could not run. It is a good product. I really hope I can have it on OSX without install additional packages.

@kurahaupo Maybe it's time to just simply join forces around a new fork where we can integrate the various suggestions and pull requests? I mean, no issue has been closed for 4 years and no pull request has ever been merged ...  It would necessarily need to go hand in hand with a new Gem as well, but I haven't really dabbled with Ruby enough to do that efficiently.

@fatso83 Yes that sounds like a plan. (I should have replied much earlier, sorry about that.)
Personally I've not been using this module as it is missing some key features that I need, and adding them will involve a rather tortuous upgrade path.
I think that the next step is to change the mechanism for passing the template to the shell module, so that instead of having to find and open the script, it's passed either as a heredoc:
. easyoptions.shlib --heredoc <<EndOfOptions
 -v             verbose
 -cCount        limit to Count iterations (default $Count)
EndOfOptions

or as a multi-line string argument:
. easyoptions.shlib --arg "
 -v             verbose
 -cCount        limit to Count iterations (default $Count)
"

I'm making a specific proposal for other languages, but something closely approximating one of these two methods should be available in most languages.

Or perhaps we should just start again, because the very first design decision was a mis-step: parsing structured data out of a readable document is always going to be harder (and less reliable) than generating a readable doc from structured data.
This project began as a learning exercise; good for what it is, but early decisions mean that it's going to be forever awkward. (Mind you, that pretty much describes the shell itself.)

Did any of the ideas here come to fruition? I could just fork and fix it because it is fairly simple, but I am curious if it has been fixed/improved/better recommendations for easy command line switches.

Nope.

I suggest going ahead and forking.
It seems that @renatosilva vanished from Github - no commits, issues, or comments since July 2016.


Additive Layer Eyetracking Bug

When user joins the world the vrc default eyetracking is active when eye tracking state is true. So there is problem initialization of the eye tracking states.

Fixed with v0.3.0 added a 2 second initialization delay to allow other base animations to go through causing initialization issues with the additive layer.


Added Close for NFLOG

--> Added Stop() for nflog

Codecov Report

Merging #335 into master will decrease coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #335      +/-   ##
==========================================
- Coverage   55.47%   55.41%   -0.07%
==========================================
  Files          50       50
  Lines        5350     5356       +6
==========================================
  Hits         2968     2968
- Misses       2139     2145       +6
  Partials      243      243

Impacted Files
Coverage Δ

enforcer/datapath.go
62.89% <0%> (-0.4%)
:arrow_down:

enforcer/nflog_linux.go
9.52% <0%> (-0.83%)
:arrow_down:

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 ee2815a...ad3521b. Read the comment docs.


Gcm topics

This is a bit of a big one so it needs lots of eyes and lots of commentary.  I hope.
How to test :

Build the project.
Build the https://github.com/aerogear/aerogear-android-push/pull/50 for AGDROID
*
Configure a push variant etc etc in UPS
Configure a sample application (I used the hello world)
In the sample application add a category "topic" (or anything you want) to the Push Registrar config
In UPS sent a message to the device. In the UPS log you will see Sending payload for [1] devices to GCM
Now send a message but set the category to "topic" (or whatever you set in step *)
In UPS you should see Sending payload for [1] topics to GCM
You should also see both messages in the app.

@secondsun cool stuff :) , I will review it ASAP.
From the previous discussions we mentioned that the gcm module could have its own GH repo etc ... But I imagine that can happen later once we tested this PR ?

@sebastienblanc yeah.  it is probably much easier to have the GCM module be part of the build while we review.
I haven't heard from Googley ppl about the issue I filed, but hopefully we can merge these changes back in to theirs and get them to publish to maven central.

Migrating to https://github.com/aerogear/aerogear-unifiedpush-server/pull/630


Why is Prepare() Method a noop?

I am trying to use the goose migrate with pgtestdb but I am unsure how to implement the Prepare method for the same? Do I fork it? Do I embed it into my own struct? I have an extension that i need to install separate from the migration so this would be useful. I haven't found a concrete example and would like to know what's the intended usage of Prepare() is

Hey, good question. You should be able to embed it into your own struct and then wrap the Prepare() and Hash() methods. Here's a fully-fleshed-out example that I was able to run successfully myself. Happy to explain more if you find any of it confusing, I did write some comments to make it super clear how Prepare() works right now.
As an aside, I am considering dropping Prepare() from the Migrator interface. Instead of Prepare(), users can get equivalent functionality by running logic in the Migrate() method, which is called immediately after Prepare() and receives the exact same ctx/db/conf arguments. For more background, see the PR description on https://github.com/peterldowns/pgtestdb/pull/6.
By the way, not sure which extensions you'd like to activate, but sometimes it requires SUPERUSER capabilities — and by default pgtestdb connects with NOSUPERUSER. The example below shows how to work around that if necessary.
$ tree
.
├── go.mod
├── go.sum
├── main_test.go
└── migrations
    └── 0001_initial.sql

2 directories, 4 files

-- file = migrations/0001_initial.sql

-- +goose Up
CREATE TABLE public.myhstoredata (
    h hstore,           -- requires "hstore" extension
    examplegeo geometry -- requires "postgis" extension
);

INSERT INTO public.myhstoredata VALUES ('name=>Peter, example=>yes');

INSERT INTO public.myhstoredata values

-- +goose Down
DROP TABLE public.myhstoredata;

// file = main_test.go
package main_test

import (
	"context"
	"database/sql"
	"embed"
	"fmt"
	"testing"

	_ "github.com/jackc/pgx/v5/stdlib"

	"github.com/peterldowns/testy/assert"

	"github.com/peterldowns/pgtestdb"
	"github.com/peterldowns/pgtestdb/migrators/common"
	"github.com/peterldowns/pgtestdb/migrators/goosemigrator"
)

//go:embed migrations/*.sql
var exampleFS embed.FS

type MyMigrator struct {
	goosemigrator.GooseMigrator
}

func (m *MyMigrator) Prepare(ctx context.Context, db *sql.DB, conf pgtestdb.Config) error {
	// If your migrations assume that you have manually enabled some extensions
	// before you attempt to run them, you can match that behavior by
	// "overriding" the Prepare() method from an existing migrator. Here, we
	// enable the "hstore" extension.  pgtestdb calls `Prepare()` right before
	// it calls `Migrate()`, so your migrations can just assume that "hstore" is
	// enabled (see the example migrations.)
	_, err := db.ExecContext(ctx, "CREATE EXTENSION hstore;")
	if err != nil {
		return fmt.Errorf("db failed to activate hstore: %w", err)
	}
	// Some extensions like "postgis" require the current role to be `SUPERUSER` in order
	// to enable them.
	//
	// pgtestdb will call `Prepare()` and `Migrate()` with the exact same connection information,
	//	- username = `conf.TestRole.Username`, defaults to `pgtestdb.DefaultRoleUsername`
	//  - password = `conf.TestRole.Password`, defaults to `pgtestdb.DefaultRolePassword`
	//  - capabilities = `conf.TestRole.Capabilities`, defaults to `pgtestdb.DefaultRoleCapabilities`
	//
	// Importantly, the default capabilities are `"NOSUPERUSER NOCREATEDB NOCREATEROLE"` — which
	// is probably the same set of capabilities your app uses to connect to your production database.
	// But `NOSUPERUSER` will prevent us from activiating "postgis", because:
	//	 When creating a test database, pgtestdb will:
	//	 1. create a new role `conf.TestRole.Username` with capabilities `conf.TestRole.Capabilities`
	//	   - username defaults to "pgtdbuser"
	//	   - capabilities defaults to "NOSUPERUSER NOCREATEDB NOCREATEROLE"
	//	 2. if it doesn't already exist, create the template database
	//	   - the template database is owned by `conf.TestRole.Username`
	//	 	 - 2.a: connect to the template database as `conf.TestRole.Username`
	//		 - 2.b: call Prepare() with this same connection
	//	   - 2.c: call Migrate() with this same connection
	//	 3. create an instance database based on this template
	//	 	- the instance database is owned by `conf.TestRole.Username`
	//
	// Enabling "postgis" requires the current role/user to have ADMINISTRATOR priviliges.
	// Just trying to activate it will fail...
	_, err = db.ExecContext(ctx, "CREATE EXTENSION postgis;")
	if err != nil {
		// ... so instead, you have two options. You can connect as a superuser,
		// and activate the extension using the superuser connection:
		superuserConnToTemplateConf := conf
		superuserConnToTemplateConf.User = "postgres"
		superuserConnToTemplateConf.Password = "password"
		suDB, err := superuserConnToTemplateConf.Connect()
		if err != nil {
			return fmt.Errorf("suDB failed to connect: %w", err)
		}
		defer suDB.Close()
		_, err = suDB.ExecContext(ctx, "CREATE EXTENSION postgis;")
		if err != nil {
			return fmt.Errorf("suDB failed to activate postgis: %w", err)
		}
		// Or, you can avoid this entirely by setting `conf.TestRole.Capabilities` to
		// something like `NOCREATEDB NOCREATEROLE`, so that it still has
		// the `SUPERUSER` capability. This means that each test gets a database connection
		// with the `SUPERUSER` capability, which is potentially different than how your app
		// connects to its database in production (usually doesn't have `SUPERUSER`), but
		// if you're willing to accept that difference, it's an easier change.
	}
	return m.GooseMigrator.Prepare(ctx, db, conf)
}

func (m *MyMigrator) Hash() (string, error) {
	wrapped, err := m.GooseMigrator.Hash()
	if err != nil {
		return "", err
	}
	hash := common.NewRecursiveHash(
		common.Field("Migrations", wrapped),
		common.Field("Prepare", `
			you have to change this string if you modify the sql statements
			executed in Prepare() or otherwise pgtestdb won't know that it
			should create a new template.
		`),
	).String()
	return hash, nil
}

func TestCustomPrepareMethod(t *testing.T) {
	t.Parallel()
	conf := pgtestdb.Config{
		DriverName: "pgx",
		User:       "postgres",
		Password:   "password",
		Host:       "localhost",
		Port:       "5433",
		Options:    "sslmode=disable",
	}
	migrator := &MyMigrator{
		*goosemigrator.New("migrations", goosemigrator.WithFS(exampleFS)),
	}
	db := pgtestdb.New(t, conf, migrator)

	var name string
	err := db.QueryRow("SELECT h['name'] FROM myhstoredata;").Scan(&name)
	assert.Nil(t, err)
	assert.Equal(t, "Peter", name)
}

One other thing to note is that the goosemigrator currently uses the global goose.Provider instance, but it should probably be updated to create and use its own provider. This would allow getting rid of the internal locking it uses to avoid triggering the race detector.

https://github.com/peterldowns/pgtestdb/blob/1e5d91b9e89d91d93b34ed6fbd34758010b5e634/migrators/goosemigrator/goose.go#L106
https://github.com/pressly/goose/blob/master/CHANGELOG.md#v3160---2023-11-12
https://pressly.github.io/goose/blog/2023/goose-provider/

Addressed all the issues above ^ with today's releases. I'm going to close this as fixed for now, but if you're still confused please go ahead and re-open or comment.


Issue with az login and az connect to Kubernetes cluster

This is autogenerated. Please review and update as needed.
Describe the bug
I'm getting issue with commands like "az login" and az connecting with kubernetes cluster. The issue mentions about the computer timezone here which is synced automatically with the world clock. Can you please help me understand and resolve the issue?
Command Name
az login
az aks get-credentials --resource-group Compute-rg-slbSimulation-wstdty --name aks-jhuug4jkx4sgu
Errors:
vkamani@DESKTOP-58C3JIA:~$ az aks get-credentials --resource-group Compute-rg-slbSimulation-wstdty --name aks-jhuug4jkx4sgu
The command failed with an unexpected error. Here is the traceback:
0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch =<PHONE_NUMBER>.  The id_token was: {
  "aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
  "iss": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0",
  "iat":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aio": "AXQAi/8TAAAASzVFUy1yHIU+8qW7aIR3uqxttgsS1xiGCUGPcQL9qPva8orLO3i8PRAukbjyl/gOYHtR9cTw1bzaJQ9DEeYMDhE0BLd13K5zaHX3/TsOa90YkKd033rwBnf0x/mbls3jq+GSIdJVa4w7AxaaKlidCQ==",
  "name": "Vaibhavi Kamani",
  "nonce": "d1a65b433a7e583f7dbf63cbfb13b549245bf3ba762c44b6cf1b5d8fc823114b",
  "oid": "2b92e528-18ff-4852-b3bf-7bd8104ec832",
  "preferred_username"<EMAIL_ADDRESS>  "puid": "10032001C5589438",
  "rh": "0.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaACA.",
  "sub": "7LxyxYmfyAy1on28yjFg8mYYT7UTxRtmD_ARuKNXpCA",
  "tid": "72f988bf-86f1-41af-91ab-2d7cd011db47",
  "uti": "AKQJpkN7SEaelQ4VW04nAA",
  "ver": "2.0"
}
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/command_modules/acs/custom.py", line 2207, in aks_get_credentials
    credentialResults = client.list_cluster_user_credentials(
  File "/opt/az/lib/python3.8/site-packages/azure/core/tracing/decorator.py", line 83, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/mgmt/containerservice/v2022_02_01/operations/_managed_clusters_operations.py", line 1221, in list_cluster_user_credentials
    pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/_base.py", line 211, in run
    return first_node.send(pipeline_request)  # type: ignore
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/_base.py", line 71, in send
    response = self.next.send(request)
  [Previous line repeated 2 more times]
  File "/opt/az/lib/python3.8/site-packages/azure/mgmt/core/policies/_base.py", line 47, in send
    response = self.next.send(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/policies/_redirect.py", line 158, in send
    response = self.next.send(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/policies/_retry.py", line 445, in send
    response = self.next.send(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/policies/_authentication.py", line 117, in send
    self.on_request(request)
  File "/opt/az/lib/python3.8/site-packages/azure/core/pipeline/policies/_authentication.py", line 94, in on_request
    self._token = self._credential.get_token(*self._scopes)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/auth/credential_adaptor.py", line 65, in get_token
    token, _ = self._get_token(scopes, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/auth/credential_adaptor.py", line 38, in _get_token
    token = self._credential.get_token(*scopes, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/auth/msal_authentication.py", line 60, in get_token
    result = self.acquire_token_silent_with_error(list(scopes), self._account, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/msal/application.py", line 1135, in acquire_token_silent_with_error
    result = self._acquire_token_silent_from_cache_and_possibly_refresh_it(
  File "/opt/az/lib/python3.8/site-packages/msal/application.py", line 1220, in _acquire_token_silent_from_cache_and_possibly_refresh_it
    result = _clean_up(self._acquire_token_silent_by_finding_rt_belongs_to_me_or_my_family(
  File "/opt/az/lib/python3.8/site-packages/msal/application.py", line 1259, in _acquire_token_silent_by_finding_rt_belongs_to_me_or_my_family
    last_resp = at = self._acquire_token_silent_by_finding_specific_refresh_token(
  File "/opt/az/lib/python3.8/site-packages/msal/application.py", line 1306, in _acquire_token_silent_by_finding_specific_refresh_token
    response = client.obtain_token_by_refresh_token(
  File "/opt/az/lib/python3.8/site-packages/msal/oauth2cli/oauth2.py", line 831, in obtain_token_by_refresh_token
    resp = super(Client, self).obtain_token_by_refresh_token(
  File "/opt/az/lib/python3.8/site-packages/msal/oauth2cli/oauth2.py", line 263, in obtain_token_by_refresh_token
    return self._obtain_token("refresh_token", data=data, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/msal/oauth2cli/oidc.py", line 116, in _obtain_token
    ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/msal/oauth2cli/oauth2.py", line 789, in _obtain_token
    (on_obtaining_tokens or self.on_obtaining_tokens)({
  File "/opt/az/lib/python3.8/site-packages/msal/application.py", line 1311, in <lambda>
    on_obtaining_tokens=lambda event: self.token_cache.add(dict(
  File "/opt/az/lib/python3.8/site-packages/msal/token_cache.py", line 307, in add
    super(SerializableTokenCache, self).add(event, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/msal/token_cache.py", line 113, in add
    return self.__add(event, now=now)
  File "/opt/az/lib/python3.8/site-packages/msal/token_cache.py", line 152, in __add
    decode_id_token(id_token, client_id=event["client_id"])
  File "/opt/az/lib/python3.8/site-packages/msal/oauth2cli/oidc.py", line 77, in decode_id_token
    raise RuntimeError("%s Current epoch = %s.  The id_token was: %s" % (
RuntimeError: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch =<PHONE_NUMBER>.  The id_token was: {
  "aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
  "iss": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0",
  "iat":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aio": "AXQAi/8TAAAASzVFUy1yHIU+8qW7aIR3uqxttgsS1xiGCUGPcQL9qPva8orLO3i8PRAukbjyl/gOYHtR9cTw1bzaJQ9DEeYMDhE0BLd13K5zaHX3/TsOa90YkKd033rwBnf0x/mbls3jq+GSIdJVa4w7AxaaKlidCQ==",
  "name": "Vaibhavi Kamani",
  "nonce": "d1a65b433a7e583f7dbf63cbfb13b549245bf3ba762c44b6cf1b5d8fc823114b",
  "oid": "2b92e528-18ff-4852-b3bf-7bd8104ec832",
  "preferred_username"<EMAIL_ADDRESS>  "puid": "10032001C5589438",
  "rh": "0.ARoAv4j5cvGGr0GRqy180BHbR5V3sATbjRpGu-4C-eG_e0YaACA.",
  "sub": "7LxyxYmfyAy1on28yjFg8mYYT7UTxRtmD_ARuKNXpCA",
  "tid": "72f988bf-86f1-41af-91ab-2d7cd011db47",
  "uti": "AKQJpkN7SEaelQ4VW04nAA",
  "ver": "2.0"
}

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az account set --subscription c99e2bf3-1777-412b-baba-d823676589c2
az aks get-credentials --resource-group Compute-rg-slbSimulation-wstdty --name aks-jhuug4jkx4sgu

Expected Behavior

It should connect to the aks cluster

Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29, Ubuntu 20.04.4 LTS
Python 3.8.12
Installer: DEB

azure-cli 2.35.0 *

Additional Context

route to CXP team

@vkamani21 Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@vkamani21 I looked at the error message:
The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch =<PHONE_NUMBER>.

As the error suggested: Current epoch =<PHONE_NUMBER>. This is GMT: Tuesday, November 15, 2022 6:21:24 AM (converted using https://www.epochconverter.com/).
Cause:
The cause is because the time on the computer is not correct. MSAL checks nbf and thinks the ID token is not yet valid.

nbf is a value of a not before claim, which indicates the time before which the JSON Web Token (JWT) must not be accepted for processing.

Action Plan:

If you are using WSL, try to run the command sudo hwclock -s and see if reboot helps.
Also could you try to adjust your computer's time according to https://time.is/ ?

Tagging similar issues here: https://github.com/Azure/azure-cli/issues/20388 https://github.com/Azure/azure-cli/issues/20434 and https://github.com/Azure/azure-cli/issues/20158

@vkamani21 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@vkamani21 The action is currently pending on you to try the above suggestion. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Packit Service stores duplicate projects

I've noticed this before (last month) as well and I thought it was a one off. But its happening again. Eg: stg has two entries for TomasTomecek/anaconda
One of them is okay but the other one stores the project url as https://github.com/TomasTomecek/TomasTomecek/anaconda (namespace is repeated) instead of https://github.com/TomasTomecek/anaconda
The other details like namespace, repo name, forge are correctly stored. Since /projects/{forge}/{namespace}/{repo_name}/...  expects these to be unique, it returns the first one it finds. It might be the correct one in some cases and incorrect one in others.

Thanks for finding that!
Is the problem only on stage?

No, I searched and found some on a two month old prod dump as well

We should go through that. It contains also some weird names.

Let's take a look after #954 is merged.

I think we can clear the content from some mess both on prod and stage. And it shouldn't take much time. Let's reopen.

sync 2 jira?


Question/Documentation: What crs is used in odc.stac.load if crs parameter is not defined?

I'm sorry if I missed this somewhere, but the documentation of odc.stac.load does not appear to state how the crs of the output  is determined if the crs parameter of odc.stac.load is left unset.

short answer: from STAC metadata using most common projection/resolution across all items being loaded, but see pinned issue about pixel grids:

https://github.com/opendatacube/odc-stac/issues/95
https://odc-stac.readthedocs.io/en/latest/stac-best-practice.html


Specify member type

Saying<EMAIL_ADDRESS>isn't helpful, since the prefix needs to be "user", "serviceAccount", or "group", not "member'"
Since this is a quickstart, we should just pick one type and stick with that. "user" is a good way to demonstrate core functionality, so I picked that type.

This is ready for merge, not sure if you can merge here, let me know and I'll do it.

I'm not able to merge--can you do it for me please?


Add improved typed casting to BigQuery

CATEGORY
Choose one

[ ] Bug Fix
[X] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Add improved type casting for BigQuery, similar to what https://github.com/apache/incubator-superset/pull/8226 did for Presto. This prevents 64 bit integers from being converted to floats by Pandas, losing precision.

TEST PLAN

I verified that int64 values are not cast to float, and that precision is maintained. I also tested that all types are cast correctly:
SELECT
  'string' AS `string`,
  CAST('string' AS BYTES) AS `bytes`,
  100 AS `integer`,
  100.0 AS `float`,
  CAST(1 AS NUMERIC) AS `numeric`,
  CAST(1 AS BOOLEAN) AS `boolean`,
  STRUCT(1) AS `record`,
  TIMESTAMP(DATETIME "2008-12-25 15:30:00", "America/Los_Angeles") AS `timestamp`,
  DATE "2008-12-25" AS `date`,
  TIME "15:30:00" AS `time`,
  DATETIME "2008-12-25 15:30:00" AS `datetime`

Generated CSV:

string
bytes
integer
float
numeric
boolean
record
timestamp
date
time
datetime

string
b'string'
100
100.0
1.0
True
"{""_field_1"": 1}"
2008-12-25 23:30:00+00:00
2008-12-25
15:30:00
2008-12-25 15:30:00

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Hey Beto, I've been working on this problem a bit for Postgres and MySQL, and I'm currently testing casting ints as object (strings) rather than the new Int64 type, since the latter is incompatible with PyArrow, which has significant serialization performance benefits. At the same time, it may go towards resolving the JS max integer size issue. Happy to chat with you about this.

Will merge, but work on a better solution with @robdiciuccio.


Update ml docker test files

Update:

sdk/ml/azure-ai-ml/tests/test_configs/components/additional_includes/docker/DockerFile
sdk/ml/azure-ai-ml/tests/test_configs/internal/additional_includes/docker/DockerFile
sdk/ml/azure-ai-ml/tests/test_configs/pipeline_jobs/my_exp/docker/DockerFile

To mariner or the like.
This is due to this warning that is now a fact of life due to the 1ES transition.
On 3/31 this warning will become a hard error.

fixing in this PR: https://github.com/Azure/azure-sdk-for-python/pull/34825

Resolved by #34825


Common Service for national holidays

AS AN End Client
I WANT TO get information about Estonian national holidays
SO THAT I could use it for whatever purpose I had
Acceptance Criteria

[x] Responses are based on up-to-date information about national holidays
[x] Use Bürokratt Chat Widget to specify my requests in writing and get answers for them
[x] #61
[x] #63

Scope

[x] All functionalities of #60

Blocked until /chat/message-to-bot is refactored and Rasa trained properly

Blocked by
https://github.com/buerokratt/Common-Services/issues/61
https://github.com/buerokratt/Common-Services/issues/63

Works as intended


DriveService ConfigurableHttpClient not working with .NET Native

Hello, I've been using this library for a few months and it's been great, but it stopped working for me a couple of days ago. I'm using the latest version, I also tried to get back to the old <IP_ADDRESS>3 version I was using before updating, but I still have the same problem.
I'm using manual HTTP calls with the embedded HttpClient in the DriveService object provided by the library. Here's the code I'm using (I removed all the checks and unnecessary stuff here):
// Assume I already have a working DriveService with the right scopes etc...
public static async Task<String> LoadRootIdAsync([NotNull] DriveService drive, [NotNull] CancellationTokenSource cts)
{
    // Make the API HTTP call
    const String url = "https://www.googleapis.com/drive/v3/files/root?fields=id";
    using (HttpResponseMessage response = await drive.HttpClient.GetAsync(new Uri(url), cts.Token))
    {
        // Read the input buffer
        String text = await response.Content.ReadAsStringAsync();

        // Deserialize the JSON response and return the id
        dynamic json = JsonConvert.DeserializeObject(text);
        return json?.id;
    }
}

Here I'm trying to get the id of the current user. This code worked great for months, and it just stopped working now, and I haven't changed a single line on my end, so I'm not sure what's happening here.
So, it still works fine in Debug mode and I get the following results:
HttpResponseMessage value seen in the variables page in Visual Studio:

{ StatusCode: 200, ReasonPhrase: '', Version: 2.0, Content: System.Net.Http.StreamContent, Headers:{  server: GSE  alt-svc: quic=":443"; ma=2592000; v="36,35,34,33,32"  cache-control: no-transform, must-revalidate, max-age=0, private  date: Tue, 20 Sep 2016 23:28:09 GMT  x-frame-options: SAMEORIGIN  vary: Origin  vary: X-Origin  x-content-type-options: nosniff  x-xss-protection: 1; mode=block  content-type: application/json; charset=UTF-8  expires: Tue, 20 Sep 2016 23:28:09 GMT}}

String returned by the Content.ReadAsStringAsync() method:

"{\n "id": "0AK6ihZRmYD_EUk9PVA"\n}\n"

So, everything runs fine and I'm happy about it.
But, if I try to compile the app using .NET Native (and I have to do since the app will be in the Store), this thing stops working for no reason, I can't see anything in the HttpResponseMessage (even though I see it still gives the Success status code), and the text returned by the Content.ReadAsStringAsync() is null/empty (VS says the value of that text String can't be evaluated, so I'm not sure what's happening there exactly, but the code acts like the string is just null).
Now, since the code is working 100% fine in debug mode (and it's worked fine in Release mode too for months) I'm not sure what's the problem here, could you look into it?
Thanks for your help, let me know if you need anything else!
Sergio

Possibly related to #752 although that involves an actual crash?

@jskeet Yeah that could be related as the .NET Native seem to be involved here as well, maybe I'm not getting the crash as I'm not using the wrappers in the library but instead I'm doing manual HTTP calls with the embedded ConfigurableHttpClient in the drive object and handling the responses on my own.
I'll try to install an older version of the library and see if I can find one that doesn't give this error, so that could help you find out the parts of code you've changed that are causing this issue (I'll also post in the related issue when I do).
Thank you for you answer!

When you say it stopped working for you a couple of days ago, was that after upgrading to a later version of the library? Is it possible that it's a new version of .NET Native instead?

Yeah I guess it could be a new version of the .NET Native, as I tried reverting to the version I was using before (<IP_ADDRESS>3) and it still isn't working in release mode. I'm compiling in release right now with the old <IP_ADDRESS>5 version (the one the user in the other issue said was still working) to be able to confirm whether it's the library itself or the .NET Native toolchain messing things up again (wouldn't be the first time unfortunately)

@jskeet Can confirm (will post on the other issue as well), it's not working with version <IP_ADDRESS>5 either, I'm still getting a "Could not evaluate expression" in the value of the text returned by the Content.ReadAsStringAsync for some reason.
VS isn't showing anything as the preview value of the HttpResponseMessage value either (instead of that string with "StatusCode: 200" and so on..), so I guess the problem did originate from the ConfigurableHttpClient object used to make the web call.

@chrisdunelm Any updates on this issue with the .NET Native compiler? Google Drive is completely broken for me at this point. I mean, is it something you can easily fix on your end or will it need some sort of update of the .NET Native toolchain itself (since it was working fine before the latest VS Update 3 patch)? Thanks!

@chrisdunelm @jskeet Hey guys, any updates?
I''ve just updated the library to version 1.18 and I still have the exact same problem, that GetAsync call keeps returning an invalid String when in release mode.
Do you have an estimated time to fix this? Thank you for your help!

Chris can correct me if I'm wrong, but I believe we're not expecting to support .NET Native until we create a new major version which changes the targets we support. As far as we can tell, it's not something that can easily be fixed from our side of things - we're hoping to rationalize our targets significantly in 2.0, but that's unlikely to come until 2017 I'm afraid. (Hopefully early 2017, but I'm not promising anything - this isn't work we're prioritizing right now, I'm afraid.)

@Sergio0694: @jskeet is correct, we've recently decided not to try to support .NET native in the 1.x releases. We hope the 2.0 release will happen early 2017. See #787 for v2.0 planning.

Adding this to the collection Is Google's FileDataStore supported in UWP?


Creative tanks do not store content, can't fill up rocket with fluid storage blocks.

The creative tank is probably fixed in #286

Unsure what you meant by filling the rocket up with fluid storage blocks, however, it is meant to be filled by hand with Canisters or Buckets in its GUI.
Creative Tank issue has been solved.

I meant that ex. You can’t use built in (mod) tanks, so you cant use an creative tank to fill up a rocket, not an storage ITEM. Wysłane z aplikacji Poczta dla Windows 10 Od: vini2003Wysłano: piątek, 25 września 2020 22:23Do: Mixinors/AstromineDW: SauceOfficial; AuthorTemat: Re: [Mixinors/Astromine] Creative Tank fluid type cannot be changed (#288) Unsure what you meant by filling the rocket up with fluid storage blocks, however, it is meant to be filled by hand with Canisters or Buckets in its GUI.Creative Tank issue has been solved.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


allow selection of catalog via --field for PSF

Resolves #104

@navii98 I can't officially add you as a reviewer, but please check whether this resolves your issue.

I'll note that this has to happen inside lscpsf.py instead of lscloop.py because the catalog can be different for different images, e.g., in the case of running on standard fields.

Other than that, this pull request works as intended.
Both #104 and #105 resolved.


Container not starting

After running ./lxc launch imageid, I'm getting the following in the container log and the container does not start.
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuacct unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup hugetlb unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_prio unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.463 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup perf_event unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 3
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 4
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 5
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 6
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 7
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 8
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 9
  lxc_container<PHONE_NUMBER>.464 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 11
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_container - lxccontainer.c:lxcapi_start:621 - Attempting to set proc title to [lxc monitor] /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 3
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 4
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 5
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 6
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 7
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 8
  lxc_container<PHONE_NUMBER>.466 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 9
  lxc_container<PHONE_NUMBER>.466 DEBUG    lxc_start - start.c:setup_signal_fd:259 - sigchild handler set
  lxc_container<PHONE_NUMBER>.466 DEBUG    lxc_console - console.c:lxc_console_peer_default:536 - no console peer
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 3
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 4
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 5
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 6
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 7
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 8
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 9
  lxc_container<PHONE_NUMBER>.467 INFO     lxc_start - start.c:lxc_check_inherited:221 - closed inherited fd 11
  lxc_container<PHONE_NUMBER>.468 INFO     lxc_monitor - monitor.c:lxc_monitor_sock_name:177 - using monitor sock name lxc/92ea7555d42fc75c//var/lib/lxd/lxc
  lxc_container<PHONE_NUMBER>.486 ERROR    lxc_conf - conf.c:ttys_shift_ids:3519 - Failed to chown /dev/pts/1
  lxc_container<PHONE_NUMBER>.486 ERROR    lxc_start - start.c:lxc_init:447 - Failed to shift tty into container
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuacct unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup hugetlb unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_prio unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup perf_event unknown to /var/lib/lxd/lxc juryrigged-anne
  lxc_container<PHONE_NUMBER>.486 ERROR    lxc_start - start.c:__lxc_start:1117 - failed to initialize the container

Can you provide some more information on the system:

LXD version
LXC version
Image used
Kernel version
Distribution used

LXD: Checked out source on Saturday, so should be 0.2 latest and greatest
LXC: 1.1.0 (compiled from github. The default from Ubuntu repo had issues with the go-binding.)
Kernel: 3.16.0-23-generic
Distro: Ubuntu 14.10
Because I had issues with the load image script as well, I downloaded the files from images.linuxcontainers.org myself and packed it up following the spec.

Ok, so it looks like something funky with your hand-built LXC. It may be some kind of upstream regression or just it not using cgmanager as it usually does on Ubuntu, anyway, it's not very clear what's going on :)
Can you perhaps uninstall that handbuilt LXC and instead use ppa:ubuntu-lxc/daily which will get you the latest LXC for Ubuntu 14.10 as well as any updated dependencies it may need (like cgmanager)?

Oh and note that we also have Ubuntu 14.10 packages of LXD 0.2 in ppa:ubuntu-lxc/lxd-daily if that helps

Thanks. Will build on a brand new Ubuntu and see how it goes.

Thanks. Always the same in IT: If you do it right, it works.

Haha, glad to here it work now :)


[vm] Handle late fields in type propagation

Currently we're just setting late fields to nullable in the type propagator, because otherwise all the sentinel comparison logic gets optimised out. This works, but is not optimal.
We'll need to extend CompileType to be able to handle lateness.

I don't think you should extend CompileType for this purpose. I suggest instead look at unifying late field lowering and InitStaticField and then either write a specialized data flow pass which removes redundant Init* instructions (if we want to handle complicated cases) or just permit CSE to remove Init* by dominance.


[TOPI] Batch Norm Training Mode

Prior to this PR, TOPI batch_norm only supports inference.
This PR adds training: bool flag and momentum: float argument to support training mode (update moving_mean / var and return), which aligns with torch.nn.functional.batch_norm.

cc @MasterJH5574 @tqchen


[Event Request] codeunit 699 "Exch. Rate Adjmt. Process" - OnProcessGLAccountAdjustmentBeforePostGLAccAdjmt

Describe the request
Hello, can you please add a new Event OnProcessGLAccountAdjustmentBeforePostGLAccAdjmt in codeunit 699 "Exch. Rate Adjmt. Process"?
    local procedure ProcessGLAccountAdjustment(var GLAccount: Record "G/L Account")
    begin
        if GLAccount."Exchange Rate Adjustment" = GLAccount."Exchange Rate Adjustment"::"No Adjustment" then
            exit;

        TempDimSetEntry.Reset();
        TempDimSetEntry.DeleteAll();
        GLAccount.CalcFields("Net Change", "Additional-Currency Net Change");
        OnProcessGLAccountAdjustmentBeforePostGLAccAdjmt(GLAccount);
        case GLAccount."Exchange Rate Adjustment" of
            GLAccount."Exchange Rate Adjustment"::"Adjust Amount":
                PostGLAccAdjmt(
                    GLAccount."No.", GLAccount."Exchange Rate Adjustment"::"Adjust Amount",
                    Round(
                    CurrExchRate2.ExchangeAmtFCYToLCYAdjmt(
                        ExchRateAdjmtParameters."Posting Date", GetAdditionalReportingCurrency(),
                        GLAccount."Additional-Currency Net Change", AddCurrCurrencyFactor) -
                    GLAccount."Net Change"),
                    GLAccount."Net Change",
                    GLAccount."Additional-Currency Net Change");

    [IntegrationEvent(false, false)]
    local procedure OnProcessGLAccountAdjustmentBeforePostGLAccAdjmt(var GLAccount: Record "G/L Account");
    begin
    end;

Additional context
We have additional values to calculate the Net Change and Additional-Currency Net Change and need to recalculate them before posting.
Internal work item: AB#546853

Availability update: We will publish a fix for this issue in the next update for release 25.
Build ID to track: 26614.


chef-client stop init.d service stopping other process fixes

Signed-off-by: antima-gupta<EMAIL_ADDRESS>
Description

Fixed stop init.d service stopping other process issue.

Issues Resolved
#221
#718
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

This seems like it really kills the whole point of the assigned pidfile, but I guess that's the kind of thing we have to do for RHEL 6 which thankfully is EOL at the end of this month. This whole fix doesn't live for long.


goreportcard-cli not working

panic: runtime error: index out of range [1] with length 1

goroutine 8 [running]:
github.com/gojp/goreportcard/check.fileURL({0x10e5ca7, 0x1}, {0xc0003b6000, 0x1})
        /Users/user/goreportcard/check/utils.go:231 +0x868
github.com/gojp/goreportcard/check.getFileSummaryMap(0xc000079cb0, {0x10e5ca7, 0x1})
        /Users/user/goreportcard/check/utils.go:303 +0x175
github.com/gojp/goreportcard/check.GoTool({0x10e5ca7, 0x0}, {0xc00010e200, 0x1e, 0x0}, {0xc00005ed80, 0x0, 0x6})
        /Users/user/goreportcard/check/utils.go:362 +0x458
github.com/gojp/goreportcard/check.GoLint.Percentage({{0x10e5ca7, 0x1}, {0xc00010e200, 0x1e, 0x20}})
        /Users/user/goreportcard/check/golint.go:21 +0x138
github.com/gojp/goreportcard/check.Run.func1({0x110ce18, 0xc000066210})
        /Users/user/goreportcard/check/check.go:70 +0x4b
created by github.com/gojp/goreportcard/check.Run
        /Users/user/goreportcard/check/check.go:69 +0x7af

@Strachi-sama I'm not able to reproduce this issue locally -- could you provide a public repo that causes this issue? Thanks

I'm having the same issue, git bisect tells me it's this commit that introduced the error https://github.com/gojp/goreportcard/commit/7455924850b0aeee63881d32c41cfe1fc7ef1bb8

1237c87 may have fixed it, please try again

Users-iMac:~ user$ rm -rf goreportcard/
Users-iMac:~ user$ git clone https://github.com/gojp/goreportcard.git
Cloning into 'goreportcard'...
remote: Enumerating objects: 6062, done.
remote: Counting objects: 100% (2574/2574), done.
remote: Compressing objects: 100% (1270/1270), done.
remote: Total 6062 (delta 1335), reused 2344 (delta 1175), pack-reused 3488
Receiving objects: 100% (6062/6062), 10.06 MiB | 13.33 MiB/s, done.
Resolving deltas: 100% (3177/3177), done.
Users-iMac:~ user$ cd goreportcard
Users-iMac:goreportcard user$ make install
./scripts/make-install.sh
Users-iMac:goreportcard user$ go install ./cmd/goreportcard-cli
Users-iMac:goreportcard user$ goreportcard-cli
-bash: goreportcard-cli: command not found

It works perfectly on Goland, I guess it's something path related. Thank you


Background Process should not delete the whole registry and ad it again.

The Background process should not mess up the Portus DB.
Because sometime when the registry isn't available for a short moment the background job removes all the images from Portus. It then adds them all again. This is problem as the audit trail is changed and all the users and timestamps are gone.
Therefore I propose to add the option to the Background to not delete images, unless specified otherwise.
We should also make the background process more resilient and tolerate errors from clair, registry and portus and not shutdown or messup the Portus DB.
The issue partly #1665 addresses this topic as well.
#1631 Will reduce the problem a bit, but still it should be possible to do a maybe one way sync registry->portus).
This also raises the question why should there be a sync? If you push then Portus should be available otherwise auth won't work. If Portus is down for a brief moment the Registry will  retry event notifications?
The only reason I see when sync is needed, is when you connect a new registry to portus. In this case you would like to import the images. This is not a common case.

We should also make the background process more resilient and tolerate errors from clair, registry and portus and not shutdown or messup the Portus DB.

Sure. We already catch a lot of situations where the registry is behaving funny, but we are still missing some corner cases...

This also raises the question why should there be a sync? If you push then Portus should be available otherwise auth won't work. If Portus is down for a brief moment the Registry will retry event notifications?

Agreed. The sync idea was introduced in the very beginning of Portus, and it was proposed with lots of good intentions, but it turned out to be a can of worms: it brings more problems than it solves. So, together with #1631, I propose the following configuration for the sync:
background:
  registry:
    enabled: true
  sync:
    enabled: false
    when: onstartempty
    delete: false

So, the sync task will be disabled by default, since as you point out it will be rarely needed. But, if people really want to use it, then they have two more options:

delete: false by default which means that the task won't delete anything. Set to true if you want this task to delete unreferenced repositories.
when: only works if this task is enabled at all, and it has three possible values:

always: it will be executed every now and then as it's happening nowadays.
onstart: it will be executed when Portus starts.
onstartempty: this is the default and it will be executed when Portus starts and only if the DB is empty. This is the safest option, and the idea behind this is to only run this task when starting Portus for the first time.

I also propose to implement this for the 2.3 release, since we have already been flooded by these issues recently...
@Vad1mo @vitoravelino what do you think ?

Very nice,
I suggest a slight change in the syntax. I think is more developer friendly because of known concepts.
background:
  registry:
    enabled: true
  sync:
    enabled: false
    sync-strategy: two-way | one-way | initial | on-start

two-way: As it is now update and delete
one-way: Only update Portus but don't delete
initial: Only if Portus is empty do an full load (write to Portus only)
on-start: On Portus start run once a two way sync.

The only use case that is not covered is onstart no delete, however I think its not really as its the same as one-way. Because why do you want to use on-start no delete only on start but not all the time the result is the same.

Sounds good to me. The default value would be initial, right ?

Right now its two-way however I think initial would provide the best UX.
Imagine you start portus for the first time with an  existing registry, you login the first time and 💥 🎉

I also provided an alternative naming,

I like this better. It's more explicit.

See #1675.

If Portus is down for a brief moment the Registry will retry event notifications?

According to the documentation, the registry should retry notifications if it failed.


Update r.md from rng_seed to seed

Changes rng_seed to seed in R documentation.
Searched rest of doc to make sure it didn't appear elsewhere.
Fixes issue #203

Thanks. This got missed way back in #98
I'm going to look again into having R docs built automatically from the code like we have for everything else.


Revised sky matching notebook

This notebook checklist has been made available to us by the Notebooks For All team.
Its purpose is to serve as a guide for both the notebook author and the technical reviewer highlighting critical aspects to consider when striving to develop an accessible and effective notebook.
The First Cell

[ ] The title of the notebook in a first-level heading (eg. <h1> or # in markdown).
[ ] A brief description of the notebook.
[ ] A table of contents in an ordered list (1., 2., etc. in Markdown).
[ ] The author(s) and affiliation(s) (if relevant).
[ ] The date first published.
[ ] The date last edited (if relevant).
[ ] A link to the notebook's source(s) (if relevant).

The Rest of the Cells

[ ] There is only one H1 (# in Markdown) used in the notebook.
[ ] The notebook uses other heading tags in order (meaning it does not skip numbers).

Text

[ ] All link text is descriptive. It tells users where they will be taken if they open the link.
[ ] All acronyms are defined at least the first time they are used.
[ ] Field-specific/specialized terms are used when needed, but not excessively.

Code

[ ] Code sections are introduced and explained before they appear in the notebook. This can be fulfilled with a heading in a prior Markdown cell, a sentence preceding it, or a code comment in the code section.
[ ] Code has explanatory comments (if relevant). This is most important for long sections of code.
[ ] If the author has control over the syntax highlighting theme in the notebook, that theme has enough color contrast to be legible.
[ ] Code and code explanations focus on one task at a time. Unless comparison is the point of the notebook, only one method for completing the task is described at a time.

Images

[ ] All images (jpg, png, svgs) have an image description. This could be

[ ] Alt text (an alt property)
[ ] Empty alt text for decorative images/images meant to be skipped (an alt attribute with no value)
[ ] Captions
[ ] If no other options will work, the image is decribed in surrounding paragraphs.

[ ] Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)

Visualizations

[ ] All visualizations have an image description. Review the previous section, Images, for more information on how to add it.

[ ] Visualization descriptions include

[ ] The type of visualization (like bar chart, scatter plot, etc.)
[ ] Title
[ ] Axis labels and range
[ ] Key or legend
[ ] An explanation of the visualization's significance to the notebook (like the trend, an outlier in the data, what the author learned from it, etc.)

[ ] All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.

[ ] All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.

[ ] All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.

Hello!  I was curious when you anticipate having time to review this notebook?  I'm trying to coordinate our work plan.  Thanks you.

@bjkuhn,
There is an import error, ---> 19 from drizzlepac import astrodrizzle, tweakback, tweakreg https://github.com/spacetelescope/hst_notebooks/actions/runs/9422985456/job/26897266453?pr=284
It could be due to a versioning issue with a dependency or a missing dependency.

@bjkuhn, There is an import error, ---> 19 from drizzlepac import astrodrizzle, tweakback, tweakreg https://github.com/spacetelescope/hst_notebooks/actions/runs/9422985456/job/26897266453?pr=284 It could be due to a versioning issue with a dependency or a missing dependency.

@bjkuhn, I found that the import issue in Astrodrizlle is due to deprecated methods in photutils. To temporarily solve the problem, you can try pinning the requirements.txt file to the old release of photutils, for example, version 1.12.0 instead of 1.13.0. There are no changes to the CI.

@bjkuhn Thanks for your notebook. I learned a lot from reading it. I left a few minor comments.

@haticekaratay all requested changes have been made. Thank you for your review!

@haticekaratay Thanks for your review!   Looks like this one is ready to be merged?


Target deduplication and deterministic scraping times

Cleaning up some debt, removing a lot of fragility.
Targets are now immutable. This means no more fragile updating whenever we get a new target group from SD. No more convoluted logic of starting and stopping scrapers.
All targets are thrown into a ScrapePool that does the deduping and maintains the state we actually want to keep, which is very little. On changes it drops all targets, stops all scrapers and restarts with the new (deduped) list of targets.
@juliusv

Got interrupted a billion times trying to look at this today, but the approach looks good in general. Will give it a deeper look once it's no longer WIP...

Tests added, deterministic scraping added.
@juliusv @brian-brazil

:+1:

:+1:

:+1: otherwise

All done.

This PR is very invasive. It deals with the carefully crafted and optimized ingestion pipeline. I don't have gained enough insight yet to estimate the impact. I recommend to benchmark it excessively, i.e. set up a server with a very high ingestion rate (350k samples / sec) and make sure it can sustain that rate for hours.

That is currently happening.

Superseded by #1404


chore(main): release 1.13.1

:robot: I have created a release beep boop
1.13.1 (2024-04-18)
Miscellaneous

tmux: lets also add tmux-continuum to automatically save every 15min (928aba4)
tmux: lets also automatically restore sessions when starting tmux (1f58923)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/engeir/stowfiles/releases/tag/v1.13.1 :sunflower:


SharePoint Server API Documentation Rendered Incorrectly

Describe the bug
Many of the SharePoint Server API documentation is rendered incorrectly. The bug report is for one page, but they are too numerous to create one for each page.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/en-us/dotnet/api/microsoft.sharepoint.taxonomy.termstore?view=sharepoint-server
Observe that content is rendered incorrectly.

Expected behavior
Expecting the source code to be rendered as source code, and other contents are rendered as HTML
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Version 1803
Browser: Firefox
Version: 61.0.1 (64-bit)

Additional context
Many of the SharePoint API sites seems to be rendered incorrectly

@bloudraak Thanks for your feedback. Your issue is transferred to SharePoint team. They will help you there.

@Powerhelmsman I am re-opening this one as it likely has to do with our rendering infrastructure. Will follow-up to test.

The likely cause is that the content is using an older parser. I've opened a PR to fix this.

This has been addressed.


interval pattern

Create a recurring meeting that happens on a given day of the week.  Receive the item from exchange using a pull subscription ie: subscription.getEvents().  The recurrence pattern is Recurrence.IntervalPattern with the correct date and an interval of 1. This seems wrong to me, maybe it should be WeeklyPattern with an interval of 1, and a DayOfWeek of "givenDay".  I could be wrong but it seems that IntervalPattern with an interval of 1 would be every day.

WeeklyPattern extends IntervalPattern.  It  was actually a weekly pattern that I was getting.  Can issues be deleted?


Rename project and all references

Probably won't be able to use terraform in the name... options in order of preference:

lunaform
tfactory

Done