unknown error w/ python prtg script

I'm trying to get the python script to work in order to search prtg.
I'm getting the following error.  It seems to indicate that my password
is incorrect.  I used that password to login to the web page.  the password
contains a '#'.
File "/Users/admin/scripts/python/broadsoft/prtg-master/prtg.py", line 39, in get_request
raise(self.AuthenticationError("PRTG authentication failed. Check credentials in config file"))
prtg.AuthenticationError: PRTG authentication failed. Check credentials in config file
/usr/local/bin/python3 --version
Python 3.6.0

Hi
Sorry about the delay. You need to use your passhash for this module instead of your password. If you log into PRTG and look at your account settings you should be able to retrieve your passhash.
Thanks


Adds process descriptions to xgboost-high-level-apis.ipynb.

Hello,
I've added some text to the xgboost-high-level-apis notebook to help users that are working through the Local Notebook instructions. Please let me know if there are any changes that you would recommend.
Thanks,
Joe

This change is

/cc sarahmaddox
If you have time, it would be great to get your thoughts on this PR.

Thanks, I've updated the headings to sentence case.

/lgtm
/approve


perf: temporary remove ensureSVGSymbols

Current dependencies on/for this PR:

master

PR #9   👈

PR #8

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Job ID: Mudo7G0eRYbNUVVj4Ct1.
See details on graphite.dev


Smoke detector fingerprint information

Hello,
Can you check and add this fingerprint to a driver?
Best regards,
Seongho

Note: this device similar with https://github.com/dresden-elektronik/deconz-rest-plugin/issues/3395

Hi,
Added to this driver version
You need uninstall device and reinstall with this driver version installed in you hub
───────────────────────────────────────────────────
 Name         Zigbee Smoke/CO Detector Mc
 Version      2023-12-11T11:33:13.45669849
───────────────────────────────────────────────────
- id: "_TZ3000_hl7yraue/TS0205"
    deviceLabel: Smoke Detector
    manufacturer: _TZ3000_hl7yraue
    model: TS0205
    deviceProfileName: smoke-battery

I have a question: This sensor disconnects from Hub v3 frequently, can you guess what's happening?
Best regards,
Seongho

Some devices of this model TS0205 are not configured correctly to report periodically and are displayed offline.
Uninstall the device
Install this new version of the driver
Pair the device again with this version so that it is configured correctly
───────────────────────────────────────────────────
 Name         Zigbee Smoke/CO Detector Mc
 Version      2023-12-15T20:55:36.379203344
───────────────────────────────────────────────────

Good! However, After I reconnect that with reinstall the driver, I cannot retrieve any information from smoke detector that displays as online.

It should work, try reinstalling it or reboot the hub

After waiting for 24 hours, it worked perfectly, I'm monitoring instabilities. I don't know why that happened. ;)

Device still goes to offline frequently if I don’t have any smoke detection events until I push the test button on my device.

Put it online and in the details view open the battery graph, in hours and capture every few hours the battery event arrives.
Like in this example, which is every 6 hours.

Sorry, these TS0205 devices only cause problems working with smartthings.
I use the Heiman HS1SA-E and they work perfectly. There are also other models that work well with smartthings

In 2023-12-11T11:33:13.45669849 version, I can retrieve battery information...

This driver version is as  same of 2023-12-11T11:33:13.45669849
There is nothing in all versions that prevents its operation, but smartthings requires the device to periodically send messages to the Hub and it does not have it and will appear offline every x hours
───────────────────────────────────────────────────
 Driver Id    a2f7ec78-14c8-492d-9965-7544b0fc3b68
 Name         Zigbee Smoke/CO Detector Mc
 Package Key  zigbee-smoke-detector-heiman
 Version      2023-12-19T15:22:35.940921544
───────────────────────────────────────────────────


Generic case class reflection

play swagger stuck when it encounters a generic case class

any workaround for this?

Chka you can use custom type mapper to work around this.  You will have to write your own mapping though.
https://github.com/iheartradio/play-swagger#how-to-override-type-mappings

I don't quite get how to use the override type feature for generic case class.
package com.model
case class Response[Err, Data](err: Err, data: Option[Data])

in routes:
# responses:
#   200:
#     schema:
#       $ref: '#/definitions/com.model.Response[String, Int]'

How would swagger-custom-mappings.yml and routes look like?

I know this is old, but is it possible to get an example for this? In my situation, I have a case class that is a generic 'response' case class with common fields like 'version', 'response_code' and I want to nest a model inside of it without duplicating these common fields on every response object.


mne report scaling broken

@teonlamont reported that scaling is broken. He gets reports with figures that have rotated figures like this one: https://plus.google.com/photos/albums/psjtfo8thlrdqa88m7qqn37ldkt235u54?pid=6140987061440567634&oid=108662407417175145691
@dengemann seems like git praise points to you :) https://github.com/mne-tools/mne-python/commit/011511b6846e5e76c8edf661f33e2bc35993c37c
Also, I tried briefly and I got this:
RuntimeError: Could not set the fontsize

when scale was less than 1.0.

Could you please provide a minmal report examples to reproduce this?
I cannot:
https://gist.github.com/dengemann/e24941a27bc77056461d

weird, I can't reproduce it any more too. I'll let @teonlamont post a script to reproduce the other bug while I try to figure out what I did to reproduce that.

ok, this does it:
from mne.report import Report
from mne.datasets import sample
from mne import read_evokeds
report = Report(verbose=True)

path = sample.data_path()
fname = path + '/MEG/sample/sample_audvis-ave.fif'
evoked = read_evokeds(fname, condition='Left Auditory', baseline=(None, 0),
					  verbose=True)
fig = evoked.plot(show=False)
fig.set_size_inches(3, 2)
report.add_figs_to_section(fig, captions='Left Auditory', section='evoked',
						   scale=0.9)
report.save('report.html', overwrite=True)

Well this is not really a bug ... you cannot scale this smaller than the smallest fontsize. It just does not throw a nice error.

see for scaling 0.5 with this example:
https://www.dropbox.com/s/oi7y927vk5jioif/Screenshot 2015-04-24 03.24.14.png?dl=0

okay, point taken. A nicer error would be good to have.
@teonlamont could you reproduce the other problem?

If this is a release blocker it would be good to sort it out.

Teon, can you share a script to trigger the second issue? The scaling issue is not a release blocker.

On 29 Apr 2015, at 03:58, Eric Larson<EMAIL_ADDRESS>wrote:
If this is a release blocker it would be good to sort it out.
—
Reply to this email directly or view it on GitHub.

p = epochs.plot_drop_log(show=False)
r.add_figs_to_section(p, 'Drop log of the events', 'Summary',
                      image_format='png', scale=.25)

Can you add the necessary boilerplate before those lines using the sample dataset to make it cut-and-paste runnable? It is more DRY for you to do it instead of all of the rest of us who want to test it :)

import os.path as op
import mne
from mne.report import Report
from mne.utils import _TempDir

r = Report()
tempdir = _TempDir()
data_path = op.join(mne.datasets.sample.data_path(), 'MEG', 'sample')
raw_file = op.join(data_path, 'sample_audvis_raw.fif')
event_file = op.join(data_path, 'sample_audvis_raw-eve.fif')

raw = mne.io.read_raw_fif(raw_file)
events = mne.read_events(event_file)
epochs = mne.Epochs(raw, events, None, tmin=-.1, tmax=.4,
                    reject={'grad': 1e-10}, preload=True)
p = epochs.plot_drop_log(show=False)
r.add_figs_to_section(p, 'Drop log of the events', 'Summary',
                      image_format='svg', scale=.25)
r.save(op.join(tempdir, 'test.html'))

I actually see two bugs -- if the window is big, I see the one I assume you've reported:

But if I shrink the window, for some reason the top bar wraps and screws up the rendering further:

these are CSS issues we've always had right?
if it's the case it's not a blocker to me.
you can click on blue arrow in progress bar to go around the second bug.

Not a blocker, at these low values of scale I'm surprised it works at all.
And normally you should not need to downscale things. Rather upscale.
2015-04-29 9:32 GMT+02:00 Alexandre Gramfort<EMAIL_ADDRESS>
these are CSS issues we've always had right?
if it's the case it's not a blocker to me.
you can click on blue arrow in progress bar to go around the second bug.
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/2014#issuecomment-97331847
.

I agree.

This script does not run for me and I get the error that I was getting earlier. Changing the scale to a larger value, I don't see inverted fonts. @teonlamont can you reproduce this error for larger scales? If not, we just need to add a more explicit error which checks against the current font size and warns the user if it's too low.

ok. if it's easy to add a warning that would be nice, or even a note to say this only scales up images/figs.

On it in #2039, see if you're happy @teonlamont @mainakjas


Rethink the role of CARO

Since CARO was initially constructed
1.I am less sure of the utility of some of the BFO/FMA-esque groupings
2. it's not clear how much CARO is truly used - as in, if it blinked out of existence, what woul break
3. we now have COB
4. uberon is used predominantly for metazoans, either directly, or indirectly for ssAOs
None of this denies the important role of CARO in getting us where we are, this issue is purely about the future
1 is maybe a bit controversial but I think some of the distinctions CARO draws at the top level such as whether something is connected or not can be done at deeper levels as e.g. PATO characteristics
2 a single CARO class is used in CARO,
id: GO:0048856
name: anatomical structure development
namespace: biological_process
def: "The biological process whose specific outcome is the progression of an anatomical structure from an initial condition to its mature state. This process begins with the formation of the structure and ends with the mature structure, whatever form that may be including its natural destruction. An anatomical structure is any biological entity that occupies space and is distinguished from its surroundings. Anatomical structures can be macroscopic such as a carpel, or microscopic such as an acrosome." [GO_REF:0000021]
subset: goslim_chembl
subset: goslim_generic
subset: goslim_plant
synonym: "development of an anatomical structure" EXACT []
is_a: GO:0032502 ! developmental process
intersection_of: GO:0032502 ! developmental process
intersection_of: results_in_development_of CARO:0000003 ! connected anatomical structure

it's not even clear this is correct, and the disconnect (ho ho) between the broader label (connectedness neutral) in GO and the more specific one in CARO is a red flag.
Perhaps 3 is a bit of a red herring:

Currently in the COB release, COB IDs are rewired to CARO (where equivalents don't exist)
Some genuinely useful COB classes like "anatomical entity" don't have equivalent IDs in COB as COB still essentially follows BFO and dividing the world into material and immaterial rather than domain scientist friendly groupings
COB doesn't have many of the other mid-level groupings

However, there is still an issue that for uberon (and ssAOs) to properly link up to either COB or CARO there needs to be subclass bridging axioms or species-equivalents.
We supply these in http://purl.obolibrary.org/obo/uberon/bridge/uberon-bridge-to-caro.owl
e.g.
    <owl:Class rdf:about="http://purl.obolibrary.org/obo/CARO_0000011">
        <owl:equivalentClass rdf:resource="http://purl.obolibrary.org/obo/UBERON_0000467"/>
        <obo:IAO_0000589 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">anatomical system (CARO)</obo:IAO_0000589>
        <oboInOwl:id rdf:datatype="http://www.w3.org/2001/XMLSchema#string">CARO:0000011</oboInOwl:id>
    </owl:Class>

These are actually wrong since you end up inheriting taxon constraints
We have similar axioms for CL, but these are coherent because although the scope of CL is metazoa, formally the top level classes are truly species neutral. In which case we should just obsolete cells from CARO as they cause confusion.
For gross anatomy we have the option of

generalizing the CARO-equivs in Uberon so they are truly equivs and not taxon-equivs
More formally committing to them being species equivs

I think 1 is probably easiest. We don't really lose any useful axioms (and these are retained as GCIs anyway). Note this would mean that some PO and FAO classes would become subclasses to general Uberon classes
If we carry on the course for 2, then we have some work to do

we need to fix the bridge axioms be be metazoa-equiv, and make them available in releases such that hierarchies properly link up
we need some naming solution so people aren't confused by two "duplicates" of "anatomical entity" etc
we need to check if CARO text definition commitments are truly followed in subclasses, or even followed "on paper"

Either way I think we need to obsolete some classes that are truly equivalent, will make tickets

Retired in favor of https://github.com/obophenotype/uberon/issues/2349


Status of MotoSim?

There seems to be support for a form of 'simulation', which starts a set of server threads which implement subsets of the Simple Message services and topics supported by MotoROS.
It doesn't appear to be complete though.
I'm wondering what the status of it is, and whether there are any plans to complete it?

Sorry for the late response @gavanderhoorn, Ive been  out of office on parental leave for the last months.
Completion of the motoros simulator is on my agenda. Are there any specific features that you are looking for?

I've mainly been using this as a substitute for my controller.
The behaviour of the scripts in the repository is / wasn't close enough to how MotoROS behaves, so I had to make some changes.
It's been a while though, so I'll take a look at what I changed and potentially contribute those changes.

The behaviour of the scripts in the repository is / wasn't close enough to how MotoROS behaves, so I had to make some changes.

Yes the behavior is not as the real driver. I wrote it mainly to test the motion server during the initial development when I didnt have access to the physical robot.

It's been a while though, so I'll take a look at what I changed and potentially contribute those changes.

That would be great!

Hey @tingelst,
Following on from this discussion, @gavanderhoorn pointed me in the direction of this repo. The project I'm working on makes heavy use of point streaming (which, admittedly, comes from a fork of the motoman repo, but I believe still just uses MotoROS under the hood). Finding issues when we're testing on real hardware, late in the development process, is a major source of headaches. A fully functional mock MotoROS server sounds like it'd be awesome for catching those bugs much earlier.
I'd be happy to contribute, although my knowledge of MotoROS is a little weak, so any info / material to get up-to-speed would be much appreciated. I'll have a look over the source as well :slightly_smiling_face:

Hey @rr-tom-noble!
I think your way of testing the original ROS driver towards the MotoSim implementation here is a great start for further development.
Could you please elaborate on the kinds of problems you would like to reduce by testing towards a simulated interface? This might help to narrow the scope of the development efforts.

I've added most of those to my local copy, just haven't had time to upstream changes.
Also added multi-group support.

General errors from the controller

this is too vague, and will also take too much time.


chore: update the subgraph config & deploy the latest version

I'm thinking we close this and focus on the Goerli deployment?


fix: LEAP-938: fix NeMo ASR ML backend

Codecov Report
Attention: Patch coverage is 81.08108% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 40.78%. Comparing base (bf8a785) to head (664ff13).

Files
Patch %
Lines

label_studio_ml/examples/nemo_asr/_wsgi.py
33.33%
6 Missing :warning:

label_studio_ml/examples/nemo_asr/model.py
96.42%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #489       +/-   ##
===========================================
- Coverage   53.25%   40.78%   -12.48%
===========================================
  Files          30       13       -17
  Lines        2056      662     -1394
===========================================
- Hits         1095      270      -825
+ Misses        961      392      -569

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


API error messages are not super useful

When an error occurs calling the API the space cloner will log the exception to the log, but not write it out on the screen for the user to read through.  This requires the user to go through the log and find where the exception occurs.
In addition, the script throws an exception instead of writing a useful error message and stopping.

Fixed in 3.2.3.


Computational optmization

[x] Include normalization and pruning process in inflation operation so those operations are computed locally (on nodes)
[ ] Improve pruning approach
[ ] Optimize Spark distributed matrix operations

Hey
I am working on implementing the MCL in apache spark as well and i have some ideas/problems that i would like to discuss with someone that have some experience.
Can you send me and email to discuss that further? ( the same username that i have at gmail dot com )
Thanks

Hi joandre,
akaltsikis approached me also regarding the MCL implementation over Spark.
I wanted to recap me experience from the last few months trying to run your MCL code on relatively big graph – 50M vertices and 2B edges (the adjacency matrix is about 2B*8bytes ~= 16GB size).
MCL’s main step is the “expansion” - multiplying the sparse block matrices.
Spark’s implementation for the multiplication has two stages:

Simulate multiply – preparation before the real multiplication in order to see which blocks should be multiplied.
The actual blocks multiplication and summation.

This implementation has some problems:

A relatively trivial bug I fixed in the first step the caused the process to be very slow [SPARK-16469]
Still after the bug fix, if we have too many blocks the Simulate multiply will take very long time and will multiply the data many times.
Spark supports only multiplication with Dense matrices. Thus, it converts a Sparse matrix into a dense before the multiplication.
For summing the result Spark uses Breeze’s CSC matrix operations – here the problem is that it is very inefficient to update a CSC matrix in a zero value.

That means that with many blocks (default block size is 1024) – in our case 50M/1024 ~= 50K, the simulate multiply will effectively never finish or will generate 50K*16GB ~= 1000TB of data. On the other hand if we use bigger block size e.g. 100k we get OutOfMemoryException in the “toDesne” method of the multiply. We have worked around that by implementing our-selves both the Sparse multiplication and addition in a very naïve way – but at least it works.
I am going to open some Jiras in the Spark project. Both on Sparse matrix multiplication in general and on implementing MCL (have you already tried?)
Ohad.

Amazing job Ohad,
That is exactly what I wanted to do for month without finding the time!
No I confirm I have not tried. I was waiting to do what you have done, a complete inventory on big graphs. Actually the last issue I found talking about MCL [SPARK-5832] was which algorithm to choose between AP and MCL. I think indeed it is time to propose an implementation of MCL since it is widely used (especially in bioinformatics).
One last point, I was also thinking about using GraphX library instead of Spark matrices to implement it. So I could compare performance of both approaches. That remained an idea in the back of my mind.
Joan

Funny that you say that,
I have already implemented the GraphX solution for the specific case of expansion=2. It works nicely but I havent tried yet to expand it further.

Hi Ohad,
Just to warn I have published the repo as a spark package (MCL).
Joan

great news!
On 15 August 2016 at 22:07, joandre<EMAIL_ADDRESS>wrote:

Hi Ohad,
Just to warn I have published the repo as a spark package (MCL
https://spark-packages.org/package/joandre/MCL_spark).
Joan
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/joandre/MCL_spark/issues/10#issuecomment-239897297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO68PV5uIHN9yd5PdfO1WBrCJ1-nkYxKks5qgLjlgaJpZM4H-UdB
.

Hi Joan,
I tried your MCL on a Dataset from SNAP (https://snap.stanford.edu/data/com-Amazon.html) which has 334863 nodes and 925872 edges.
Unfortunately, the program always crashes with a java.lang.OutOfMemoryError: Java heap space.
I changed only the input creation of the program:
//read input from file
val edgesRDD01: RDD[Edge[Double]] = sc.textFile(input).map { line =>
val parts = line.split('\t')
Edge(parts(0).toLong-1, parts(1).toLong-1, 1.0)
}
//get symmetric edges
val edgesRDD02: RDD[Edge[Double]] = edgesRDD01.map { e =>
Edge(e.dstId, e.srcId, 1.0)
}
//unite both sets
val edgesRDD: RDD[Edge[Double]] = edgesRDD01.union(edgesRDD02)
val graph = Graph.fromEdges(edgesRDD, 1.0)
Is the input already too large for the algorithm to process?

@icklerly I am gonna post a version of the MCL algorithm for Apache Spark which runs for BIG and Sparse Graphs ( much bigger than your dataset) in the following days so please keep an eye to my profile.

Hi all,
Nice to hear akaltsikis. Indeed, my implementation suffers of uzadude remark above (Spark uses dense block matrices by default). I will publish a more workable version soon.
@uzadude: have you finally try to push some commits on Spark on that topic?
Joan

Hello dear @joandre
With the great help of @uzadude, i managed to get my implementation almost production ready.
I am working on it as we talk. As of now the version @uzadude implemented is pretty naive for Spark in order to include that in mllib, however IT WORKS :-)
Angelos

Great! I will add a link to your repo in the README file.

@uzadude would you be ok to propose a pull-request so we can introduce your implementation in this version? Otherwise I will do pretty much the same job that you did twice.

Hi guys!
Well, I'll let @akaltsikis post my version with all the "hacky" Sparse Matrix operations. I agree it is not good enough yet to push those changes in MLlib.
I also just found another bug in Spark when I was trying to move to work with Spark 2.1 ([SPARK-19368]) and have a work-around.
I think I'll orgenize all the Sparse Matrix related changes I had to do and will try to push them to the main project.
Meanwhile we'll update the MCL package so others could also run.
@icklerly - I downloaded the Amazon dataset and it looks like it runs fine. I think you can try to work with @akaltsikis version (https://github.com/akaltsikis/MCL) or wait a few days till we merge the fixes to the MCL package.

Hi @uzadude,
thanks for testing the dataset! I will try it again.
Unfortunately, the link to @akaltsikis version ends in a dead end...
Could you give me a working link?

@icklerly @uzadude As of now the project is private need to clean the code and it will go public. I will notify you in that post in order to receive an email when its available. You need to run the Dataset now or can you wait a couple of days?

@akaltsikis
No, I can wait as couple of days!
But the runtime would be interesting, @uzadude!?

I ran that in my shitty laptop and it took 511 Seconds, Finished at 33 Iterations and outputted 68930 Clusters. :-)

@akaltsikis
Thanks for the information! :)
Currently I am writing a paper on distributed graph clustering using Apache Flink. Your MCL Spark implementation seems perfect to compare it to! Therefore, it would be cool to test your code and generate runtimes on my own...
Is it possible to get an earlier access to your code?

Hi all,
I just wanted to check if there are new information about a release date?
Thanks in advance!

Hi @icklerly,
Sorry I missed your message. As akaltsikis said, he will publish a new version. It is in progress. No release date scheduled right now.


HasMany .Related() retrieval construct not working for non-default primary key column names.

When using the "default" primary key naming convention:
POSTGRES tables
CREATE TABLE person
(
	id SERIAL,
	name varchar(255) NOT NULL,
	CONSTRAINT person_pk PRIMARY KEY (id)
)

CREATE TABLE email
(
	id SERIAL,
	person_id int NOT NULL REFERENCES person(id),
	CONSTRAINT email_pk PRIMARY KEY (id)
)

This construct works fine per the examples:
type Person struct {
	ID   int
	Name string
        Emails   []Email
}

type Email struct {
	ID       int
	PersonID int
}
person := models.Person{}
conn.DB.First(&person).Related(&person.Emails)

But when using non-default primary keys names, the example does not work. Only one email is added to Emails regardless of how many there are.
POSTGRES tables
CREATE TABLE person
(
	person_id SERIAL,
	name varchar(255) NOT NULL,
	CONSTRAINT person_pk PRIMARY KEY (person_id)
)

CREATE TABLE email
(
	email_id SERIAL,
	person_id int NOT NULL REFERENCES person(person_id),
	CONSTRAINT email_pk PRIMARY KEY (email_id)
)

type Person struct {
	PersonId int `gorm:"primary_key"`
	Name     string
	Emails   []Email `gorm:"ForeignKey:PersonId"`
}

type Email struct {
	EmailId  int    `gorm:"primary_key"`
	PersonId int
}

person := models.Person{}
conn.DB.First(&person).Related(&person.Emails)

I've had to resort to using this construct:
person := models.Person{}
conn.DB.First(&person)
conn.DB.Where("person_id = ?", person.PersonId).Find(&person.Emails)

Is this expected behavior? Am I missing a tag on my structs?

Is this a DB issue, Is it solved .. what's that latest runningz


Fix inaccessible uppercase text

Bug Description
Web Stories currently relies on fully capitalized DOM content in order to display certain text as uppercase. This is bad for accessibility, since screen readers will read a text like "FOOD" out as if it was an abbreviation ("F-O-O-D"). Such a visual appearance should instead be achived by using regularly capitalized text ("Food") and use CSS text-transform:uppercase.
Addressing this will probably include two steps at a high level:

Introducing a UI text control that allows showing text all uppercase. This would then need to result in a text-transform:uppercase CSS rule being applied to the element.
Correcting all currently fully capitalized text in Web Stories templates shipped so that they instead rely on the new appearance option.

Unfortunately this will not fix existing stories that already have added fully uppercase text to work around this limitation. Since the negative accessibility impact of this on stories on the web will therefore only grow with time, it may be worth prioritizing this work.
Expected Behaviour
Uppercase text should be achieved via CSS instead of actually having the text all uppercase.

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

cc @swissspidy

cc @swissspidy

Unfortunately this will not fix existing stories that already have added fully uppercase text to work around this limitation. Since the negative accessibility impact of this on stories on the web will therefore only grow with time, it may be worth prioritizing this work.

We can add a migration for existing stories if desired.

Unfortunately this will not fix existing stories that already have added fully uppercase text to work around this limitation. Since the negative accessibility impact of this on stories on the web will therefore only grow with time, it may be worth prioritizing this work.

We can add a migration for existing stories if desired.

cc @samitron7 for considerring adding a new button for uppercase text

cc @samitron7 for considerring adding a new button for uppercase text

@swissspidy

We can add a migration for existing stories if desired.

I thought about that too, but don't think it's really feasible because it's impossible to know (except with some advanced language interpreter engine) whether a word is actually an abbreviation and should be capitalized or not 🤔

@swissspidy

We can add a migration for existing stories if desired.

I thought about that too, but don't think it's really feasible because it's impossible to know (except with some advanced language interpreter engine) whether a word is actually an abbreviation and should be capitalized or not 🤔

@swissspidy

We can add a migration for existing stories if desired.

I thought about that too, but don't think it's really feasible because it's impossible to know (except with some advanced language interpreter engine) whether a word is actually an abbreviation and should be capitalized or not 🤔

True. Plus it doesn't stop users from WRITING LIKE THIS because they don't know about this button.

@swissspidy

We can add a migration for existing stories if desired.

I thought about that too, but don't think it's really feasible because it's impossible to know (except with some advanced language interpreter engine) whether a word is actually an abbreviation and should be capitalized or not 🤔

True. Plus it doesn't stop users from WRITING LIKE THIS because they don't know about this button.

@aaecheverria I'd love to address this one. What we need is a new button in the design panel for making all text (or the selected text) uppercase

@swissspidy
Hi Pascal, just to make sure I'm understanding correctly. You mean a new button within the Text section in the design panel (please see image below)?

@aaecheverria Correct! @ivayloklissarov Yeah that's what I had in mind 👍 Is there enough space in that row to accommodate for that button? :)

Yes I have put it on the far right.  If we want to include more options than what is currently shown on the row, we need to re-think the layout display. @swissspidy

Sounds good.
@miina How easy would it be to implement this? :-)

