Error converting value "phone_number" to type 'Telegram.Bot.Types.Enums.MessageEntityType'

I found a bug to report
Hello,
Thanks for this project! It's great.
A couple of days ago i moved to version 14 and everythink was OK, but from today i'm getting error when trying to get updates.
Steps to reproduce
var updates = await _client.GetUpdatesAsync(_client.MessageOffset)
Expected  behavior
getting updates
Actual behavior
018-06-06 10:34:30.1650|ERROR|MyBot|Newtonsoft.Json.JsonSerializationException: Error converting value "phone_number" to type 'Telegram.Bot.Types.Enums.MessageEntityType'. Path 'result[0].message.entities[0].type', line 2, position 483. ---> System.ArgumentException: Requested value 'phone_number' was not found.
at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
--- End of inner exception stack trace ---
Screenshots
Environment data
NuGet Package Version: 14.3.0
.NET Version: 4.5
IDE:  VS2015
App: Desktop

@fedderrico Thank you. We already have a fix for this bug and will soon release an update to Nuget.

I also get the same error, there is an incoming message containing the phone number.
But strangely, if you create a new bot account, there is no error when sent a message in the form of a phone number.
the error :
Error converting value "phone_number" to type 'Telegram.Bot.Types.Enums.MessageEntityType'. Path 'result[0].message.entities[0].type', line 2, position 369.
hopefully soon there are updates and solutions, thanks.

I also get the same error, there is an incoming message containing the phone number.
But strangely, if you create a new bot account, there is no error when sent a message in the form of a phone number.
the error :
Error converting value "phone_number" to type 'Telegram.Bot.Types.Enums.MessageEntityType'. Path 'result[0].message.entities[0].type', line 2, position 369.
hopefully soon there are updates and solutions, thanks.

@mafaza86 This phone_number entity seems to be a new undocumented change. Fix will be available shortly.

i am also have same problem
any fix or update?

https://www.nuget.org/packages/Telegram.Bot/14.5.0

thanks @pouladpld work perfect...

Thanks!

@SaeedTuzande join our group TelegramBots - .NET for discussion. Check out examples to see possible library use cases, like this one:
https://github.com/TelegramBots/Telegram.Bot.Examples/blob/f59ac9b2449b56947dd4795141dae85422696a4d/Telegram.Bot.Examples.Echo/Program.cs#L48-L60

@karb0f0s  i want to make buttons online (read from sql or database) i was use old method .. but in update 14  i donot know how make it runtime

@SaeedTuzande It's unrelated to bug report. Please join the our group and ask there.


youtube

How do I add youtube channel to elfeed to get video updates?

Found it in page source: grep for channel-external-id and use it with https://www.youtube.com/feeds/videos.xml?channel_id=.

Here's a whole bunch more discussion about it:
https://www.reddit.com/r/youtube/comments/339idg/youtube_just_dropped_its_support_for_rssatom_feeds/
Unfortunately it's not as powerful and flexible as the old v2 API, but it's better than nothing, like when Twitter completely dropped RSS support 2 years ago.


Bump libs, tweak README and docs

coverage: 100.0%. remained the same
when pulling f0e29749a4a10ae3a7c79e0914f008031298823b on v/2.0.2
into c23b2375c9103b45df01f74481043e28976bac03 on main.


PowerShell container

Added base PowerShell container with various tools for pipelines.
Signed-off-by: Mike Lloyd<EMAIL_ADDRESS>

@mxplusb Can you help us understand why we need the powershell container?

@aminjam sure, it's for the vSphere pipeline, you can push and install the Bosh Agent, export the OVA from vSphere, and repackage it as a stemcell in PowerShell, so the base container is for Concourse, so it can perform all the PowerShell operations. Doing these operations in PowerShell is a more Windows-native method than doing it with Ruby. :)

@mxplusb This sounds great! This PR is only adding the Dockerfile for powershell. If I understand this correctly, you are trying to talk to vcenter through powershell from linux containers. Can we include all of those features in this PR? I understand that this may still be a work-in-progress for you. We would like to get the full picture of the process before deciding to merge these changes.

@aminjam yeah, there are/will be more features that I am going to be adding for sure! However I need to make changes here and in greenhouse-ci as well, so I need to start somewhere. This may not be the final Docker container, it may be a Windows Server Container instead, depending on whether or not VMware's PowerCLI functions as intended in PowerShell Core.
Might be worth adding a tag for vsphere-feature or something similar, since I don't have write access and I'll have to file a couple PRs. :)

@mxplusb Are you still working on this and need a solution here, or did you work around it/stop working on it?

@mxplusb and I chatted offline; he's good to close this.


[Bug]:

Bug description
Failure for current master to install Qt 6.8.0 for linux for desktop because of change in directory structure of https://download.qt.io/online/qtsdkrepository/qt6_680 to now include a sudirectoty qt6_680.
This is true for all mirrors I have tested so far.
Log message:
2024-10-25 10:52:57,690 - aqt.helper - DEBUG - helper<PHONE_NUMBER>10400 Attempt to download checksum at https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_680/Updates.xml.sha256
2024-10-25 10:52:58,481 - aqt.main - ERROR - installer<PHONE_NUMBER>10400 Failed to locate XML data for Qt version '6.8.0'.
This is a result of a new nested folder being used in qt6_680.  Check out this link and compare it against all others:
https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_680/
Now leads to a new nested folder qt6_680 instead of the Updates.xml file.  The Updates.xml file is found here instead:
https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_680/qt6_680/
Expected behavior
It works the same as it does for qt 6.7.3
aqt and python version
latest on Manjaro stable, and with master
Operating System
Linux/Unix
Relevant log output
See above.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi.
Title suggestion: Qt 6.8.0 nested folder is unsupported

This is true for all mirrors I have tested so far.

Nice try, and they are the same because they are the mirrors.

Understood but not all mirrors were updated previously with this change.
Did you follow the manual links.  Do you understand the issue or do you need more info?

I checked out master and saw the proper code in archives.py to handle the qt6_680 special case change.   I then found that my test Manjaro stable system had an older python-aqtinstall.  I removed that.  So my guess is the older aqt was being found before the local copy I was trying to test.
So I am closing this as I am pretty sure this is now user error on my part.  I should have looked to see if an out of date python-aqtinstall Manjaro package was in place before creating the bug report.
My bad. Sorry

Do you understand the issue or do you need more info?

Yes, I understand the issue. Qt guys always change their file structure, so...
It seems that we have already applied some fixes: #800, did you try that? Is your "master" updated?

My bad. Sorry

No problem.

Title suggestion: Qt 6.8.0 nested folder is unsupported

I think you can help us rewrite a new title of this issue to make search more effective.


Where the code to apply Face swapping？

Where the code to apply Face swapping？

@WANG656384832 The related code will uploaded later.

the same demand. hoping come soon.

@WANG656384832 The related code will uploaded later.

请问上传了吗

