proposal: template/html: add support for Javascript modules

Coming here from https://go-review.googlesource.com/c/go/+/135417/1#message-7dd5e123817a64371e99231b997ff292794e9e33 in which I suggested we create a corresponding issue for posterity and for detailed conversations/discussions
@tomuta submitted PR https://github.com/golang/go/pull/27697 and below are details of the PR

What did you do?
template/html does not properly treat javascript code as javascript when using a <script type="module" tag:
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
	</head>
	<body>
	<script type='module'>
		1 <= 2
	</script>
</html>

What did you expect to see?
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
	</head>
	<body>
	<script type='module'>
		1 <= 2
	</script>
</html>

What did you see instead?
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
	</head>
	<body>
	<script type='module'>
		1 <= 2
	</script>
</html>

See also: https://www.w3.org/TR/html5/semantics-scripting.html#element-attrdef-script-type

@mikesamuel I see you've given a +1 at https://go-review.googlesource.com/c/go/+/135417/1#message-20591718bc2c308ca766ccac27521a70e769f09a
Could you please comment here with your details to aid in the proposal approval process? Thank you!

@odeke-em From https://github.com/golang/go/issues/31327#issuecomment-483659773

@mikesamuel do you have more context on JS modules differences with normal scripts?

There's no significant difference.
A JS ModuleBody is just a strict mode ScriptBody that can also contain import and export declarations.
So I think we can add "module" to https://golang.org/src/html/template/js.go#L390
func isJSType(mimeType string) bool {
        ...
	switch mimeType {
	case
		"application/ecmascript",
                ...
        }
        ...
}

@tomuta

Thanks for linking that already created issue @mikesamuel! I'll close this one since it is a duplicate of https://github.com/golang/go/issues/31327


Fix typos

Found via codespell -S deps -H -L statics

Thanks! Maybe ill incorporate it as a build step and check it there ;)


airflow command line support

It's not explicitly called out in the readme, but I would expect the airflow command line tool to be available as well.  When attempting to run airflow commands on the container, I received the following provider error:
[airflow@6fabad976155 ~]$ airflow --version
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 5, in <module>
    from airflow.__main__ import main
  File "/usr/local/lib/python3.7/site-packages/airflow/__init__.py", line 34, in <module>
    from airflow import settings
  File "/usr/local/lib/python3.7/site-packages/airflow/settings.py", line 37, in <module>
    from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf  # NOQA F401
  File "/usr/local/lib/python3.7/site-packages/airflow/configuration.py", line 1098, in <module>
    conf = initialize_config()
  File "/usr/local/lib/python3.7/site-packages/airflow/configuration.py", line 860, in initialize_config
    conf.validate()
  File "/usr/local/lib/python3.7/site-packages/airflow/configuration.py", line 199, in validate
    self._validate_config_dependencies()
  File "/usr/local/lib/python3.7/site-packages/airflow/configuration.py", line 240, in _validate_config_dependencies
    f"error: sqlite C library version too old (< {min_sqlite_version}). "
airflow.exceptions.AirflowConfigException: error: sqlite C library version too old (< 3.15.0). See https://airflow.apache.org/docs/apache-airflow/2.0.2/howto/set-up-database.rst#setting-up-a-sqlite-database

It looks like a library reference needs to be updated somewhere, but I'm not sure if it's here or the underlying amazonlinux image.  Or, maybe there's a way to avoid the apache-airflow-providers-sqlite dependency completely as this uses a postgres backend?  Guidance or a fix would be appreciated, thanks!

I did some more digging today and it looks like container sqlite3 version = 3.7.17, so that should be good.  I guess I'm not sure why _validate_config_dependencies is still triggering with the sql_alchemy_conn=sqlite://{AIRFLOW_HOME}/airflow.db line commented out in the AF config and the executor being sequential.

Hi @JStolt,
Take a look at the PR I just raised which gets around the immediate issue.
You are right though, I don't see why apache-airflow-providers-sqlite is needed when the database being used here is postgresql.

It appears that AIRFLOW__CORE__SQL_ALCHEMY_CONN is not exported when running docker exec
so when running airflow cli, it is actually using the default connections strings and therefore thinking that mysql is being used.
In docker-compose-local.yml I defined AIRFLOW__CORE__SQL_ALCHEMY_CONN, after this airflow cli will run
    local-runner:
        image: amazon/mwaa-local:2.0
        restart: always
        depends_on:
            - postgres
        environment:
            - LOAD_EX=n
            - EXECUTOR=Local
            - AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:airflow@postgres:5432/airflow

Airflow CLI commands can be run using entrypoint.sh script (which sets up the required environment). For example to list DAGs run:
docker-compose -f docker/docker-compose-local.yml exec -- local-runner /entrypoint.sh airflow dags list

I am very new to airflow and Sergiy's comment on how to use the airflow command line was really helpful. Should it be integrated into the repo home page markdown instructions so that others can know about it? I am happy to write a pull request if that is the best way to get it there and it makes sense.

Not sure if anyone has this issue, but I did all the steps mentioned above, but when I run the command in my terminal, I don't get any output, was wondering if anyone else encountered this issue?

After adding following line to docker-compose-local.yml I still have problems starting local runner:
AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:airflow@postgres:5432/airflow
The logs look like this:
Attaching to docker_postgres_1, docker_local-runner_1
postgres_1      |
postgres_1      | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1      |
postgres_1      | 2022-06-04 13:16:30.690 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
postgres_1      | 2022-06-04 13:16:30.690 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1      | 2022-06-04 13:16:30.694 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1      | 2022-06-04 13:16:30.704 UTC [21] LOG:  database system was shut down at 2022-06-04 13:16:17 UTC
postgres_1      | 2022-06-04 13:16:30.707 UTC [1] LOG:  database system is ready to accept connections
local-runner_1  | Sat Jun  4 13:16:31 UTC 2022 - waiting for Postgres... 1/20
local-runner_1  | Sat Jun  4 13:16:36 UTC 2022 - waiting for Postgres... 2/20
local-runner_1  | Sat Jun  4 13:16:41 UTC 2022 - waiting for Postgres... 3/20

Anyone came across sth like that?

I was also facing this issue and after following this thread and many tries I am able to run Airflow CLI commands not.
The small instruction from my side:

Open the airflow.cfg file and make sure following line is not commented:
result_backend = db+postgresql://postgres:airflow@postgres/airflow

in airflow.cfg comment the next line that is for mysql db:
# result_backend = db+mysql://airflow:airflow@localhost:3306/airflow

In docker-compose-local.yml add AIRFLOW__CORE__SQL_ALCHEMY_CONN as shown below in last line of code snippet:

        local-runner:
        image: amazon/mwaa-local:2.0.2
        restart: always
        depends_on:
            - postgres
        environment:
            - LOAD_EX=n
            - EXECUTOR=Local
            - AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:airflow@postgres:5432/airflow

Save the file and run the command ./mwaa-local-env start once again

Airflow CLI is accessible via docker exec -it xxxxxxxxxxxxxxxxxxxxxxxx /bin/sh in local runner


Suggest(Feat): Github Releases integration.

Allow resources to be auto updated using github releases, and copy version + description from the release.
This would need some limitations (1 file releases only etc)

You mean with gh webhooks?

You mean with gh webhooks?

That could be a way to implement it...

Duplicate of #39, even if it's just a button on version creation


Minification of a + +a, x - --x...

Hey @rspivak ,
I started working on this because there was a bug when minifying a + +a. It was becoming a++a which is invalid.
But I weren't very excited about how the minifying tests were done, so if you don't I added more than just fixing this bug:

I added the ability to compare ast object. (This is the big part of the diff. I didn't want to do something generic, because in python explicit is better than generic. So I went over each ast types and added equality and __repr__)
I didn't like how classes were monkey-patched. I felt that Metaclasses would be a better way to do that. (And this is why there were intended) so I refactored the test case creation into a big metaclasses generating the tests.
I created tests which asserted that parse(source) == parse(minified(source))

Let me know what you think, or if you want me to change anything.
Thanks!

Apparently this is now unmaintained, and my fix was applied to the https://github.com/calmjs/calmjs.parse fork.
Closing.


JSON parsing doesn't like URLs, affects formatting

VSCode Version: 1.8.0
OS Version: Windows 10 1607 (14393.576)

Steps to Reproduce:

Load a JSON file that has a URL in single quotes. The file starts off in red but then turns green at the // in the URL.

If you go right-click, Format Document, the JSON formatting only gets as far as the end of the red text. Also, a space gets introduced between https: and the rest of the URL.

Manually changing the // to a single / results in a completely red file and formatting then words, but there seems to be something wrong with the parsing.

In JSON only double quotes are valid. (View the standard on http://json.org/)

Thanks. My apologies for the noise - I had a bug in my code that was emitting the data in the wrong format.


Bad sensor name on arm64 arch

Hello,
It seems there is a problem with the arm64 architecture.
The 1wire sensors are well found.
But their name doesn't seem correct and they don't report any temperature values.
Ex: sensor 10.8CD1CB020800 is named in home assistant 10-000802cbd18c (numbers are reversed).
     "manufacturer": "Maxim Integrated",
     "model": "10",
     "name": "10-000802cbd18c"

Tested with 1wire integration (owserver on an another computer), i have: sensor.10_8cd1cb020800_temperature

I have same problem with HA


Final updates and update version to 1.0.0

This PR applies final updates to the release branch for the 1.0.0 release.

Cherry pick #129
Cherry pick #131
Remove or soften warnings, as is also done by https://github.com/risc0/risc0-ethereum/pull/139 on main

This PR bumps the version of all crates in this repo, except risc0-steel, to 1.0.0.

Bonsai staging is currently failing because it has deployed 1.0.0-rc.7 and rejects a 1.0.0 client
https://github.com/risc0/risc0-ethereum/actions/runs/9375718600/job/25814334497?pr=138

Should we also bump the CI workflow reference of rc.7 and use 1.0.0? Pointing this out because also the examples are failing, aside from obviously Bonsai as you mentioned already

Should we also bump the CI workflow reference of rc.7 and use 1.0.0? Pointing this out because also the examples are failing, aside from obviously Bonsai as you mentioned already

Ah! I missed that before. I've now updated it to use the release-1.0 branch.


compute_mean_style method generates gray image

Hi @bes-dev,
In issue https://github.com/bes-dev/MobileStyleGAN.pytorch/issues/36 you told me that compute_mean_style method can be used to compute latent average vector for MobileStyleGAN. But the image produced using this vector via student network is all gray.
I ran the following code to produce image using latent average vector.
# Import libraries.
import cv2
from core.utils import load_cfg, load_weights, tensor_to_img
from core.distiller import Distiller

# Load configuration.
cfg = load_cfg("configs/mobile_stylegan_ffhq.json")

distiller = Distiller(cfg)
style_mean = distiller.compute_mean_style(style_dim=512, wsize=23)
out = distiller.student(style_mean)['img']
cv2.imwrite('style_mean.png', tensor_to_img(out[0]))

I get the following average image as output.

Furthermore, every call to compute_mean_style returns a different vector. It's very weird. Shouldn't it be the same?  Please let me know what could be the issue on my side.
Regards
Rahul Bhalley

@bes-dev after running the following lines of code
cfg = load_cfg("configs/mobile_stylegan_ffhq.json")
distiller = Distiller(cfg)

I get the following output.
load mapping network...
load pretrained model: stylegan2_ffhq_config_f_mapping_network.ckpt...
Computing MD5: /tmp/stylegan2_ffhq_config_f_mapping_network.ckpt
MD5 matches: /tmp/stylegan2_ffhq_config_f_mapping_network.ckpt
load synthesis network...
load pretrained model: stylegan2_ffhq_config_f_synthesis_network.ckpt...
Computing MD5: /tmp/stylegan2_ffhq_config_f_synthesis_network.ckpt
MD5 matches: /tmp/stylegan2_ffhq_config_f_synthesis_network.ckpt
/Users/codeboy/Freelancing/SocialKit/face-app/restyle-encoder-light/venv/lib/python3.9/site-packages/torchvision/models/inception.py:80: FutureWarning: The default weight initialization of inception_v3 will be changed in future releases of torchvision. If you wish to keep the old behavior (which leads to long initialization times due to scipy/scipy#11299), please set init_weights=True.
  warnings.warn('The default weight initialization of inception_v3 will be changed in future releases of '

It looks like the checkpoints are loaded (for mapping_net also).

Even truncation trick doesn't produce face image (but just gray).
var = torch.randn(1, 512)
style = distiller.mapping_net(var)
style = distiller.style_mean + 0.5 * (style - distiller.style_mean)
out = distiller.student(style)['img']

Brilliant! Dumb me. 😅 I forgot looking at demo code. Thank you! 🙏


No 'version' key in the manifest file for custom integration 'erse'.

Since lastest version of HA+ (2021.3.4) that i'm getting this warning:
hass                 | 2021-03-24 17:16:58 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'erse'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'erse'
When will this be available so that on a future upgrade of HA the erse integration wont stop working?
Regards, Bruno

New version released (just adds version)


feat(uk.yaml): update Ukrainian layout

I propose changes to the Ukrainian layout.
To create this layout, I used an article about the frequency of repetition of letters and bigrams in open texts in the Ukrainian language.
The main advantages of the new layout over the existing one are that it takes into account real research on the frequency of letters and bigrams, and the correctly placed letters to combine them with other letters.

LGMT


Support local audio and video files

https://www.reddit.com/r/youtubedl/comments/1g574wr/comment/lsc7j6y/?context=3

It would be great if you could also point it at a local directory and transcribe into this nice format. I've been slowly working on something similar, I've got a directory of videos and I've downloaded whisper and started building a docker container for it to process.

https://www.reddit.com/r/DataHoarder/comments/1g4342q/comment/lsc8v1h/?context=3

Can I ask if there is any interest or plans to implement your program with local folders of stuff?
https://postimg.cc/xqg6Y11D
For additional context, I have folders of video lecture series. The videos do have subtitles but they are low-effort auto-generated and are wrong regularly on tech-related words. Whisper, on the other hand, works far better.

Loading the local video and audio files and just pipe them to Whisper and all the down streaming processing would be trivial.
However, to generate more accurate readable Whisper transcriptions (e.g. with punctuations), prompts with the context of the videos and audios need to be provided to Whisper through prompts. For online video and audio sources (e.g. YouTube, Apple Podcasts) yt2doc sanitizes the title and the description and feed them into Whisper as prompts. I don't think local files have that amount of context available.
I think there is a possible solution which is to send the file names of the local videos or audios to a local LLM and asks it to generate a few fictitious sentences, as the OpenAI Whisper coobook suggests. Will experiment with that idea.

Loading the local video and audio files and just pipe them to Whisper and all the down streaming processing would be trivial.
However, to generate more accurate readable Whisper transcriptions (e.g. with punctuations), prompts with the context of the videos and audios need to be provided to Whisper through prompts. For online video and audio sources (e.g. YouTube, Apple Podcasts) yt2doc sanitizes the title and the description and feed them into Whisper as prompts. I don't think local files have that amount of context available.
I think there is a possible solution which is to send the file names of the local videos or audios to a local LLM and asks it to generate a few fictitious sentences, as the OpenAI Whisper coobook suggests. Will experiment with that idea.

Hello, an idea to experiment with for providing context for offline videos could be description pages belonging to the video(s). For example, in the case of courses, there is usually a sales page or a course description or at least a "syllabus" attached (think, Udemy).
Otherwise getting context from a descriptive filename, and possibly asking the user to describe in just a few words what the video is about, could potentially prove helpful. I'm not completely sure, but just throwing it out there.

description pages belonging to the video(s).

Potentially. Though I am not sure yet about what the interface should look like, to support this but without massively bloating the scope of this project. Potentially we can open a command line option or a parameter whisper_prompt (as yt2doc can technically be used as a Python library), and the logic of crawling and parsing the web page into whisper prompt can be done somewhere else as a seperate project.

description pages belonging to the video(s).

Potentially. Though I am not sure yet about what the interface should look like, to support this but without massively bloating the scope of this project. Potentially we can open a command line option or a parameter whisper_prompt (as yt2doc can technically be used as a Python library), and the logic of crawling and parsing the web page into whisper prompt can be done somewhere else as a seperate project.

A "whisper prompt" passed as an argument sounds great. Max results for least effort.

However, to generate more accurate readable Whisper transcriptions (e.g. with punctuations), prompts with the context of the videos and audios need to be provided to Whisper through prompts.

yeah prompt makes a huge difference.  In my experience I started out generating audiobooks and found the limitation of a wave file. is 34 hours or was it 36 hours ..can't remember.  Anyway there would be hallucinations of 20 mins sometimes even 30 minutes of just repeating phrases.  So I wrote substitcher which was to split audiobook into 999 audio segments and whisper.cpp to transcribe each one then just cat all the vtt subs back together into one sub.  Subs would get outta synch around the 200 mark or so.  So limited to 150 then eventually 200.  About 2 months ago bumped it up to 400 cuz I provide a 5ms or 6ms offset to each sub.  Now I got it up to 2,000 segments and use a 6.5ms offset and it works great.  Usually divide segments into 2min or 3mins.  This way even if it goes bonkers with repeating phrases usually it's only less than a minute of damage done.  Large-v2 (get 2x realtime) does a better job of avoiding them but I like large-turbo-v3 as gets 5x realtime speed.  Puncuation works great and post-processing I always run it to verify any overlapping subs.
for f in .vtt
do ffmpeg -y -i "$f" "${f%.}"_overlapping.srt
done
for f in _overlapping.srt
do awk '
BEGIN {
RS = "";
OFS = FS = "\n";
getline;
n = split($0, prev_rec);
split($2, prev_time, / --> /);
}
{
split($2, a, / --> /);
if (a[1] < prev_time[2])
prev_rec[2] = prev_time[1]" --> "a[1];
for (i=1;i<=n;i++)
print prev_rec[i];
printf("\n");
n = split($0, prev_rec);
split($2, prev_time, / --> /)
}
END {
print
}' "$f" > "${f%_overlapping.}"_overlapfixed.srt
done
for f in _overlapfixed.srt
do ffmpeg -y -i "$f" "${f%.}".vtt
done
for f in _overlapping.srt
do git diff --no-index --word-diff=color --unified=5 --word-diff-regex=. "$f" "${f%_overlapping.}"_overlapfixed.srt | aha --black -w -y 'font-size:1.3em' -t "Fixed Overlapping Timecodes" > "${f%_overlapping.*}"_diff.html
done
rm -f *_overlapping.srt
rm -f *_overlapfixed.srt
rm *.srt
cd ..
then also do a proper noun in case it missed capitalizing any cities, countries, first names, last names, etc.
then check for repeating words with some exceptions of course
"Remove repeating words - happy happy, care care care, no no no no")
echo "Remove repeating words for vtt subtitles in substitcher directory"
echo ""
read -p "Press ENTER to remove repeating words or m (Main Menu) " choice
[[ "$choice" == [Mm]* ]] && exec "$0" || echo "converting ..."
dt=$( date +%Y_%m_%d_%H_%M_%S)
[ ! -d output ] && mkdir output
mkdir output/"$dt"
cp *.vtt output/"$dt"
cd output/"$dt"
for f in .vtt
do gsed -E
-e "s|\bno no\b|no333no|g"
-e "s|\bha ha\b|ha333ha|g"
-e "s|\bher her\b|her333her|g"
-e "s|\bbye bye\b|byebye|g"
-e "s|\breally really\b|reallyreally|g"
-e "s|\bstuff stuff\b|stuffstuff|g"
-e "s|\bmany many\b|manymany|g"
-e "s|\bvery very\b|veryvery|g"
-e "s|\bhad had\b|hadhad|g"
-e "s|\bblah blah\b|blahblah|g"
-e "s|\bilai ilai\b|ilaiilai|g"
-e "s|\bre re\b|rere|g"
-e "s|\bthis this\b|thisthis|g"
-e "s|\bthat that\b|thatthat|g"
-e "s|\bever ever\b|everever|g"
-e "s|\byou you\b|youyou|g"
-e "s|\bso so\b|soso|g"
-e "s|\bbeing being\b|beingbeing|g"
-e "s|\b(\w+)\ \1\b|\1|g"
-e "s|\b(\w+)\ \1\b|\1|g"
-e "s|\b(\w+)\ \1\b|\1|g"
-e "s|no333no|no no|g"
-e "s|ha333ha|ha ha|g"
-e "s|her333her|her her|g"
-e "s|byebye|bye bye|g"
-e "s|reallyreally|really really|g"
-e "s|stuffstuff|stuff stuff|g"
-e "s|manymany|many many|g"
-e "s|veryvery|very very|g"
-e "s|hadhad|had had|g"
-e "s|blahblah|blah blah|g"
-e "s|ilaiilai|ilai ilai|g"
-e "s|rere|re re|g"
-e "s|thisthis|this this|g"
-e "s|thatthat|that that|g"
-e "s|everever|ever ever|g"
-e "s|youyou|you you|g"
-e "s|soso|so so|g"
-e "s|beingbeing|being being|g"
"$f" > "repeats_$f" ;
git diff --no-index --word-diff=color --unified=2 --word-diff-regex=. "$f" "repeats_$f"
| aha --black -t 'Repeating Words' -w -y 'font-size:1.3em' > "repeats_${f%.}.html" ;
rm "$f" ;  done
cd ../..


[example-app] background-color for <select> is getting ignored on some systems

Describe the bug
<select> element is not fully customizable
To Reproduce

open example app in xfce, and, probably other less mainstreamy window managers

Expected behavior
dont expect <select> element to ever be freely customizable – its the curse of the web since forever.
even across 3 major OSes on default installs might be unclear causes for this
Platform and Versions (please complete the following information):
OS: Ubuntu 20.04 with xfce + i3
Screenshots

Yes, I am really not sure what we can do here. I would recommend using a component library to work around this and just not use <select>.

Yes, I am really not sure what we can do here. I would recommend using a component library to work around this and just not use <select>.

i mean, it is in the example app ( https://github.com/tauri-apps/tauri/blob/dev/tauri/examples/communication/dist/index.html#L237 )
should it be changed to some custom component there too?

i mean, it is in the example app ( https://github.com/tauri-apps/tauri/blob/dev/tauri/examples/communication/dist/index.html#L237 )
should it be changed to some custom component there too?


Rename the 'Google.Devtools.AspNet' to 'Google.Cloud.Diagnostics.AspNet'.

Rename the 'Google.Devtools.AspNet' to 'Google.Cloud.Diagnostics.AspNet' and remove 'Cloud' in classes.
Sorry for all the odd commits, there was a github service outage when I first submitted this so I messed things up a bit.  I will squash and merge when I submit.

Righto - I'm happy to merge if you are. (It's slightly hard to keep track of all the changes, but I'll have another look on my machine after it's been merged.)

SGTM, I'll merge after appveyor passes.


Product list page

Product list page
User Story
As a Customer,
When I enter an input on the search box and click on the search button,
I want to be redirected to the listing results,
and see a list of the related products matching my search input.
As a Customer,
When I click on a category on the main navigation in the header,
I want to see a list of products related to the category.
As a Customer,
When I click on a CTA button or link like Show all,
I want to see a list of products related to the context where the CTA or link came from.
Acceptance Criteria

It's done when the header with the logo, search box, currency toggler, and main navigation.
It's done when the main section contains the breadcrumb with the navigation path to the search results.
It's done when the main section contains the title of the Search listing.
It's done when the main section contains an aside with the filter categories of the products.
It's done when there is a section listing the product images and related info about the product.
It's done when the listing has the pagination section at the end of the list of products.
It's done when there is the "Go to top" control at the bottom of the list of products..
It's done when the footer contains social media links, footer navigation links, payment logos, currency toggler, copyright and website footer links.

Design
Figma Product lis page
@WarrenTyler


Elixir Support

It would be great if you can provide elixir support as well.

@collegeimprovements Please consider contributing it!  We'd be happy to help you implement it.

@collegeimprovements we would love to have someone contribute this. If you're still interested, the best way to make this happen is to promote quicktype in the Elixir community and recruit someone willing and able to work on this. We will happily guide them.

While it's a good idea to ask for more contributors, there's 38 sleeping pull requests and most pipelines are failing by default. I'd really like to help out, but this project needs a maintainer at all in the first place...

It's been a while; the 38 pull requests is down to 6, though there are still pipelines that have been failing since January. Is this still something the maintainers would prefer not get worked on? 😅

quicktype is a very active project now. We don't take requests for implementing new languages, though (we've never written a single line of Elixir).

@dvdsgl Would y'all be willing to consider an external contributor adding Elixir support? 😄

@schani @dvdsgl Bump? 😏
I am interested in helping if possible.

All feature development on quicktype is from external contributors.


Added zabbix_hostgroup

This patch contains:

Create a provider for zabbix_hostgroup
Moved common code from type to util/zabbix.rb, so that type code is simpler

Thanks!


Present multipart object attributes as "formData"

Given the existence of the following endpoint:
public class Foo {
    @ApiModelProperty(value = "Bar description", required = true)
    private String bar;
    ...

@PostMapping(value = "/foo", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public void postFooAsMultiPart(Foo foo) {
    ...

If I mark Foo as a @RequestBody it will be presented as a single field:
"parameters": [
  {
    "in": "body",
    "name": "foo",
    "description": "foo",
    "required": true,
    "schema": {
      "$ref": "#/definitions/Foo"
    }
  }
],

If I don't mark Foo as @RequestBody its attributes are presented as query fields:
"parameters": [
  {
    "name": "bar",
    "in": "query",
    "description": "Bar description",
    "required": true,
    "type": "string"
}
],

I would like the presence of a multipart form data header to render the request as:
"parameters": [
  {
    "name": "bar",
    "in": "formData",
    "description": "Bar description",
    "required": true,
    "type": "string"
}
],

I'm not sure if this is a bug or a feature or if it even makes sense to do!
Notes

Reported behavior on 2.8.0
I've posted a question on stackoverflow asking how this should be done, but I'm not optimistic about a positive response (hence this ticket)
I assume this change would involve OperationParameterReader.shouldExpand taking account of the consumes header and if multipart, passing data down to ExpandedParameterBuilder that would make the parameterType dynamic rather than hard-coded to "query".

Thanks for a reporting. This is a duplicate of #2376

@dilipkrish Just to let you know I opened the PR against the original ticket

No problem!


Combinational loop removed

@CansWang just noticed that the branch was out-of-date so I updated it.  If the tests are still passing (will find out in ~1hr), then I'll merge the changes.


Updated solution to build under Visual Studio 2022

[x] Have you signed the Contributor License Agreement?
[ ] Are you working against an Issue?

This PR ended up being way bigger than I thought it would be, but in general, it makes the necessary changes for winget to build using Visual Studio 2022's toolchain (MSVC v143).
Here's what I did:

Changed all of the project files to conditionally use the v143 compiler if you're using Visual Studio 2022 (same way that v142 was conditionally used for many of the project files for 2019).
Updated Valijson to version 0.6. This is the vast majority of the changes, and maybe should be a separate PR (up to y'all). The reason for this is that Valijson made a change to their CMake configuration here to allow it to work properly with Visual Studio. Given that the version currently in the repo is from January, it seemed reasonable to do an update (and since there's a big "External - Do Not Modify" on the vcxitems file, I'm assuming that I shouldn't go cherrypick the change). (edit: this change is actually in #1721 now)
std::ifstream has been modified in v143 to be a little more explicit about what its constructor would accept (see https://github.com/microsoft/STL/pull/1968 and the linked C++ spec). As such, several of the usages throughout the project had to be changed to be more explicit (using TestCommon::TestDataFile.GetPath() explicitly, and in one instance converting a string_view to a string). These conversions were happening implicitly before if I understand the spec correctly.
I had to override a warning (C26449) in Downloader.cpp, as the usages of AICLI_LOG() were making it cranky. I think it was because the string literals were being converted and so the compiler couldn't 100% guarantee they would still exist? I'm not 100% sure, but if there's a way to actually fix it then I can do it.

If this PR is too big, I can try to move the Valijson changes out (but I couldn't get the project to build without the update, so that would have to go in first). I know review time is limited in this part of the year, so if there's not bandwidth now, I can write down what I did and bring it back sometime later (the project configuration changes are prone to merge conflicts, so I don't know if this could sit in a draft for too too long).
Tested: Ran all tests and builds under Visual Studio 2022 (with workloads configured via .vsconfig file) and Visual Studio 2019 (none of the changes made any difference to v142).
Microsoft Reviewers: Open in CodeFlow

First, thanks for what was likely a lot of tedious work.
I would like to keep the subtree pulls as separate PRs.  In order for them to work correctly we have to not squash them.  I'm not sure that it was done in the past for Valijson, but even if it wasn't we can make it be so now.  I'm assuming that it all still works under 2019 and so pulling in 0.6 should be ok without the rest of your changes.
Honestly we should take a look at all of our subtrees and see if we should pull in updates.  So you can either wait for us to do that or split Valijson out by itself.  If you want to wait, we can prioritize Valijson first.

Wow! let me echo John's comment of thank you for all of that effort!

I'm assuming that it all still works under 2019 and so pulling in 0.6 should be ok without the rest of your changes.

It works fine under 2019, so I can update the subtree in another PR, and once that gets merged I should be able to merge that change into this branch so it only contains the other changes. I'll mark this as draft until that's done.

I rebased the branch on the current master commit (now that Valijson is updated). Much cleaner now :)

/azp run

@jedieaston , I will merge when the build finishes and you approve / comment that you are done.

Everything looks good to me. Assuming everything passes, I think this is ready to merge.
Thanks for your help!


Implement more efficient distributions

We should focus on the ones marked with ** first

[ ] AsymmetricLaplace **
[x] Beta **
[ ] BetaScaled
[ ] Cauchy
[ ] ChiSquared
[ ] ExGaussian
[ ] Exponential **
[ ] Gamma **
[ ] Gumbel
[ ] HalfCauchy
[x] HalfNormal **
[ ] HalfStudentT **
[ ] InverseGamma
[ ] Kumaraswamy
[ ] Laplace **
[ ] LogNormal
[ ] Logistic
[ ] LogitNormal
[ ] Moyal
[x] Normal **
[ ] Pareto
[ ] Rice
[ ] SkewNormal
[ ] StudentT **
[ ] Triangular
[ ] TruncatedNormal
[ ]  Uniform
[ ] VonMises **
[ ] Wald **
[x] Weibull **
[x] Bernoulli **
[ ] BetaBinomial
[x] Binomial **
[ ]  Categorical **
[ ] DiscreteUniform
[ ] DiscreteWeibull
[ ] Geometric
[ ] HyperGeometric
[x] NegativeBinomial **
[x] Poisson **
[ ] ZeroInflatedBinomial **
[ ] ZeroInflatedNegativeBinomial **
[ ] ZeroInflatedPoisson **

Let me also take some of the Distributions...
I'll start with Exponential

I'll take Laplace and AssymmetricLaplace next

I'll take Laplace and AssymmetricLaplace next

Any suggestion on how to implement the rvs of AsymmetricLaplace?

You can sample from a uniform distribution and then apply a transformation see https://en.m.wikipedia.org/wiki/Asymmetric_Laplace_distribution#Generating_asymmetric_Laplace_variates

I'll take Laplace and AssymmetricLaplace next

After this I will take Gamma

I'll take Triangular next

I'll take Logistic and Pareto next

I'll take Cauchy next...

I'll take HalfCauchy next...

'll take TruncatedNormal next...


Add CI check for updated helm docs

Pull Request Motivation
This differs slightly from, say, LICENSE verification, because helm-tool modifies its input. So we first copy the template we already have and modify the copied version.
Kind
/kind bug
Release Note
Add verification step to ensure that helm docs are updated

I'm expecting that the new test should fail, because https://github.com/cert-manager/cert-manager/pull/6695 hasn't merged yet so the docs are out of date!

/cherry-pick release-1.14

/test pull-cert-manager-master-e2e-v1-28-upgrade

/test pull-cert-manager-master-make-test

Confirmed that make-test now fails when values.yaml has been modified. Also added a check that the template isn't dirty so if there's something which updates the template in CI we don't accidentally check against an up-to-date version.
I'll remove the WIP commit which introduces the break, and the tests should start passing again

/approve
/lgtm

@SgtCoDFish
CI is failing with this error: deploy/charts/cert-manager/README.template.md seems to be out of date; update with 'make update-helm-docs'

CI is failing with this error: deploy/charts/cert-manager/README.template.md seems to be out of date; update with 'make update-helm-docs'

Looks like it was this PR which changed the values but didn't update the README: https://github.com/cert-manager/cert-manager/pull/6699
Good test case I guess 😁

/lgtm

Expect that the auto backport will fail now I've included the change for #6699 - I'll manually backport if needed


Coloring each residue by a hex code color

Hello i read the whole documentation but couldn't figure out how to color each residue based on its index by mapping it to an array of hexadecimal code for colors
example:
["#6a9374","#6a9374"]
residue 1 -> #6a9374
residue 2 -> #6a9374

I think you might want to [https://pv.readthedocs.io/en/latest/coloring.html#adding-a-new-color-operation](add a custom color operation). The operation gets called for every atom to be colored. By going back to the residue of the atom, you can get its index (atom.residue().index()) and then use that to index into the color array. I hope that helps.


[Dataset] Dataset Generation Always Returns Cached Version

Describe the bug
At dataset creation, the dataset generated will always get the cached version despite change in file.
To Reproduce

Run toolkit.py
Ctrl-C
Add a line in the dataset
toolkit.py will not create a new dataset with desired changes

Expected behavior

Dataset to be generated with new data

Environment:

OS: Ubuntu

This is caused by huggingface Dataset.from_generator() method checking to see if dataset is cached. See code.
Easiest solution is to pass in a cache_dir parameter (like ./dataset_cache) with each Ingestor class, for example here.
That way whenever there's a change in local file, user can delete the cache directory ./dataset_cache.

Future Enhancement

Perhaps we can have a config no_cache under config.data, and the toolkit will go ahead and delete ./dataset_cache directory


2.x Add guides for working with Composer

Ticket: #2095
Issue
In #2005, we dropped plugin support for Timber. When developers want to use Timber 2.x, it might be the first time that they will use Composer. This can be a hard entry.
Solution
This pull request adds three new Guides:

Installation – All about how and where to install Timber with Composer.
A short intro to Composer – A complementary guide that can be read before reading the Installation guid.
Managing Timber with Composer – All about updating Timber and installing specific versions.

I’m also working on some new Getting Started Guides and will change the structure of the onboarding documentation a bit. That’s why in this pull request, I didn’t delete any notes about installation yet.
Impact
Hopefully helps with the transition from the plugin version to Composer.
Usage Changes
Obviously, use Composer instead of plugin installation.
Considerations

Is there more we should document?
Where should we add notes about system requirements? In the installation guide? Or in the Readme?
Should we explicitly mention that the plugin version would have to be uninstalled when upgrading from v1 to v2?

Testing
No.

Looking good @gchtr. I wasn't able to fully test how these come out when compiled with Eleventy (looks like #2206 needs to be taken care of first with https://github.com/timber/docs/pull/12). I adjusted just a few wording things and such.
Overall, I think this reads great. Includes a pretty solid explanation of why Composer is the option to go with for devs and some of the common Qs people are likely to have!

Codecov Report

Merging #2240 into 2.x-docs-11ty will decrease coverage by 1.17%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             2.x-docs-11ty    #2240      +/-   ##
===================================================
- Coverage            94.18%   93.01%   -1.18%
  Complexity            1615     1615
===================================================
  Files                   53       53
  Lines                 4079     4079
===================================================
- Hits                  3842     3794      -48
- Misses                 237      285      +48

Impacted Files
Coverage Δ
Complexity Δ

lib/Site.php
54.28% <0.00%> (-45.72%)
18.00% <0.00%> (ø%)

lib/Cache/Cleaner.php
66.66% <0.00%> (-33.34%)
6.00% <0.00%> (ø%)

lib/Timber.php
86.66% <0.00%> (-5.93%)
40.00% <0.00%> (ø%)

lib/Loader.php
96.17% <0.00%> (-0.48%)
75.00% <0.00%> (ø%)

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 db38ded...a9a76f8. Read the comment docs.

@jarednova Thanks man for looking over this!

I wasn't able to fully test how these come out when compiled with Eleventy (looks like #2206 needs to be taken care of first with timber/docs#12).

Yep, I will have to push some more changes to the docs repository so that you can check it out. I made good progress this weekend and I’ll ping you if more reviews are required.


docs(grammar): General grammar check

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ScanNet performance

Hi, I saw some works evaluating on the ScanNet dataset. May I ask if you have evaluated on ScanNet and how is the performance? Thanks!

Hi, we did not test our method on the ScanNet dataset.


Update all dependencies from dependabot

WHY are these changes introduced?
Dependabot is not working correctly, this PR includes almost all the dependencies that dependabot tried to update.
⚠ NX dependencies were not updated because they introduced breaking changes
⚠ ESBUILD was not updated because they introduced breaking changes
⚠ COVERAGE-ISTANBUL was not updated because they introduced breaking changes

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

What about introducing this workflow to auto make Dependabot PRs work for PNPM?

⚠ NX dependencies were not updated because they introduced breaking changes
⚠ ESBUILD was not updated because they introduced breaking changes
⚠ COVERAGE-ISTANBUL was not updated because they introduced breaking changes

Do we plan to update them in a follow-up PR?


Get AttributeError: type object 'EllipticCurvePublicKey' has no attribute 'from_encoded_point'

Flintrock version:
james@gig:~/workspace/awsemrlocaldocker$ flintrock --version
flintrock, version 1.0.0

Python version:
james@gig:~/workspace/awsemrlocaldocker$ /usr/bin/python3 --version
Python 3.7.3

OS:
Distributor ID:	Ubuntu
Description:	Ubuntu 19.04
Release:	19.04
Codename:	disco

Launch a cluster, say yes to
Do you want to terminate the 3 instances created by this operation? [Y/n]: y
Get this error:
james@gig:~/workspace/awsemrlocaldocker$ flintrock launch teststuff
Warning: Downloading Spark from an Apache mirror. Apache mirrors are often slow and unreliable, and typically only serve the most recent releases. We strongly recommend you specify a custom download source. For more background on this issue, please see: https://github.com/nchammas/flintrock/issues/238
Requesting 3 spot instances at a max price of $0.007...
0 of 3 instances granted. Waiting...
All 3 instances granted.
Do you want to terminate the 3 instances created by this operation? [Y/n]: y
Terminating instances...
Traceback (most recent call last):
File "/home/james/.local/bin/flintrock", line 10, in
sys.exit(main())
File "/home/james/.local/lib/python3.7/site-packages/flintrock/flintrock.py", line 1187, in main
cli(obj={})
File "/home/james/.local/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/james/.local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/james/.local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/james/.local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/james/.local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/james/.local/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/flintrock.py", line 456, in launch
tags=ec2_tags)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/ec2.py", line 53, in wrapper
res = func(*args, **kwargs)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/ec2.py", line 955, in launch
identity_file=identity_file)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/core.py", line 625, in provision_cluster
run_against_hosts(partial_func=partial_func, hosts=hosts)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/core.py", line 492, in run_against_hosts
future.result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/core.py", line 675, in provision_node
wait=True)
File "/home/james/.local/lib/python3.7/site-packages/flintrock/ssh.py", line 66, in get_ssh_client
client.load_system_host_keys()
File "/home/james/.local/lib/python3.7/site-packages/paramiko/client.py", line 104, in load_system_host_keys
self._system_host_keys.load(filename)
File "/home/james/.local/lib/python3.7/site-packages/paramiko/hostkeys.py", line 101, in load
e = HostKeyEntry.from_line(line, lineno)
File "/home/james/.local/lib/python3.7/site-packages/paramiko/hostkeys.py", line 364, in from_line
key = ECDSAKey(data=decodebytes(key), validate_point=False)
File "/home/james/.local/lib/python3.7/site-packages/paramiko/ecdsakey.py", line 163, in init
key = ec.EllipticCurvePublicKey.from_encoded_point(
AttributeError: type object 'EllipticCurvePublicKey' has no attribute 'from_encoded_point'

This seems to have fixed it (found on https://stackoverflow.com/questions/54861026/how-to-silence-ellipticcurvepublicnumbers-encode-point-cryptographydeprecationwa?noredirect=1&lq=1)
(I have no idea if this is a good idea or not; I know almost nothing about the python ecosystem, other than it's mostly a giant hairball of pain and suffering.)
james@gig:~/workspace/awsemrlocaldocker$ pip3 install --upgrade paramiko
Requirement already up-to-date: paramiko in /home/james/.local/lib/python3.7/site-packages (2.7.1)
Requirement already satisfied, skipping upgrade: pynacl>=1.0.1 in /usr/lib/python3/dist-packages (from paramiko) (1.3.0)
Requirement already satisfied, skipping upgrade: bcrypt>=3.1.3 in /home/james/.local/lib/python3.7/site-packages (from paramiko) (3.1.7)
Collecting cryptography>=2.5 (from paramiko)
Downloading https://files.pythonhosted.org/packages/dc/5e/e1e6991a841a9e88eb848634026199fa92665ae792ee6362a0cfa0ece3dc/cryptography-2.9-cp35-abi3-manylinux1_x86_64.whl (2.7MB)
100% |████████████████████████████████| 2.7MB 742kB/s
Requirement already satisfied, skipping upgrade: cffi>=1.1 in /home/james/.local/lib/python3.7/site-packages (from bcrypt>=3.1.3->paramiko) (1.14.0)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/lib/python3/dist-packages (from bcrypt>=3.1.3->paramiko) (1.12.0)
Requirement already satisfied, skipping upgrade: pycparser in /home/james/.local/lib/python3.7/site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko) (2.20)
Installing collected packages: cryptography
Successfully installed cryptography-2.9

Leaving the bug open because it seems like the install of flintrock should have picked this up as a problem.  I'd understand if you want to close this as not-a-flintrock-bug though.

Install of flintrock was by:
pip3 install flintrock

Hmm, can you reproduce the error and then share the output of pip3 list?
Can you also share the output you got when you first installed Flintrock? I'm not clear on how you got an outdated version of Cryptography with the install.
For the record, if working with Python is painful for you, you can always install the stand-alone version of Flintrock that bundles its own Python interpreter.

After I updated paramiko, the error went away, so unfortunately I can't give you a repro any more.  Here's the pip3 list output output though, if it's useful.
  If there was output, though, I didn't capture it in any way.

The only other information I can think of is that this is an initial install of flintrock, not an update.  I never used previous versions.

Hmm, it will be difficult to figure out what happened if you can't reproduce the issue. What I can say is that Flintrock already specifies Paramiko 2.7, so you should not have needed to do a separate upgrade of that package. The correct version of Paramiko would have been installed alongside Flintrock.
So I suspect something was off either during the initial installation of Flintrock, or perhaps at some point after, causing the wrong version of Paramiko to get installed.
If you hit this issue again, feel free to reopen the ticket and we can continue the discussion.


Docs improvements

Hello
I fixed some minor typos in the docs,
Hope it helps.
Br,
Tudor.

Sorry, while we appreciate the PR, these suggested changes are to autogenerated files, files that we forked, or inaccuracies - so I'm closing this PR


getting-started/bookshelf: add separate template blocks for title+body

Thank you for the great examples!
Could you add independent titles to the bookshelf app? I.e.
base.html
<title>
  {{ template "title" . }}
</title>

detail.html
{{ define "title" }}
  Detail
{{ end }}

{{ define "body" }}
...
{{ end }}

At the moment that doesn't work because all the included template content is put into "body". I'm having trouble finding an elegant solution with ParseGlob.
Any hints?

Yes, this is rather difficult. I may change the templates to {{ define "body" }}.
In Go 1.6, we get template blocks, which are very useful for this!

Any news on this issue?
Cheers!

@zemirco Nope, haven't had a look at it yet. I'll try to look some time this week.
Happy to take a pull request if you already have a reasonable approach, though!

Declaring bankruptcy on this issue. Sorry we never got to it! Go 1.6 has long been released, so hopefully this is a bit easier.


#3: Configurator

-
-

Issue
Closes #3

Dependencies
--

Decisions
Similar to the ripe-sdk-components-vue configurator, only adapted to the react architecture.

Animated GIF

@BeeMargarida please solve the conflicts


gemini detected row difference, while error message shows rows are the same

Job:
https://jenkins.scylladb.com/job/enterprise-2023.1/job/Reproducers/job/gemini-3h-ics-cdc-with-nemesis-test/12/
Gemini logs:
gemini-l0-c0-2400514c-9363-4f76-b02c-f54cbb1f4d42.log
gemini_result_0a96fe8c-6795-4ed6-9159-79d8c4afa6c2.log

Related issue - https://github.com/scylladb/scylladb/issues/11103

Also may be it time data representation.
in another job, i got similar issue of gemini:
gemini-l0-c0-31c486ef-4ed4-443e-a8b1-84e5b925cd0e.log
gemini_result_b3689814-7ae5-4073-8d51-d1afde711539.log
when i try to request the rows with python driver, i got next error:
Traceback (most recent call last):
  File "cassandra/obj_parser.pyx", line 72, in cassandra.obj_parser.TupleRowParser.unpack_row
  File "cassandra/deserializers.pxd", line 41, in cassandra.deserializers.from_binary
  File "cassandra/deserializers.pyx", line 173, in cassandra.deserializers.DesTimeType.deserialize
  File "cassandra/util.py", line 955, in cassandra.util.Time.__init__
  File "cassandra/util.py", line 1002, in cassandra.util.Time._from_timestamp
ValueError: value must be less than number of nanoseconds in a day<PHONE_NUMBER>0000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cassandra/row_parser.pyx", line 38, in cassandra.row_parser.make_recv_results_rows.recv_results_rows
  File "cassandra/obj_parser.pyx", line 31, in cassandra.obj_parser.ListParser.parse_rows
  File "cassandra/obj_parser.pyx", line 74, in cassandra.obj_parser.TupleRowParser.unpack_row
cassandra.DriverException: Failed decoding result column "col2" of type time: value must be less than number of nanoseconds in a day<PHONE_NUMBER>0000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "cassandra/obj_parser.pyx", line 72, in cassandra.obj_parser.TupleRowParser.unpack_row
  File "cassandra/deserializers.pxd", line 41, in cassandra.deserializers.from_binary
  File "cassandra/deserializers.pyx", line 173, in cassandra.deserializers.DesTimeType.deserialize
  File "cassandra/util.py", line 955, in cassandra.util.Time.__init__
  File "cassandra/util.py", line 1002, in cassandra.util.Time._from_timestamp
ValueError: value must be less than number of nanoseconds in a day<PHONE_NUMBER>0000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/abykov/Projects/scylladb-project/scylla-cluster-tests/check_gemini_query.py", line 9, in <module>
    print(list(session.execute(stm)))
  File "cassandra/cluster.py", line 2668, in cassandra.cluster.Session.execute
  File "cassandra/cluster.py", line 4953, in cassandra.cluster.ResponseFuture.result
  File "cassandra/connection.py", line 1263, in cassandra.connection.Connection.process_msg
  File "cassandra/protocol.py", line 1196, in cassandra.protocol._ProtocolHandler.decode_message
  File "cassandra/protocol.py", line 744, in cassandra.protocol.ResultMessage.recv_body
  File "cassandra/protocol.py", line 730, in cassandra.protocol.ResultMessage.recv
  File "cassandra/row_parser.pyx", line 46, in cassandra.row_parser.make_recv_results_rows.recv_results_rows
  File "cassandra/obj_parser.pyx", line 57, in cassandra.obj_parser.TupleRowParser.unpack_row
  File "cassandra/obj_parser.pyx", line 74, in cassandra.obj_parser.TupleRowParser.unpack_row
cassandra.DriverException: Failed decoding result column "col2" of type time: value must be less than number of nanoseconds in a day<PHONE_NUMBER>0000)

Looks it is related to gemini seed 8 and could be related to datatype time

From logs:
        \"col13\": map[*big.Int]int{
-               \u0026⟪0xc01dfd4b40⟫{abs: ⟪ptr:0xc020c7b198, len:1, cap:1⟫{2020941397193943905}}: 851432987,
-               \u0026⟪0xc01dfd4b60⟫{abs: ⟪ptr:0xc020c7b1a8, len:1, cap:1⟫{8382710959889238823}}: 50194853,

+               \u0026⟪0xc01e9c15a0⟫{abs: ⟪ptr:0xc01b9c0b78, len:1, cap:1⟫{2020941397193943905}}: 851432987,
+               \u0026⟪0xc01e9c16a0⟫{abs: ⟪ptr:0xc01b9c0b88, len:1, cap:1⟫{8382710959889238823}}: 50194853,

col13 its map type with a key type - varint. Its impossible configuration at this moment
Reasons explain:
https://github.com/scylladb/gemini/issues/405#issue-1849730582


Corebook x efi

Hello,
if it can help I've found this efi on the net for Chuwi Corebook X. It is quite different from yours, maybe it can give you some ideas! :)
Credits to KMac from https://www.hackintosh-forum.de/forum/thread/54392-chuwi-corebook-x/
you have to include itlwm.kext und IntelBluetoothFirmware.kext into kext folder, too big to upload
EFI-OC-CBX.zip
Hope this will help.
Thanks
Regards

Open core configurator - config checker, some issues:
`Laptop: (8th Gen) Coffee Lake OpenCore 0.7.3
https://dortania.github.io/OpenCore-Install-Guide/config-laptop.plist/coffee-lake.html
#Maintainer this shouldn't be here
#Version this shouldn't be here
#Tips - CN this shouldn't be here
#Tips - EN this shouldn't be here
ACPI
Add
SSDT-AWAC.aml shouldn't be required. See the [ACPI Docs][acpi] if you actually need it
SSDT-PNLF.aml This should not be included on Coffee Lake and newer laptops, instead use SSDT-PNLF-CFL. Please review the [ACPI Docs].
SSDT-EC-USBX.aml Make sure this file is in your OC/ACPI directory
SSDT-OC-XOSI.aml Make sure this file is in your OC/ACPI directory
SSDT-PLUG-DRTNIA.aml Make sure this file is in your OC/ACPI directory
SSDT-ACPI.aml Make sure this file is in your OC/ACPI directory
SSDT-ALSD.aml Make sure this file is in your OC/ACPI directory
SSDT-GPI0.aml Make sure this file is in your OC/ACPI directory
SSDT-RMCF-PS2Map-Chuwi.aml Make sure this file is in your OC/ACPI directory
Delete
Patch
Quirks
FadtEnableReset = No
NormalizeHeaders = No
RebaseRegions = No
ResetHwSig = No
ResetLogoStatus = No
SyncTableIds = No
Booter
MmioWhitelist
Patch
Quirks
AllowRelocationBlock = No
AvoidRuntimeDefrag = Yes
DevirtualiseMmio = No but should normally be Yes
DisableSingleUser = No
DisableVariableWrite = No
DiscardHibernateMap = No
EnableSafeModeSlide = Yes
EnableWriteUnprotector = Yes but should normally be No
ForceExitBootServices = No
ProtectMemoryRegions = No
ProtectSecureBoot = No
ProtectUefiServices = No
ProvideCustomSlide = Yes
ProvideMaxSlide = 0
RebuildAppleMemoryMap = Yes
SetupVirtualMap = Yes
SignalAppleOS = No
SyncRuntimePermissions = Yes
ForceBooterSignature = No
DeviceProperties
Add
AAPL,ig-platform-id = 0400a53e - iGPU may not be set correctly. Please read the [DeviceProperties Docs]
Delete
Kernel
Add
Lilu.kext make sure this Kext is in your OC/Kexts directory and the first kext listed here
SMCLightSensor.kext Please ensure your laptop has a light sensor, otherwise this can cause issues
SMCBatteryManager.kext Please ensure your battery has been properly patched to 8bits, otherwise this can cause issues
VirtualSMC.kext make sure this Kext is in your OC/Kexts directory
WhateverGreen.kext make sure this Kext is in your OC/Kexts directory
SMCProcessor.kext make sure this Kext is in your OC/Kexts directory
SMCSuperIO.kext make sure this Kext is in your OC/Kexts directory
AppleALC.kext make sure this Kext is in your OC/Kexts directory
ACPIPoller.kext make sure this Kext is in your OC/Kexts directory
VoodooI2C.kext/Contents/PlugIns/VoodooGPIO.kext make sure this Kext is in your OC/Kexts directory
VoodooI2C.kext/Contents/PlugIns/VoodooI2CServices.kext make sure this Kext is in your OC/Kexts directory
VoodooI2C.kext make sure this Kext is in your OC/Kexts directory
VoodooI2C.kext/Contents/PlugIns/VoodooInput.kext make sure this Kext is in your OC/Kexts directory
VoodooI2CHID.kext make sure this Kext is in your OC/Kexts directory
VoodooPS2Controller.kext make sure this Kext is in your OC/Kexts directory
VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext make sure this Kext is in your OC/Kexts directory
VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext make sure this Kext is in your OC/Kexts directory
BrightnessKeys.kext make sure this Kext is in your OC/Kexts directory
USBPorts.kext make sure this Kext is in your OC/Kexts directory
ECEnabler.kext make sure this Kext is in your OC/Kexts directory
AirportItlwm.kext make sure this Kext is in your OC/Kexts directory
IntelBluetoothInjector.kext make sure this Kext is in your OC/Kexts directory
IntelBluetoothFirmware.kext make sure this Kext is in your OC/Kexts directory
NVMeFix.kext make sure this Kext is in your OC/Kexts directory
HibernationFixup.kext make sure this Kext is in your OC/Kexts directory
NoTouchID.kext make sure this Kext is in your OC/Kexts directory
Block
Emulate
DummyPowerManagement = No
Force
Patch
Quirks
AppleCpuPmCfgLock = No
AppleXcpmCfgLock = No Make sure CFG-Lock is disabled in your bios
AppleXcpmExtraMsrs = No
AppleXcpmForceBoost = No
CustomSMBIOSGuid = No If you have a Dell or VIAO motherboard, please enable this
DisableIoMapper = No but should normally be Yes
DisableRtcChecksum = No
ExtendBTFeatureFlags = No
LegacyCommpage = No
ExternalDiskIcons = No
ForceSecureBootScheme = No
IncreasePciBarSize = No
LapicKernelPanic = No If you have an HP laptop, please enable this
PanicNoKextDump = Yes
PowerTimeoutKernelPanic = Yes
ProvideCurrentCpuInfo = No
SetApfsTrimTimeout = -1
ThirdPartyDrives = No
XhciPortLimit = No enable if you have USB issues
Scheme
Misc
BlessOverride
Boot
ConsoleAttributes = 0
PollAppleHotKeys = Yes but should normally be No
ShowPicker = Yes
TakeoffDelay = 0
HibernateMode = None
LauncherOption = Disabled LauncherOption set correctly
LauncherPath = Default
PickerMode = External but should normally be Builtin
HideAuxiliary = Yes but should normally be No
PickerAttributes = 17
PickerAudioAssist = No
Timeout = 5
PickerVariant = Auto
Debug
AppleDebug = No but should normally be Yes
ApplePanic = No but should normally be Yes
DisableWatchDog enabling this will help debugging
Target see the [Debugging Docs] for more info on debug target numbers
DisplayLevel see [Debugging Docs] for more info debug display levels
DisplayDelay = 0
Entries
Security
AllowNvramReset = Yes
AllowSetDefault = Yes
AllowToggleSip = No
ApECID = 0
AuthRestart = No
BlacklistAppleUpdate = Yes
DmgLoading = Signed
EnablePassword = No
Vault = Optional
SecureBootModel = Disabled SecureBootModel set correctly
HaltLevel =<PHONE_NUMBER>
ExposeSensitiveData = 11
ScanPolicy = 0
Tools
You can remove the tool EFIs here
NVRAM
LegacyEnable = No
LegacyOverwrite = No
WriteFlash = Yes
Add
UIScale = 02
DefaultBackgroundColor = 00000000
boot-args = -blank- You need to add alcid=<layout> here since you are using AppleALC.kext
run-efi-updater = No
csr-active-config = e7030000
prev-lang:kbd = 7a682d48616e733a323532 (zh-Hans:252)
SystemAudioVolume = 46
Delete
LegacySchema
PlatformInfo
Automatic = Yes
UpdateDataHub = Yes
UpdateNVRAM = Yes
UpdateSMBIOS = Yes
UpdateSMBIOSMode = Create If you have a Dell or VIAO motherboard, please set this to Custom
CustomMemory
Generic
SpoofVendor = No but should normally be Yes
AdviseFeatures = Yes but should normally be No
ProcessorType = 0
SystemMemoryStatus = Auto
MaxBIOSVersion = No
SystemProductName = MacBookPro15,2
MLB is set
ROM is set
SystemSerialNumber is set
SystemUUID is set
UseRawUuidEncoding
UEFI
ConnectDrivers = Yes
APFS
EnableJumpstart = Yes
GlobalConnect = No If you have an HP motherboard and can't see APFS drives in OpenCore, please enable this
HideVerbose = Yes
JumpstartHotPlug = No
MinDate = 0
MinVersion = 0
AppleInput
AppleEvent = Builtin
CustomDelays = No
KeySubsequentDelay = 5
PointerSpeedDiv = 1
PointerSpeedMul = 1
GraphicsInputMirroring = Yes but should normally be No
Audio
AudioSupport = No
AudioDevice = PciRoot(0x0)/Pci(0x1f,0x3)
AudioCodec = 0
AudioOut = 0
MinimumVolume = 0
PlayChime = Auto
VolumeAmplifier = 0
SetupDelay = 0
ResetTrafficClass = No
Drivers
OpenHfsPlus.efi
OpenRuntime.efi
CrScreenshotDxe.efi should not be here!
OpenCanopy.efi
Input
KeyFiltering = No
KeyForgetThreshold = 5
KeySupport = Yes
KeySupportMode = Auto
KeySwap = No
PointerSupport = No
PointerSupportMode = -blank-
TimerResolution = 50000
Output
TextRenderer = BuiltinGraphics
ConsoleMode = -blank-
Resolution = Max
ForceResolution = No
ClearScreenOnModeSwitch = No
IgnoreTextInGraphics = No
ProvideConsoleGop = Yes
DirectGopRendering = No
ReconnectOnResChange = No
ReplaceTabWithSpace = No
SanitiseClearScreen = No
UgaPassThrough = No
ProtocolOverrides
AppleAudio = No
AppleBootPolicy = No
AppleDebugLog = No
AppleEg2Info = No
AppleFramebufferInfo = No
AppleImageConversion = No
AppleImg4Verification = No
AppleKeyMap = No
AppleRtcRam = No
AppleSecureBoot = No
AppleSmcIo = No
AppleUserInterfaceTheme = No
DataHub = No
DeviceProperties = No
FirmwareVolume = Yes This is only required if you plan to use FileVault
HashServices = No If you plan to use FileVault2, please enable this
OSInfo = No
UnicodeCollation = No
Quirks
DisableSecurityPolicy = No If you have a Microsoft Surface device, please enable this
ActivateHpetSupport = No
ExitBootServicesDelay = 0
ForgeUefiSupport = No
ForceOcWriteFlash = No
IgnoreInvalidFlexRatio = No
ReleaseUsbOwnership = No but should normally be Yes
ReloadOptionRoms = No
RequestBootVarRouting = Yes
TscSyncTimeout = 0
UnblockFsConnect = No If you have an HP system, please enable this
ReservedMemory`


Can't import Bestiary 5 - Dream Dragon, Very Old

Can't import statblock:
Dream Dragon, Very Old      CR 18
XP 153,600
Very old dream dragon (Pathfinder RPG Bestiary 5 90)
N Gargantuan dragon (extraplanar)
Init +3; Senses dragon senses, dreamsight; Perception +41
Aura frightful presence (270 ft., DC 28)
Defense
AC 35, touch 5, flat-footed 35 (-1 Dex, +30 natural, -4 size)
hp 287 (23d12+138)
Fort +19, Ref +14, Will +18
Defensive Abilities dream fortress; DR 10/magic; Immune paralysis, sleep; SR 29
Offense
Speed 40 ft., fly 250 ft. (clumsy)
Melee bite +30 (4d6+15), 2 claws +29 (2d8+10), tail slap +27 (2d8+15), 2 wings +27 (2d6+5)
Space 20 ft.; Reach 15 ft. (20 ft. with bite)
Special Attacks breath weapon (60-ft cone, 18d6 electricity, Reflex DC 27 half), crush (Medium creatures, DC 27, 4d6+15), sleeping breath 1/day, tail sweep (30-ft., 2d6+15, DC 27)
Psychic Magic (CL 23rd; concentration +30)
17 PE—dream (4 PE), dream travel[OA] (5 PE, DC 22), euphoric cloud[ACG] (2 PE, DC 19), invisibility (2 PE), lullaby (0 PE, DC 17), mirror strike[UC] (1 PE), thought shield II[OA] (3 PE)
Psychic Spells Known (CL 13th; concentration +19)
6th (5/day)—cloak of dreams[APG] (DC 22), dream council[OA] (DC 22)
5th (7/day)—dismissal (DC 21), wall of force, waves of fatigue
4th (7/day)—anti-incorporeal shell[ACG], dimension door, freedom of movement
3rd (7/day)—clairaudience/clairvoyance, deep slumber (DC 19), displacement, purge spirit[OA] (DC 19)
2nd (8/day)—augury, aversion[OA] (DC 18), blindness/deafness (DC 18), calm emotions (DC 18), mind thrust II[OA] (DC 18)
1st (8/day)—blurred movement[ACG], color spray (DC 17), shield, sleep (DC 17), true strike
0 (at will)—arcane mark, dancing lights, daze (DC 16), detect magic, ghost sound (DC 16), mage hand, mending, message, resistance
Statistics
Str 31, Dex 9, Con 22, Int 22, Wis 21, Cha 24
Base Atk +23; CMB +37; CMD 46 (50 vs. trip)
Feats Alertness, Flyby Attack, Hover, Improved Initiative, Lightning Reflexes, Multiattack, Power Attack, Skill Focus (Perception), Snatch, Vital Strike, Weapon Focus (bite), Wingover
Skills Acrobatics -1 (+3 to jump), Bluff +33, Diplomacy +33, Fly +11, Intimidate +33, Knowledge (arcana) +32, Knowledge (dungeoneering) +32, Knowledge (history) +32, Knowledge (planes) +32, Perception +41, Sense Motive +35, Stealth +13, Survival +31
Languages Aklo, Celestial, Common, Draconic, Infernal
SQ change shape (any humanoid; polymorph), join dreamscape
Ecology
Environment any (dimension of dreams)
Organization solitary
Treasure triple
Special Abilities
Blindsense (60 feet) (Ex) Sense things and creatures without seeing them.
Breath Weapon (60-ft cone, 18d6 electricity, Reflex DC 27 half, usable every 1d4 rounds) As a standard action, affect an area with elemental damage (Ref half).
Change Shape (any humanoid; polymorph, 3/day) (Su) You can change your form.
Crush (Medium creatures, 4d6+15, DC 27) A flying or jumping Huge or larger dragon can land on foes as a standard action, using its whole body to crush them. Crush attacks are effective only against opponents three or more size categories smaller than the dragon. A crush attack affects as m
Damage Reduction (10/magic) You have Damage Reduction against all except Magic attacks.
Darkvision (120 feet) You can see in the dark (black and white only).
Dragon Senses (Ex) See four times as well as a human in dim light and twice as well in normal light.
Dream Fortress (Su) A juvenile or older young adult dream dragon is immune to dream, nightmare, and similar spells.
Dreamsight (Su) With a brief glance, a very young or older dragon can see a hazy image of the current dreams of sleeping creatures.
Fly (250 feet, Clumsy) You can fly!
Flyby Attack You can take a standard action during your move action while flying.
Frightful Presence (270 ft., 5d6 rounds, DC 28) Those in area of effect become frightened or shaken (Will neg.)
Hover Can hover in place without Fly checks, and kick up dust cloud if within 20 ft of ground.
Immunity to Paralysis You are immune to paralysis.

Join Dreamscape (Su) An old or older dream dragon who sees a sleeping creature’s dream can enter that dream as a lucid body (Occult Adventures 241), while still acting with its physical body.
Low-Light Vision See twice as far as a human in dim light, distinguishing color and detail.
Power Attack -6/+12 You can subtract from your attack roll to add to your damage.
 This is a mind-affecting sleep effect.
Snatch You can start a grapple if you hit with a claw or bite attack.
Spell Resistance (29) You have Spell Resistance.
Tail Sweep (30-ft., 2d6+15, DC 27) As a standard action, deal damage in half circle to foes 4+ sizes smaller (Ref half).
Vital Strike Standard action: x2 weapon damage dice.
Wingover (1/round) Can turn up to 180 degrees as a free action without a Fly check.

[ ] Splitting of Spells when these include an "-"


Hard coded network size in fix network script

https://github.com/clong/DetectionLab/blob/719f0f846f6c75c3da05ada267af554061032b5f/Vagrant/scripts/fix-second-network.ps1#L14
It might make sense to centralise subnet size and push as a param to the script instead of hard coding.
Context for this is that I am deploying this infra into a /20 subnet and had to make some changes.

Hi @JustasZab - for simplicity reasons, I probably won't add this functionality myself, but I'm happy to review any PRs. Also see: https://github.com/clong/DetectionLab/issues/602


Use the first repo provider to init UI

Hi @GeorgianaElena !
That looks great, thank you for starting this improvement!
I tried to implement the last few missing things :

use the first repo provider to init UI
add default text values, consistent with js, to prevent flickering
validate repo_providers to avoid empty dict and force values to inherit from binderhub.RepoProvider
add repo_providers test

Maybe the repo_providers validation if too strict, and we should not force inheritance from binderhub.RepoProvider. Let me know.
Do you think it will be enough to make https://github.com/jupyterhub/binderhub/pull/1038 mergeable?
cc @jtpio
Thanks!

Nice, thanks @adriendelsalle!
Do you want to post a quick update on the PR, as there might be more people interested in the progress? https://github.com/jupyterhub/binderhub/pull/1038

Do you want to post a quick update on the PR, as there might be more people interested in the progress? jupyterhub#1038

Sure I'll do !
Thanks for the quick reply @GeorgianaElena !
I'm trying to understand why the tests are not passing, but I can't figure out if it's related to the changes I made.

I'm trying to understand why the tests are not passing, but I can't figure out if it's related to the changes I made.

Maybe try also rebasing the branch? The tests might also have changed since first creating this branch. There might also be some conflicts to fix :(

Good idea! I think we both have to rebase right?

I think so. I'll try to rebase my branch now and see what happens with the PR :crossed_fingers:

It's done! Hope I didn't mess too many things :see_no_evil:

All green @adriendelsalle! I have also tested this manually and it looks like it works :tada:  So I'm going to merge this.
Also, I have added you @adriendelsalle as a collaborator to my fork, in case there are any other changes needed. I believe this will let you push directly to my fork and branch without needing to open a PR. Please feel free to push any change you think it will make this better and move it forward.
Thank you!

Great, thanks @GeorgianaElena !
I will be happy to contribute on other features :)


firebase_auth  Login with Microsoft Oauth2 not working.

I'm doing login with Microsoft in my Flutter app using firebase_auth. I have followed each step written in Firebase's official documentation. But still, I'm getting the below error when I try to log in with my Microsoft account.
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_auth/invalid-credential] Error getting access token from microsoft.com, OAuth2 redirect uri is: https://flutterdev-58b4c.firebaseapp.com/__/auth/handler, response: OAuth2TokenResponse{params: error=invalid_request&error_description=AADSTS90023:%20Public%20clients%20can't%20send%20a%20client%20secret.%0D%0ATrace%20ID:%20f0f59fc3-915a-4772-9bbb-bcdc4242b200%0D%0ACorrelation%20ID:%205b0dd92e-1095-40ec-9a53-92e373a413c1%0D%0ATimestamp:%202023-07-14%2007:59:48Z&timestamp=2023-07-14%2007:59:48Z&trace_id=f0f59fc3-915a-4772-9bbb-bcdc4242b200&correlation_id=5b0dd92e-1095-40ec-9a53-92e373a413c1, httpMetadata: HttpMetadata{status=400, cachePolicy=NO_CACHE, cacheDurationJava=null, cacheImmutable=false, staleWhileRevalidate=null, filename=null, lastModified=null, retryAfter=null, crossOriginEmbedderPolicy=null, crossOriginOpenerPolicy=null, crossOriginResourcePolicy=null, headers=HTTP/1.1 200 OK

The error itself says that Public clients can't send a client secret. So, I have tried to remove the client's secret value from my Firebase project config. But, this field is mandatory.
I'm also attaching the configuration screenshots of my Firebase and Azure portals.

Hi @parth22, can you share the code sample you use to call Microsoft?
Your error message indicates that you're sending something which public client should not be sending

Hi @parth22, what platform are you targeting? You may need to switch the method being called based on the platform you're testing. See https://firebase.google.com/docs/auth/flutter/federated-auth#ios+_1

@danagbemava-nc  I'm targeting the Android and iOS platforms.

Hi @parth22, one final thing, can you try using OAuthProvider directly, instead of MicrosoftAuthProvider to see if it works for you? The provider id would be "microsoft.com".

@danagbemava-nc Sure, let me try.

@danagbemava-nc  I have tried as you say.
Below is the sample code.
final FirebaseAuth auth = FirebaseAuth.instance;
    OAuthProvider oAuthProvider = OAuthProvider('microsoft.com');
    UserCredential userCredential =
        await auth.signInWithProvider(oAuthProvider);```

Ended with the same error.

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_auth/invalid-credential] Error getting access token from microsoft.com, OAuth2 redirect uri is: https://mind-bank-ai.firebaseapp.com/__/auth/handler, response: OAuth2TokenResponse{params: error=invalid_request&error_description=AADSTS90023:%20Public%20clients%20can't%20send%20a%20client%20secret.%0D%0ATrace%20ID:%204e0e2c67-c996-482b-9e2a-9b498bd45400%0D%0ACorrelation%20ID:%20e988768f-8cb8-4515-a973-d5728b25e0ab%0D%0ATimestamp:%202023-07-19%2011:27:26Z&timestamp=2023-07-19%2011:27:26Z&trace_id=4e0e2c67-c996-482b-9e2a-9b498bd45400&correlation_id=e988768f-8cb8-4515-a973-d5728b25e0ab, httpMetadata: HttpMetadata{status=400, cachePolicy=NO_CACHE, cacheDurationJava=null, cacheImmutable=false, staleWhileRevalidate=null, filename=null, lastModified=null, retryAfter=null, crossOriginEmbedderPolicy=null, crossOriginOpenerPolicy=null, crossOriginResourcePolicy=null, headers=HTTP/1.1 200 OK```

Thanks for the info, labeling for the teams attention

Hi, did you able to solve this problem? I am facing with the same issue.

No, Even after trying everything. At last, my client changes the requirements.

Great. I will check it out.

i have same problem using Android native integration
                com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The supplied auth credential is malformed or has expired. [ Error getting access token from microsoft.com, OAuth2 redirect uri is: https://advisory-certificates.firebaseapp.com/__/auth/handler, response: OAuth2TokenResponse{params: error=invalid_request&error_description=AADSTS90023:%20Public%20clients%20can't%20send%20a%20client%20secret.%0D%0ATrace%20ID:%207375c6a1-bbdf-4e8c-a382-3992a0f31400%0D%0ACorrelation%20ID:%20fc522470-8f35-4fe4-9e7c-8e9fa9c33af9%0D%0ATimestamp:%202023-09-12%2023:13:25Z&timestamp=2023-09-12%2023:13:25Z&trace_id=7375c6a1-bbdf-4e8c-a382-3992a0f31400&correlation_id=fc522470-8f35-4fe4-9e7c-8e9fa9c33af9, httpMetadata: HttpMetadata{status=400, cachePolicy=NO_CACHE, cacheDurationJava=null, cacheImmutable=false, staleWhileRevalidate=null, filename=null, lastModified=null, retryAfter=null, crossOriginEmbedderPolicy=null, crossOriginOpenerPolicy=null, crossOriginResourcePolicy=null, headers=HTTP/1.1 200 OK

Hello, a lot have changed since this issue, are you still reproducing this?


Leftover Code Breaking Vanilla Tags

the pickaxes do not work as intended as it seems like you have forgotten to remove the tutorialmod files changes to vanilla tag #minecraft:needs_pickaxe and because the block doesn't exist it breaks the tag making pickaxes unusable in general

I've had this same issue!

I've also had this issue! I'm not very knowledgeable, as I am still learning modding, but I did catch on that the pickaxe works like a fist now.


Fix error when attaching on curves in Maya

cmds.connectInfo can return an empty string instead of None

Thanks!


UnexpectedURLRequest seems orphaned in APIKit 2

See the search result:
https://github.com/ishkawa/APIKit/search?utf8=✓&q=UnexpectedURLRequest

Oh, yes. I leave this to indicate common errors. This may be useful when user don't define their custom errors.  Users can also throw their custom error, so they can choose type of errors to throw.

I got your intention.
So, which is better way when user throws the error?

uses defined ErrorType as possible.
defines their own ErrorType as they like.

If 1), I prefer associated errors of SessionTaskError to belong to each NSError, RequestError and ResponseError type.
If 2), pre-defined but unused UnexpectedURLRequest seems confusing.  And RequestError and ResponseError suit rather Struct type than Enum type.
And in any case, what do you think of specify protocols for associated ErrorTypes in SessionTaskError? they looks too vague to use.

I think the second one is better.
Generally, several kind of errors might happen while getting web API response. It is impossible to enumerate possible errors exhaustively because there're custom errors, and that is the reason why associated values of  SessionTaskType is untyped.
From the viewpoint of call-site, we can get where the error occurred by the case of SessionTaskError, but can't get the type of the associated error. We have to cast the error to known error type to get what the error is. Here's an example:
let request = GitHubAPI.SearchRepositoriesRequest(query: "APIKit")

Session.sendRequest(request) { result in
    switch result {
    case .Success(let response):
        print("response: ", response)

    case .Failure(let error):
        switch error {
        case .ResponseError(let gitHubError as GitHubError):
            print("GitHub API Error: \(gitHubError.message)")

        default:
            print("Unknown Error: \(error)")
        }
    }
}

This is exactly the same way to do-try-catch, which is untyped error handling model. We can specialize error handling for known error types, but handling unknown errors is unavoidable. In other words, all specializations for known errors are optional, but handling unknown errors is required. Thus, specializations for predefine errors such as RequestError and ResponseError are also optional.


Method EventWriter.QueueEventForWriting is not thread-safe

Method EventWriter.QueueEventForWriting is claimed thread-safe, but actually it is not because of non-thread-safe eventQueueMonitor initialization inside.

Thanks for the issue @andrew-kuzovov, we'd welcome a pull request if you're interested in speeding up the process. Otherwise, we will look at it once we have some time

This SDK is deprecated and no longer under active development.


Upgrade to rxjs 5.0.0-beta.10

The rxjs changelog from beta.8 to beta.10 claims no breaking changes.
This upgrade includes a workaround for Babel compiling issues, making
it possible to remove our own withAsyncFix workaround.
The rxjs-es package now includes symbol-observable 1.0.1 and I opted to
import ponyfill.js from that included dependency rather than
specifying it again in package.json.
@opsb, I don't know why we have to manually include the symbol-observable ponyfill file on our own, but I confirmed that build still breaks without this. As I recall this required some spelunking on your part that I'm not keen to repeat.
@opsb Could you give this a sanity check?

@mitchlloyd nice to get rid of that withAsyncFix hack! There's an issue at https://github.com/ReactiveX/rxjs/issues/1664 which describes covers the problem with symbol-observable.
LGTM


Disable caching on the TUF root objects.

Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

I think this should fix #166

Did you manually set it on the objects? I see it's off for all metadata.
Is this recursive? Does it also disable caching on the target files?

Unclear from the docs, but I'll assume that -r applies it recursively.

Yeah - I tried this manually first to make sure gcloud alpha storage will work.


Modify the parameter of dependency Check

Hello,
I add in jenkins file this stage:
 stage("Dependency Check") {                     dependencyCheckAnalyzer datadir: 'dependency-check-data', isFailOnErrorDisabled: true, hintsFile: '',                         includeCsvReports: false, includeHtmlReports: false, includeJsonReports: false,                         isAutoupdateDisabled: false, outdir: '', scanpath: '', skipOnScmChange: false,                         skipOnUpstreamChange: false, suppressionFile: '', zipExtensions: ''                     dependencyCheckPublisher canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''                     archiveArtifacts allowEmptyArchive: true, artifacts: '**/dependency-check-report.xml', onlyIfSuccessful: true                 }
Now , when I want add a parameter or modify a parameter , it doesn't work , So how can I modify it, is in the dependencyCheck.properties and how !! help please
thanks :)

It looks like you might be missing some commas?
On Nov 14, 2017 3:54 AM, "ammy19"<EMAIL_ADDRESS>wrote:

Hello,
I add in jenkins file this stage:
stage("Dependency Check") { dependencyCheckAnalyzer datadir:
'dependency-check-data', isFailOnErrorDisabled: true, hintsFile: '',
includeCsvReports: false, includeHtmlReports: false, includeJsonReports:
false, isAutoupdateDisabled: false, outdir: '', scanpath: '',
skipOnScmChange: false, skipOnUpstreamChange: false, suppressionFile: '',
zipExtensions: '' dependencyCheckPublisher canComputeNew: false,
defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''
archiveArtifacts allowEmptyArchive: true, artifacts:
'**/dependency-check-report.xml', onlyIfSuccessful: true }
Now , when I want add a parameter or modify a parameter , it doesn't work
, So how can I modify it, is in the dependencyCheck.properties and how !!
help please
thanks :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeremylong/DependencyCheck/issues/985, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA0qwp1aOJDSYn-lRs-FOr611sYDB5agks5s2VU3gaJpZM4Qc_jl
.

No, I don't think so, I copied the stage from https://issues.jenkins-ci.org/browse/JENKINS-46739

Valid pipeline that I typically use is:
stage("Dependency Check") {
    dependencyCheckAnalyzer datadir: 'dependency-check-data', isFailOnErrorDisabled: true, hintsFile: '', includeCsvReports: false, includeHtmlReports: false, includeJsonReports: false, isAutoupdateDisabled: false, outdir: '', scanpath: '', skipOnScmChange: false, skipOnUpstreamChange: false, suppressionFile: '', zipExtensions: ''

    dependencyCheckPublisher canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''

    archiveArtifacts allowEmptyArchive: true, artifacts: '**/dependency-check-report.xml', onlyIfSuccessful: true
}


Issue for  'SOAP client returned status of 401  add code for u programme

Hello,
well for error 401 and i have the problem i can' t fix it, i have try to update my webserver with the last curl but not working :'(
but i found this code :
 blog.ianty.com/ubuntu/exchange-web-services-ews-ntlmv2-and-linux/

maybe can u add this code working with old curl v0.22 on the do_request code ?

maybe can add a function who detect the curl version and u this code or the nwest ?

what do u thing please ?
thanks to u
Issa

For me, the only way to fix it was to uncomment the following line in the NtlmSoapClient.php file:
curl_setopt($this->ch, CURLOPT_HTTPAUTH, CURLAUTH_NTLM);
After uncommenting that line, all my PHP Fatal error:  Uncaught exception 'PhpEws\Exception\EwsException' with message 'SOAP client returned status of 401' went away.

With the latest version in master, you can override most of the existing cURL options (including CURLOPT_HTTPAUTH) or supply your own by calling setCurlOptions() on the Client.

I had this working before I upgraded to 1.0, so I doubt it's the server settings (see my previous post on this topic). The latest version changed the way I was passing those curl options, and I'm suspecting I have it wrong, although I've tried many iterations. Here's what I have:
$start = '2016-08-22T11:30:00'; $end = '2016-08-22T12:30:00'; $start = new DateTime($start); $end = new DateTime($end); $timezone = 'Eastern Standard Time'; $curl_options = array('CURLOPT_HTTPAUTH' => 'CURLAUTH_NTLM'); // suspect format? $version = Client::VERSION_2010; $client = new Client($host, $username, $password, $version); $client->setCurlOptions($curl_options); $client->setTimezone($timezone);
and this is the error it's throwing:
[Sun Feb 12 20:55:46.526132 2017] [:error] [pid 27751] [client my.private.ip:60771] PHP Fatal error:  Uncaught exception 'Exception' with message 'SOAP client returned status of 401.' in /var/www/html/phpews/php-ews/src/Client.php:1650\nStack trace:\n#0 /var/www/html/phpews/php-ews/src/Client.php(1633): jamesiarmes\\PhpEws\\Client->processResponse(NULL)\n#1 /var/www/html/phpews/php-ews/src/Client.php(1126): jamesiarmes\\PhpEws\\Client->makeRequest('GetUserAvailabi...', Object(jamesiarmes\\PhpEws\\Request\\GetUserAvailabilityRequestType))\n#2 /var/www/html/av-schedule/availability_function3.php(74): jamesiarmes\\PhpEws\\Client->GetUserAvailability(Object(jamesiarmes\\PhpEws\\Request\\GetUserAvailabilityRequestType))\n#3 {main}\n  thrown in /var/www/html/phpews/php-ews/src/Client.php on line 1650
Any help would be greatly appreciated.

CURLOPT_HTTPAUTH should be a constant, not a string.

This seemed to do the job:
$client -> setCurlOptions(array(CURLOPT_HTTPAUTH => true, CURLAUTH_NTLM => true));

The CURLOPT_HTTPAUTH option takes an integer not a boolean value (see http://us1.php.net/manual/en/function.curl-setopt.php). I believe what's happening here is that true is getting casts to an integer which would result in 1 which corresponds to CURLAUTH_BASIC. If that is working for you, I would suggest using CURLAUTH_BASIC instead.