@swissspidy Sounds like a 3 -- we'd need to add a new formatter to the customStyleFn for the draft-js Editor, considering selecting only part of the text and applying uppercase needs to be possible.

Sounds good 👍
Removing the UX Needed label so you could move this on the board wherever.
Opened #7658 to update the templates once we have this new functionality.

Verified in QA


Use utf8mb4 for mysql charsets

The utf8 charset is pretty broken in MySQL for most peoples uses.... Emojis.
utf8mb4 supports the full unicode spectrum 👍

@iWader Thank you for your patch!
I think we want to keep the same behaviour as the official mysql image, which looks like they default to utf8 but allow you to override with the --charset flag


Module 3 exercises [Stephen Nana Essuman]

Please "drag & drop" exercise 1 pdf file below.
Buffer Clip Model.zip
Module 3 Ex 1.pdf

Please "drag & drop" exercise 2 pdf file below.
Module 3 Ex 2.pdf

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 3 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Stephen. You clearly grasped the material outlined in Module 3 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


spoti-dl not recognized

'spoti-dl' is not recognized as an internal or external command,
operable program or batch file.
I followed all the steps and when I run 'pip install spoti-dl' again it says all the requirements are already satisfied

Hey, thanks for trying it out!
Yeah, I am having issues with the deployment process and v2.0 isnt actually live yet. Sorry for the confusion.
You would have to run spotidl ... command, and would not have access to the following features currently: -p and can download files in only flac and mp3.
I will revert the readme.md file to previous version as well.

@Neimod2004 https://github.com/dhruv-ahuja/spoti-dl#readme
I've reverted the document changes for now, please check this.
I will let you know once I'm able to get the new version up and running.

It also doesn't recognize 'spotidl' as a command, even when I reïnstall and open the terminal in the right directory

Hey, I've released the new version, can you please try reinstalling the app? It will work now :)

C:\Users\D*************s>pip install spoti-dl
Requirement already satisfied: spoti-dl in c:\users\domien smits\appdata\roaming\python\python311\site-packages (0.9.2)
Requirement already satisfied: python-dotenv<0.20.0,>=0.19.2 in c:\python311\lib\site-packages (from spoti-dl) (0.19.2)
Requirement already satisfied: spotipy<3.0.0,>=2.19.0 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from spoti-dl) (2.23.0)
Requirement already satisfied: yt-dlp<2022.0.0,>=2021.12.27 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from spoti-dl) (2021.12.27)
Requirement already satisfied: redis>=3.5.3 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from spotipy<3.0.0,>=2.19.0->spoti-dl) (5.0.1)
Requirement already satisfied: requests>=2.25.0 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from spotipy<3.0.0,>=2.19.0->spoti-dl) (2.31.0)
Requirement already satisfied: six>=1.15.0 in c:\python311\lib\site-packages (from spotipy<3.0.0,>=2.19.0->spoti-dl) (1.16.0)
Requirement already satisfied: urllib3>=1.26.0 in c:\python311\lib\site-packages (from spotipy<3.0.0,>=2.19.0->spoti-dl) (2.0.6)
Requirement already satisfied: mutagen in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from yt-dlp<2022.0.0,>=2021.12.27->spoti-dl) (1.47.0)
Requirement already satisfied: pycryptodomex in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from yt-dlp<2022.0.0,>=2021.12.27->spoti-dl) (3.19.0)
Requirement already satisfied: websockets in c:\python311\lib\site-packages (from yt-dlp<2022.0.0,>=2021.12.27->spoti-dl) (11.0.3)
Requirement already satisfied: async-timeout>=4.0.2 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from redis>=3.5.3->spotipy<3.0.0,>=2.19.0->spoti-dl) (4.0.3)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from requests>=2.25.0->spotipy<3.0.0,>=2.19.0->spoti-dl) (3.3.0)
Requirement already satisfied: idna<4,>=2.5 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from requests>=2.25.0->spotipy<3.0.0,>=2.19.0->spoti-dl) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\domien smits\appdata\roaming\python\python311\site-packages (from requests>=2.25.0->spotipy<3.0.0,>=2.19.0->spoti-dl) (2023.7.22)
C:\Users\D*************s>spotidl help
'spotidl' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\D*************s>spoti-dl
'spoti-dl' is not recognized as an internal or external command,
operable program or batch file.
Even when I try force reïnstalling older versions it doesn't work

