Add documentation in Asciidoc

Fixes #26
This PR adds initial version of the Asciidoc documentation for vaadin-date-picker. The component is in early alpha stage, so there is not much to document at this point.

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 11 unresolved discussions, some commit checks failed.

docs/vaadin-date-picker-overview.adoc, line 10 [r1] (raw file):

Looks like we need a style name for element names, as well as property names. Perhaps I should add them ASAP, so you could start using markup such as [elementname]#vaadin-date-picker# already.
Add a comma before "which". I'm not sure if the clause is restrictive or not, so that it should use "that" instead. I'd think not.

docs/vaadin-date-picker-overview.adoc, line 11 [r1] (raw file):

The user
correct -> a
making a selection -> select a date
mouse -> the mouse
a touch device
Not sure if it's really relevant to state that it's possible to select something both with the mouse and a touch device, as then you'd need to mention that with every feature and it's sort of obvious. Maybe better leave the "with the mouse or a touch device" entirely out.

docs/vaadin-date-picker-overview.adoc, line 12 [r1] (raw file):

"When a date is selected, ..."
also
a clear icon -> a button
after -> on the right side of

docs/vaadin-date-picker-overview.adoc, line 14 [r1] (raw file):

The current alpha version
Change ", but f" to a new sentence.
like -> such as (more formal and there's also a slight difference in use)

docs/vaadin-date-picker-value.adoc, line 8 [r1] (raw file):
The value isn't really "handled", but rather changes in the value or user input. In this context, value changes are "date picks" or selection, so maybe talk about that. "Handling Date Selection".

docs/vaadin-date-picker-value.adoc, line 10 [r1] (raw file):

The user
Also here, it's rather obvious or irrelevant that the user uses the mouse or a touch device. Maybe rather say: "The user can select a date by clicking or tapping on it."

docs/vaadin-date-picker-value.adoc, line 11 [r1] (raw file):

Maybe: "Use of keyboard for navigation or for entering the date..."

docs/vaadin-date-picker-value.adoc, line 13 [r1] (raw file):

Use [classname]#Date# and [classname]#String# for such objects.

docs/vaadin-date-picker-value.adoc, line 14 [r1] (raw file):

We really need the [propertyname]#value# style name... Coming soon – maybe it's best if you start using it already.
I'd repeat the by proposition in the disjunction (or), as the verbs "assign" and "using" refer to different objects.

docs/vaadin-date-picker-value.adoc, line 15 [r1] (raw file):
Same here, use classnamestyle.

docs/vaadin-date-picker-value.adoc, line 22 [r1] (raw file):
Hmm, what kind of thing would the value-changed listener be... Is it a property or method or what... (To set the style name.)

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 11 unresolved discussions.

docs/vaadin-date-picker-overview.adoc, line 10 [r1] (raw file):
Added the comma. Can't say if "that" would be better than "which". Maybe "...field with a scrollable..."?

docs/vaadin-date-picker-overview.adoc, line 11 [r1] (raw file):
Done.

docs/vaadin-date-picker-overview.adoc, line 12 [r1] (raw file):
Done.

docs/vaadin-date-picker-overview.adoc, line 14 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 8 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 10 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 11 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 13 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 14 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 15 [r1] (raw file):
Done.

docs/vaadin-date-picker-value.adoc, line 22 [r1] (raw file):
Hmm....good question. Its "a string representing the event type" so I guess [eventtype]...or [eventname]?

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 1 unresolved discussion.

docs/vaadin-date-picker-overview.adoc, line 10 [r1] (raw file):
"...field with a scrollable..." would indeed be better.

Comments from the review on Reviewable.io

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from the review on Reviewable.io

docs/vaadin-date-picker-overview.adoc, line 10 [r1] (raw file):
Done.

Comments from the review on Reviewable.io

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

Comments from the review on Reviewable.io


Add ts package for metadata format

Need to track the latest metadata format.

It seem that ink! has updated the metadata format, we need to check it.


Should fetch_fsaverage() return a Path?

Currently, mne.datasets.fetch_fsaverage() returns a string, while all datasets.*.data_path() functions return a Path. I find this inconsistent, esp. in tutorials, where we'd want to use both, fetch_fsaverage() and data_path(), within a few lines.
Thoughts?

I'm always for improving consistency, so if that's what other functions are doing I'm 👍. In addition, it might be worth looking a bit into the mne.datasets package, because to me it seems to be a bit confusing since there are many functions with possibly overlapping functionality and/or naming:

mne.datasets.fetch_dataset(): Is this supposed to be the wrapper for downloading each and every dataset?
If that's the case, why is there are separate mne.datasets.fetch_fsaverage()?
What about the various mne.datasets.XXX.data_path() functions? They also fetch datasets if they are not available, right?
Then there is mne.datasets.eegbci.load_data() and mne.datasets.limo.load_data() – why not .data_path()?

Maybe there are more inconsistencies or things needing clarification, but that's all I could find for now. Thoughts?

Then there is mne.datasets.eegbci.load_data() and mne.datasets.limo.load_data() – why not .data_path()?

I think these quite literally load some data, but I'm not exactly sure

I think these quite literally load some data, but I'm not exactly sure

Yes, but it just returns the path like all the other .data_path() methods. From the docs: "Get paths to local copies of EEGBCI dataset files. This will fetch data for the EEGBCI dataset, which is also available at PhysioNet."

Some datasets have the option of only downloading certain participants or runs. IIRC those are the ones with "load_data" funcs. Anything where we always download the entire dataset (e.g. because it's stored as a monolithic tar file) gets a "data_path" instead

i'd suggest that for now, let's limit the scope of this issue to fetch_fsaverage() please.

Argh must have missed it in #10348. +1 for changing, but for backward compat we should probably do what we did there which was make use of specialized Path subclasses to allow people to keep doing + for one release:
https://github.com/mne-tools/mne-python/pull/10348/files#diff-a176c176c64bba7aedc67f81f2ab701041ac293e7c1f6305f8a49e536cf97f1dR529
@hoechenberger are you up for doing this? Would be good to get it into 1.8

@larsoner I don't think I'll have time to tackle this within the next 2 weeks, sorry!

Okay I'm on it then


[DOCS] Fix unreachable links in the document

What changes were proposed in this pull request?
Recently, I found two unreachable links in the document and fixed them.
Because of small changes related to the document, I don't file this issue in JIRA but please suggest I should do it if you think it's needed.
How was this patch tested?
Tested manually.

Test build #81646 has started for PR 19195 at commit 99a4394.

Test build #81646 has finished for PR 19195 at commit 99a4394.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/81646/
Test PASSed.

LGTM

Test build #81680 has started for PR 19195 at commit bec41c8.

Merged to master/2.2, and now that I look again here, realize the last tests technically didn't pass. As it's a doc change only that passed before, I can't see it will fail, but iwll keep an eye out. Oops.

Test build #81680 has finished for PR 19195 at commit bec41c8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/81680/
Test PASSed.


VanFlow updates

Codecov Report

Merging #592 (d086019) into main (207cb78) will decrease coverage by 0.03%.
The diff coverage is 4.54%.

@@            Coverage Diff             @@
##             main     #592      +/-   ##
==========================================
- Coverage   25.04%   25.00%   -0.04%
==========================================
  Files         117      117
  Lines       28922    28954      +32
  Branches     4685     4688       +3
==========================================
- Hits         7243     7240       -3
- Misses      20709    20743      +34
- Partials      970      971       +1

Flag
Coverage Δ

unittests
25.00% <4.54%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/adaptors/tcp_adaptor.c
2.25% <0.00%> (-0.02%)
:arrow_down:

src/dispatch.c
60.21% <ø> (-0.43%)
:arrow_down:

src/protocol_log.c
31.26% <5.00%> (-1.72%)
: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 207cb78...d086019. Read the comment docs.


Riak CS appliance

In regards to this issue, is there a way we could consider adding the docker-riak-cs container as a "built-in datastore".
The idea would be to allow someone to one-click add the container to an app, then flynn mounts the necessary keys (AWS_SECRET, AWS_ID), and allows for bucket creation from an ENV variable on the container itself.
This would remove the external S3 dependency for projects while still allowing S3 storage for usage within the Flynn cluster itself for those who need it.
The recommended setup is a multi-node production version while there is a single node testing version

@WriteCodeEveryday I don't think docker-riak-cs will be made a built-in appliance because Flynn already has the built-in blobstore with pluggable backends (which now has a minio backend too). A Riak CS backend could make sense though.
There is of course no reason you can't just deploy docker-riak-cs as a normal app.

I was really referring to putting in right next to Redis on the "Provision Database" menu?
The idea being you could spin up an S3 equivalent within Flynn itself (and put the ENV variables within the app like a miniature S3 for testing)

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


What driver is usable with this plugin ?

The bug
I try to connect 2 board:
1-Arduino UNO : connect TRUE
2-FlightControler for drone (STM32F) : connect FALSE
The developper of firmwear of FC say :

There are basically two classes of USB devices used by all FCs:
Type 1. Using a Silabs CP2103 USB interface chip.
1.1 Needs the Silabs CP210x driver. Used in both BootLoader mode for flashing and normal config mode. Shows up as a "COMx" device in BFC.
http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

Type 2. Using the MCU integrated STM32 VCP USB interface.
2.1 Needs WinUSB driver when in BootLoader mode, for flashing. Installed by Zadig or ImpulseRC DF. Shows up as a "DFU" device in BFC.
2.2 Needs STM VCP driver for connection and configuration with BFC Shows up as a "COMx" device in BFC.

What driver is usable with this plugin ?
Thanks

Hello,
Did you check this part of the documentation: https://github.com/xseignard/cordovarduino/blob/master/README.md#your-device-is-not-yet-known ?
CP210x should be ok, not sure about the STM32 USB interface.
Regards

?

Thanks for the link i see, i try to set uid but not working,
Impossible to find driver cordova plugin for stm32.
Le sam. 1 déc. 2018 à 15:55, Xavier Seignard<EMAIL_ADDRESS>a
écrit :

?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xseignard/cordovarduino/issues/109#issuecomment-443431869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABaEeX_8Qs8fu34lyy5QonMTToTDqvvyks5u0phIgaJpZM4Yxiir
.


Uncaught error - Awesomplete is undefined error - does not work in Google Chrome

Hi,
I tried it with latest release as well as checked following 3 solutions:
autocomplete = off, autocomplete = false and instead of new Awesomplete(input), JS file has new _(input)
Is there any workaround or solution to this for chrome browser?
Best,
Bhargav

@vlazar @LeaVerou Looking forward to hear from you!


GH-5149 Lucene numdocs param

GitHub issue resolved: #5149
Briefly describe the changes proposed in this PR:
I added a virtual property to specify the maximum amount of results the user wants in a LuceneSail search.
For example, with the example in rdf4j.org it gives something like that:
PREFIX search: <http://www.openrdf.org/contrib/lucenesail#>

?subj search:matches [
	      search:query "search terms...";
	      search:numDocs 200 ] .

At the same time, I added the sail parameter maxQueryDocuments to set the maximum amount of documents the user can query. By default, it takes the value of maxDocuments to keep a backward compatibility.
LuceneSail lc = new LuceneSail();
lc.setParameter(LuceneSail.MAX_QUERY_DOCUMENTS_KEY, "200");

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[x] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

This looks very good. Thanks for the tests!
I've added some comments. In particular I'm a bit unsure about the introduction of a second max config option.


feat: search.liquid over all collections

Thank you @george-gca for the awesome work. on #2415.
This PR generalizes the search on all collections. Currently, only projects are added to the search.
This PR uses all of them, such as news. On my personal website, I use a teaching collection which is then also automatically searched.

Good catch :-)


2022 Recap Blog

Signed-off-by: David Tippett<EMAIL_ADDRESS>Description
This is a short recap of 2022 and a looking ahead to 2023 blog.
Issues Resolved
Fixes #1262
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@pajuric  @jhmcintyre could you all look over my keywords/meta description. I think there may be some better ones to include but am not sure what.

Content is finalized and ready to publish.


Envisalink components no longer update after PR #6127

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
Latest Dev
Python release (python3 --version):
3.5
Component/platform:
Envisalink
Description of problem:
Components no longer update after the update calls were changed from:
self.hass.async_add_job(self.update_ha_state)

to
self.hass.schedule_update_ha_state()

Expected:
Components update.
Traceback (if applicable):
No errors are thrown in the log.
Additional info:
The envisalink library is async and latches onto the hass loop to perform it's functions.  Not sure if this is the source of the issue or not as I'm not very famililar with async.

I fix it


Update pom + docs to compile on JDK 9 and newer.

Many users have JDK 9, 10 and 11 installed, and the current POM fails under the newer platform versions. This change fixes that.

All exercises compile and run under JDK 10.

Thanks Nahuel!


Option to rename all processed attachments

Currently the renaming functionality can only be used if filenameFrom is specified. However this limits what attachment file names can possibly be renamed. Instead, this pull would, in the case that filenameFrom was omitted but filenameTo was specified, make the program rename all attachments in the same way it currently does.

Thanks for your contribution - I have just merged your pull request!


[BUG] - Actor reminders not triggered after restore of backup

Restored reminders are never called after a successful disaster recovery partition restore.
The backup was taken from an Azure cluster and restored in a local cluster by matching the partitionIds based on the low and high key. The backup was restored correctly, I could see all the actors with the expected state and I could even fetch the reminders state using the GetReminder method. However the reminders were never triggered, the ReceiveReminderAsync was never called, while the due was not passed at the moment of restore.
Area/Component:
Actors, BackupRestoreService
To Reproduce

Register a reminder
Backup partition
Remove application
Register application
Restore partition backup by matching low and high key
Wait for the reminder.

I didn't use a backup policy for the restore. I passed the backup location etc as arguments to the restore call.
Expected behavior
The reminder should be triggered after an successful restore.
Service Fabric Runtime Version:
8.2.1363.9590
Environment:

Azure cluster
Local development cluster

Questions:

What is the expected behavior of reminders with a past due that are restore? Should the reminder still be called?
Maybe this is related to: https://github.com/microsoft/service-fabric/issues/1078

Assignees: /cc @microsoft/service-fabric-triage

@ThiemeNL - Once the partition recovers from the data loss state, primary change role is invoked on the replica which invokes RunAsync. RunAsync loads the reminders from state store and arms them. I have verified by creating a sample to double confirm and I could see that the reminders are rearmed as expected after recovering from dataloss.
Did you override RunAsync in your extended ActorService implementation? If not, could you please share the same app with us?


add handshake::connect function

I added a connect function to make it easy to connect.

oh no
xchuang233
@.***
---Original---
From: "Divy @.>
Date: Mon, Dec 18, 2023 14:42 PM
To: @.>;
Cc: @.>;"State @.>;
Subject: Re: [denoland/fastwebsockets] add handshake::connect function (PR#61)
@littledivy commented on this pull request.
Thanks for the PR but I've decided not to add a connect function because of the customizations we need to support. fastwebsocket::handshake is intended to be a low-level API to build a connector on top of.
Moreover, I do not want to add tokio-rustls and webpki-roots as dependencies.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

Closing due to the reasons stated above.


How to use CUDA

I want use cuda.  help me...
★ My environment

CUDA 11.8
onnxruntime-gpu 1.15.1

but /nn/onnx_model_base.cpp   line 46
sessionOptions.AppendExecutionProvider_CUDA(cudaOption);     shutdown program... not exist log... 😪

Hi! I haven't added some additional code for GPU usage yet but I'll do it sometime later, so don't worry
also using cuda requires having another package with "gpu" part in its name:
onnxruntime-win-x64-gpu-1.16.1.zip

oh i solved this problem!

in this page "https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html"
check out "Requirements"
my Environment CUDA 11.8   ->onnxruntime 1.15

download onnxruntime!  this page "https://github.com/microsoft/onnxruntime/releases"

thank you


[BUG] bloxstrap wont show region and unable to connect ipinfo.io (Error 429)

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.2
What problem did you encounter?
not showing server location querying
Bloxstrap Log
N/A

this is the problem i encounter

you have been ratelimited. there is nothing we can do.

I work for IPinfo. We support up to 1,000 requests per day from each unique IP address. Are you using a VPN?

im not using vpn rn

Hmm, interesting issue. This could be a configuration issue. We refresh the rate limit count every day. Try again and see if it works.


html editor cant beautify some code

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T16:21:53.542Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions: danwahlin.angular2-snippets-0.10.4, robertohuertasm.vscode-icons-2.0.5

Steps to Reproduce:
1.write to code below to an html file and beautify it by ctrl k + ctrl d

Hour
00
2.you will see that vscode doesnt indent option rows

'select' is on the list of tags that should not be formatted (as a change can impact the rendered html).
See setting "html.format.unformatted" for the list and remove select there if you know what you do.


fix(JobCard): Missing companyLogoUrl proptypes

Fix missing companyLogoUrl proptypes on JobCard

Is that mean that the "companyLogoUrl" is deprecated?

The code that cause the issue is here.
https://github.com/seekinternational/seek-asia-style-guide/blob/master/react/JobCard/JobCard.js#L102


Inconsitent results between table 2 and fig 9

Dear authors
Thank you for the nice paper and dataset. I have some question regarding the results
Result on table 2 and fig 9 are inconsistent:
for instance, for chat-gpt:

restaurant get 32.8 (table 2) and 33.8 (fig 9)
Movie get 5.3 (table 2) and 6.3 (fig 9)

it look like there is a score difference of exactly 1 every time. Could you please clarify that ?

Thank you for bringing this discrepancy to our attention. Upon revisiting our code, we found an error in our plotting script of Fig. 9, where the ax.text command was mistakenly using x+1 for the value instead of the correct value x. We will make the necessary corrections in our next preprint version.


[wait for #268] Add print for tensor

Changes proposed in this PR:

Add layer print and override '<<' for ofstream

See also: #270
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #282. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnsuite.mooo.com/nntrainer/ci/repo-workers/pr-checker/282-202007081809240.77464008331299-2ed7791e9652f73b8ed07af2de21f7473028cf02/.

PR itself is fine though, I'll make a test and remove DO NOT MERGE

I'll close this PR and rework. I need to some restructuring.


Readme.md doesn't include examples for other input types

I think the title says it all.
How do i use this with checkbox, radio, textarea?

This is a very valid criticism of the README. Thank you for bringing it up.
But until I can get around to remedying it, checkout SurveyForm.js (demo running here).

Thank you :+1: That's useful, I'm new to react so it's hard to figure out how to do it without examples!

Better examples now, with v3.


is opendistro security works for data forwarders?

Does Open Distro support authentication for data forwarders (Logstash, FluentBit) using TLS or something else?

Yes, Open Distro support authentication for data forwaders.
Like for Logstash
logtsash user needs to be configured in the elasticsearch output section of logstash.conf
output {
    elasticsearch {
       user => logstash
       password => logstash
       ssl: true,
    }
}

setting ssl to true ensures that logstash uses HTTPS.
Optionally, you can also configure logstash to verify the hostname of the certificate it receives from Elasticsearch. You need to set the ssl_certificate_verification property to true and configure cacert parameter with absolute path to root CA.
Open Distro demo configuration already contain a logstash user with all required permissions. This user is configured in the internal user database.

Could you please provide example of configuration for FluentBit?


Antonio mirarchi npz pr

@AntonioMirarchi look at the tests. They don't pass because you have not converted the numpy arrays to torch arrays after loading

It's weird because I can run it. The conversions from numpy to tensor are in npzMol.py, anyway I will check it. Did you set arg.coords and arg.topology as null? Can you share the configuration file that you used?

Check the tests folder. Here it's just executing the tests.


Create Ui for user to interact with

In this branch we:

Created an app.rb file that does:
List all books.
List all people.
Create a person (teacher or student, not a plain Person).
Create a book.
Create a rental.
List all rentals for a given person's id.
Created main.rb define the entry point, this will be a method called main that is invoked at the end of your file. This method does the following:
Present the user with a list of options to perform.
Lets users choose an option.
If needed, ask for parameters for the option.
Have a way to quit the app.

@bimbolabuari I have fixed List all rentals for a given person issue and pushed it

@AhmedMohsen600, nice job 👍
You will get approved manually no worries 🙂


Spacer and Avatar components

Refactored Avatar to use styled-system, including custom props size and color. I set a "default" option for both these props (with empty styling) so the oneOfType proptype would make sense.
Built Spacer component to provide functionality for child spacing without rendering a wrapper element.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 14

Clones removed
==============
+ packages/orcs-design-system/lib/components/Avatar/index.js  -3

See the complete overview on Codacy


Windows10 VM Create fails : ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Package Name: msrestazure
Package Version: 0.6.4
Package Name: azure-common
Package Version: 1.1.28
Package Name: azure-mgmt-resource
Package Version: 22.0.0
Package Name: azure-mgmt-compute
Package Version: 29.1.0
Package Name: azure-mgmt-network
Package Version: 22.2.0
Package Name: azure-identity
Package Version: 1.12.0
Operating System: Linux
Python Version: 3.8
Describe the bug
We have E2E Tests run via Jenkins - during tests process we create windows10 Vm Machines via Azure SDK, and tests our applications on created windows10 Vms.
During last week we have issue with creating new Windows VM via azure sdk-
during VM creating process we got following errors:
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

this error not stable - so if we try to rerun the creation process it can success in 2nd or 3rd retry.

please advice?

Thank you for the feedback @dimag25 . We will investigate and get back to you asap.

Is the error reported by service server? Could you share more log info?

@msyyc error reported by Jenkins console log.
here is the full error log:
==================================== ERRORS ====================================
_____________ ERROR at setup of test_silent_install_latest_stable ______________
[gw1] linux -- Python 3.8.16 /usr/bin/python3

self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f4321864190>
method = 'GET', url = '/jsonip', body = None
headers = {'User-Agent': 'python-requests/2.28.2', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'}
retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
redirect = False, assert_same_host = False
timeout = Timeout(connect=60, read=60, total=None), pool_timeout = None
release_conn = False, chunked = False, body_pos = None
response_kw = {'decode_content': False, 'preload_content': False}, conn = None
release_this_conn = True, err = None, clean_exit = False
timeout_obj = Timeout(connect=60, read=60, total=None)
is_new_proxy_conn = False

    def urlopen(
        self,
        method,
        url,
        body=None,
        headers=None,
        retries=None,
        redirect=True,
        assert_same_host=True,
        timeout=_Default,
        pool_timeout=None,
        release_conn=None,
        chunked=False,
        body_pos=None,
        **response_kw
    ):
        """
        Get a connection from the pool and perform an HTTP request. This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method provided
           by :class:`.RequestMethods`, such as :meth:`request`.

        .. note::

           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param body:
            Data to send in the request body (useful for creating
            POST requests, see HTTPConnectionPool.post_url for
            more convenience).

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When False, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of
            ``response_kw.get('preload_content', True)``.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.

        :param \\**response_kw:
            Additional parameters are passed to
            :meth:`urllib3.response.HTTPResponse.from_httplib`
        """
        if headers is None:
            headers = self.headers

        if not isinstance(retries, Retry):
            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)

        if release_conn is None:
            release_conn = response_kw.get("preload_content", True)

        # Check host
        if assert_same_host and not self.is_same_host(url):
            raise HostChangedError(self, url, retries)

        # Ensure that the URL we're connecting to is properly encoded
        if url.startswith("/"):
            url = six.ensure_str(_encode_target(url))
        else:
            url = six.ensure_str(parse_url(url).url)

        conn = None

        # Track whether `conn` needs to be released before
        # returning/raising/recursing. Update this variable if necessary, and
        # leave `release_conn` constant throughout the function. That way, if
        # the function recurses, the original value of `release_conn` will be
        # passed down into the recursive call, and its value will be respected.
        #
        # See issue #651 [1] for details.
        #
        # [1] <https://github.com/urllib3/urllib3/issues/651>
        release_this_conn = release_conn

        # Merge the proxy headers. Only do this in HTTP. We have to copy the
        # headers dict so we can safely change it without those changes being
        # reflected in anyone else's copy.
        if self.scheme == "http":
            headers = headers.copy()
            headers.update(self.proxy_headers)

        # Must keep the exception bound to a separate variable or else Python 3
        # complains about UnboundLocalError.
        err = None

        # Keep track of whether we cleanly exited the except block. This
        # ensures we do proper cleanup in finally.
        clean_exit = False

        # Rewind body position, if needed.  This can be a
            float or integer, which will set the same timeout value for
            the socket connect and the socket read, or an instance of
            :class:`urllib3.util.Timeout`, which gives you more fine-grained
            control over your timeouts.
        """
        self.num_requests += 1

        timeout_obj = self._get_timeout(timeout)
        timeout_obj.start_connect()
        conn.timeout = timeout_obj.connect_timeout

        # Trigger any extra validation we need to do.
        try:
            self._validate_conn(conn)
        except (SocketTimeout, BaseSSLError) as e:
            # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
            self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
            raise

        # conn.request() calls httplib.*.request, not the method in
        # urllib3.request. It also calls makefile (recv) on the socket.
        if chunked:
            conn.request_chunked(method, url, **httplib_request_kw)
        else:
            conn.request(method, url, **httplib_request_kw)

        # Reset the timeout for the recv() on the socket
        read_timeout = timeout_obj.read_timeout

        # App Engine doesn't have a sock attr
        if getattr(conn, "sock", None):
            # In Python 3 socket.py will catch EAGAIN and return None when you
            # try and read into the file pointer created by http.client, which
            # instead raises a BadStatusLine exception. Instead of catching
            # the exception and assuming all BadStatusLine exceptions are read
            # timeouts, check for a zero timeout before making the request.
            if read_timeout == 0:
                raise ReadTimeoutError(
                    self, url, "Read timed out. (read timeout=%s)" % read_timeout
                )
            if read_timeout is Timeout.DEFAULT_TIMEOUT:
                conn.sock.settimeout(socket.getdefaulttimeout())
            else:  # None or a value
                conn.sock.settimeout(read_timeout)

        # Receive the response from the server
        try:
            try:
                # Python 2.7, use buffering of HTTP responses
                httplib_response = conn.getresponse(buffering=True)
            except TypeError:
                # Python 3
                try:
                    httplib_response = conn.getresponse()
                except BaseException as e:
                    # Remove the TypeError from the exception chain in
                    # Python 3 (including for exceptions like SystemExit).
                     This can be a
            float or integer, which will set the same timeout value for
            the socket connect and the socket read, or an instance of
            :class:`urllib3.util.Timeout`, which gives you more fine-grained
            control over your timeouts.
        """
        self.num_requests += 1

        timeout_obj = self._get_timeout(timeout)
        timeout_obj.start_connect()
        conn.timeout = timeout_obj.connect_timeout

        # Trigger any extra validation we need to do.
        try:
            self._validate_conn(conn)
        except (SocketTimeout, BaseSSLError) as e:
            # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
            self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
            raise

        # conn.request() calls httplib.*.request, not the method in
        # urllib3.request. It also calls makefile (recv) on the socket.
        if chunked:
            conn.request_chunked(method, url, **httplib_request_kw)
        else:
            conn.request(method, url, **httplib_request_kw)

        # Reset the timeout for the recv() on the socket
        read_timeout = timeout_obj.read_timeout

        # App Engine doesn't have a sock attr
        if getattr(conn, "sock", None):
            # In Python 3 socket.py will catch EAGAIN and return None when you
            # try and read into the file pointer created by http.client, which
            # instead raises a BadStatusLine exception.

        If the HTTPConnection is in the correct state, returns an
        instance of HTTPResponse or of whatever object is returned by
        the response_class variable.

        If a request has not been sent or if a previous response has
        not be handled, ResponseNotReady is raised.  If the HTTP
        response indicates that the connection should be closed, then
        it will be closed before the response is returned.   Returns Response object.

        :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
        :param stream: (optional) Whether to stream the request content.
        :param timeout: (optional) How long to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple or urllib3 Timeout object
        :param verify: (optional) Either a boolean, in which case it controls whether
            we verify the server's TLS certificate, or a string, in which case it
            must be a path to a CA bundle to use
        :param cert: (optional) Any user-provided SSL certificate to be trusted.
        :param proxies: (optional) The proxies dictionary to apply to the request.
        :rtype: requests.Response
        """

        try:
            conn = self.get_connection(request.url, proxies)
        except LocationValueError as e:
            raise InvalidURL(e, request=request)

        self.cert_verify(conn, request.url, verify, cert)
        url = self.request_url(request, proxies)
        self.add_headers(
            request,
            stream=stream,
            timeout=timeout,
            verify=verify,
            cert=cert,
            proxies=proxies,
        )

        chunked = not (request.body is None or "Content-Length" in request.headers)

        if isinstance(timeout, tuple):
            try:
                connect, read = timeout
                timeout = TimeoutSauce(connect=connect, read=read)
            except ValueError:
                raise ValueError(
                    f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                    f"or a single float to set both timeouts to the same value."
                 This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method provided
           by :class:`.RequestMethods`, such as :meth:`request`.

        .. note::

           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param body:
            Data to send in the request body (useful for creating
            POST requests, see HTTPConnectionPool.post_url for
            more convenience).

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When False, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of
            ``response_kw.get('preload_content', True)``.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.

        :param \\**response_kw:
            Additional parameters are passed to
            :meth:`urllib3.response.HTTPResponse.from_httplib`
        """
        if headers is None:
            headers = self.headers

        if not isinstance(retries, Retry):
            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)

        if release_conn is None:
            release_conn = response_kw.get("preload_content", True)

        # Check host
        if assert_same_host and not self.is_same_host(url):
            raise HostChangedError(self, url, retries)

        # Ensure that the URL we're connecting to is properly encoded
        if url.startswith("/"):
            url = six.ensure_str(_encode_target(url))
        else:
            url = six.ensure_str(parse_url(url).url)

        conn = None

        # Track whether `conn` needs to be released before
        # returning/raising/recursing. Update this variable if necessary, and
        # leave `release_conn` constant throughout the function. That way, if
        # the function recurses, the original value of `release_conn` will be
        # passed down into the recursive call, and its value will be respected.
        #
        # See issue #651 [1] for details.
        #
        # [1] <https://github.com/urllib3/urllib3/issues/651>
        release_this_conn = release_conn

        # Merge the proxy headers. Only do this in HTTP. We have to copy the
        # headers dict so we can safely change it without those changes being
        # reflected in anyone else's copy.
        if self.scheme == "http":
            headers = headers.copy()
            headers.update(self.proxy_headers)

        # Must keep the exception bound to a separate variable or else Python 3
        # complains about UnboundLocalError.
        err = None

        # Keep track of whether we cleanly exited the except block. This
        # ensures we do proper cleanup in finally.
        clean_exit = False

        # Rewind body position, if needed. Record current position
        # for future rewinds in the event of a redirect/retry.
        body_pos = set_file_position(body, body_pos)

        try:
            # Request a connection from the queue.
            timeout_obj = self._get_timeout(timeout)
            conn = self._get_conn(timeout=pool_timeout)

            conn.timeout = timeout_obj.connect_timeout

            is_new_proxy_conn = self.proxy is not None and not getattr(
                conn, "sock", None
            )
            if is_new_proxy_conn:
                self._prepare_proxy(conn)

            # Make the request on the httplib connection object.
            httplib_response = self._make_request(
                conn,
                method,
                url,
                timeout=timeout_obj,
                body=body,
                headers=headers,
                chunked=chunked,
            )

            # If we're going to release the connection in ``finally:``, then
            # the response doesn't need to know about the connection. Otherwise
            # it will also try to release it and we'll have a double-release
            # mess.
            response_conn = conn if not release_conn else None

            # Pass method to Response for length checking
            response_kw["request_method"] = method

            # Import httplib's response into our own wrapper object
            response = self.ResponseCls.from_httplib(
                httplib_response,
                pool=self,
                connection=response_conn,
                retries=retries,
                **response_kw
            )

            # Everything went great!
            clean_exit = True

        except EmptyPoolError:
            # Didn't get a connection from the pool, no need to clean up
            clean_exit = True
            release_this_conn = False
            raise

        except (
            TimeoutError,
            HTTPException,
            SocketError,
            ProtocolError,
            BaseSSLError,
            SSLError,
            CertificateError,
        ) as e:
            # Discard the connection for these exceptions.  This is the
        lowest level call for making a request, so you'll need to specify all
        the raw details.

        .. note::

           More commonly, it's appropriate to use a convenience method provided
           by :class:`.RequestMethods`, such as :meth:`request`.

        .. note::

           `release_conn` will only behave as expected if
           `preload_content=False` because we want to make
           `preload_content=False` the default behaviour someday soon without
           breaking backwards compatibility.

        :param method:
            HTTP request method (such as GET, POST, PUT, etc.)

        :param body:
            Data to send in the request body (useful for creating
            POST requests, see HTTPConnectionPool.post_url for
            more convenience).

        :param headers:
            Dictionary of custom headers to send, such as User-Agent,
            If-None-Match, etc. If None, pool headers are used. If provided,
            these headers completely replace any pool-specific headers.

        :param retries:
            Configure the number of retries to allow before raising a
            :class:`~urllib3.exceptions.MaxRetryError` exception.

            Pass ``None`` to retry until you receive a response. Pass a
            :class:`~urllib3.util.retry.Retry` object for fine-grained control
            over different types of retries.
            Pass an integer number to retry connection errors that many times,
            but no other types of errors. Pass zero to never retry.

            If ``False``, then retries are disabled and any exception is raised
            immediately. Also, instead of raising a MaxRetryError on redirects,
            the redirect response will be returned.

        :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

        :param redirect:
            If True, automatically handle redirects (status codes 301, 302,
            303, 307, 308). Each redirect counts as a retry. Disabling retries
            will disable redirect, too.

        :param assert_same_host:
            If ``True``, will make sure that the host of the pool requests is
            consistent else will raise HostChangedError. When False, you can
            use the pool on an HTTP proxy and request foreign hosts.

        :param timeout:
            If specified, overrides the default timeout for this one
            request. It may be a float (in seconds) or an instance of
            :class:`urllib3.util.Timeout`.

        :param pool_timeout:
            If set and the pool is set to block=True, then this method will
            block for ``pool_timeout`` seconds and raise EmptyPoolError if no
            connection is available within the time period.

        :param release_conn:
            If False, then the urlopen call will not release the connection
            back into the pool once a response is received (but will release if
            you read the entire contents of the response such as when
            `preload_content=True`). This is useful if you're not preloading
            the response's content immediately. You will need to call
            ``r.release_conn()`` on the response ``r`` to return the connection
            back into the pool. If None, it takes the value of
            ``response_kw.get('preload_content', True)``.

        :param chunked:
            If True, urllib3 will send the body using chunked transfer
            encoding. Otherwise, urllib3 will send the body using the standard
            content-length form. Defaults to False.

        :param int body_pos:
            Position to seek to in file-like body in the event of a retry or
            redirect. Typically this won't need to be set because urllib3 will
            auto-populate the value when needed.

        :param \\**response_kw:
            Additional parameters are passed to
            :meth:`urllib3.response.HTTPResponse.from_httplib`
        """
        if headers is None:
            headers = self.headers

        if not isinstance(retries, Retry):
            retries = Retry.from_int(retries, redirect=redirect, default=self.retries)

        if release_conn is None:
            release_conn = response_kw.get("preload_content", True)

        # Check host
        if assert_same_host and not self.is_same_host(url):
            raise HostChangedError(self, url, retries)

        # Ensure that the URL we're connecting to is properly encoded
        if url.startswith("/"):
            url = six.ensure_str(_encode_target(url))
        else:
            url = six.ensure_str(parse_url(url).url)

        conn = None

        # Track whether `conn` needs to be released before
        # returning/raising/recursing. Update this variable if necessary, and
        # leave `release_conn` constant throughout the function. That way, if
        # the function recurses, the original value of `release_conn` will be
        # passed down into the recursive call, and its value will be respected.
        #
        # See issue #651 [1] for details.
        #
        # [1] <https://github.com/urllib3/urllib3/issues/651>
        release_this_conn = release_conn

        # Merge the proxy headers. Only do this in HTTP. We have to copy the
        # headers dict so we can safely change it without those changes being
        # reflected in anyone else's copy.
        if self.scheme == "http":
            headers = headers.copy()
            headers.update(self.proxy_headers)

        # Must keep the exception bound to a separate variable or else Python 3
        # complains about UnboundLocalError.
        err = None

        # Keep track of whether we cleanly exited the except block. This
        # ensures we do proper cleanup in finally.
        clean_exit = False

        # Rewind body position, if needed.  This can be a
            float or integer, which will set the same timeout value for
            the socket connect and the socket read, or an instance of
            :class:`urllib3.util.Timeout`, which gives you more fine-grained
            control over your timeouts.
        """
        self.num_requests += 1

        timeout_obj = self._get_timeout(timeout)
        timeout_obj.start_connect()
        conn.timeout = timeout_obj.connect_timeout

        # Trigger any extra validation we need to do.
        try:
            self._validate_conn(conn)
        except (SocketTimeout, BaseSSLError) as e:
            # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
            self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
            raise

        # conn.request() calls httplib.*.request, not the method in
        # urllib3.request. It also calls makefile (recv) on the socket.
        if chunked:
            conn.request_chunked(method, url, **httplib_request_kw)
        else:
            conn.request(method, url, **httplib_request_kw)

        # Reset the timeout for the recv() on the socket
        read_timeout = timeout_obj.read_timeout

        # App Engine doesn't have a sock attr
        if getattr(conn, "sock", None):
            # In Python 3 socket.py will catch EAGAIN and return None when you
            # try and read into the file pointer created by http.client, which
            # instead raises a BadStatusLine exception. Instead of catching
            # the exception and assuming all BadStatusLine exceptions are read
            # timeouts, check for a zero timeout before making the request.
            if read_timeout == 0:
                raise ReadTimeoutError(
                    self, url, "Read timed out. (read timeout=%s)" % read_timeout
                )
            if read_timeout is Timeout.DEFAULT_TIMEOUT:
                conn.sock.settimeout(socket.getdefaulttimeout())
            else:  # None or a value
                conn.sock.settimeout(read_timeout)

        # Receive the response from the server
        try:
            try:
                # Python 2.7, use buffering of HTTP responses
                httplib_response = conn.getresponse(buffering=True)
            except TypeError:
                # Python 3
                try:
                    httplib_response = conn.getresponse()
                except BaseException as e:
                    # Remove the TypeError from the exception chain in
                    # Python 3 (including for exceptions like SystemExit).
                     This can be a
            float or integer, which will set the same timeout value for
            the socket connect and the socket read, or an instance of
            :class:`urllib3.util.Timeout`, which gives you more fine-grained
            control over your timeouts.
        """
        self.num_requests += 1

        timeout_obj = self._get_timeout(timeout)
        timeout_obj.start_connect()
        conn.timeout = timeout_obj.connect_timeout

        # Trigger any extra validation we need to do.
        try:
            self._validate_conn(conn)
        except (SocketTimeout, BaseSSLError) as e:
            # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
            self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
            raise

        # conn.request() calls httplib.*.request, not the method in
        # urllib3.request. It also calls makefile (recv) on the socket.
        if chunked:
            conn.request_chunked(method, url, **httplib_request_kw)
        else:
            conn.request(method, url, **httplib_request_kw)

        # Reset the timeout for the recv() on the socket
        read_timeout = timeout_obj.read_timeout

        # App Engine doesn't have a sock attr
        if getattr(conn, "sock", None):
            # In Python 3 socket.py will catch EAGAIN and return None when you
            # try and read into the file pointer created by http.client, which
            # instead raises a BadStatusLine exception.

        If the HTTPConnection is in the correct state, returns an
        instance of HTTPResponse or of whatever object is returned by
        the response_class variable.

        If a request has not been sent or if a previous response has
        not be handled, ResponseNotReady is raised.  If the HTTP
        response indicates that the connection should be closed, then
        it will be closed before the response is returned.   I advise you report issue in Jinkins repo. Or do you want to try create VM with Python SDK directly? Here is the sample: https://github.com/Azure-Samples/azure-samples-python-management/blob/main/samples/compute/manage_virtual_machine.py

@msyyc Hi, here are the full log with SDK requests and responses - full flow creation
azure_sdk_logs.docx

According to your description, the creation failure is random. I guess the reason may be related with network situation since VM creation involves many resource like vnet/subnet/interface, etc. As long as one part fails, the whole process may be influenced. I advise you update the test code to retry for several times after failure and change resource group name every time. Thanks!


feature/roadmap request: Responsive UI

It would be great to know if this project intends to encompass Responsive UI or if such matters are outside the scope of the project. Naturally, if Responsive UI is intended, documenting what frameworks to utilize would ideal.

Hello @haysclark, that's a good question.
To be honest, I didn't plan to do responsive web design right away (at least for mobile and tablet). Because in my opinion, this visualizer is mainly used on desktop. But maybe I'm wrong, and in this case, I'll add this functionality with pleasure 😉. Maybe you're basically talking about the different sizes for the desktops. In this case, indeed, I will look into the matter.
Regarding the framework, I think it is possible to do responsive web design without a framework. I have to assess the need we have.
Furthermore, it is true that there is no defined roadmap for the moment. I'll quickly provide one.
For example, there are plans to change the UI build system to something more "modern" 😄 .
Have a good day !

incidentally I find jx-pipelines-visualizer works much better on my iPhone than the old jxui ever did despite having a responsive design ;)
the main time I use jx-pipelines-visualizer on my phone is to look at 1 pipeline log usually; which renders nicely right now

/close I agree with @jstrachan as JX3 has this covered and most users will be upgrading.
Screenshot of the more Responsive UI provided in jx3:

I agree with @jstrachan as JX3 has this covered and most users will be upgrading.
Screenshot of the more Responsive UI provided in jx3:


Fix submission breakage with a single job

The len here was breaking when a single command was issued submitting nchar versions of the single job. @nzxwang fixed it.

Wonderful catch, thanks!


[SPARK-42191][SQL] Support udf 'luhn_check'

What changes were proposed in this pull request?
This PR  adds a built-in function to check if a given number string is a valid Luhn number. It shall return true if the number string is a valid Luhn number, and false otherwise.

Why are the changes needed?
This checksum function is widely applied to credit card numbers and government identification numbers to distinguish valid numbers from mistyped, incorrect numbers
Ref : Trino
Postgresql

Does this PR introduce any user-facing change?
Yes, new udf luhn_check

How was this patch tested?
Added test cases

Hi @dtenedor, @dtenedor @srielau, @HyukjinKwon @cloud-fan , @gengliangwang
Could please review this PR?

The general algorithm and test coverage look correct

I'm not super against this, but this seems too niche to put into the Spark API

Hi @srowen I get where you're coming from. For background, we have a Jira [1] to add a suite of data masking functions into Spark. This is one of a family of such proposed functions. The idea is to support ETL with redaction of original datasets to make it safer for sharing.
[1] https://issues.apache.org/jira/browse/SPARK-40686

Right, I don't think most of those belong in the Spark API. This is what UDF and utility libs are for

@srowen yeah, we should apply discretion for those functions on that list.  There's something to be said for having a built-in library of functions that are useful enough for general-purpose consumption, but not everything belongs in there.
Maybe for this particular case we can let it through as it is in fact present in Postgres and Trino (as linked in the PR description) but we could do a review of the others and make go/no-go decisions on each one together. WDYT?

thanks, merging to master!


LLAMALEND: As a user, I want to leverage WeETH or EtherFi Eth against curvUSD

This is the same as #1313 but with a different collateral token

I confirmed current LLAMALEND bot can work with any kind of token so WeETH or EtherFi ETH can work with it.
@verabehr

@wc117 do we need any code change for this?


Adding unique constraint to migration file causes rows to be out of order

Laravel Version: #.#.#
Laravel Framework 8.42.1
PHP Version: #.#.#
PHP 8.0.3 (cli) (built: Mar  4 2021 20:42:56)
Database Driver & Version:
JDBC4 10.3.28-MariaDB

Description:
Adding a composite unique key on two columns with datatype string (50) causes the rows to be out of order
Steps To Reproduce:
In our migration file

, without a unique constraint, the seeded data is ordered correctly

Adding the unique constraint

gives us this

Switching the column order of the unique constraint

gives us this

relevant fiddle
https://www.anyfiddle.com/p/asiniarski/r4jj1ou2

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


A problem occurred configuring project ':privacy_screen'.

I got this error after migrate to latest gradle as in Flutter migrate Gradle and update to latest Android Studio and Flutter
[   +2 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[        ] A problem occurred configuring project ':privacy_screen'.
[        ] > Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
[        ]    > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
[        ]      If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64,
    locale en-MY)
[✓] Android toolchain - develop for Android devices (Android SDK version
    34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.94.2)
[✓] VS Code (version 1.93.0-insider)
[✓] Connected device (6 available)
[✓] Network resources

Android Studio:

Currently I just disable the plugin.

Use the patch from the author of the PR: https://github.com/eddyuan/privacy_screen/pull/5#issuecomment-2473038261


adding support for pin_ctrl for SiLabs USART (UART and SPI) and LEUAR…

…T, also switching tmo_dev_edge to pinctrl.

Replaced


Cross-reference in Security subsection of a path element refers to invalid Security Section 's anchor

2 problems:

It seems that the PathsDocument.securitySchemeSection() does not generate the proper cross-reference. This cross-reference points to the Security Section of the corresponding name. The anchor is generated with an underscore while the cross-reference is not.
Furthermore the code does not seem to work properly when generating several documents, as the cross-reference always point to the same document (the current one).

Only 0.9.3-SNAPSHOT is currently affected.

Did you add a testcase which shows this issue? Could you please provide me an example Swagger file?

You bug is in this line: https://github.com/Swagger2Markup/swagger2markup/blob/master/src/main/java/io/github/robwin/swagger2markup/builder/document/PathsDocument.java#L607
The first parameter of docBuilder.crossReferenceAsString is the document which contains the security definitions. Atm the document name is is equal to the security key


refactor: move beatree bit operations into own mod

#410
#409  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gabriele-0201 and the rest of your teammates on  Graphite


const of "EVP_PKEY *pkey" in EVP_DigestSignInit

Looks like EVP_PKEY *pkey in EVP_DigestSignInit is used as read-only. Is it possible to add "const" for OpenSSL 3.0?
https://www.openssl.org/docs/man1.1.1/man3/EVP_DigestSignInit.html

In theory if you had stateful signatures the key used in the signature operation would have to be updated after the operation.
So perhaps better not although I do not see stateful signatures really useful.


Move issue change content from models to service

As title.

Redundant if at models/issue.go:810
Otherwise LGTM

Codecov Report

Merging #8711 into master will increase coverage by 0.01%.
The diff coverage is 53.19%.

@@            Coverage Diff             @@
##           master    #8711      +/-   ##
==========================================
+ Coverage   41.67%   41.69%   +0.01%
==========================================
  Files         532      533       +1
  Lines       68737    68742       +5
==========================================
+ Hits        28649    28660      +11
+ Misses      36410    36399      -11
- Partials     3678     3683       +5

Impacted Files
Coverage Δ

routers/repo/issue.go
34.33% <0%> (ø)
:arrow_up:

models/issue.go
51.3% <100%> (+0.12%)
:arrow_up:

modules/notification/webhook/webhook.go
47.64% <50%> (+0.48%)
:arrow_up:

services/issue/content.go
66.66% <66.66%> (ø)

modules/avatar/avatar.go
48% <0%> (-6%)
:arrow_down:

modules/migrations/migrate.go
21.22% <0%> (-1.68%)
:arrow_down:

modules/migrations/gitea.go
10.27% <0%> (-1.5%)
:arrow_down:

models/repo.go
48.54% <0%> (-0.06%)
:arrow_down:

models/repo_list.go
74.14% <0%> (+0.97%)
:arrow_up:

... and 6 more

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 495d5e4...950a25e. Read the comment docs.


fixed react 19 types

/claim #352

@Abse2001 any idea what the screenshot comparison failure is?

@seveibar Yeah I think I can fix it but I can't start the playwright server Windows nonsense
https://github.com/user-attachments/assets/47423d50-54d6-4db3-a8c4-f5983a6db5c4

hmm yea maybe a dockerized way to run the tests would be helpful in the future


Merge ecgate

I am pretty certain I broke CDS with this merge. Will test and fix in a second step.
I will create a couple of issues with the AI resulting from this.

just wondering: why do you use lev_2 instead of lev in Line 55 in add_ancillary.py?
I should have adressed that now. CDS and ECMWF grib files have both lev&lev_2 dimensions after cdo conversion, but sadly not the same. I unify this now by renaming the CDS ones.

Verify conversion of pressure in L24 of add_pressure_gph.sh: pressure/pressure_fac instead of pressure*pressure_fac? Complete initial comment in this section to # pressure is in Pa, convert to hPa
That was obviously wrong.

For the truncation I made an issue.

On my local machine, I can process CDS and ECMWF data with this. The data looks plausible, but I did not do an intense test, yet. Fixed some issue with, e.g., tropopause pressure etc.
Still TODO, but maybe in another merge request:

somehow merge the identical processing portions of the scripts
properly make use of the settings file.
address stuff captured in issues

Addressing the inconsistencies of CDS and ECMWF and even ECMWF data on different level types is really exhausting.


Added new GET/POST config endpoints

These new endpoints facilitate the Datasource Editor GUI in erdblick.

TODOs:

[ ] Only update http-settings and sources.
[ ] Fix http-sources tests.
[ ] Refactor (factor out) converter functions from the HTTP methods.


Invalid Number Of User Identities - Multiple user identities are not supported. Please select only one user identity.

Describe the Bug with repro steps
1 - Vanilla new LA Std
2 - add user assigned Managed Identities (I added 9), disable the system assigned Managed Identity.
3 - create a simple workflow (http trigger, O365 send e-mail action)
4 - make a validation error in the workflow in code view and save it (i.e. change "path": "/v2/Mail" to "path": "s/v2/Mail")
5 - try to open designer after it (the error in title occurs)
6 - even after correcting the validation error or deleting the single workflow, and adding a new one, the error remains.
7 - after this when I enabled system assigned MI, the error disappears
8 - keeping the system assigned MI in place, and adding back the validation error, the same error comes.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
happens with simple workflow.

Screenshots or Videos
No response
Browser
Edge
Additional context
No response

This a restriction coming from the backend, on standard logic apps if you leave the system identity enabled you should not see this error page no matter how many user identities you have defined.


File Creation dialog cuts off end of long path

Screenshot. (I can't inline because GitHub is having upload issues currently).
When I create a new file with CTRL + N and save, if the path is particularly long, the end of the path is cut off, which requires awkwardly using text selection to get to the end of the path. It would be great if the path were shifted as far to the left as possible.

This is using the file picker quick pick thus forwarding to @alexr00

This is using the file picker quick pick thus forwarding to @alexr00


[Bug]: Regression, clicking into Jupyter tab, then clicking back into Workspace tab opens up VSCode

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Describe the bug and reproduction steps
Repro steps:

Ask the agent to DO NOTHING
Wait until the workspace is fully ready and the Open in VSCode button is blue
Click open the VSCode once, and close the vscode tab
Click into the Jupyter tab
Click back into the Workspace tab, upon clicking the workspace tab, VSCode pops open again!

I think this is a problem with use-vscode-url.ts
Regression is from https://github.com/All-Hands-AI/OpenHands/pull/5287 and in the old code, there was event prevent default
OpenHands Installation
Docker command in README
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response

Ah we had gotten this a few times. Thanks for opening up the issue and mentioning how to reproduce!

OpenHands started fixing the issue! You can monitor the progress here.

The workflow to fix this issue encountered an error. Please check the workflow logs for more information.


Long column name gets render outside the box in the popup component

Steps to Reproduce

Style a layer by value
Select a very long column name

Current Result

Expected result
We should add a ellipsis on this text when being so long.

Added to UI fixes, 👍  or 👎  ?

IMO, I think this is Nice To Have™, but not a blocker for Free users migration. What do you think @noguerol ?

It is not
On Sat, Feb 4, 2017, 8:38 PM Jorge Gomez Sancha<EMAIL_ADDRESS>wrote:

IMO, I think this is Nice To Have™, but not a blocker for Free users
migration. What do you think @noguerol https://github.com/noguerol ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CartoDB/cartodb/issues/11451#issuecomment-277469892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIENRHKFoqsNH2G5ihhz3hwaDF61ftEks5rZNOhgaJpZM4L2duU
.

let's push that migration asap

This appears in acceptance but the PR is already merged? Should we move it to the deploy column?

It was @piensaenpixel doing the cowboy, I think so.

Haha… where's the kanban police when you need them? :_

:sanchismo:


Create binder-dev.

@samuelba My first try to create a -dev package. Can you take a look?

These are the generated debians. I checked locally, looks good to me :)
binder.zip

Otherwise looks good to me.


Shadowrun6 german v0.2

Changes / Comments
Version 0.4 changes:
General updates:
Sheet-Design and CSS updated
New Theme "Darkskin"
New alternate Header, with compact Layout
Wild-Dice rolling now working without using  ability command buttons
Sheetworker optimization and bug fixing by changing Attributes and Skills
New Character-Tab
sections for general Information, Sins and Perks
Attributes-Tab
Style Bug fixes and small redesign

Skills-Tab
redesign and new Sections for Knowledge-Skills and Language-Skills
Combat-Tab
redesign and new Sections for Skills and Initiative
Firearms, selection of Ammo-Type now changing the Ammunition-Modifiers
new Buttons for Reloading and firering a Weapon
Magic-Tab
Redesign, new basic section for Rituals, Alchemy and Fokis
New Matrix-Tab
New Sections Initiative, Deck, Skills, Matrix-Actions, Programs, Complex-Forms and Sprites
New Rigger-Tab
New Sections Initiative, Rigger-Console and Vehicles and Drones
New Tab Connections
New Tab Gear
asic sections for Armor (with calculation for Defenserating), Cyberware and general Gear.
New Tab Notes for entering multiple Notes
New Optional Tab for creating Custom Rolls.
Added a Button to generate generic example rolls
Tab Config
New Section to Configure short header and the Tabs Magic, Matrix and Rigger, and enabling the Customrolls Tab
New Section for importing a JSON-export from Genesis-Rpgframework.
Added Optional Rule for Auto-Successes by hi Defenserating from Armor
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ X] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ X] Does this add functional enhancements (new features or extending existing features) ?
[X ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[X ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Added Uncles RPC methods

Change

did some consts polish and added an uncles field to block data result
added 4 uncles related RPC support that returns dummy data for now (do we actually have the concepts of uncles?)

This will resolve a couple errors of blockscout.
Test
blockscout doesn't complain about these missing data or methods anymore
truffle CI has been flaky recently, will ignore it's failure
TODO

for blockscout: #286
if we do need some accurate uncles data, we can implement them in the future

looks good to me


add kindtimeidx for postgresql

Last change makes great performance improvement.
before

after

probably, postgresql will get same improvement.

Ah, I'll add this to mysql.


timeout: Make use of fundu in timeout to parse the KILL_AFTER and DURATION arguments

As the title describes, make use of fundu which is faster by maintaining full precision of the input arguments and has nicer error messages if something goes wrong during the parsing.

No activity for a while, closing


'from' in census mode history is a Python reserved keyword and cannot be used

I would like to implement a watcher system that reports all changes in a nation's census since last week.
For the moment, I built a shard nationstates.Shard("census", scale="all", mode="history"), collect the data and manually browse the points until I find the desired timestamp.
Using nationstates.Shard("census", scale="all", mode="history",from="one_week_ago") would be the best option server-wise, as it would reduce network usage and not contain any unneeded data, thus being in accord with the Nationstates API.
Alas, the keyword from is reserved in Python and cannot be used in this way as it yield a SyntaxError
The current implementation put an unneeded strain on the server as it forces to fetch much more data than needed. This is specially true for quite old nations, with great amounts of data points.

There is currently a work around for python syntax.
nationstates.Shard("census". **{"scale": "all", "mode":"history","from":"one_week_ago"})
Other python modules will sometimes use something like _from, but thats not currently supported.


Typo

In the last paragraph of the section "How Trustworthy Are These Interfaces?":
https://github.com/distillpub/post--building-blocks/blob/778a8deab1d0d1769745e1ae5a2ad8959d0d2872/public/index.html#L877
Trusting our interfaces is essentially for many of the ways we want to use interpretability.
Should it be "essential"?

Thanks for catching this, @lemairecarl !


Display opendate for assessment overviews

Can put the opening time for path inside the source academy?  Some students don't see the attempt button and panic

(from module staff)

Fixed by #320


Automatically add timestamp to version

Automatically add timestamp to artifacts name.
https://xenitsupport.jira.com/browse/ALFREDOPS-834

This fixes the immediate problem at hand but,
In the long run we can/should look at a release plugin like Atlassian gitflow, or maven release plugin, this has then to tie into our versioning strategy (it's partially configurable so)


optimised rendering for large areas

Using breseham for drawing every shape is extremely convenient, but the visual noise is significant. It might be better to render continuous, large surfaces with a background color, e.g. using chalk.
the borders of the area would look different however, so this would require some further investigation.

Nice idea which actually was kinda implemented at some point with mixed results (especially the feature-borders as you guessed) - had all water surfaces filled with background colors once with no need for chalk though, as the Canvas and BrailleBuffer already got background color support in them :)
So it would be a matter for the Canvas/Renderer - maybe first step to try around/see how it would look, would add the logic to respect the feature's background-color style property, which currently is only pulled in for the global background color.

Also, an approach to improve the visual quality might be to reduce shapes like large roads to a single line.

Drawing lines are problematic as it is difficult to connect them with the limited set of plain-text symbols. Using braille patterns is a smart solution, but there are also block characters (including those from the OEM PC charset) which would effectively better to render surfaces (outside lines and text labels)
Finally an option to set the prefered encoding and terminal emulation would be fine for compatiblity (the default telnet client in Windows does not support this Xterm emulation, but supports VT220, restricted to 8-bit charsets, and "ANSI.SYS" emulation for its native console.
For Windows 10 the anternative is to install the optional Ubuntu Bash feature supported by Microsoft. Still it does not render any one of the Braille patterns, probably because of font exclusions (not suitable for monospace rendering) so we also see "?" in square boxes instead of Braille patterns: here also using the symbols in the PC OEM subset would work.
These terminal settings could go to a "c" config key. Also adding the "?" key to show the help screen and some of the current terminal settings (including the terminal size in rows/columns) would be helpful to avoid the irritating text scrolls (use the clear screen terminal command, and make sure you won't use display anything on the last column of the last row).
As well, some labels will cause problems when they are not restricted to basic European alphabets (Latin/Greek/Cyrillic) or some half-width Japanese Kanas/Hangul Jamos, as they are not always rendered with a monospaced fonts (or not rendered at all in some terminals): this includes various Arabic characters. Sinograms and Hangul clusters could work but would be using two columns

Windows does support ASCII 220 and 223 half-block characters, I've experimented with this here:
https://github.com/fenwick67/term-px

Yes but windows terminal supports any characters that are in the following suitable monospaced fonts:

Terminal (8-bit OEM encoding): supports [▀]2580, [▄]2584, [█]2588, [░]2591, [▒]2592, [▓]2593, [■] 25A0, [▬]25AC
Courrier New (Unicode), supports [▀]2580, [▄]2584, [█]2588, [▌]258C, [▐]2590, [░]2591, [▒]2592, [▓]2593, [■] 25A0, [▬]25AC
Consolas (Unicode), supports the same subset as Courier New
Lucida Console (Unicode), supports the same subset as Courier New
MS Gothic (Unicode),
NSimsun (Unicode),
SimSun-ExtB (Unicode),
Noto Emoji (Unicode),
Noto Moto (Unicode),
and legacy raster fonts for DOS terminals, encoded in legacy 8-bit OEM codepages (multiple versions are installed with distinct resolutions for CGA, EGA, VGA: 6x8, 8x8,16x8, 5x12, 7x12, 8x12, 16x12, 12x16, 10x18).

In summary, we can still improve bitmap emulation with additional symbols [▌]258C, [▐]2590 with vertical subdivisions of the character cell, or [■] 25A0, [▬]25AC for additional horizontal subdivisions of the character cell, or [░]2591, [▒]2592, [▓]2593 for better approximation of pixel patterns.
What is needed is a function that evaluates the rate of error for each candidate character when it is used to approximate a rectangular colorful bitmap, and selecting two representative colors (not the same pairs for dot pattern characters and for block characters), and then having a simple sort to select the best (character,color pairs, error) member to get the actual (character,color pair) to use.
To create such evaluation function, the best is to have a basic monochromatic bitmap data representative of the character, at everage terminal font sizes (ignoring cleartype): typically for 12pt font sizes.
Then that function can be extended to include as well several other box drawing characters also supported in these fonts.
An optional extension would evaluate all candidate characters of the OEM character set (including Latin and Greek letters, digits, punctuation), unless they are disabled to represent something else such as actual text labels for the map.
We may then return two versions of text-rendered bitmaps: one for 8-bit legacy OEM codepage, another for the Unicode codepage. This would result in two terminal emulations:

ANSI.SYS/OEM for old Windows versions (Win95/98) that don't have any Unicode API and whose terminal output is restricted to display only characters in the current 8-bit codepage,

ANSI.SYS/Unicode for modern Windows with native Unicode API not needing the unicode emulation layer (WinXP, Vista, WinNT, Win2000, WinServer, Win7, Win8/8.1 and Win10), where the terminal displays any characters (even those outside the current display codepage selected by "CHCP") but its display memory is an array of 16-bit WCHAR instead of an array of 8-bit CHAR.

To see what it can give on a Windows terminal, just copy paste this line in the terminal:
[▀]2580, [▄]2584, [█]2588, [▌]258C, [▐]2590, [░]2591, [▒]2592, [▓]2593, [■] 25A0, [▬]25AC
This will convince you that it is possible to offer a better rendering of bitmap images than just using the first 3 characters of this list, and still better than using Braille dot patterns, not supported except if your windows terminal uses one of the two supported Unicode codepages (as set by "CHCP 65000" for the legacy UTF-7 encoding, or "CHCP 65001" for modern UTF-8 encoding)

Thank you for all your wonderful high quality input @verdy-p !
Based on it, i just started to work on a mapping logic for the currently 2x4 sized, bit operation based BrailleBuffer. It will map all possible characters to the most-pixel-overlaying  ▀ ▄ █ ▌▐ ▓ ■ ▬ equivalent and will allow an easy implementation without touching too many other parts of the current logic. Let's see how that goes and how we can continue from there ;)
The next logical step would be indeed the automatic terminal type detection and giving the user the choice to switch during runtime.
Thanks again!

This looks already so much better than i expected 😮 mapper works, just finishing up -> push ;)
preview:

Looks great! More characters available with full Unicode: ◢, ◣ , ◤ , ◥.

You can try it on the ascii branch - algorithm needs tweaking. Tried to use the full available set of block characters, but couldn't get it rendered nicely. Commented all but  ▀▄■█ , give it a try for yourself!

Switching rendering modes is bound to the c key (flips config.useBraille when pressed)

made the algorithm smooth and working well, merged to master! currently used charset is for now:
[▀]2580, [▄]2584, [█]2588, [▌]258C, [▐]2590, [■] 25A0

Yes but not within Windows (even with Ubuntu Bash, which still uses the
Windows console even it it is using Unicode, i.e. codepage 65001=UTF-8)
with its supported fonts (I gave a basic list) that must be monospaced,
otherwise they are not selectable in the terminal. This means that all
characters in the font must have the same metrics.
May be there are other suitable fonts that may be installable on Windows to
support more symbols. But the list of block characters supported are
working on all platforms (Windows/Linux/MacOS/Android) because they are
part of widely used legacy charsets, and because the terminal fonts for
Windows have served as a minimum base subset to support in many other fonts.
It would be interesting to develop an opensource monospace font (mapped
with Unicode) for extending bitmap image emulations: it would be
installable on Windows, Linux, Unix, MacOS. I gave the name of the high
quality font from the Google Noto font set. I could have also named the
monospaced font made by Michael Everson (wellknown member of Unicode) that
supports many symbols as well: I've not checked if they would support more
block graphics.
2017-05-12 19:54 GMT+02:00 Jannis Redmann<EMAIL_ADDRESS>
Looks great! More characters available with full Unicode: ◢, ◣, ◤, ◥
http://www.fileformat.info/info/unicode/block/geometric_shapes/list.htm.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rastapasta/mapscii/issues/6#issuecomment-301143809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUqG4QFV_YgBxuEKRv-2vb5_mSOO33Bks5r5JzzgaJpZM4NJOPr
.

Updated the telnet cluster as well, try out the current implementation by connecting and pressing c - cheers!

Note that there are ongoing discussions on the Unicode mailing lists to add
other block characters (there were already supported in old OS'es that did
not have full bitmap graphics, and that were used already for creating
games, or that were used in existing national terminal protocols, notably
for BBS, Videotex, French Minitel...)
Windows has supported the French Minitel protocol in earlier versions of
its terminal and even provided suitable fonts (unfortunately encoded using
non-standard 8-bit code, but still not in Unicode/ISO 10646).
I think that block graphics characters will soon be extended: the current
needs are full coverage of 2x2 and 2x3 blocks. There are other encoded
characters that are used to emulate flashing block cursors with various
heights.
2017-05-12 23:21 GMT+02:00 Michael Straßburger<EMAIL_ADDRESS>
made the algorithm smooth and working well, merged to master! currently
used charset is for now:
[▀]2580, [▄]2584, [█]2588, [▌]258C, [▐]2590, [■] 25A0
[image: screen shot 2017-05-12 at 23 10 09]
https://cloud.githubusercontent.com/assets/1259904/26017333/59d6b446-3769-11e7-9794-516356705e44.png[image:
screen shot 2017-05-12 at 23 10 13]
https://cloud.githubusercontent.com/assets/1259904/26017395/95b68ca2-3769-11e7-9123-0155ac2b0a3b.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rastapasta/mapscii/issues/6#issuecomment-301189047,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUqG1ZcIN_-YA2YQNiwKiKl8AHZBQ94ks5r5M1ngaJpZM4NJOPr
.

It would be better to out "clear screen" (or moveto row1/col1) before
refreshing the map over the existing page, instead of scrolling text. This
is very irritating to see this scroll !
2017-05-13 1:12 GMT+02:00 Michael Straßburger<EMAIL_ADDRESS>
Updated the telnet cluster as well, try out the current implementation by
connecting and pressing c - cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rastapasta/mapscii/issues/6#issuecomment-301205788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUqG2Y0dL27H7Rbzmhcgx8jFSlDOa75ks5r5OdOgaJpZM4NJOPr
.

It would be better to out "clear screen" (or moveto row1/col1) before
refreshing the map over the existing page, instead of scrolling text. This
is very irritating to see this scroll !

this actually is already implemented - see Renderer.coffee

Also the first screen that appears should be showing the presentation and
some help about keyboard. The next keypress will show the map but at
anytime the key "?" or "h" should display an help screen using basic text
and not dependant on terminal emulation. It would show the keymap, and the
keymap should contain a "c" key to display the terminal configuration
options:

select the emulation type (ANSI.SYS for DOS/Windows, VT100, VT220, XTERM
are the most common) if this is not detected at start of the telnet session
where it is negociated.
select the codepage to use: Unicode (UTF-8, UTF-7), legacy OEM codepages
for DOS (437, 850, JIS-based)
select enabled symbols subsets (if supported by the codepage, otherwise
disabled implicitly): common blocks, Braille patterns, or custom sets
(using a list of Unicode hex codepoints, or byte codes from legacy
codepages). Some common subsets should be preconfigured for the common
emulation types.
propose to save these settings by showing the environment variable or
parameter value to use when launching mapscii, or that an be entered on the
Telnet session by pressing a key to enter this value as a string
see for example the color settings in for the "ls" command on
Linux shells.
when running the tool from the local terminal, it should use the current
locale config that already specifies an emulation

2017-05-13 1:17 GMT+02:00 Philippe Verdy<EMAIL_ADDRESS>
It would be better to out "clear screen" (or moveto row1/col1) before
refreshing the map over the existing page, instead of scrolling text. This
is very irritating to see this scroll !
2017-05-13 1:12 GMT+02:00 Michael Straßburger<EMAIL_ADDRESS>
Updated the telnet cluster as well, try out the current implementation by
connecting and pressing c - cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rastapasta/mapscii/issues/6#issuecomment-301205788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUqG2Y0dL27H7Rbzmhcgx8jFSlDOa75ks5r5OdOgaJpZM4NJOPr
.

No it is not working on Windows that uses another escape sequence (the
emulation is different: on Linux see the "termcap" database or "curses"
library).
2017-05-13 1:19 GMT+02:00 Michael Straßburger<EMAIL_ADDRESS>
It would be better to out "clear screen" (or moveto row1/col1) before
refreshing the map over the existing page, instead of scrolling text. This
is very irritating to see this scroll !
this actually is already implemented - see Renderer.coffee
https://github.com/rastapasta/mapscii/blob/master/src/Renderer.coffee#L148-L153
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rastapasta/mapscii/issues/6#issuecomment-301206632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUqG0mijN1fc1JrOVAbazKgNfpQ6hMgks5r5OkdgaJpZM4NJOPr
.


Expandable / retractable top bar

My suggestion concerns the possibility of retractabling the top bar because because it covers a lot of space on small monitors.

Using Full Screen Mode will remove the top bar 👍

@bhousel 🤯 I had no idea about this feature!

🤯 I had no idea about this feature!

haha yeah - It's actually a browser feature.
But apps like iD can ask the browser for permission to use it, and doing lets us fullscreen just the iD container without the openstreetmap iframe.  check out ui/full_screen.js


[HUDI-7794] Bump org.apache.hive:hive-service from 2.3.1 to 2.3.4

Change Logs
Bumps org.apache.hive:hive-service from 2.3.1 to 2.3.4.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.

Impact
Fixes critical severity alert
Risk level
none
Documentation Update
none
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Azure CI manually triggered: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=24052

Azure CI is green.