Sorry. Our paper is still on peer view, the code would be uploaded upon the acceptance.发自我的华为手机-------- 原始邮件 --------主题：Re: [XgTu/2DASL] Where the code to apply Face swapping？ (#9)发件人：zhulei1228 收件人：XgTu/2DASL<EMAIL_ADDRESS>Tu" ,Comment
@WANG656384832 The related code will uploaded later.
请问上传了吗
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.


What is the statistical test applied by metagenomeSeq?

Hello everyone,
I would like to know what is the statistical test applied by metagenomeSeq? Because in the pathway_daa function output, only the metagenomeSeq method is specified.
Thank you,
Matteo

Dear Matteo,
Thank you for reaching out and for your interest in metagenomeSeq.
To answer your question, metagenomeSeq uses a Zero-Inflated Log-Normal
(ZILN) model. This statistical model is especially suited for metagenomics
data because it can handle zero-inflation and continuous, non-negative data
effectively.
Please let me know if you need further clarification or have any other
questions about metagenomeSeq.
Best regards,
Teo2091 @.***>于2023年5月22日 周一23:12写道：

Hello everyone,
I would like to know what is the statistical test applied by
metagenomeSeq? Because in the pathway_daa function output, only the
metagenomeSeq method is specified.
Thank you,
Matteo
—
Reply to this email directly, view it on GitHub
https://github.com/cafferychen777/ggpicrust2/issues/29, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZEQTUBVGJCKAEVVKFTJ43XHN645ANCNFSM6AAAAAAYKS6BHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @cafferychen777 ,
Thank you so much for your support.
I have another question regarding the choice of using a statistical model.
I state that the prediction of the pathways was calculated starting from the biom file normalized in CSS and the abundances were transformed into relative abundances (compositional data).
PICRUSt2 returned me the following table:

<title></title>
<meta name="generator" content="LibreOffice <IP_ADDRESS> (Linux)"/>
<style type="text/css">
	body,div,table,thead,tbody,tfoot,tr,th,td,p { font-family:"Liberation Sans"; font-size:x-small }
	a.comment-indicator:hover + comment { background:#ffd; position:absolute; display:block; border:1px solid black; padding:0.5em;  }
	a.comment-indicator { background:red; display:inline-block; border:1px solid black; width:0.5em; height:0.5em;  }
	comment { display:none;  }
</style>

pathway
IBD_10
IBD_17
IBD_18
IBD_19
IBD_2

1CMET2-PWY
0.5465172882153324
0.3377042200619037
0.3480050708737901
0.37868503235301076
0.5083044705245738

ALL-CHORISMATE-PWY
0.04787401491196773
0.0
0.16109123022225882
0.0674150650166517
0.0

ANAEROFRUCAT-PWY
0.5434450173880835
0.2113320353615017
0.5184411936816795
0.3951961385198568
0.5823554962659186

ANAGLYCOLYSIS-PWY
0.7538277178508417
0.47010082509198325
0.4990015807337455
0.5348488909894545
0.6612861296934521

ARG+POLYAMINE-SYN
0.09654822975725606
0.0
0.18278652325147193
0.1118830385053522
0.032285184934744145

ARGDEG-PWY
0.02698526039802911
0.0
0.13125028626535068
0.042193467093528
0.0

ARGORNPROST-PWY
0.057156353830507094
0.015941504629641053
0.18942165025741362
0.149949814982684
0.18162227360883218

ARGSYN-PWY
0.5956135158560697
0.3071337208305732
0.24849882084202063
0.33723439410332456
0.4386114736779196

ARGSYNBSUB-PWY
0.6672876975133343
0.3635510647118449
0.24907095286223332
0.3706586620950412
0.4176076103169751

ARO-PWY
0.7732196274665936
0.47486507817115475
0.3871948003949325
0.4765944125060461
0.6649511011599307

ASPASN-PWY
0.5099864226673008
0.3313803219988792
0.23833688894023294
0.31962705700866617
0.3857929734198072

AST-PWY
0.023076923076923075
0.0
0.11538461538461538
0.03461538461538461
0.0

BIOTIN-BIOSYNTHESIS-PWY
0.051862186985359576
0.0
0.16597112157576788
0.061828808052803476
0.03542774507624584

BRANCHED-CHAIN-AA-SYN-PWY
0.809119460940484
0.48742970351634946
0.31026460726705557
0.45112014745075385
0.533223246144144

CALVIN-PWY
0.7471856063348943
0.43539068809626824
0.5017490980464553
0.558853576717294
0.7335935875854149

CENTBENZCOA-PWY
0.0
0.0
0.0
0.0
0.0

CENTFERM-PWY
0.10084227280343115
0.004444222095217799
0.0
0.08962097946255058
0.00441333658115254

COA-PWY
0.5453051217028345
0.3518796414366713
0.344076152890069
0.37632569091459495
0.602617761047426

COBALSYN-PWY
0.5667093955412954
0.33121562231953955
0.13833285548273205
0.2358862633207529
0.5792234415938627

CODH-PWY
0.0
0.0
0.0
0.0
0.0

COLANSYN-PWY
0.03020029891826877
0.023168873943814977
0.22240290933212184
0.008753927046590228
0.06327963037493521

COMPLETE-ARO-PWY
0.7980034079041006
0.48753676656174344
0.39119291357316593
0.48629642816901375
0.7028157460472372

DAPLYSINESYN-PWY
0.6703393472166221
0.4299659400849499
0.3272614253100503
0.3726560584902267
0.5231532428654286

DENITRIFICATION-PWY
0.0
0.0
0.0
0.0
0.0

DENOVOPURINE2-PWY
0.13661965229461256
0.093778418536116
0.42490701397830993
0.35011587756452256
0.4261284606944567

DTDPRHAMSYN-PWY
0.7336082448891426
0.43600840206699604
0.44384054089679187
0.5529230588790547
0.740065661700592

ECASYN-PWY
0.030186334566619684
0.0
0.130730569634781
0.05191429272823931
0.0

ENTBACSYN-PWY
0.06457087428537162
0.0
0.23592197493758077
0.10957497549137835
0.0

FAO-PWY
0.0571322203586654
4.791657928562685e-07
0.21694134380892882
0.07621951797554785
4.791660644959697e-07

FASYN-ELONG-PWY
0.2681395105494251
0.08166754471846616
0.3899945097217771
0.20262857699489337
0.3711544908857412

In this output there are zeros, but they are values that concern the expressions of the pathways and not the abundances of the bacteria. So, based on these values, is it right to use the model applied with metagenomeSeq? Or is it recommended to use another statistical model?
Thank again,
Matteo

Dear Matteo,
Thank you for reaching out and providing such detailed information.
Based on the data you've shared, it is indeed appropriate to use
metagenomeSeq. This model is designed to handle the kind of compositional
data you're working with, and it can effectively manage the zeros in your
dataset, which, as you've noted, represent pathway expressions rather than
bacterial abundances.
However, it's also worth considering other statistical models that are
well-suited to microbiome data analysis. Two such models are LinDA and
ALDEx2.
LinDA is a linear discriminant analysis tool that can help you identify
features (like pathways) that are most likely to explain differences
between your groups. It's particularly useful when you're dealing with
high-dimensional data.
ALDEx2, on the other hand, is designed to handle the compositional nature
of high-throughput sequencing data. It uses a Dirichlet-multinomial
framework to estimate the variance within your data, and it can provide
robust differential abundance analysis.
In conclusion, while metagenomeSeq is a good choice, exploring other models
like LinDA and ALDEx2 could provide additional insights into your data.
I hope this helps! Please feel free to reach out if you have any further
questions.
Best regards,
Chen YANG
On Tue, 23 May 2023 at 15:41, Teo2091 @.***> wrote:

Hi @cafferychen777 https://github.com/cafferychen777 ,
Thank you so much for your support.
I have another question regarding the choice of using a statistical model.
I state that the prediction of the pathways was calculated starting from
the biom file normalized in CSS and the abundances were transformed into
relative abundances (compositional data).
PICRUSt2 returned me the following table:

pathway IBD_10 IBD_17 IBD_18 IBD_19 IBD_2
1CMET2-PWY 0.5465172882153324 0.3377042200619037 0.3480050708737901
0.37868503235301076 0.5083044705245738
ALL-CHORISMATE-PWY 0.04787401491196773 0.0 0.16109123022225882
0.0674150650166517 0.0
ANAEROFRUCAT-PWY 0.5434450173880835 0.2113320353615017 0.5184411936816795
0.3951961385198568 0.5823554962659186
ANAGLYCOLYSIS-PWY 0.7538277178508417 0.47010082509198325
0.4990015807337455 0.5348488909894545 0.6612861296934521
ARG+POLYAMINE-SYN 0.09654822975725606 0.0 0.18278652325147193
0.1118830385053522 0.032285184934744145
ARGDEG-PWY 0.02698526039802911 0.0 0.13125028626535068 0.042193467093528
0.0
ARGORNPROST-PWY 0.057156353830507094 0.015941504629641053
0.18942165025741362 0.149949814982684 0.18162227360883218
ARGSYN-PWY 0.5956135158560697 0.3071337208305732 0.24849882084202063
0.33723439410332456 0.4386114736779196
ARGSYNBSUB-PWY 0.6672876975133343 0.3635510647118449 0.24907095286223332
0.3706586620950412 0.4176076103169751
ARO-PWY 0.7732196274665936 0.47486507817115475 0.3871948003949325
0.4765944125060461 0.6649511011599307
ASPASN-PWY 0.5099864226673008 0.3313803219988792 0.23833688894023294
0.31962705700866617 0.3857929734198072
AST-PWY 0.023076923076923075 0.0 0.11538461538461538 0.03461538461538461
0.0
BIOTIN-BIOSYNTHESIS-PWY 0.051862186985359576 0.0 0.16597112157576788
0.061828808052803476 0.03542774507624584
BRANCHED-CHAIN-AA-SYN-PWY 0.809119460940484 0.48742970351634946
0.31026460726705557 0.45112014745075385 0.533223246144144
CALVIN-PWY 0.7471856063348943 0.43539068809626824 0.5017490980464553
0.558853576717294 0.7335935875854149
CENTBENZCOA-PWY 0.0 0.0 0.0 0.0 0.0
CENTFERM-PWY 0.10084227280343115 0.004444222095217799 0.0
0.08962097946255058 0.00441333658115254
COA-PWY 0.5453051217028345 0.3518796414366713 0.344076152890069
0.37632569091459495 0.602617761047426
COBALSYN-PWY 0.5667093955412954 0.33121562231953955 0.13833285548273205
0.2358862633207529 0.5792234415938627
CODH-PWY 0.0 0.0 0.0 0.0 0.0
COLANSYN-PWY 0.03020029891826877 0.023168873943814977 0.22240290933212184
0.008753927046590228 0.06327963037493521
COMPLETE-ARO-PWY 0.7980034079041006 0.48753676656174344
0.39119291357316593 0.48629642816901375 0.7028157460472372
DAPLYSINESYN-PWY 0.6703393472166221 0.4299659400849499 0.3272614253100503
0.3726560584902267 0.5231532428654286
DENITRIFICATION-PWY 0.0 0.0 0.0 0.0 0.0
DENOVOPURINE2-PWY 0.13661965229461256 0.093778418536116
0.42490701397830993 0.35011587756452256 0.4261284606944567
DTDPRHAMSYN-PWY 0.7336082448891426 0.43600840206699604 0.44384054089679187
0.5529230588790547 0.740065661700592
ECASYN-PWY 0.030186334566619684 0.0 0.130730569634781 0.05191429272823931
0.0
ENTBACSYN-PWY 0.06457087428537162 0.0 0.23592197493758077
0.10957497549137835 0.0
FAO-PWY 0.0571322203586654 4.791657928562685e-07 0.21694134380892882
0.07621951797554785 4.791660644959697e-07
FASYN-ELONG-PWY 0.2681395105494251 0.08166754471846616 0.3899945097217771
0.20262857699489337 0.3711544908857412
In this output there are zeros, but they are values that concern the
expressions of the pathways and not the abundances of the bacteria. So,
based on these values, is it right to use the model applied with
metagenomeSeq? Or is it recommended to use another statistical model?
Thank again,
Matteo
—
Reply to this email directly, view it on GitHub
https://github.com/cafferychen777/ggpicrust2/issues/29#issuecomment-1558709977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZEQTRS5O6NXW5JQTGVKODXHRSY3ANCNFSM6AAAAAAYKS6BHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[SwiftLanguageRuntime] Remove unneded and potentially wrong code.

We shouldn't change the address of the class and replace it with
the ISA pointer. RemoteAST, if anything, should do that for us,
but we don't need it anyway.

@jimingham we discussed about this code at some point, but until today, I never got around to audit it and make sure it was really not needed :)

@swift-ci test and merge


Prepare project for publishing to Godot Asset Library

https://phabricator.endlessm.com/T35666

This is not quite what I published to the asset library as 1.0 because I noticed I messed up the version-setting patch. But it's the same code.

Superseded by #4.


Update question_of_month.yml

prepare for July and eliminate all inactive prior entries

Failed on some checks, will try to edit again


55 add support for conftr

Adds basic framework for conformal training, but not finished (see #55)

Codecov Report

Merging #60 (b4c7140) into main (4a15e7c) will decrease coverage by 7.76%.
The diff coverage is 37.50%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   98.82%   91.07%   -7.76%
==========================================
  Files          12       14       +2
  Lines         596      672      +76
==========================================
+ Hits          589      612      +23
- Misses          7       60      +53

Impacted Files
Coverage Δ

src/ConformalPrediction.jl
100.00% <ø> (ø)

src/conformal_models/conformal_models.jl
92.30% <ø> (ø)

src/conformal_models/training/losses.jl
0.00% <0.00%> (ø)

src/conformal_models/plotting.jl
88.42% <47.82%> (-7.77%)
:arrow_down:

...formal_models/training/inductive_classification.jl
87.50% <87.50%> (ø)

src/conformal_models/inductive_classification.jl
97.33% <93.75%> (-1.11%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Feature/integrate senderwrapper

Methods integrated: New, Queue, and Shutdown. When we have sns further along in integration I will add in the Update method somewhere.

Codecov Report

Merging #16 into master will decrease coverage by 5.34%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage    79.1%   73.75%   -5.35%
==========================================
  Files           7        7
  Lines         469      503      +34
==========================================
  Hits          371      371
- Misses         87      121      +34
  Partials       11       11

Impacted Files
Coverage Δ

src/caduceus/caduceus.go
0% <0%> (ø)
:arrow_up:

src/caduceus/caduceus_type.go
77.41% <0%> (ø)
:arrow_up:

src/caduceus/http.go
60.71% <0%> (-8.68%)
:arrow_down:

Continue to review full report at Codecov.

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


Terminal Intellisense dropdown

Description of the new feature/enhancement
Is there a way to get a terminal intellisense dropdown in Microsoft terminal like one could in PowerShell ISE?

Proposed technical implementation details (optional)

Working on the terminal with PowerShell 7 could become more convenient if one was able to see all the potential matches for one's command in a dropdown right in the terminal.

/dup #643 thanks for the request!

Maybe a SQLCLI-like dropdown if not a PSISE-like dropdown.

@DHowett-MSFT , This isn't a duplicate of #643. This is specifically about the intellisense dropdown.

@DHowett-MSFT , This isn't a duplicate of #643. This is specifically about the intellisense dropdown.

It's a duplicate because both of them request auxiliary terminal UI based on shell-provided completion content.

It's a duplicate because both of them request auxiliary terminal UI based on shell-provided completion content.


ONTAP: Volume Dashboard - Volume Capacity has wrong volume

A note for the community

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please let us know in a comment

Problem
When searching for a specific volume in the ONTAP Volume Dashboard the highlights are showing the correct selected volume, also the Volume Capacity % are showing the right one. But all the panels in the Volume Capacity section are showing the not the selected one, there are still the TopRessources one.
Configuration
No response
Poller

Version
24.02.0-1
Poller logs
No response
OS and platform
NAbox
ONTAP or StorageGRID version
ONTAP 9.11.1P6
Additional Context
No response
References
No response

Hi @rahulguptajss ahh sorry for that did not saw the issue. So for me we can close the issue


Assigned role to ssn service account that allow to use BigQuery API, ticket 529

Assigned role to ssn service account that allow to use BigQuery API, ticket 529


'Client Error: Bad Request for url' when fetching from Mapillary

i was curious if you could tell if these bad requests were something on the client side (maybe with how we formatted the request) or something on the server side?
if not enough info, nothing unusual, or no way to know - please close the issue.
2024-07-24 10:43:52.080 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55308054991%2C-7.229671766771443%2C112.55326055009%2C-7.229491766591443
Assigning Images to Points:   0%|                      | 473/791462 [02:48<254:50:33,  1.16s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:43:55.670 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55326029991%2C-7.229723433446974%2C112.55344030008999%2C-7.229543433266974
Assigning Images to Points:   0%|                      | 474/791462 [02:52<415:01:01,  1.89s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:43:59.361 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55344004991%2C-7.229775100116597%2C112.55362005008999%2C-7.2295950999365965
Assigning Images to Points:   0%|                      | 475/791462 [02:55<533:46:20,  2.43s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:03.453 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55361979991%2C-7.229826766780309%2C112.55379980008999%2C-7.229646766600308
Assigning Images to Points:   0%|                      | 476/791462 [02:59<643:26:15,  2.93s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:06.846 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55379954991%2C-7.229878433438108%2C112.55397955008999%2C-7.229698433258108
Assigning Images to Points:   0%|                      | 477/791462 [03:03<674:02:19,  3.07s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:09.229 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55471019990999%2C-7.229141100090002%2C112.55489020008999%2C-7.228961099910002
Assigning Images to Points:   0%|                      | 478/791462 [03:05<628:53:30,  2.86s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:11.143 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55490396228946%2C-7.229191913439402%2C112.55508396246945%2C-7.229011913259401
Assigning Images to Points:   0%|                      | 479/791462 [03:07<566:24:42,  2.58s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:13.538 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55509772466894%2C-7.229242726783085%2C112.55527772484893%2C-7.229062726603085
Assigning Images to Points:   0%|                      | 480/791462 [03:09<554:18:21,  2.52s/points]stamina.retry_scheduled
stamina.retry_scheduled
2024-07-24 10:44:15.292 | ERROR    | __main__:main:101 - 400 Client Error: Bad Request for url: https://graph.mapillary.com/images?access_token=MLY%7C7639487212737227%7Cdb77e7429942d57789f282110986137b&fields=id%2Cthumb_original_url%2Cgeometry&is_pano=true&bbox=112.55523080715376%2C-7.229331109917717%2C112.55541080733376%2C-7.229151109737717

This bad request is not actually a bad request, it's a timeout from the Mapillary API that the API returns as a 400 Bad Request. We could consider rate-limiting ourselves or adding a delay before calling the Mapillary API.

maybe we can run some big datasets and see what % return the error.
anecdotally, from occasionally glancing at the terminal window, it doesn't seem like a significant number.


[Qanet] get tft button redirecting me to gettft.com

Description
after releasing qanet , get tft button does not give fund my wallet instead it transfers me to https://gettft.com/gettft/
this behvaviour should be only done on testnet and mainnet

env used : qanet
version : 2.3.0-alpha12

will be resolved on #2279

Verified, Qanet 2.3.0-alpha12.
TC2201 - Add Balance (Get TFT)

Worked fine, but after that we faced this new issue https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2339


[ZEPPELIN-4860] Non-determenistic results in SparqlJenaEngineTest

What is this PR for?
Fix a flaky test in SparQL interpreter
What type of PR is it?
Bug Fix
What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4860

How should this be tested?

https://travis-ci.org/github/alexott/zeppelin/builds/695631580

LGTM, thanks @alexott for fixing this, I noticed that, but don't have time and knowledge on how to fix it.


Adding interaction flag to filter out un-needed interactions between columns

I have a pandas dataframe of 5000 columns. I would to look into the interaction between cols: (1 and 2), (1 and 3), ..., (1 and 5000). And I don't want to look into any other interactions (2 and 3, 2 and 4, ..., 4999 and 5000). Hence, this feature enables me to reduce the amount of time needed to generate the report.
If this is possible, can you please give me some instructions?
Any help is much appreciated!!

It's not (yet) possible to specify a target variable.

This feature will be availabe in v2.8.0 (using interactions.targets).


Request: Ability to prompt replace, starting with an empty value

I've run into a bit of an issue with my prompting, and I'm not sure if it's because I've overlooked something or if the feature just isn't there. Basically instead of replacing a section of a prompt right from the start, I'd like to be able to have an empty value to start and then "replace" that empty value with other values later on.
I'll use the example I'm having issues with. I want to be able to have a character generate, then start swapping out parts. So for example, in the first image I want her to be just a normal human, and in the second I'd like to give her a robot arm, then in the third robot wings (removing the robot arm). The way I'm working around it right now is just making up a completely nonsense word (in my case, anatopolis) and then using the replace prompt to replace that word in future generations (mechanical arms for the second generation, mechanical wings for the third). Is there a way to change it so that instead of doing "anatopolis, mechanical arms, mechanical wings", I could do something more akin to "(blank), mechanical arms, mechanical wings"?
Main reason I'm asking for this is so that the people who use my AI (friends and family who aren't as computer savvy and also can't directly edit the .ymls) don't have to also put in some default prompt to get the infinity grid working. I want them to be able to just say something like "1girl, red hair, from above" and choose my .yml to have it generate the three prompts.
Thank you a ton for reading this admittedly long winded request, and I hope this is something that I'm either just missing or could be added :)

Changed the name, since the other was vague lol

This sounds more like a case to use styles? Styles are a dropdown box in the webui that does this for non-grid usage (append custom premade text to the prompt), which you can also use as a grid input if you reference them by name.

Styles would be a better workaround for this than what I've been doing, but I definitely think it would be more convenient to have an option to just add from a default blank text without having to clutter your styles with (potentially) hundreds of prompts. That being said, I'm personally happy to use styles since I don't use them for anything else right now, so no skin off my back if you don't add that, but I could see the argument for adding it. Either way, thank you for this excellent plugin and I appreciate the work you've already put into it :)


Not able to see PWS

I installed the latest version of homebridge <IP_ADDRESS> with the latest version of homebridge-weather-plus and I am not able to add new accessories to my home. I do not see the PWS in accessory.
I use a ffmpeg camera too and it works but homebridge-weather-plus no.
root@HomeBridgeA20:~# homebridge -D -Q
[Fri Mar 13 2020 20:16:11 GMT+0000 (UTC)] Loaded config.json with 0 accessories and 2 platforms.
[Fri Mar 13 2020 20:16:11 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] Loaded plugin: homebridge-camera-ffmpeg
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[Fri Mar 13 2020 20:16:17 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:20 GMT+0000 (UTC)] Loaded plugin: homebridge-weather-plus
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] Registering platform 'homebridge-weather-plus.WeatherPlus'
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] ---
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] Loading 2 platforms...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [Camera-ffmpeg] Initializing Camera-ffmpeg platform...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Initializing WeatherPlus platform...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Adding station with weather service Weather Underground named 'Cervenka PWS'
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-storage AddWriter : Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Loading...
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-storage read FS file: /root/.homebridge/HomeBridgeA20_Cervenka PWS_persist.json
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] ** Fakegato-timer Subscription : Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Registring Events Cervenka PWS
[Fri Mar 13 2020 20:16:25 GMT+0000 (UTC)] [WeatherPlus] Accessory Cervenka PWS
[Fri Mar 13 2020 20:16:26 GMT+0000 (UTC)] [WeatherPlus] Initializing platform accessory 'Cervenka PWS'...
Setup Payload:
X-HM://0023VUUX8MM8F
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Homebridge is running on port 51826.
[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Terasa is running on port 52100.
[Fri Mar 13 2020 20:16:27 GMT+0000 (UTC)] Please add [Terasa] manually in Home app. Setup Code: 250-68-300
[Fri Mar 13 2020 20:16:28 GMT+0000 (UTC)] [WeatherPlus] **Fakegato-timer: addData  Cervenka PWS { time:<PHONE_NUMBER>.92, temp: 6, pressure: 1017, humidity: 56 }  immediate:  false
[Fri Mar 13 2020 20:16:28 GMT+0000 (UTC)] [WeatherPlus] **Start Global Fakegato-Timer - 10min**

The problem is in cache of homebridge. After refres everything works.


Add GA to calculate sz-diff

This GA is based on cloc, as of now it targets only tinygrad dir (as sz.sh used to do, just noticed is missing) for ready-to-review PRs

checks out base ref (tinygrad:master)
checks out PR ref
cloc --include-ext="$EXT=py" --diff "base/$TARGET=tinygrad" "pr/$TARGET=tinygrad"
count total, and comment with markdown table

here an example https://github.com/fedemengo/code-metrics-for-pr/pull/9
it might be necessary to add some permissions to the GA in the repo settings

Use the sz.py script in the repo.

checks out base ref (tinygrad:master)
checks out PR ref
run sz.py for both ref and calculate diff
comment with an extended version of the output of sz.py

here an example https://github.com/fedemengo/code-metrics-for-pr/pull/4

Looks like tinyb0t is already doing something similar. Although it doesn't seem to refresh the stats on new commits.
I could integrate radon to keep track of some complexity metrics (Cyclomatic Complexity, Maintainability Index, Halstead Metrics) in case there is interest.

Looks like tinyb0t is already doing something similar. Although it doesn't seem to refresh the stats on new commits.
I could integrate radon to keep track of some complexity metrics (Cyclomatic Complexity, Maintainability Index, Halstead Metrics) in case there is interest.

tinyb0t will update the comments when new commits are added, but it doesn't show the total line count

@jla524 is tinyb0t using sz.py?

@jla524 is tinyb0t using sz.py?

No, it doesn't checkout the code. It only calls the GitHub API to see how many lines were added and removed.

I think it's still valuable to use the logic from sz.py, in particular the github api counts line counts differently than what we are interested it (whitespaces)

Copy pasted sz python in two places, complexity I don't think is needed. I'd merge a very simple size commenter on PRs to replace tinyb0t with something internal, but this is complex looking


Walking through open airlocks is very glitchy

https://streamable.com/upqryr

This is because of a lack of prediction on them opening.

mp4 link is dead, closing.


Several outputs

Is there possible to define several outputs from a file? I plan to generate a beamer file from markdown one using pandoc. Is it possible? How?

Please explain your use case in more detail? Are you trying to run Statik and Pandoc simultaneously? (i.e. running Statik on your sources, while chaining Pandoc to run on your Markdown files?)

Just that a markdown file generate an html, a beamer file, whatever I like using more than statik built-in markdown-to-html conversion. I want to be able to generate a desired output with desired tool.

Just to clarify then, are you looking for some kind of higher-level build tool that will allow you to run a whole bunch of tools on your project in a specific sequence? e.g.

Run Pandoc on your Markdown files to generate Beamer presentations.
Run Statik on your Markdown files to generate HTML.
Run wkhtmltojpeg to generate JPEG snapshots.

Like that? If so, Statik unfortunately doesn't support such complex builds. It's single-purpose only at the moment, and I think that, perhaps, rather using tools like gulp.js may be better for you, because then you could use a single tool to manage your JavaScript/CSS dependencies, cross-language compiling, Statik execution, execution of other tools, etc.

Closing issue for now. If you still want to discuss this, please reopen the issue.


Multi-field sort doesn't work for mixed asc/desc

Then given example should sort by series ascending, and within each series should sort by debut year descending. Instead, debut year is ascending.
db.createIndex({index: {fields: ['series', 'debut']}}).then(function() {
  return db.find({
    selector: {_id: {$gt: 'a'}, series: {$exists: true}, debut: {$exists: true}},
    sort: [{series: 'asc'}, {debut: 'desc'}]
  });
});

Whoops, mistake on my part! I will try to fix soon.

@bendavis78 and @nolanlawson That sort isn't actually possible for Cloudant Query and CouchDB Mango. If you try and run that query on Cloudant or CouchDB master branch you get
Sorts currently only support a single direction for all fields.
I'm closing since this is not possible at this stage.


Use build directory for jdbc-repack

Closes #10

Created #12 to investigate UnsatisfiedLinkError on Windows. Will (for the time being), disable windows tests.


improve code 'if block ends with a return statement, so drop this els…

…e and outdent its block (golint)'

Codecov Report

Merging #1483 (ff86332) into master (47a4c6b) will decrease coverage by 0.00%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master    #1483      +/-   ##
==========================================
- Coverage   70.00%   70.00%   -0.01%
==========================================
  Files         404      404
  Lines       39385    39380       -5
==========================================
- Hits        27570    27566       -4
- Misses      10036    10037       +1
+ Partials     1779     1777       -2

Flag
Coverage Δ

go-1.14
69.94% <54.54%> (-0.01%)
:arrow_down:

go-1.15
69.91% <54.54%> (-0.04%)
:arrow_down:

go-1.16
69.96% <54.54%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

encoding/gurl/url.go
93.18% <ø> (ø)

errors/gerror/gerror.go
80.32% <ø> (ø)

net/ghttp/ghttp_response_writer.go
100.00% <ø> (ø)

os/gres/gres_instance.go
62.50% <ø> (ø)

net/ghttp/ghttp_response_view.go
53.84% <44.44%> (-0.70%)
:arrow_down:

container/garray/garray_normal_str.go
95.33% <100.00%> (-0.01%)
:arrow_down:

os/gsession/gsession_storage_redis.go
49.41% <100.00%> (-0.59%)
:arrow_down:

os/gspath/gspath_cache.go
87.71% <0.00%> (-3.51%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


python311Packages.mkdocstrings: 0.24.2 -> 0.24.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.mkdocstrings is: Automatic documentation from sources for MkDocs
meta.homepage for python311Packages.mkdocstrings is: https://github.com/mkdocstrings/mkdocstrings
meta.changelog for python311Packages.mkdocstrings is: https://github.com/mkdocstrings/mkdocstrings/blob/0.24.3/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.24.3 with grep in /nix/store/181d9bbd4h2svqm2w4d1cn55m8ha533k-python3.11-mkdocstrings-0.24.3
found 0.24.3 in filename of file in /nix/store/181d9bbd4h2svqm2w4d1cn55m8ha533k-python3.11-mkdocstrings-0.24.3

Rebuild report (if merged into master) (click to expand)

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath
copier
netbox
netbox_3_6
netbox_3_7
python311Packages.canals
python311Packages.mkdocstrings
python311Packages.mkdocstrings-python
python312Packages.canals
python312Packages.mkdocstrings
python312Packages.mkdocstrings-python

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/181d9bbd4h2svqm2w4d1cn55m8ha533k-python3.11-mkdocstrings-0.24.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.mkdocstrings https://github.com/r-ryantm/nixpkgs/archive/8654d13a6e5c4f904064ac35a762cb6e89b28f5d.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/8654d13a6e5c4f904064ac35a762cb6e89b28f5d#python311Packages.mkdocstrings

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/181d9bbd4h2svqm2w4d1cn55m8ha533k-python3.11-mkdocstrings-0.24.3
ls -la /nix/store/181d9bbd4h2svqm2w4d1cn55m8ha533k-python3.11-mkdocstrings-0.24.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

16 packages built:

copier
copier.dist
netbox (netbox_3_7)
netbox_3_6
python311Packages.canals
python311Packages.canals.dist
python311Packages.mkdocstrings
python311Packages.mkdocstrings-python
python311Packages.mkdocstrings-python.dist
python311Packages.mkdocstrings.dist
python312Packages.canals
python312Packages.canals.dist
python312Packages.mkdocstrings
python312Packages.mkdocstrings-python
python312Packages.mkdocstrings-python.dist
python312Packages.mkdocstrings.dist

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 302537 run on x86_64-linux 1

15 packages built:

copier
copier.dist
netbox (netbox_3_7)
python311Packages.canals
python311Packages.canals.dist
python311Packages.mkdocstrings
python311Packages.mkdocstrings-python
python311Packages.mkdocstrings-python.dist
python311Packages.mkdocstrings.dist
python312Packages.canals
python312Packages.canals.dist
python312Packages.mkdocstrings
python312Packages.mkdocstrings-python
python312Packages.mkdocstrings-python.dist
python312Packages.mkdocstrings.dist


new: Allow Unix and Windows shells to be customizeable.

Fixes https://github.com/moonrepo/moon/issues/1284
cc @shellscape

Nice..Thanks for getting this in


[NPM] Consolidating default chains and rules for easier readability

Right now all the basic chain and rules are hard to comprehend with redundant code. Cleaning that up

/azp run

/azp run


Jupyter Notebook can't close a running notebook

At the  beginning, I run jupyter-notebook in microsoft WSL linux, Python3.7.3. Found That I can't shutdown the running notebook on the Page Running. But I can shutdown the Terminal.
Then I test it in centos by docker base-jupyter, the same problem exists. I don't know if it's the design, but I remember in previous versions should be OK.

hi @LY1806620741 !
Just to confirm, the behavior you're expecting is that Jupyter Book will close a running notebook during the build book process ? Or are you trying to close a Jupyter Notebook in some other context ?

For example, I open my notebook do something, then all done,then close my browser. When I Open chrome again, the notebook still mark open in Running page. It's very unfriendly for people with obsessive-compulsive disorder with concise tendencies. And I can't click the button close to shutdown it. After testing,pip19 and python2.7 is okay. But pip19 and python3.6 is not. Both of ubuntu and centos.

It sounds like you are talking about the jupyter notebook application, not jupyter book. Can you open an issue at github.com/jupyter/notebook to discuss there? This is a different tool (for creating static html sites that are a collection of jupyter notebooks) sorry for the confusion!


Update sbt-pgp to 1.1.2

Updates com.jsuereth:sbt-pgp from 1.1.0 to 1.1.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Switched to sbt-gpg


[UI] Implement timeline component

This change implements a static timeline component using HTML/CSS, based on the design spec from Clarity team.
Closes #3199
Signed-off-by: Yao Lu<EMAIL_ADDRESS>Same code updated at: https://stackblitz.com/edit/clarity-timeline-demo-v3. Ready for reviewers to play with the code.
Question list:

[ ] In demo project I'm adding the spinner icon as a custom icon. How to achieve the same for the production? i.e. component consumer should not need to add this icon by themselves?

@colinreedmiller Here is the final implementation to review https://deploy-preview-3594--vmware-clarity.netlify.com/dev click on Timeline in sidenav. Do you approve?

@gnomeontherun won't we need a website documentation page? Or we'll have a separate PR/ticket for it?

@gnomeontherun the original spec had no dark theme design. My work  has been to improve the visual design such that it was clearer - the decisions about what content to support were part of the original design. We need to look at use cases since from what I understand, this component is not widely used in VMWare products and its original need has been superseded by additional datagrid functionality.

@gnomeontherun Could you review the above changes again and let me know your thoughts?

I asked @lil-kim to take a look at the design spec and add the required callouts for dark theme so we have this available while its in flight.
Figma file here: https://www.figma.com/file/l7MoP6qowUUqMgNVWnxS4g/Timeline-component-Static-3199?node-id=12%3A2030

I'm going to review again, wasn't sure if you were done. @colinreedmiller I think we can handle the dark theme version of this separately to help close the loop on this PR.

I'm going to review again, wasn't sure if you were done.
I addressed most comments except for the position: relative, which I could find alternative that won't mess up the layout. Would appreciate some help here.

@gnomeontherun - Yes. I am completely finished with Light theme and its approved - implementation is correct. I included the dark theme callouts in case it was preferable to build it at the same time but later is fine also. Closing this PR without dark theme is fine with me.

@yaooluu Can you squash your commits and update gemini tests? Since you added something to the dev app some of the images that include the nav get flagged.

Also make sure your commit use signed-off-by!

Just following up on this @yaooluu do you have an ETA on getting the PR fixed up?

Just following up on this @yaooluu do you have an ETA on getting the PR fixed up?

Yes I want to get this done before end of week. I actually has some questions regarding squash, rebase, and the gemini tests as I'm not familiar with the process. I'll reach out to the team offline to get it resolved.

@gnomeontherun I've squashed my commits and updated the gemini test. The pipeline is passing now!

Thanks Yao! We'll get it reviewed and merged soon!


Using Cypher function with CALL results in Segmentation fault

kuzu> call list_unique([1,2,3]) RETURN *;
Segmentation fault (core dumped)

Yes this was fixed. A better error message is thrown in #3284.


Extra analysis categories

Hi,
while Yasp analyses the games I would appreciate some tipps on how to get better in DOTA/with specific heros.
Even tipps like "more farm with this hero" or "play this hero jungle not lane" etc.
Would be great! :+1:
Thanks in advance!

There's room to add further analysis categories, but things like laning decisions are often game-specific.

Well we could just replace offlane with "Buy Iron Talon, go jungle :P"

preferably the advice would also be patch-agnostic, unless someone wants to update the strings with each new meta shift :)
With the benchmarks data, it is possible to do some more hero-specific stuff.  Right now the efficiencies are just based off the (assumed) player role/lane.

It would also be cool if we featured hero tips such as those on http://howdoiplay.com/
Perhaps they could even be triggered by particular stats in the given match (although there'd be a lot of manual grunt work to set the triggers for each string).

analysis code is moving to UI repo.


#163383185: Users can follow and unfollow each other

What does this PR do?
This PR allows users to follow and unfollow each other's profiles.
This task should enable a user to view their followers as well as those they are following.
Description of Task to be completed*

Add functionality for users to follow and unfollow each other
Add views for users to view their followings and followers
Add follows ManyToManyField in profile model.
Use related_name to retrieve a user's follows

How should this be manually tested?

Visit the PR's app with postman.

Any background context you want to provide?

On authors heaven, users were not able to follow or unfollow each other

Please note that a user should be logged in to follow or unfollow other users' profiles.
Relevant pivotal tracker stories
#163383185

Hello @codjoero! Thanks for submitting the PR.

In the file authors/apps/authentication/tests/test_data/password_reset_data.py, following are the PEP8 issues :

Line 10:6: W291 trailing whitespace
Line 22:6: W291 trailing whitespace
Line 28:6: W291 trailing whitespace
Line 34:6: W291 trailing whitespace
Line 39:22: E231 missing whitespace after ':'
Line 40:6: W291 trailing whitespace
Line 44:20: E231 missing whitespace after ':'
Line 49:44: E225 missing whitespace around operator
Line 51:52: E225 missing whitespace around operator
Line 51:80: E501 line too long (88 > 79 characters)

In the file authors/apps/authentication/tests/test_data/register_data.py, following are the PEP8 issues :

Line 60:80: E501 line too long (147 > 79 characters)
Line 61:80: E501 line too long (147 > 79 characters)

In the file authors/apps/authentication/urls.py, following are the PEP8 issues :

Line 7:1: W293 blank line contains whitespace
Line 15:80: E501 line too long (83 > 79 characters)
Line 16:80: E501 line too long (80 > 79 characters)
Line 17:80: E501 line too long (86 > 79 characters)

In the file authors/apps/authentication/views.py, following are the PEP8 issues :

Line 28:26: E275 missing whitespace after keyword
Line 31:1: E302 expected 2 blank lines, found 1
Line 151:1: E302 expected 2 blank lines, found 1
Line 178:1: E302 expected 2 blank lines, found 1
Line 180:56: W291 trailing whitespace
Line 199:80: E501 line too long (91 > 79 characters)
Line 217:1: E302 expected 2 blank lines, found 1
Line 219:57: W291 trailing whitespace
Line 220:77: W291 trailing whitespace
Line 221:79: W291 trailing whitespace
Line 222:76: W291 trailing whitespace
Line 246:1: E302 expected 2 blank lines, found 1
Line 248:64: W291 trailing whitespace
Line 272:1: E302 expected 2 blank lines, found 1
Line 290:26: E231 missing whitespace after ':'
Line 290:80: E501 line too long (108 > 79 characters)
Line 295:1: E302 expected 2 blank lines, found 1
Line 307:39: E231 missing whitespace after ':'
Line 307:80: E501 line too long (93 > 79 characters)
Line 310:26: E231 missing whitespace after ':'
Line 322:30: E231 missing whitespace after ':'
Line 325:14: W291 trailing whitespace
Line 331:35: E231 missing whitespace after ':'
Line 331:67: E203 whitespace before ','
Line 331:96: W292 no newline at end of file

In the file authors/apps/core/exceptions.py, following are the PEP8 issues :

Line 3:1: E302 expected 2 blank lines, found 1
Line 20:73: W291 trailing whitespace
Line 26:1: E302 expected 2 blank lines, found 1

In the file authors/apps/profiles/migrations/0002_auto_20190211_1741.py, following are the PEP8 issues :

Line 21:80: E501 line too long (92 > 79 characters)

In the file authors/apps/profiles/tests/test_user_follow.py, following are the PEP8 issues :

Line 25:36: E128 continuation line under-indented for visual indent
Line 26:36: E128 continuation line under-indented for visual indent
Line 29:36: E128 continuation line under-indented for visual indent
Line 30:36: E128 continuation line under-indented for visual indent
Line 42:80: E501 line too long (80 > 79 characters)
Line 54:25: E127 continuation line over-indented for visual indent
Line 61:80: E501 line too long (80 > 79 characters)
Line 70:36: E128 continuation line under-indented for visual indent
Line 71:36: E128 continuation line under-indented for visual indent
Line 81:80: E501 line too long (80 > 79 characters)
Line 86:80: E501 line too long (80 > 79 characters)
Line 96:80: E501 line too long (80 > 79 characters)
Line 101:37: E128 continuation line under-indented for visual indent
Line 102:37: E128 continuation line under-indented for visual indent
Line 102:80: E501 line too long (80 > 79 characters)
Line 111:36: E128 continuation line under-indented for visual indent
Line 112:36: E128 continuation line under-indented for visual indent
Line 121:37: E128 continuation line under-indented for visual indent
Line 122:37: E128 continuation line under-indented for visual indent
Line 122:80: E501 line too long (80 > 79 characters)
Line 131:37: E128 continuation line under-indented for visual indent
Line 132:37: E128 continuation line under-indented for visual indent
Line 132:80: E501 line too long (80 > 79 characters)
Line 142:80: E501 line too long (80 > 79 characters)
Line 146:37: E127 continuation line over-indented for visual indent
Line 146:80: E501 line too long (80 > 79 characters)
Line 155:37: E127 continuation line over-indented for visual indent
Line 155:80: E501 line too long (80 > 79 characters)
Line 165:80: E501 line too long (80 > 79 characters)
Line 169:37: E127 continuation line over-indented for visual indent
Line 169:80: E501 line too long (80 > 79 characters)
Line 178:37: E127 continuation line over-indented for visual indent
Line 178:80: E501 line too long (80 > 79 characters)

Thanks @missvicki , this is being resolved....


Remove blank lines in SQL

Question:
MyBatis build SQL include many blank lines from XML.
The blank lines is unnecessary.
https://issues.apache.org/jira/browse/IBATIS-143
class XMLScriptBuilder
Let XNode replace '\n' or "\r\n" to ' ' .
I want the feature can be configurable.

Hi @zhaoxi1988 , contributing welcome!! :D

Oh. I accept it.
By the way.
Why do not mybatis's package name 'org.apache.mybatis'  ?

@zhaoxi1988 Is the problem solved?

@George5814 Still not solved...I busy on mybatis UnitTest...

@zhaoxi1988
Replace any blank lines that match in the result with regular ones
Such as：String reg = "(?m)^\s*$(\n|\r\n)";
sqlTemplete = sqlTemplete.replaceAll(reg,"").replaceAll("\t"," ");
使用正则替换结果中所有已经匹配上的空白行
如：String reg = "(?m)^\s*$(\n|\r\n)";
sqlTemplete = sqlTemplete.replaceAll(reg,"").replaceAll("\t"," ");

@zhaoxi1988 You can implement it in the plugin
可以在插件中实现

My idea:
1.add  in org.apache.ibatis.session.Configuration
2.push configuration down , let SqlSourceBuilder trim '\r|\n' or replace('\r|\n', ' ')
单元测试在IntelliJ上, 只安装JDK8有点尴尬...

I'm wondering why this feature request gets many votes.
Is there any actual harm caused by the extra blank lines?

This is to delete the extra whitespace produced by the dynamic tags, not to beautify the SQL.
Improve readability.

@George5814
Recent versions of MyBatis remove blank lines when printing the log, so where do you see the SQLs with the blank lines?

@harawata  Because the Database Server logging SQL is not convenient.
Then the next requirement is that tracing SQL instance in MyBatis , e.g.  underlying one MapperFile.

@harawata  I was an DBA. I see the problem like MySQL truncate the SQL because of the many blank lines.

@zhaoxi1988 ,
Do you mean that the length of a generated SQL exceeds max_allowed_packet ?

@harawata

Do you mean that the length of a generated SQL exceeds max_allowed_packet ?
It is not.
It is MySQL's query-log or InnoDB log when had a dead lock.

@zhaoxi1988 ,
Thank you for the comment!

It is MySQL's query-log or InnoDB log when had a dead lock.

Okay. As I commented on the PR, the best we can do is to reduce the number of line breaks, probably.

@harawata
What is your idea to handle source-sql in Mapper.xml ?
Only specify the  node ?

Question:
MyBatis build SQL include many blank lines from XML.
The blank lines is unnecessary.
https://issues.apache.org/jira/browse/IBATIS-143
class XMLScriptBuilder
Let XNode replace '\n' or "\r\n" to ' ' .
I want the feature can be configurable.

Hi, is this problem solved?

Nope.
If it's very important, writing a custom language driver and script builder should work.
The language driver can be pretty simple.
public class CustomXmlLanguageDriver extends XMLLanguageDriver {
  @Override
  public SqlSource createSqlSource(Configuration configuration, XNode script, Class<?> parameterType) {
    CustomXmlScriptBuilder builder = new CustomXmlScriptBuilder(configuration, script, parameterType);
    return builder.parseScriptNode();
  }
}

CustomXmlScriptBuilder is almost identical to org.apache.ibatis.scripting.xmltags.XMLScriptBuilder.
Just remove whitespaces in parseDynamicTags() method as @zhaoxi1988 did in #1153 .

It might be cleaner to do the substitution in the language driver.
import java.util.regex.Pattern;

import org.apache.ibatis.builder.xml.XMLMapperEntityResolver;
import org.apache.ibatis.mapping.SqlSource;
import org.apache.ibatis.parsing.PropertyParser;
import org.apache.ibatis.parsing.XNode;
import org.apache.ibatis.parsing.XPathParser;
import org.apache.ibatis.scripting.defaults.RawSqlSource;
import org.apache.ibatis.scripting.xmltags.DynamicSqlSource;
import org.apache.ibatis.scripting.xmltags.TextSqlNode;
import org.apache.ibatis.scripting.xmltags.XMLLanguageDriver;
import org.apache.ibatis.session.Configuration;

public class CompactXMLLanguageDriver extends XMLLanguageDriver {
  private static final Pattern pattern = Pattern.compile("[\\s]+");

  @Override
  public SqlSource createSqlSource(Configuration configuration, XNode script, Class<?> parameterType) {
    script.getNode().setTextContent(pattern.matcher(script.getNode().getTextContent()).replaceAll(" "));
    return super.createSqlSource(configuration, script, parameterType);
  }

  @Override
  public SqlSource createSqlSource(Configuration configuration, String script, Class<?> parameterType) {
    if (script.startsWith("<script>")) {
      XPathParser parser = new XPathParser(script, false, configuration.getVariables(), new XMLMapperEntityResolver());
      return createSqlSource(configuration, parser.evalNode("/script"), parameterType);
    } else {
      script = PropertyParser.parse(pattern.matcher(script).replaceAll(" "), configuration.getVariables());
      TextSqlNode textSqlNode = new TextSqlNode(script);
      if (textSqlNode.isDynamic()) {
        return new DynamicSqlSource(configuration, textSqlNode);
      } else {
        return new RawSqlSource(configuration, script, parameterType);
      }
    }
  }
}

You don't have to modify XMLScriptBuilder anymore.

Fixed via #1901
We added a new option shrinkWhitespacesInSql
Please test 3.5.5.-SNAPSHOT.


Support ES 7.7.1

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Do we need to bump the plugin version also as a different ES version is being supported? <IP_ADDRESS>


sort imports according to PEP8 for withings

Description:
I have sorted the imports for the withings component according to PEP8 using isort.
This affects:

homeassistant/components/withings/__init__.py
homeassistant/components/withings/common.py
homeassistant/components/withings/sensor.py
tests/components/withings/test_common.py
tests/components/withings/test_init.py

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Thanks for the code change but this is already addressed in this bug fix. #29651

@vangorra this is the last piece that is missing to apply the new CI rules.
Can't we just merge this and rebase the fix?

We can save ourselves the effort of rebasing and such. The fix is approved and ready to merge in #29651


TestCafe fails to show custom push notification bar

What is your Test Scenario?

Download the provided test repo and execute the notification test
What is the Current behavior?

TestCafe fails to render/show custom (blue) push notification bar. (see attached screenshot).
Note: If you see a red or grey alert bar on the page, please dismiss it first and reload the page to see the blue push notification bar.
What is the Expected behavior?

TestCafe should show the custom (blue) push notification bar.
What is your web application and your TestCafe test code?

Download this repo - https://github.com/sijosyn/testcafe-syntests and run the notification test from test suite.

Your Environment details:

testcafe version:                    0.23.3
node.js version:                     v8.11.1
command-line arguments:   testcafe chrome desktop/notification.js -e
browser name and version:  Chrome 71
platform and version:           macOS 10.13
other:                                    Notification bar is Chrome only feature.

We tried to open this webpage in a regular way in Chrome and discovered that this notification bar appears only when the HTTPS connection is used.
TestCafe connects to websites over HTTP by default. However, you can configure it to use HTTPS.
See the Connect to TestCafe Server over HTTPS topic to learn how to do this.


Update allowed python versions

This pull request expands the support to all versions below 4.0, including the existing support for 3.10. It allows for a wider dependency range of >=3.7.2,<4.0, effectively resolving the problem faced with strict dependency managers such as poetry. Previously, if the allowed Python version range exceeded the one specified in the library, it would not be permitted. However, with this change, poetry will be able to add the dependency even if you're using 3.12 or a higher version (which should be a non-issue).

I knowingly avoided <4.0, as to ensure the specific version was fully functional before allowing it, like a lot of other packages using pyproject do.
I guess I could use the dependencies as a lock, but python version for the CI won't be automatically bumped, resulting in untested changes being pushed to Pypi.

I knowingly avoided <4.0, as to ensure the specific version was fully functional before allowing it, like a lot of other packages using pyproject do.
I guess I could use the dependencies as a lock, but python version for the CI won't be automatically bumped, resulting in untested changes being pushed to Pypi.

Thing is, I don't think I've seen any library that doesn't allow me to install because I'm using a greater version. All 3.x versions should be non-breaking for nearly all situation, unless you're doing something weird and very specific, which I doubt.


user interaction tool

Issues Identification
Closes: #742
Description
Summary
A brief description of what this pull request does and why it is needed.
Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Screenshots
If applicable, please attach screenshots of the changes made to the user interface.
Additional Information
Please provide any other information that is relevant to this pull request.

@aditya-bhaumik please merge the PR

resolve conflicts please

please resolve the conflicts by tomorrow or i am closing this pr

Ok
On Fri, 18 Oct 2024, 22:29 Aditya Bhaumik, @.***> wrote:

please resolve the conflicts by tomorrow or i am closing this pr
—
Reply to this email directly, view it on GitHub
https://github.com/aditya-bhaumik/Pathsphere/pull/781#issuecomment-2422885300,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKZPXHBOX7WEYCTOAHURAVLZ4E453AVCNFSM6AAAAABQD5LK26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSHA4DKMZQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@aditya-bhaumik conflits resolved


conflict with IRremote2 library, how do I resolve this?

I'm using IRremote2 in my project: https://github.com/enternoescape/Arduino-IRremote-Due
However, the following error was encountered when compiling:
Arduino-IRremote-Due-master\IRremote2.cpp.o: In function TC3_Handler': C:\Users\Lab\Documents\Arduino\libraries\Arduino-IRremote-Due-master/IRremote2.cpp:386: multiple definition of TC3_Handler'
DueTimer\DueTimer.cpp.o:C:\Users\Lab\Documents\Arduino\libraries\DueTimer-master/DueTimer.cpp:281: first defined here
collect2.exe: error: ld returned 1 exit status
Error compiling.

Nevermind, got it to work!


Infinite loop on concurrent allocations

When realloc or similar function is called on same memory from two threads without sync i assume that program will crash.
But with TCMalloc it doesn't.
Minimal reproducible example:
Create std::vector<double> and push elements to it from two different threads without any locks, then suddenly  program will stuck with infinite memory allocating loop until it dies from oom killer.
Infinite loop is here:
https://github.com/google/tcmalloc/blob/master/tcmalloc/peak_heap_tracker.cc#L63
cause Static::sampled_objects_.head_.next_ points to itself with next_ and prev_.
It is caused by the fact that both threads receive same Span object from HugePageAwareAllocator here:
https://github.com/google/tcmalloc/blob/master/tcmalloc/tcmalloc.cc#L1481
I am little confused why, cause HugePageAwareAllocator takes pageheap_lock before any allocations.
We are using TCMalloc from commit a643d89610317be1eff9f7298104eef4c987d8d5.
This bug is kinda critical in production where such races can pop up so I hope it can be fixed soon (or maybe it is fixed in newer versions?).
bt:
tcmalloc::PeakHeapTracker::MaybeSaveSample (this=0x4ff3c0 <tcmalloc::Static::peak_heap_tracker_>) at .../libs/tcmalloc/tcmalloc/peak_heap_tracker.cc:70
(anonymous namespace)::SampleifyAllocation (requested_size=0, requested_size@entry=2097152, weight=<optimized out>, requested_alignment=<optimized out>, requested_alignment@entry=1, cl=cl@entry=0, obj=obj@entry=0x0, span=span@entry=0x47447ec005e0, capacity=0x0) at .../libs/tcmalloc/tcmalloc/tcmalloc.cc:1469
(anonymous namespace)::do_malloc_pages (size=2097152, alignment=1) at .../libs/tcmalloc/tcmalloc/tcmalloc.cc:1529
slow_alloc<tcmalloc::TCMallocPolicy<tcmalloc::CppOomPolicy, tcmalloc::DefaultAlignPolicy, tcmalloc::InvokeHooksPolicy>, decltype(nullptr)>(tcmalloc::TCMallocPolicy<tcmalloc::CppOomPolicy, tcmalloc::DefaultAlignPolicy, tcmalloc::InvokeHooksPolicy>, unsigned long, decltype(nullptr)) (policy=..., size=2097152, capacity=<optimized out>) at .../libs/tcmalloc/tcmalloc/tcmalloc.cc:1826
std::__y1::__libcpp_allocate (__size=78420757185056, __align=8) at .../libs/cxxsupp/libcxx/include/new:261
std::__y1::allocator<double>::allocate (this=<optimized out>, __n=262144) at .../libs/cxxsupp/libcxx/include/memory:1869
std::__y1::allocator_traits<std::__y1::allocator<double> >::allocate (__a=..., __n=262144) at .../libs/cxxsupp/libcxx/include/memory:1585
std::__y1::__split_buffer<double, std::__y1::allocator<double>&>::__split_buffer (this=<optimized out>, __cap=262144, __start=131072, __a=...) at .../libs/cxxsupp/libcxx/include/__split_buffer:326
std::__y1::vector<double, std::__y1::allocator<double> >::__push_back_slow_path<double> (this=0x7ffd69d3c2e0, __x=<optimized out>) at .../libs/cxxsupp/libcxx/include/vector:1660
std::__y1::vector<double, std::__y1::allocator<double> >::push_back (this=0x7ffd69d3c2e0, __x=<optimized out>) at .../libs/cxxsupp/libcxx/include/vector:1692

I might be misunderstanding your reproducer, but I think your program has a race condition.
Accessing std::vector from two threads without a lock is a data race (and so is undefined behavior)  This may cause a double-free as the two threads separately decide they need to resize and free the memory to TCMalloc.  Double frees are also undefined behavior.
If you run your program under Address Sanitizer and/or Thread Sanitizer, is it correct or is undefined behavior flagged?

Yep, this is data race (and, respectively, UB), and asan/tsan show it, but in real world in large applications it happens. And in this case, I would like to see service crash with coredump, and not hang for a long time with increasing memory usage

Going back to your initial post, though:

HugePageAwareAllocator needs to take pageheap_lock to guard its shared state.
You mentioned that the same Span is returned.  Is this the Span corresponding to the double-free'd block?

TCMalloc is optimized for performance, so we do not have substantial technical defenses against undefined behavior.  Tools like GWP-ASan built into TCMalloc can detect some of these, using probabilistic techniques to reduce the performance overhead.
For non-optimized builds, some of our assertions can catch various bugs, even from UB, but it has limitations.

Here is minimal example with recent TCMalloc:
https://github.com/ayles/tcmalloc_ub_lock
I will check on the weekend if that Span is the same as double-free'd block Span.
As for the example - it is worth mention that the hang appears only in this malloc - free order and only in release (--compilation_mode=opt) mode, on debug it fails on assert:
external/com_google_tcmalloc/tcmalloc/tcmalloc.cc:1544] span->first_page() == p

It is unfortunately not practical to add complete defenses against undefined behavior in optimized builds, since that can hamper performance in correct programs.  There is not a good way to allow this to work cleanly.

The infinite loop is a symptom of invariants failing, but it's possible the bug would manifest in other ways, even if PeakHeapTracker were hardened against that.  For example, when reading the heap profile with malloc_extension.h's APIs, we might encounter the broken linked list there instead.
The methods we do have will crash loudly, but crash nonetheless:

GWP-ASan is a bit of a balance between finding UB while keeping the overheads low, but it does so by using statistical methods.  That said, it does intentionally crash when UB is detected, just like AddressSanitizer does.
Since you noted an assertion failure:  The //tcmalloc:opt_with_assertions target builds with assertions enabled on all builds.

Is there any way to disable heap track with defines or with calls to config functions?

You can turn off heap sampling with tcmalloc::MallocExtension::SetProfileSamplingRate with a negative value, but there might be other invariants that break elsewhere given the undefined behavior.


Publish a new version with current master HEAD to suport Rails 7.0

Abstract
The head of master branch seems supports Rails 7.0.
https://github.com/kzkn/gretel/blob/master/gretel.gemspec#L22
However the newest release, 4.3.0 supports only less than 7.0.
Workaround1
If I downgrade gretel to 4.0.2 which does not have rails dependency, I can use but the release is too old to use. I want to use structured_data which is implemented after the 4.0.2 release.
Workaround 2
Specify the branch name directly in the Gemfile.
gem 'gretel', git: 'https://github.com/kzkn/gretel', branch: 'master'

Thanks for your comment. I've released 4.4.0!


Added bit depth for all supported formats

Tests are also working, the only thing that is not perfect is WAV as different formats have different ways to store bits per sample.

Also, could you add this to Mp4Properties?

I just checked and ffprobe does not show any bit-depth, which isn't surprising as it is lossy and lossy codecs do not have real bit-depth. All other file formats had bit-depth sown in ffprobe.
However, this only applies if m4a is packed with lossy codecs. If it is packed with ALAC, we can get the actual depth.
For creating testfile I converted a.flac to b.m4a. But some ALAC data is wrongly calculated (both bitrates), so the test is only checking against bit-depth. But I think fixing those is out of this PR.
The ALAC properties that are returned:
Mp4Properties {
  codec: ALAC,
  duration: 1.428s,
  overall_bitrate: 0,
  audio_bitrate: 1536000,
  sample_rate: 48000,
  bit_depth: Some(16),
  channels: 2
}

Thanks!


Upgrade abaseil to 0.14

Please check:
https://github.com/keras-team/keras/issues/15338
https://github.com/abseil/abseil-py/issues/173
/cc @haifeng-jin

It is failing on windows only but I don't have Windows VM with enough resources to debug. The news is that new releases doesn't have anymore LICENSE duplicated in absl/LICENSE subdir.
ERROR: T:/src/github/tensorflow/tensorflow/tools/pip_package/BUILD:172:10: //tensorflow/tools/pip_package:simple_console_for_windows: missing input file 'external/absl_py/absl/LICENSE', owner: '@absl_py//absl:LICENSE'
/cc @mihaimaruseac

Check https://github.com/abseil/abseil-py/pull/160#issuecomment-930605454

Currently on an upgrade from 0.10 ti 0.14 it is failing on one rule on TF.
If you see the CI log on win it looking for LICENSE in absl subdir but the file is missing:
https://github.com/tensorflow/tensorflow/pull/52173


clipman - A simple clipboard manager for Wayland link broken

https://github.com/yory8/clipman gives 404
even the user is gone: https://github.com/yory8
maybe they changed their username?

Thanks, I will remove!


Go to symbol not working

Moved from Microsoft/vscode#8377

From @isidorn
Refs: #8229

Any browser, goto https://microsoft.github.io/monaco-editor/index.html
Open typescript sample, goto symbol from context menu is not working
Notice errors in console

This works for me now (with the August bits)


Combination of "expose" and GraphQL JIT can cause a resolve failure

Hello,
I have found a problem when using "expose" and GraphQL JIT. I have following example, that is correctly compiled by typescript:
import { createYoga } from 'graphql-yoga';
import { createServer } from 'node:http';
import SchemaBuilder from '@pothos/core';
import { useGraphQlJit } from '@envelop/graphql-jit'

const builder = new SchemaBuilder({ });

class User {
    name: Promise<string>;
    constructor() {
        this.name = Promise.resolve('name');
    }
}

builder.objectType(User, {
    name: 'User',
    fields: (t) => ({
        name: t.exposeString('name'),
    }),
})

builder.queryType({
    fields: (t) => ({
        user: t.field({
            type: User,
            resolve: () => new User(),
        }),
    }),
});

const yoga = createYoga({
    schema: builder.toSchema(),
    plugins: [useGraphQlJit()],
});

const server = createServer(yoga);

server.listen(3000, () => {
    console.log('Visit http://localhost:3000/graphql');
});

I'm trying query
query {
  user {
    name
  }
}

When JIT is not in plugins, I get correct response. When I use JIT, I see error String cannot represent value: {}. Because the name is Promise.
In Readme of JIT there is: "The primary limitation is that all computed properties must have a resolver and only these can return a Promise." Which is probably the problem. Fix is simple. I just put a resolver to property and it's working:
builder.objectType(User, {
    name: 'User',
    fields: (t) => ({
        name: t.string({ resolve: (user) => user.name }),
    }),
})

I was just wondering if there could be some settings for the builder, that could enforce that exposeString would required for property to be type of string and not promise. It could be usefull for JIT users and it would make usage with JIT more type safe.

I am open to suggestions on how this could be handled, but there isn't anything existing in the type system to support these kinds of changes.  I recognize the problem but not sure if this is something that belongs in core.
I think a potential solution would be 2 changes:

Add a forceResolver: boolean option to expose fields
Add an extendable interface for expose fields that could be extended by a plugin

This would enable a plugin to make the forceResolver required to be true if the exposed field is a promise.

I'm not sure how complex this would be, or if this is the best path forward, but that's the best thing that comes to mind immediately


ds_eval_config v.s. ds_config

when initializing reward and ref models in step 3 of deepspeed-chat, there are two kinds of deepspeed config files are used, i.e. ds_config and ds_eval_config. May I ask why we need to use two configs here and any suggestions on safely removing ds_eval_config? e.g.,
def _init_reward(self, critic_model_name_or_path):
        stime = log_init("Reward")
        # DS Config
        zero_stage = self.args.critic_zero_stage
        if zero_stage != 3:
            # If critic is ZeRO-3 then we use it for everything, otherwise assume we have enough memory
            zero_stage = 0

        ds_config = get_eval_ds_config(offload=self.args.offload,
                                       stage=zero_stage)
        ds_config[
            'train_micro_batch_size_per_gpu'] = self.args.per_device_mini_train_batch_size
        ds_config[
            'train_batch_size'] = self.args.per_device_mini_train_batch_size * torch.distributed.get_world_size(
            ) * self.args.gradient_accumulation_steps

        #TODO(jeff): should not be needed, we should be able to use ds_config above
        #TODO(jeff): it means we never create the critic w. zero.init context if we are using ZeRO-3
        ds_eval_config = get_eval_ds_config(offload=False, stage=0)

        # Model
        reward_model = create_critic_model(
            model_name_or_path=critic_model_name_or_path,
            tokenizer=self.tokenizer,
            ds_config=ds_eval_config,
            num_padding_at_beginning=self.args.num_padding_at_beginning,
            rlhf_training=True)

        reward_engine, *_ = deepspeed.initialize(model=reward_model,
                                                 config=ds_config)

I have the same concern. The same issue holds when initializing the critic.  I guess we should use ds_config for the critic model and ds_eval_config for the reward model.


question

when this finished will i be able to easily convert my discord.js bot to work with this? also i know this is very early to be asking something like this, but will there be something similar to discord.js-commando? (possibly named guilded.js-commando)

The library itself is already heavily modeled after Discord.js, and the docs are always a resource for help converting your code. I don't know how to gauge whether it would be easy, so I can't really answer that. There are plans to have a framework modelled after Akairo, not Commando. But that will most likely come after the actual Guilded Bot API is released.

ah alright


[E-algo < T516] Implement astar algorithm

Description
Please briefly explain the changes you made here.
Implemented algo.astar algorithm.
CHANGLELOG:
Users can now use A* algorithm on their graph, provided in the algo query module.
Pull request type

[ ] Bugfix
[x] Algorithm/Module
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related issues
Delete if this PR doesn't resolve any issues. Link the issue if it does.
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm

[ ] Core algorithm/module implementation
[ ] Query module implementation
[ ] Unit tests
[ ] End-to-end tests
[ ] Code documentation
[ ] README short description
[ ] Documentation on memgraph/docs
[ ] Update GQLALchemy signatures in query builder using query module signature generator

######################################

Work in progress

FYI , I merged path testing, and now it shows as changes, will remove it from changes.


Add .NET 9 target, drop .NET 6

Unlike in the past, there is now a reason to bump TFMs even when not explicitly using new APIs due to language changes that can target better overloads when recompiling (e.g. params span or OverloadResolutionPriority).
I don't know of any places where that would kick in for Markdig right now, but there are some neat new APIs in 9.0 that might be interesting to play with here.
I've also added back older TFMs to the test project so we're not completely without coverage (given we have a bit of conditionally-compiled code & polyfills). Skipped framework though cuz CI was being weird 🤷♂
Some initial numbers without any Markdig changes on a large document (.NET 9 perf blog post ~570 KB):

Method
Runtime
Mean
Error

Parse
.NET 8.0
1,015.0 us
3.78 us

Parse
.NET 9.0
926.8 us
3.58 us

ParseAdvanced
.NET 8.0
2,892.6 us
17.57 us

ParseAdvanced
.NET 9.0
2,803.9 us
4.20 us

Render
.NET 8.0
459.2 us
5.76 us

Render
.NET 9.0
425.7 us
5.38 us

RenderAdvanced
.NET 8.0
585.2 us
10.13 us

RenderAdvanced
.NET 9.0
489.8 us
5.35 us

Thanks!

This is nice. By those whose projects are targeting .NET6 will now receive a bonus with the updates, in a form of .NET Standard 2.1 DLL that misses some features of the .NET versions, like local inits switched off and everything that depends on the "NET" condition not used.

Such projects should likely focus on moving to a supported .NET runtime before updating their Markdig version then, especially if performance is a concern

Well, that's unfortunate. Doesn't seem right somehow. An unsupported runtime is just a runtime that ceased to progress. The applications and libraries targeting it are not supposed to perform worse than they did before in subsequent runtimes.


Candidates for HLint rules

a . each %~ to a %%~
(^. partsOf a) to (^.. a)
traverse (a %%~ b) to each . a %%~ b

Feel free to add some candidates on comments!

Write rules directly in the setting, instead of writing it on this issue.


Add volume button and controls

We can add volume controls to it like when someone creates a new drawing some volume is triggered.
Volume on and off throughout the drawing session must be there.

@Riddhi162 What is the significance of sound when creating a drawing?
Don't you think it'll distract the user instead.

@Riddhi162 What is the significance of sound when creating a drawing? Don't you think it'll distract the user instead.

we can provide sounds when suppose user selects a new canvas it will make a pop sound or something or when erases,redo or undo like that and if dont want to provide sound throughout the game we can avoid that
Or else we can keep a feature to disable the sound

@Riddhi162 Maybe you got it wrong, This web-app is not a game, it's a whiteboard applications to draw sketches, brainstorm random ideas, etc. I don't think there is any significant need of sounds.
We highly appreciate your enthusiasm for contribution.
Kindly check out other issues or create new useful ones to resolve.


UML-706 & UML-704 Created exception tests for ActorCodeConfirm & ActorCodeSummary

Purpose
Creates exception path behat tests for both ActorCodeConfirm & ActorCodeSummary
Fixes UML-706/UML-704
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Refunds service
Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[x] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage increased (+0.7%) to 81.132% when pulling 2cdc5e54104a608287d2abb2073c35d306edcdf5 on UML-706_Tests-for-AccountSummaryHandler-in-service-api into 4fd4b1d8295f98a4c4ab22379084cb9f7af5533a on master.


Popup Error Message

Issue Type: Bug
After updating this week, vscode error messages are now popups!  In the attached screen shots, I'm not interested in the specific errors, I know what they are and how to handle them.  I'm reporting that now they are popups rather than banner messages or notifications in the lower right corner.
Steps to reproduce: write some code that doesn't properly compile and try to debug it.
With extensions:

Without extensions:

Love vscode!  Thanks for making this great product!
 You can not contiue debugging and they should be modal imho
More about this can be found here https://github.com/Microsoft/vscode/issues/44720
Closing as designed


Allow rebuilding of a single element

See original issue on GitLab
In GitLab by [Gitlab user @coldtom] on Jul 18, 2018, 10:43
Background
I have been altering the flatpak image plugin in bst-external and testing the change against freedesktop-sdk. If caching is enabled then attempting to rebuild against the change just causes objects to be pulled form the cache, and not being tested, however if I disable caching I have to wait for an ~6 hour build before seeing results. It would be nice to be able to rebuild only a specified element and use the cache for the rest.
Acceptance Criteria
A single element can be rebuilt without rebuilding dependencies.
Depends on #752 and #773

In GitLab by [Gitlab user @jennis] on Oct 8, 2018, 13:08
Just to add weight to this issue's urgency, I've heard numerous developers ask whether BuildStream has this kind of feature, thanks!

In GitLab by [Gitlab user @danielsilverstone-ct] on Oct 8, 2018, 16:42
It seems to me that, assuming I've understood your use-case properly, one way in which this could be resolved is to combine an ability to remove an artifact from the local cache, with the ability to temporarily prevent pulling during a build.  At least the first part might be reasonably part of the recent discussions on the mailing list into a bst artifact sub-cli grouping.  Thread starts here.

Short-term, you can disable your remote cache once you've pulled everything else, and then you can go behind bst's back and remove the cached artifact ref from ~/.cache/buildstream/cas/refs/heads/projectname/whatever-element if you want to force a particular element to rebuild, even without changes.  Or you can open a workspace on the element which means it'll have to be rebuilt (but then things which depend on it might have to rebuild too, I don't recall off-hand).

In GitLab by [Gitlab user @coldtom] on Oct 9, 2018, 10:37
That solution would be preferable, as it would allow more general use cases, for example checking if a build is reproducible.

In GitLab by [Gitlab user @adds68] on Dec 14, 2018, 10:11
mentioned in merge request bst-external!60

In GitLab by [Gitlab user @toscalix] on Dec 17, 2018, 09:28
marked this issue as related to #773

In GitLab by [Gitlab user @toscalix] on Dec 17, 2018, 09:29
marked this issue as related to #752

In GitLab by [Gitlab user @jjardon] on Dec 17, 2018, 09:37
changed the description

In GitLab by [Gitlab user @jennis] on Jan 11, 2019, 17:35
mentioned in merge request !1060

In GitLab by [Gitlab user @jennis] on Jan 14, 2019, 11:24
This issue should be resolved by !1060.

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 3, 2019, 18:53
closing this one as I know that bst-artifact-delete solves the use case for developers
[Gitlab user @coldtom] pls free to re-open if you disagree

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 3, 2019, 18:53
closed


Replace String.join

I've been experimenting with optimizations for the functions in Elm's String module, particularly on String.join and String.concat (which is implemented by a call to String.join) (benchmark repository). The optimized version of the String.join function in this PR is very similar to the improved join in the benchmark repository which shows incredible improvements over the vanilla version of String.join.
I am not very familiar with typescript, so please let me know if it looks like there need to be fixed in any of my changes.

Very cool!  Sorry, just saw this.


fix wrong uses in the blueprint

I've adapted the latex template to warn when in uses there is something which is not a latex label. And fixed the warnings.

Nice trick! I'll copy it to my other projects.

Is there a standard blueprint project implementation to which I could PR it? I've only found https://github.com/PatrickMassot/leanblueprint which is about the python package but without any sample latex code.

Unfortunately, the blueprint is still disconnected, and pfr_aux-improved node is white. I must have done a typo in the latex file, but I can't spot it (and I can't run the blueprint locally on my machine to check the error messages...)

I've finally managed to run the blueprint software on my computer. It turns out it doesn't like nonempty lines before lemma statements, see https://github.com/teorth/pfr/pull/158 which fixes the graph.

No, the blueprint infrastructure is passed from project to project. I could make a project template though.


Convert data table of survey platform/language breakdown into a pie chart

Sophia, let me know how you would need me to send you the data as well, and whether or not it should be in MVP versus MVP + 1.

Related to #133.

MVP, JSON in any structure.

@phiden, JSON will be in the form of the following:
<script type="application/json" id="jsondata">
{"series": [{"data": [2, 0, 0, 0, 0, 0, 0]}], "datetime": {"data": ["08-04", "08-05", "08-06", "08-07", "08-08", "08-09", "08-10"]}}
{"sms_en": 1, "web_en": 1, "sms_es": 0, "web_es": 0}
</script>

Syke, no it won't. It'll be in the form of this:
<script type="application/json" id="jsondata">
{"series": [{"data": [2, 0, 0, 0, 0, 0, 0]}], "datetime": {"data": ["08-04", "08-05", "08-06", "08-07", "08-08", "08-09", "08-10"]}}
</script>
<script type="application/json" id="jsondata">
{"sms_en": 1, "web_en": 1, "sms_es": 0, "web_es": 0}
</script>

Closed with last commit.

Ernie needs to add the labels into the JSON object he gives Sophia.

@phiden, I'm going to change the Javascript object to the following:
{
    "labels": {
        "sms_en": "SMS (EN)",
        "web_en": "Web (EN)",
        "sms_es": "SMS (ES)",
        "web_es": "Web (ES)"
    },
    "data": {
        "sms_en": 0,
        "web_en": 0,
        "sms_es": 0,
        "web_es": 0
    },
    "title": "Survey Type - Last 7 Days"
}

Is that okay? If so I will check in what I got through a second branch and pull request for you to work on.

Go ahead and I’ll fix it later.
On Thu, Aug 13, 2015 at 4:57 PM, Ernie Hsiung<EMAIL_ADDRESS>wrote:

@phiden, I'm going to change the Javascript object to the following:
{
    "labels": {
        "sms_en": "SMS (EN)",
        "web_en": "Web (EN)",
        "sms_es": "SMS (ES)",
        "web_es": "Web (ES)"
    },
    "data": {
        "sms_en": 0,
        "web_en": 0,
        "sms_es": 0,
        "web_es": 0
    },
    "title": "Survey Type - Last 7 Days"
}

Is that okay? If so I will check in what I got through a second branch and pull request for you to work on.
Reply to this email directly or view it on GitHub:
https://github.com/codeforamerica/mdc-feedback/issues/135#issuecomment-130890419

Okay @phiden, head to the 135-piechart-labels branch and continue the work from here - I'm going to reassign this to you now!