your python installed libraries are probably not inside your path, you will have to add c:\users\ds\appdata\roaming\python\python311\site-packages to your PATH environment variable. Then, restart your terminal and you should be able to invoke spoti-dl as per normal

that doesn't seem to be the problem, it still doesn't work

That's strange. I've tested extensively on several systems.
It's most likely related to path only, can you check what is the install location listed when you run python3.11 -m pip show spoti-dl, and whether that is in the path or not.
Also, if you run python3.11 -m spoti-dl and it says something like "cannot run spoti-dl..it's a package" then that means that the app was installed properly from its end.

Ok so 'python3.11' is not recognized as a command, but 'python' is.    (my python version is 3.11.0)
This is what I get when I use python instead of python3.11:
C:\Users\Ds>python -m pip show spoti-dl
Name: spoti-dl
Version: 0.9.2
Summary: spotidl: download songs, albums and playlists using Spotify links
Home-page: https://github.com/good-times-ahead/spoti-dl/
Author: Dhruv
Author-email:
License: MIT
Location: C:\Users\Ds\AppData\Roaming\Python\Python311\site-packages
Requires: python-dotenv, spotipy, yt-dlp
Required-by:
C:\Users\Ds>

Oh got it, I missed it earlier but the problem is the fact that you have v0.9.2, can you please run pip install spoti-dl==2.0.0, this will install the latest version, and you should be able to use it then.

It's working now except that that I have changed the SPOTIPY_CLIENT_ID, SPOTIPY_CLIENT_SECRET and SPOTIPY_REDIRECT_URI in 3 different files, it still doesn't work.
Probably because of all the failed installs/wrong versions.
In what directory should the file be that I need to update?

You will have to add values to to your environment variables, you can refer to a guide online on how to do so for Windows.

they are set properly, I even when I reset the files it doesn't work, I will try searching for different options.

the picture is the result of the 'Set' command

Different profiles have different commands. Most use the export command, hence me asking you to try with export.

I have tried different methods of adding the env variables, it is still the same.
Also 'export' is a linux command and I am trying to run it on windows

You can set system wide environment variables, the same way you added python to your PATH.

The environment variables are correct, spotipy just doesn't recognize them when I run the spoti-dl command with a url

I've checked everything from my end, the app works fine for me once I setup env vars and ffmpeg on Windows.
You should try setting env vars in the system directly rather than the terminal.
There's nothing else to do other than these steps to get the app running.

I've already tried that, my computer might be a lost cause

I'm on Ubuntu and the project is a success. If you have a strong need and don't mind the hassle, I have a solution for you.

(Prerequisites) Install WSL (Windows Subsystem for Linux)
Install git on WSL (If WSL is Ubuntu, then apt update && apt install git is sufficient)
After git cloning the project, pip install dependencies from requirements.txt
Export three environment variables in the terminal
Test to see if it's successful

The suggestion for wsl is a good one.
Can you share a screenshot of your list of env ironment variables, @Neimod2004?
The ones accessed through the settings menu, not the terminal ones.

I'm marking this one as closed, let me know if you figure it out or need further assistance.


setting UI : when clicking "Deactivate now"  Button  in setting/your account tab. text in that button disappears and not showing loading icon

when Clicking the Deactivate now  button in setting/your account tab the text in that button disappears and not showing the loading icon

@zulipbot claim

I think that used to show a spinner in the button; we should figure out what happened to it.

ok


add bot

my bot :-)
https://manifold.markets/ataraxia

actually sec there's a user with the same username just different casing, will tweak

polite bump @IanPhilips

thanks!


Message when using changedSince is wrong

🐛 Bug Report
When using changedSince, the message is No tests found related to files changed since last commit.
To Reproduce
Jest repo: yarn jest --changedFiles=master
Expected behavior
The message should say e.g. since *commit/branch*
Link to repl or repo (highly encouraged)
N/A
Run npx envinfo --preset jest
Paste the results here:
Environment:
  OS: macOS High Sierra 10.13.6
  Node: 8.11.1
  Yarn: 1.9.4
  npm: 6.4.1
  Watchman: 4.9.0
  Xcode: Xcode 9.1 Build version 9B55
  Android Studio: EAP AI-145.3111935 AI-145.3111935

I'd just like to point out that the To Reproduce section should be yarn jest --changedSince=master instead of yarn jest --changedFiles=master

The message should say e.g. since commit/branch

Should we also include tag? Also, given that it can be any Git ref it would be awesome if we are able to figure out if the ref is a commit/branch/tag and then show the appropriate message based on that.

@rogeliog Would that be out of the scope of this issue? I was under the assumption that this issue was just handling the case where no tests are found from the ref given and just return a message like this since master or since ${sha1}.
Seems like there's an overlap with issue #7025. Given your proposal one would now need to parse the ref, shell out to check if it exists in tags, commits, and branches. If it doesn't exist, it will throw an error. Which is what #7025 is handling.


[example]  Image processing example does not work

The buttons in the image processing example do not respond at all.
I have tried the WebGL example on the official homepage on Edge, Chrome, iPhone and it didn't show any response to the buttons. I also confirmed it does not work too when compiled on Raspberry Pi.
I remember it was working well previously.

@copark86 Actually, I'm afraid mouse never worked on that example, you can check the source code... but I'll update it to support mouse.


elixir-ls 0.20.0 regression build failure against erlang 26.2.3

👋 While upgrading OTP to 26.2.3, seeing some build failure as below:
  eheap_alloc: Cannot allocate<PHONE_NUMBER>32459912 bytes of memory (of type "heap_frag").

  Crash dump is being written to: erl_crash.dump...beam/erl_term.h:1492:tag_val_def() Assertion failed: tag_val_def error

https://github.com/Homebrew/homebrew-core/pull/165345
some build log, https://github.com/Homebrew/homebrew-core/actions/runs/8198220954/job/22421868273?pr=165345#step:3:1303

I see, thanks for the pointer.


[BEAM-6073] Update go lock file & README.md

Fix the Go PostCommit and resolve BEAM-6073.
Update the README.md with lockfile updating instructions, since I never remember them either.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


colHeaders and columnSorting not working together V8.0.0

Description
In v8.0.0-beta.1 I'm trying to use colHeaders, columnSorting and data (as an array of objects) together and I get the following error
TypeError: Cannot read property 'indicator' of undefined
I don't get this error when the data is array of arrays.
Steps to reproduce

Create HotTable component with data as an array of objects
Set colHeaders={true}
Set columnSorting={true}
You get the error on page load

Your environment

React version: 16.8.6
Handsontable version: 8.0.0-beta.1
Handsontable types version:  3.1.2
Browser Name and version: Chrome
Operating System: Windows 10

I couldn't recreate your issue.
It works the same in the last official version - https://codesandbox.io/s/declaring-column-settings-xojo2
and in the 8.0.0 beta version - https://codesandbox.io/s/declaring-column-settings-ob0r9

@pnowak thanks for the quick response.
The data you're using is array of arrays, I'm using array of objects ex:- [{name:'Alan', age:25}, {name:'Bill', age:30}]
I'll try extending your demo to replicate

In the meantime, here's the error I get
0.chunk.js:381165 Uncaught TypeError: Cannot read property 'indicator' of undefined     at ColumnSorting.onAfterGetColHeader (0.chunk.js:381165)     at Core.<anonymous> (0.chunk.js:380567)     at Hooks.run (0.chunk.js:375363)     at Core.runHooks (0.chunk.js:358999)     at TableView.appendColHeader (0.chunk.js:430741)     at GhostTable.addColumn (0.chunk.js:433179)     at 0.chunk.js:376356     at arrayEach (0.chunk.js:368718)     at 0.chunk.js:376351     at rangeEach (0.chunk.js:371498)     at AutoColumnSize.calculateColumnsWidth (0.chunk.js:376341)     at AutoColumnSize.onBeforeRender (0.chunk.js:376657)     at Core.<anonymous> (0.chunk.js:376285)     at Hooks.run (0.chunk.js:375363)     at Core.runHooks (0.chunk.js:358999)     at TableView.beforeRender (0.chunk.js:430656)     at Object.beforeDraw (0.chunk.js:430444)     at Settings.getSetting (0.chunk.js:350588)     at Walkontable.getSetting (0.chunk.js:343872)     at MasterTable.draw (0.chunk.js:351018)     at Walkontable.draw (0.chunk.js:343699)     at TableView.render (0.chunk.js:430002)     at Core._refreshBorders (0.chunk.js:359115)     at Core.render (0.chunk.js:356761)     at ColumnSorting.sortBySettings (0.chunk.js:381143)     at ColumnSorting.onUpdateSettings (0.chunk.js:381208)     at Core.<anonymous> (0.chunk.js:375698)     at Hooks.run (0.chunk.js:375363)     at Core.runHooks (0.chunk.js:358999)     at Core.updateSettings (0.chunk.js:357172)     at HotTable.updateHot (0.chunk.js:340715)     at HotTable.componentDidUpdate (0.chunk.js:340782)     at commitLifeCycles (0.chunk.js:274712)     at commitLayoutEffects (0.chunk.js:277662)     at HTMLUnknownElement.callCallback (0.chunk.js:255169)     at Object.invokeGuardedCallbackDev (0.chunk.js:255218)     at invokeGuardedCallback (0.chunk.js:255271)     at commitRootImpl (0.chunk.js:277404)     at unstable_runWithPriority (0.chunk.js:315032)     at runWithPriority$1 (0.chunk.js:266073)     at commitRoot (0.chunk.js:277246)     at finishSyncRender (0.chunk.js:276663)     at performSyncWorkOnRoot (0.chunk.js:276649)     at 0.chunk.js:266127     at unstable_runWithPriority (0.chunk.js:315032)     at runWithPriority$1 (0.chunk.js:266073)     at flushSyncCallbackQueueImpl (0.chunk.js:266122)     at flushSyncCallbackQueue (0.chunk.js:266110)     at unbatchedUpdates (0.chunk.js:276769)     at legacyRenderSubtreeIntoContainer (0.chunk.js:279579)

Even if I changed data from the array of arrays to the array of objects I still can't replicate your issue.
Here is updated demo - https://codesandbox.io/s/declaring-column-settings-kxskh

I managed to find out what the issue was.
So I'm using an array of objects with some props say a,b&c. Another api call adds more props to this array say d & e
Basically what happened was that I had HotColumns for all these props, but when data didn't have d & e I got the error I mentioned above.
Props count in my data object needs to be equal or more than the HotColumns declared, not sure why

I managed to replicate the issue

I managed to replicate the issue https://codesandbox.io/s/declaring-column-settings-bp9os
The case is as follows

I have an array of objects with some initial properties as my data
After some time, a second api I call gets the remaining data and adds new properties

I can get over this by setting the properties' values (ones I get from my second api call) initially to null / undefined and then re-set them once I receive the second api's response.
I'm not really sure why this happens though.

You set the data object to 4 property: id, name, address and age. But in columns you try to set one more column through what doesn't reflect on object data source. Therefore you have an error.
When we update the demo and resign from the last column everything work well - https://codesandbox.io/s/declaring-column-settings-7rz7x

I have the same error when updating settings. No data source is set yet.
https://jsfiddle.net/o49cq7bt/

If you change columns: [{..}] in my demo from 6 to 4 columns it starts working

You set the data object to 4 property: id, name, address and age. But in columns you try to set one more column through what doesn't reflect on object data source. Therefore you have an error.
When we update the demo and resign from the last column everything work well - https://codesandbox.io/s/declaring-column-settings-7rz7x

Hello Piotr,
I have changed your demo from
    handsontableData: [
      { id: 1, name: "Ted Right", address: "K", age: 23 },
      { id: 2, name: "Frank Honest", address: "" },

to
    handsontableData: [
      { id: 1, name: "Ted Right", address: "K" },
      { id: 2, name: "Frank Honest", address: "", age: 23 },

and it's not working fine

@dkwebtec We're working on this here https://github.com/handsontable/handsontable/issues/7228


TI: error in ncumul_released of 28.02.2021

Hi,
there is an error in the  ncumul_released reported for Ticino in 2021-02-28. The value (2641) is actual lower than the one of previous day (2935).

As soon as the data provided by the canton are fixed, I could create a PR.

Data already fixed by source.


Handle accidental git lfs [smudge | clean] runs

These are plumbing commands that aren't designed to be run by users.  However, running them should not hang indefinitely for users.

I was experimenting with Git LFS and I experienced this hanging on git lfs clean/smudge. I was puzzled on what is the recommended way/commands for end users to fetch their binaries from LFS Server without these plumbing  [smudge|clean] commands ?

I actually had a PR for a git lfs download command, but it never saw any (internal) comments, and is now way out of date.  But I do plan to add it soon.
Here's an ugly workaround though:
First, get the blob OID containing the text pointer:
$ git ls-tree master -rl | grep droidtocat
100644 blob 50eb175bbfde63504add621427a6a98910e89697     130	droidtocat.gif
100644 blob c6311098f7d0d260058c01fc69c5c5b68e24220b     131	droidtocat.jpg

Then you can print out the blob's pointer:
$ git cat-file -p 50eb175bbfde63504add621427a6a98910e89697
version https://git-lfs.github.com/spec/v1
oid sha256:d1c8fab51418ef587fcf5dd8e73c60b9700704e2f8f5292ea12ec27c285b23a3
size 25237

Just pipe that to git lfs smudge:
# yes, you have to direct the output to the correct file name :(
$ git cat-file -p 50eb175bbfde63504add621427a6a98910e89697 | git lfs smudge > droidtocat.gif

If you're interested, I'll ping you on the PR that adds the download command.

Looks like a promising approach. There is still a small issue, the file ends up in two places  at this point: as  droidtocat.gif and as 50eb175bbfde63504add621427a6a98910e89697 file and under .git/lfs/objects/... Which looks like redundant at this point and takes double disk space. Do you have plans to do the clean-up as well?

The files in .git/lfs/objects act as a local cache, so clients don't have to re-download files as they change branches or checkout older commits.  We do want some kind of git lfs gc command to clean it up, but we're not totally sure how it'll work.
Do you need it to be ruthless in clearing up disk space, or would you be comfortable with it keeping the last 30 days or so of files?  It's likely there'll be various knobs you can tune in git config to get the behavior you want.

Since this issue is specifically about clean and smudge runs without STDIN, it will be closed when #264 lands.  Please do open another issue if you want to talk about a related issue (such as .git/lfs/objects cleanup) in more detail!


Error report

Error message
Paste the error message in the area below:
Traceback (most recent call last):
  File "maidfiddler\ui\maids_list.py", line 125, in maid_selected
  File "maidfiddler\ui\tabs\maid_stats.py", line 146, in on_maid_selected
  File "maidfiddler\ui\qt_elements.py", line 24, in set_value
TypeError: setText(self, str): argument 1 has unexpected type 'bool'

To Reproduce
Happened connecting to the game
Version information:

Game version 1.31
Maid Fiddler version <IP_ADDRESS>

Additional context
Add any other context about the problem here if there is any.

Old issue, closing. Maid Fiddler has since been updated and the game as well. Please make sure your Maid Fiddler and game are up-to-date.
Please create a new issue if the problem still persists.


Add classroom and social services and viewmodels

Also added rudimentary frontend for classroom feed. Social friend request flow and feed still needs to be tested, and frontend components still need to be made for adding posts.

LGTM 🚀🚀🚀


feat(plugin-http): add/modify attributes

Which problem is this PR solving?

closes #373
closes #394

Short description of the changes

add new utility functions:

getAttributesFromHttpKind
getOutgoingRequestAttributes
getOutgoingRequestAttributesOnResponse
getIncomingRequestAttributes
getIncomingRequestAttributesOnResponse

Those method should be reused for the http2 plugin.
New specs comes with new network/http attributes
http.ts is more readable since we use those functions (in http plugin)
We also set some attributes sooner (before waiting the response)

Sync tests with https plugins

After reading new specs, http plugin need to update parseResponseStatus function...
I created https://github.com/open-telemetry/opentelemetry-js/issues/642

Codecov Report

Merging #643 into master will increase coverage by 1.89%.
The diff coverage is 98.42%.

@@            Coverage Diff             @@
##           master     #643      +/-   ##
==========================================
+ Coverage   90.11%   92.01%   +1.89%
==========================================
  Files         187      191       +4
  Lines        9492     9488       -4
  Branches      878      872       -6
==========================================
+ Hits         8554     8730     +176
+ Misses        938      758     -180

Impacted Files
Coverage Δ

...lugin-https/test/integrations/https-enable.test.ts
94.35% <100%> (+0.13%)
:arrow_up:

...pentelemetry-plugin-https/test/utils/assertSpan.ts
100% <100%> (+2.94%)
:arrow_up:

...plugin-https/test/functionals/https-enable.test.ts
96.05% <100%> (+0.06%)
:arrow_up:

...-plugin-http/test/integrations/http-enable.test.ts
94.35% <100%> (+0.13%)
:arrow_up:

...ntelemetry-plugin-http/src/enums/AttributeNames.ts
100% <100%> (ø)
:arrow_up:

...opentelemetry-plugin-http/test/utils/assertSpan.ts
100% <100%> (+2.77%)
:arrow_up:

packages/opentelemetry-plugin-http/src/http.ts
97.71% <100%> (+0.9%)
:arrow_up:

...y-plugin-http/test/functionals/http-enable.test.ts
96.16% <100%> (+0.06%)
:arrow_up:

packages/opentelemetry-plugin-http/src/utils.ts
97.9% <96.87%> (-0.54%)
:arrow_down:

...kages/opentelemetry-metrics/test/mocks/Exporter.ts
66.66% <0%> (-33.34%)
:arrow_down:

... and 44 more

Example with new attributes:


Add support for --gradio-auth

https://www.reddit.com/r/StableDiffusion/comments/y56qb9/security_warning_do_not_use_share_in/
when adding --gradio-auth example123:password123
I've tried adding --gradio-auth to the params however collab fails
File "/usr/local/lib/python3.7/dist-packages/gradio/blocks.py", line 1055, in launch
"Cannot queue with encryption or authentication enabled."
ValueError: Cannot queue with encryption or authentication enabled.

If you're not using "gradio server", your webui is safe, you don't need a password

@TheLastBen the default, non-gradio server, option opens the UI to the public via loca.lt

Yes, but it should be safe


Use Amazon S3 for static hosting

Once https://github.com/anderspitman/autobencher/pull/42 is merged into autobencher (close to finished), benchmark results will be pushed up to s3, to the scikit-bio.org/benchmarks directory. We need that directory set up to host static content.

@anderspitman, here is an example endpoint until we migrate the actual domain:
https://s3-us-west-2.amazonaws.com/scikit-bio.org/benchmarks/pull_requests/anderspitman/add_asv_config_and_benchmarks/index.html

Purrrfect

:+1:

Of course!

@ebolyen I see no reason not to close this. autobencher is working fine using the full URLs. The URLs are pretty much transparent to the users. So unless you want this left open feel free to close.


Device partially update but seems to be stuck at intermediate firmware: Aoyococr X10S

I am trying to flash the default tasmota.bin to a few Aoyococr X10S smart plugs. I got 2 of the 4 to work without any issues with 2 failing.
Looking at the logs it seems that the intermediate firmware uploaded successfully but then the rest of the steps failed. I do not see an SSID of vflash-recovery on my network post the install.
I actually took one of the devices apart to see if I could put a header on it to manually flash tasmota on it but that is not going to work at all.
Is there anything I can do to recover from this?
smarthack-mqtt.log
smarthack-udp.log
smarthack-web.log
smarthack-psk.log
smarthack-wifi.log

Have you tried power cycling the device?
Assuming the intermediate firmware installed successfully, it should try to connect to vtrust-flash falling back to AP mode with vtrust-recovery. It will not respond to button presses in this state.
If it did not install successfully, it should roll back to stock firmware. It should respond to button presses as normal.

I power cycled it by unplugging the plug from power for about 30 seconds and then plugging it back in. The button does not respond to anything.
I re-ran start_flash.sh and it does not find the device.
When I plug in the device, sometime the led blinks blue slow 3 times and then turns off. Most of the time the led turns on blue and then turns off.
Can you tell from the logs if it actually flashed the intermediate firmware?
How long does it take for it to fail to AP mode?

I'm in the same boat. Did you ever get anywhere with this? plug bricked after initial flash, I don't think it ever got the intermediate firmware. Doesn't respond to button

@axan2149 If it doesn't respond to button, that means it is running the intermediate firmware

I had identical results as "linkages" above on two out of three devices.  The second one I tried completed although it could not save the old image.  The following is part of the output for the successful flash.
IoT-device is online with ip <IP_ADDRESS>
Fetching firmware backup
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0 1024k    0  1460    0     0     16      0 18:12:16  0:01:30 18:10:46     0
curl: Saved to filename 'firmware-b9ef4d.bin'
curl: (28) Operation timed out after 90000 milliseconds with 1460 out of 1048576 bytes received
Could not fetch a complete backup
Do you want to continue anyway? [y/N] y
Getting Info from IoT-device
VTRUST-FLASH 1.5
(c) VTRUST GMBH https://www.vtrust.de/35c3/
READ FLASH: http://<IP_ADDRESS>/backup
ChipID: b9ef4d
MAC: 84:0D:8E:B9:EF:4D
BootVersion: 7
BootMode: normal
FlashMode: 1M DOUT @ 40MHz
FlashChipId: 144068
FlashChipRealSize: 1024K
Active Userspace: user2 0x81000
Ready to flash third party firmware!

I had identical results as "linkages" above on two out of three devices.  The second one I tried completed although it could not save the old image.  The following is part of the output for the successful flash.
"IoT-device is online with ip <IP_ADDRESS>
Fetching firmware backup
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0 1024k    0  1460    0     0     16      0 18:12:16  0:01:30 18:10:46     0
curl: Saved to filename 'firmware-b9ef4d.bin'
curl: (28) Operation timed out after 90000 milliseconds with 1460 out of 1048576 bytes received
Could not fetch a complete backup
Do you want to continue anyway? [y/N] y
Getting Info from IoT-device
VTRUST-FLASH 1.5
(c) VTRUST GMBH https://www.vtrust.de/35c3/
READ FLASH: http://<IP_ADDRESS>/backup
ChipID: b9ef4d
MAC: 84:0D:8E:B9:EF:4D
BootVersion: 7
BootMode: normal
FlashMode: 1M DOUT @ 40MHz
FlashChipId: 144068
FlashChipRealSize: 1024K
Active Userspace: user2 0x81000
Ready to flash third party firmware!"

I now have four working Aoycocr  X10S.  This post describes how I recovered the two bricks mentioned in my previous post plus a third brick I made since then.  All bricked after running ./start_flash.sh.  I believe this recovery method gives a clue as to why the intermediate firmware is marginally compatible with the X10S.
First I removed the cover from the brick.  At this point 120V is exposed so I never plugged it into the power outlet.
I then carefully soldered wires on the 3.3V regulator chip.
My first try was to hook up the wires to two, 1.5V AA batteries (3V).  After literally hundreds of wire jiggles to make the esp8266 reboot in weird ways, somehow it started OK and reflashed.  This made me think that something about the startup of the esp chip with the intermediate firmware on it is the problem.
To see if the 3.3V supply was too slow getting to voltage for this firmware, I first added a 4,700 microfarad capacitor across the batteries and I then connected my second brick.  When I ran ./start_flash.sh , the brick immediately reflashed after doing a complete save of the old firmware, with no delays or unusual messages.
I used the capacitor method on my third brick with the same success.
There are long leads on the push button switch that must plug into a socket on the motherboard when reassembling.
The fact that the intermediate code does not run properly with a slow ramp up of the 3.3V supply, but the final code is fine, makes me think there might be a hint to a solution to make the intermediate firmware compatible with this hardware (a delay or brown-out reset).

@skpram219 would you mind taking some pictures of which pins are the ones to use? Also, how did you seal the socket back up after you were done with it? I have one taken one of mine apart but it seems like it is basically broken.

I was able to break the assembly joints on the case so it fit together perfectly.  I do not have a photo but the 3.3V regulator is shown.  "Output" is connected to +3V from my battery/capacitor.

I was stuck in the same spot where it would fail while attempting the backup after a few seconds.
Commenting out line 92 (sleep 2) and then lines 98-104 from start_flash.sh so it just doesn't even attempt that part fixed 3 out of 4 of my plugs.  I would just start the script, power up the plug, and get through the options as fast as possible.
I decided to just try it without the backup rather than go down the road of opening these things up... and somehow it worked.  I was pretty surprised so I figured I'd share.
1 of the 4 I am stuck on and it just blinks once (sometimes 2-4 times) then goes dead.  The button does nothing but I also don't get the "vtrust-recovery" AP or anything.  I wonder if that one died in the middle of installing the intermediate firmware or what... I just tried it about 20 times and I'm not getting anywhere with it.

Of my 4

Zero flashed properly.  All were stuck with the temporary firmware
One flashed with @iankaufmann suggestion for commenting
Three flashed with @skpram219 suggestion for soldering

I purchased 4 of these earlier this year, seemingly bricked the first two. After reading this thread, I was able to use @iankaufmann 's suggestion and got the third one working, but the fourth also seems to be bricked now... I was able to open one of the first two (without much trouble or significant damage), but my attempts to revive it haven't worked so far.
The question I have: if I apply 3.3V power to the voltage regulator pins, will that cause the unit to fall back to the factory firmware, then I just start over again with the modified start_flash.sh?

I think I answered my own question... I applied power to the regulator pins, ran start_flash.sh without modification and it updated the firmware! One down, two to go...

@clharting
 @MrPaulAR
 @skpram219
 -- can any of you describe your strategy for opening it up without damaging the unit? I tried going around the seam on the back with a scalpel but that thing is stuck on there tight! Heat gun?

@n8henrie , there are four tabs on the back panel. I used a utility knife to go along the long straight seams until the tabs popped. At that point, you can get a screwdriver in there and just work your way to one end, then the other. The shell flexes a bit,  but  I didn't break anything.

Update: I have all 4 units working. I used Elmer's Glue to put them back together. Probably not a good long-term solution, but I don't expect to move these around a lot...

I was stuck in the same spot where it would fail while attempting the backup after a few seconds.
Commenting out line 92 (sleep 2) and then lines 98-104 from start_flash.sh so it just doesn't even attempt that part fixed 3 out of 4 of my plugs. I would just start the script, power up the plug, and get through the options as fast as possible.
I decided to just try it without the backup rather than go down the road of opening these things up... and somehow it worked. I was pretty surprised so I figured I'd share.
1 of the 4 I am stuck on and it just blinks once (sometimes 2-4 times) then goes dead. The button does nothing but I also don't get the "vtrust-recovery" AP or anything. I wonder if that one died in the middle of installing the intermediate firmware or what... I just tried it about 20 times and I'm not getting anywhere with it.

Could you post  the actual lines (text) or a screenshot please? I have 2 bricked and would like to try this but for some reason I am not understanding what those lines are suppose to be. Sleep 2 isn't on line 92 on mine for some reason. Thank you

Sure, it does look like the code has been updated since my post.  Looks
like it would currently be lines 97-110.
Basically the idea was that if you wait too long, the Aoyococr device
seemed to be turning off, going to sleep, or otherwise dropping the
connection.
So I just looked for what was holding it up.  Taking out the sleep 2 and
the backup process happened to work (once).  I still have a bricked one
that I can't get this to work on though.
I think it all comes down to exact timing... you have a few second window
to get it.  I figured, I am never going to use this plug as intended by the
manufacturer (on the cloud) so I don't care if I have a backup of the OG
firmware or not.  I'll throw it away bricked before I use it on the cloud.
Hope that helps.
[image: Screen Shot 2020-08-17 at 10.11.30 AM.png]
On Mon, Aug 17, 2020 at 9:59 AM Mindsgoneawol<EMAIL_ADDRESS>wrote:

I was stuck in the same spot where it would fail while attempting the
backup after a few seconds.
Commenting out line 92 (sleep 2) and then lines 98-104 from start_flash.sh
so it just doesn't even attempt that part fixed 3 out of 4 of my plugs. I
would just start the script, power up the plug, and get through the options
as fast as possible.
I decided to just try it without the backup rather than go down the road
of opening these things up... and somehow it worked. I was pretty surprised
so I figured I'd share.
1 of the 4 I am stuck on and it just blinks once (sometimes 2-4 times)
then goes dead. The button does nothing but I also don't get the
"vtrust-recovery" AP or anything. I wonder if that one died in the middle
of installing the intermediate firmware or what... I just tried it about 20
times and I'm not getting anywhere with it.
Could you post the actual lines (text) or a screenshot please? I have 2
bricked and would like to try this but for some reason I am not
understanding what those lines are suppose to be. Sleep 2 isn't on line 92
on mine for some reason. Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ct-Open-Source/tuya-convert/issues/553#issuecomment-674932729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIMRYI3WGETBZAGTZ4Y76TSBFAUTANCNFSM4K2VUNGQ
.

Thank you. Going to dig out my rpi and see if i can get these 2 flashed. Hopefully it works so I can order more.

Thank you. Going to dig out my rpi and see if i can get these 2 flashed. Hopefully it works so I can order more.

No prob.  For what it's worth, I had better luck with these:
BN-Link - BNC-60/U133TJ-2P
100% success rate on those!  Still had a bit of a timing finesse to work through, but they all worked in a few attempts.  This was helpful:  https://donnlee.com/2020/07/10/tuya-convert-bn-link-bnc-60-u133tj-wifi-smart-plugs/
Not trying to shill the other product in the Aoyococr thread but I think it's relevant.  Maybe some of the tips in that article apply here too.  It's obvious that some devices have this issue with tyua-convert and timing.
The Gosund WP3 was by far the smoothest experience.  Flashed about 12 of them in a row without a single hitch.  But every energy monitoring plug I've tried has been a pain.
Good luck!

The 3.3v trick worked for me. I bought 4 and 2 flashed fine and the other two went sideways. Thanks for the tip.

Thanks for the great tips! I previously bought 4 of these from amazon on 24th of april 2020, all 4 worked with tuya convert (had to try multiple times though). On the 26th of sep 2020 I bought 4 more, and all of these were stuck on intermediate firmware.
Its listed that the X10S' are possibly firmware updated since 21st of april, and that they cant be converted due to new PSK format, but that's not the case from what ive seen.
the 3.3v trick worked for me, however i didn't have to use any capacitors nor did i have to solder. I just opened it up and connected jumper wires to ft232 uart and held them on the board while tuya convert did its work.
thanks again all who contributed.

@skpram219 Where did you connect the negative side of your battery? The ground pin of the regulator?

Anything on the ground plane.
On Mon, Nov 2, 2020 at 12:31 PM Ilya Braude<EMAIL_ADDRESS>wrote:

@skpram219 https://github.com/skpram219 Where did you connect the
negative side of your battery? The ground pin of the regulator?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ct-Open-Source/tuya-convert/issues/553#issuecomment-720648671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4XLQHGFTG2DBGDHAYB2DLSN33GVANCNFSM4K2VUNGQ
.


Chore add TTopnFilterContext

Proposed changes
add TTopnFilterContext
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


some data is not available now

`
download dependency parser dataset... (clone from https://github.com/rguthrie3/DeepDependencyParsingProblemSet
mkdir: created directory '../dataset/dparser'
--2018-03-02 15:08:08--  https://raw.githubusercontent.com/rguthrie3/DeepDependencyParsingProblemSet/master/data/train.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-02 15:08:09 ERROR 404: Not Found.
--2018-03-02 15:08:09--  https://raw.githubusercontent.com/rguthrie3/DeepDependencyParsingProblemSet/master/data/vocab.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-02 15:08:09 ERROR 404: Not Found.
--2018-03-02 15:08:09--  https://raw.githubusercontent.com/rguthrie3/DeepDependencyParsingProblemSet/master/data/dev.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-02 15:08:09 ERROR 404: Not Found.
`
It seems like @rguthrie3 has deleted the repo... Could you please update a new address for us? Thanks!

Sorry, didn’t know anybody was using it.  A copy of the problem set is available still on the class GitHub I wrote it for here
https://github.com/jacobeisenstein/gt-nlp-class/tree/master/2017-materials/psets/ps4


Sidecar version of charm (current version in main) does not update config when juju config invoked

Charm currently does not update the actual dex-auth workload whenever a config change occurs at the charm level.  The charm correctly handles the config change, updating the underlying configmaps, etc., but the workload that mounts the configmap is not restarted.  This is similar to canonical/minio-operator#47.  This can be demonstrated by:
juju config dex-auth connectors="this config should not work"`
# charm will fire config-changed and configmap will update, but workload itself will not break as expected
kubectl delete pod DEX-AUTH-WORKLOAD-POD-NAME
# New pod will be created to replace the deleted pod, but it will go into a crash loop and we can see the reason is the connector config by looking at `kubectl logs NEW-POD`

Fixed by https://github.com/canonical/dex-auth-operator/pull/62


#18 marionette driver support added

Nice work! I'll try to review and release this before the end of the weekend.


Internal redirect not work

I have been spending a lot of time trying to fix this particular problem of mine.
So I need help.
I tray put my project in the server of production but not a success. I try to access the router for recovery logged user in this route api/app/configuration.
I can login in the application, but when I try to get any request this error is printed in my console(I'm using docker)
Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler
Exception occurred while processing message.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://SERVER/qa-identity/.well-known/openid-configuration'.
when I use localhost this application work's fine.
My nginx proxy has this configuration
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;

Hi guys, I finally managed to solve this issue.
As I am using microservices in docker containers, I was making requests from different places. With that, I needed to fix my IssuerUri.
services.AddIdentityServer (x =>
{
x.IssuerUri = "my_auth";
})
I solved my problem-based in this question in StackOverflow

I have a linux server with NGINX which proxies https://mydomain.com request to the https://localhost:8080 -- this backend is running on a docker instance.
But, I got issue like this.
backend_1  | info: IdentityServer4.Hosting.IdentityServerMiddleware[0]
backend_1  |       Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration
backend_1  | fail: Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler[3]
backend_1  |       Exception occurred while processing message.
backend_1  | System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  |  ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://<IP_ADDRESS>:8080/.well-known/openid-configuration/jwks'.
backend_1  |  ---> System.Net.Http.HttpRequestException: Connection refused
backend_1  |  ---> System.Net.Sockets.SocketException (111): Connection refused
backend_1  |    at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
backend_1  |    at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
backend_1  |    at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)
backend_1  |    at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
backend_1  |    at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
backend_1  | fail: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[0]
backend_1  |       IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  | System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  |  ---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://<IP_ADDRESS>:8080/.well-known/openid-configuration/jwks'.
backend_1  |  ---> System.Net.Http.HttpRequestException: Connection refused
backend_1  |  ---> System.Net.Sockets.SocketException (111): Connection refused
backend_1  |    at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.DiagnosticsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
backend_1  |    at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
backend_1  |    at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)
backend_1  |    at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)
backend_1  |    at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
backend_1  |    --- End of inner exception stack trace ---
backend_1  |    at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
backend_1  |    at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
backend_1  |    at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
backend_1  |    at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
backend_1  |    at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
backend_1  |    at IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler.HandleAuthenticateAsync()
backend_1  | info: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[7]
backend_1  |       Bearer was not authenticated. Failure message: IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  | info: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[7]
backend_1  |       Bearer was not authenticated. Failure message: IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  | info: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[7]
backend_1  |       Bearer was not authenticated. Failure message: IDX20803: Unable to obtain configuration from: 'https://mydomain.com/.well-known/openid-configuration'.
backend_1  | info: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[12]
backend_1  |       AuthenticationScheme: Bearer was challenged.

Note: Currently I set IdentityServerAuthentication > Authoriy as https://mydomain.com


Fix for 15_basic_material on Android

Updated IBL loading work properly on Android, not the most efficient method but that will be addressed in a follow up PR.
Added logging to show long an application Setup() takes for easier eyeball benchmarking.
Added 15_basic_material to Android samples.

I asume this fixes https://github.com/google/bigwheels/issues/140? Could you add Fixes https://github.com/google/bigwheels/issues/140 in the PR description?


Support signature templates

Current situation:
@omnisci('double(double[], int64)', 'float(float[], int64)', 'int64(int64[], int64)', 'int32(int32[], int64)')
def mygetitem(x, i):
    return x[i]

Desired situation:
@omnisci('T(T[], int64)', T=['double', 'float', 'int64', 'int32'])
def mygetitem(x, i):
    return x[i]

or more generally,
@omnisci('T(T[], integer, fp, int64)',
         T=<list of numpy|numba|typesystem types>,
         integer=['int8', 'int16', 'int32', 'int64'],
         fp=['float32', 'float64'])
...

that will generate 2 * 4 * len(T) signatures.

This issue is a follow-up to #182 .

I believe this issue is already solved. cc @pearu

I believe this issue is already solved. cc @pearu

Yes, closing it.

Yes, closing it.


Read from public s3:// paths without authentication, without requiring any code change from users

Feature Description
If a file is hosted publicly on S3 and a user without AWS credentials set up must use fs_kwargs: BioImage("s3://bucketname/path/to/file", fs_kwargs=dict(anon=True)). (I'm thinking specifically about OME ZARRs, but this is likely relevant to all readers.)
Instead, bioio should be able to handle this internally and let the user write BioImage("s3://bucketname/path/to/file").
Solution
As far as I can tell, the proper way to check if a user is authenticated to read a file is to attempt to read it and see if there's an error, so the solution I think is to try to read files twice with logic similar to the following.
try:
   # __init__ with user's fs_kwargs
except SomethingSpecific as e:
   if protocol == "s3://":
       # __init__ with user's fs_kwargs plus {anon: True}
   else:
       raise e

Alternatives
Looks like they tried it in s3fs but was reverted “unfortunately, it led to far more problems than it solved. I’d be happy to see a more solid implementation, if some wants to try.”

This came up again with our internal scientists.  We need a good fix for this so our users can not waste time figuring out why their s3 urls don't work.


Add support to mkdocs-macros plugin

Mkdocs-Macros is a plugin/mini-framework for unleashing the power of a static website generator, using variables and macros. It converts markdown into a Jinja template. So you can store some variables in a YAML file, and type {{ variable_name }} in the markdown file. So can you add a function that allows the mkdocs-mdpo-plugin to recognize the Jinja syntax (especially control structure syntax...) and extract the values from variables in the YAML files and replace the declarations with them?

I would prefer to create a standarized system to translate non-static mkdocs content. This should be done in Mkdocs. The current way of adding support for a lot of plugins is unmaintenable: support for compatible Mkdocs versions for the plugin and external ones + "raw" (as not standarized) support for plugins versions. But seems that Markdown writers are not totally aware that the language is composed by just blocks of content and they prefer static solutions.
Keep in mind that this is a voluntary project and I don't have time nor motivation to support all this work, which implies days of writing, refactoring, testing...


Thumbnails on the welcome page

Instead of a list show thumbnails in a grid. Maybe with the title above or below and a short description on hover. Maybe add an effect to make it grow slightly on mouseover? The thumbnails are links to the sketches.

duplicate of #24


Feature/config window size

fixed #150 and #69
syntax within the configuration (ini) file is:
# new section
[mainwindow]

# resize main window
width=1700
height=1000

# force main window to stay full screen
force_fullscreen=true

did some code review... canceling this request and adding a new one

decided to continue here.

I think I would merge this request now. Adding x and y to set window position can be made but is usually up to the window manager. what do you think?
Any further suggestions?
And excuse me for bringing all that tension of my learning curve into the commit history :grin:

Wouldn’t it be better to completely disable resizing if any if the tree options are set? I would expect the config options do disable manual resizing.
This would also remove the need for the on-resize callback, which has a bad smell to me.

Good idea to make the window un-resizable when width/height is used. But full screen state is just not affected by this :/


Browser supported?

Could you please list somewhere the browsers that angular-formly support ?

Formly supports the latest browsers (even IE8). You find more information in the documentation.

I hadn't seen that part in the documentation... my bad! Σ(°Д° )
Thank you @stefanzweifel ! ;-)

Hi all,
I have some troubles with IE8, IE9.
Moreover  doc is not available
http://docs.angular-formly.com/v6.3.2/docs/support-ie-8
http://docs.angular-formly.com/

The docs are available for me...


hotfix/set-correct-case-for-filename

Commit Summary

set correct case for filename

Thank you!

The files have reappeared in adfe1f5f2bbd79fd18b5b5caab69017c7400c727.
It seems both class names are defined by the API:
https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest


docs: outdated version in man page

I see the current version is 0.24.0 but manpage still mentions 0.23.0 at multiple instances.

Thanks for catching this. I'll update it shortly.

Fixed in #75aad104535da35315fc74eb3e453fd9dfaf630a


on app, I wrote with Serial.write("rrr".getBytes()), but arduino doesn't received.

android code is as below
I checked Serialport is opened, then I write string data to arduino
     ` serialPort = UsbSerialDevice.createUsbSerialDevice(UsbSerialDevice.CP210x, device, connection,0);
                if (serialPort != null) {
                    Toast.makeText(getApplicationContext(),"opened!!!",Toast.LENGTH_SHORT).show();
                    Log.e("dialog","serialport : "+serialPort.toString());

                    serialPort.setBaudRate(9600);
                    serialPort.setDataBits(UsbSerialInterface.DATA_BITS_8);
                    serialPort.setStopBits(UsbSerialInterface.STOP_BITS_1);
                    serialPort.setParity(UsbSerialInterface.PARITY_NONE);
                    serialPort.setFlowControl(UsbSerialInterface.FLOW_CONTROL_OFF);

                    serialPort.write("rrr".getBytes());

                    serialPort.read(mCallback); //

                } else {
                    Log.e("dialog", "PORT IS NULL");
                }`

on arduino,
loop(){
}
I added blink to recognize arduino is received string data well.
but not blinking at all...
what did I do wrong.

my git address to refer is...
https://github.com/kotran88/SerialPrinting

could you solve this? having same problem here

You need to write in other function see the example https://github.com/felHR85/UsbSerial/tree/master/example
And i arduino you need to begin the serial port


Move to gpt-3.5-turbo

This experimental PR integrates GPT-3.5 Turbo to test out what is possible. I don't think we can merge it like this. A couple of things might have to be changed, specifically the input messages adapted to each platform we are using the tool.
I had to do significant changes to the prompt and the way we interact with the model. I did it similarly to the leaked Bing prompts, as it is a message-based model rather than a prompt-based model. This was necessary to guarantee the output format of the talkative model.
My initial impressions of the model quality are great. The quality of predicted commands is much better than every other tool I have tested. The user can interact with the model in multiple turns to refine the command. Furthermore, the model is capable of fixing its own mistakes from stderr of the user (and yes, this is sending sensitive data to OpenAI currently). The cherry on top is that it is about 10 times cheaper than the davinci model.
I'm open to discussions if something like this would make sense or not.

Very cool! I really like the ability for it to fix errors from stderr!
I am not following why we should not merge this? Seems pretty great to me?
"A couple of things might have to be changed, specifically the input messages adapted to each platform we are using the tool." --> could you elaborate a bit more?

There are 2 problems with the current changes. The examples are only provided for MacOS, I am unsure about the model quality outputs for e.g. Windows computers. In general I think we can improve with the examples: like proposed in the openAI cookbook:
messages = [     {"role": "system", "content": "You are a helpful, pattern-following assistant that translates corporate jargon into plain English."},     {"role": "system", "name":"example_user", "content": "New synergies will help drive top-line growth."},     {"role": "system", "name": "example_assistant", "content": "Things working well together will increase revenue."},     {"role": "system", "name":"example_user", "content": "Let's circle back when we have more bandwidth to touch base on opportunities for increased leverage."},     {"role": "system", "name": "example_assistant", "content": "Let's talk later when we're less busy about how to do better."},     {"role": "user", "content": "This late pivot means we don't have time to boil the ocean for the client deliverable."}, ]
The second problem: I noticed I broke the users chat history. Haven't checked if its because I am using  result = subprocess.run(cmd,..)instead or if I just forgot to add history.save(cmd)

@JoelKronander I think this is good to merge now. I fixed the pointed out issues regarding the differences between bourne, fish and cmd shell. I also allowed the user to already use the new gpt-4 model (if the user is on the waitlist). Initial tests are great. GPT-4 listens much better to the system prompt (for e.g. refinements of commands) and the accuracy of the prompts increased significantly.

@JoelKronander @kafischer, just a side note here. I strongly recommend that we focus on enhancing our project's modularity at this stage. We should adopt the package by feature approach. Otherwise, maintaining the project will become increasingly challenging in the future.

@kafischer @JoelKronander friendly reminder for the review

@2mawi2 Sorry for late replay, LGTM!


[LANG-1753] StringUtils.replaceEachRepeatedly regression in 3.11+

https://issues.apache.org/jira/browse/LANG-1753
The method replaceEachRepeatedly calls replaceEach repeatedly until no more replacements are possible or timeToLive < 0. The timeToLive starts with the value of searchList.length. The current implementation can't distinguish between infinite loops and deeply nested string patterns. In both cases, it continues replacements until it hits the time-to-live limit and throws IllegalStateException if replacements are still possible.
The problem with LANG-1528 fix is that in some cases, it allows partially replaced strings after TTL is exceeded. This fix reverts replaceEach logic back to version 3.10 (see PR #505), but allows deeper dives due to an increased initial TTL value. The initial TTL value is now set to the greater of searchList.length or up to 5 levels deep. This default value was chosen based on rational considerations.

Thanks for the fix! Seems perfect for us.


inputs_for/2 (BadFunctionError) expected a function, got: []

inputs_for/2 passes an empty list to the anonymous function argument of inputs_for/3, resulting in a BadFunctionError.  It looks like the previous inputs_for/3 from Phoenix.HTML handled the list argument, but was deprecated and not carried over.
I'm happy to submit a PR for this, but I'm not sure how you'll want it fixed.

Please do send a PR! It should work as it worked in Phoenix.HTML.


bugfix: no need to run hooks for app

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Base: 20.46% // Head: 20.46% // No change to project coverage :thumbsup:

Coverage data is based on head (08de962) compared to base (4cf0a41).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1785   +/-   ##
=======================================
  Coverage   20.46%   20.46%
=======================================
  Files          71       71
  Lines        6559     6559
=======================================
  Hits         1342     1342
  Misses       5036     5036
  Partials      181      181

Impacted Files
Coverage Δ

pkg/cluster-runtime/installer.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Identity Baseline Policy Initiative

Hi there.
For a lot of the customers I work with they have VM's in the Identity Subscription (DC's). Would it be worthwhile having the VM related monitoring in this initiative as well as the platform one?
Thanks

Hi @gerrynicol, thanks for your feedback. We will review this and get back to you.

@gerrynicol We discussed this as part of our weekly triage and this is a valid ask, we need to consider wider monitoring of VM's are present in those subscriptions e.g. UDR, NSG etc so we agreed this needs doing but we have some other priorities we're working through such as GA prep and ALZ integration. We're capturing this on the backlog for now as a valid ask.


change anda to kamu

Fixing words suggested in Kubernetas contributor workshop in OpenInfra Day Surabaya, Indonesia
/language id
/cc @CahyoSantosa

Already fixed in master branch (#17356)
/close


ci: add Fedora 37

This commit needs to do two things:

update the terraform definition
add fedora-37 to the gitlab-ci file

I also removed the commented out aarch64 runners to clean the file a bit.

osbuild 376cbffd136bc4ba86fc7c63697fa5b88fe3ace 2.5 kB/s | 303  B     00:00
[2603](https://gitlab.com/redhat/services/products/image-builder/ci/koji-osbuild/-/jobs/3378678163#L2603)Errors during downloading metadata for repository 'osbuild':
[2604](https://gitlab.com/redhat/services/products/image-builder/ci/koji-osbuild/-/jobs/3378678163#L2604)  - Status code: 403 for http://osbuild-composer-repos.s3-website.us-east-2.amazonaws.com/osbuild/fedora-37/x86_64/376cbffd136bc4ba86fc7c63697fa5b88fe3acef/repodata/repomd.xml (IP: <IP_ADDRESS>)
[2605](https://gitlab.com/redhat/services/products/image-builder/ci/koji-osbuild/-/jobs/3378678163#L2605)Error: Failed to download metadata for repo 'osbuild': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Ah, sure, we need newer versions of osbuild and composer. The old ones don't have F37 RPMs.

Do we actually need to keep testing on F36? 🤔

@thozza We release into both F36 and F37, so we probably should. Does it make sense?

@thozza We release into both F36 and F37, so we probably should. Does it make sense?

fair...

@ondrejbudai integration test is failing on el8.6, specifically the upload to AWS.
There are no useful logs, no journal. 😢

I fixed it by increasing the apache timeout in the kojihub contianer. Apparently, we were hitting it while CGImporting the big raw image for AWS.
I'm pretty sure that this is happening in the CI for quite some time, but it was masked due to infamous https://github.com/osbuild/osbuild-composer/commit/972da81a91c0ff7d5360ceed66a051fc7aa9ce47


Add path-only normalization

Probably not a huge feature, but if we are in the business of adding more normalizations, this might be nice:
When a task only uses the names or relative paths of its input files (e.g. CreateStartScripts.relativeClasspath) we still want to track build dependencies. This can be tricky involving an @Input List<String> property, an @internal FileCollection one, and no @InputFiles or @Classpath. This is confusing, and we could circumvent it by adding a specific normalization for file paths instead.

cc: @gradle/build-cache

Property types now track build dependencies, so @Input is perfectly fine, isn't it?

That's true. However, you still need an @Internal ConfigurableFileCollection property, or the user has to do the mapping from files to paths, which is error-prone.
@NoContent
@PathSensitive(RELATIVE)
ConfigurableFileCollection classpath

The above could be easier to comprehend.

This is something we want to do.