Add profiler timings

Follow up for https://github.com/godotengine/godot-proposals/issues/7308#issuecomment-1647762564 (trying not to pollute that main tracker).
Hooking up profiling should be very simple, just define JPH_EXTERNAL_PROFILE and then implement the constructor and destructor for this class:
https://github.com/jrouwe/JoltPhysics/blob/b1cd84951022a565a23f33ff77ffee9e71487bbc/Jolt/Core/Profiler.h#L27-L28
You can use mUserData to store context information if needed.
The constructor should start the measurement / the destructor should stop it. Note that the implementation needs to be thread safe as it is called from all worker threads and that it needs to be fast since it is called a LOT.
You can see the system in action by pressing 'T' in the samples app and opening profile_chart_1.html. This shows you something like:

where each bar would be a construction and destruction of ExternalProfileMeasurement (obviously the internal profiler is not using that class but you get the idea).

I don't really know how to proceed with this one. Something like the more traditional profiler that Jolt supports might perhaps be in some future plans for Godot, but I'm not aware of any such thing currently, so the two don't really seem compatible to me.
@jrouwe Is it possible (and does it even make sense) for Jolt to report timings for the various "broad strokes" within PhysicsSystem::Update, like some of the ones described under "The Simulation Step in Detail" here, similar to the ones emitted by Godot Physics? I'm not sure how useful that would be to people in practice, other than seeing some cool numbers, but that seems to be about as far as I would be able to take this ticket.

You're wrapping the JobSystem right? You could perhaps just track the running time of each job. The jobs have a mJobName (no accessor for it currently, but that is easily made) that you could perhaps use? There is a limited set of job names but each type of job can run multiple times per update, so you would need to keep track of the totals. There is a little bit of work done outside of the jobs but this mostly boils down to building the jobs.

You're wrapping the JobSystem right?

If by wrapping you mean implementing, then yes.

You could perhaps just track the running time of each job. The jobs have a mJobName (no accessor for it currently, but that is easily made) that you could perhaps use? There is a limited set of job names but each type of job can run multiple times per update, so you would need to keep track of the totals.

That could work. I'll give that a try. Thank you.
Also, you do get the job name through the override of JobSystem::CreateJob, so an accessor shouldn't be necessary I think.

To anyone who decides to actually give this a try: I must admit that I don't really understand how this profiler works. Even when using Godot Physics the profiler (for some strange reason) decides to filter out most of the timings and only display at most one or maybe two of them, but often none at all. The numbers themselves look fine though, and I'm doing it the same way as Godot Physics, so I'm assuming the issue lies on the Godot side of things, assuming I'm not just using it wrong to begin with.


feat: use Pinia to fetch spaces and proposals

Closes https://github.com/snapshot-labs/sx-ui/issues/312

Added Pinia.
Migrated Spaces/Proposals to fetch data from Pinia action to global store.
Renamed old Proposal type to Draft.

Test plan

Go to Homepage - spaces load in sidebar and homepage.
Click space - it loads instantly (only proposals are loading).
Refresh page. Space is displayed.
Click Proposals on the right. It displays proposals without refetching.
Click on proposal - it loads instantly.
Refresh page. Proposal is displayed.

Otherwise it seem to work well!


Feature : Making links on side navbar hover with transition

Issue #53
I've added a hover effect to the li links on the side navbar and transition.
https://user-images.githubusercontent.com/89779447/197011292-056e5f81-148b-441b-82a5-2eab8bc6af32.mp4

Issue #53 I've added a hover effect to the li links on the side navbar and transition.
Learning.App.-.Google.Chrome.2022-10-20.22-22-13.mp4

Can you change that color, that blue color looks like default hyperlink color

Issue #53 I've added a hover effect to the li links on the side navbar and transition.

Learning.App.-.Google.Chrome.2022-10-20.22-22-13.mp4

Can you change that color, that blue color looks like default hyperlink color

Yes we can, can you suggest some?

Issue #53 I've added a hover effect to the li links on the side navbar and transition.

Learning.App.-.Google.Chrome.2022-10-20.22-22-13.mp4

Can you change that color, that blue color looks like default hyperlink color

Yes we can, can you suggest some?

okay so when I hover my cursor their it should be white and when it is in rest try this -#EDE4E0

@AyushSarode Done the changes

Instead of this #EDE4E0 can you add #FEFBF6

Sorry!
Instead of this #EDE4E0 can you add #FEFBF6

@AyushSarode what to do?

Sorry!
Instead of this #EDE4E0 can you add #FEFBF6

That #EDE4E0 doesn't look good so change it.
Replace with #FEFBF6

Sorry!

Instead of this #EDE4E0 can you add #FEFBF6

That #EDE4E0 doesn't look good so change it.
Replace with #FEFBF6

But then that white color and fefbf6 both looking same

Sorry!

Instead of this #EDE4E0 can you add #FEFBF6

That #EDE4E0 doesn't look good so change it.
Replace with #FEFBF6

But then that white color and fefbf6 both looking same

It's fine, I don't want any big change.

@AyushSarode made the required changed


Why the prediction of evaluation function use gold target sequence in  CNN seq2seq?

In preceding seq2seq models based on LSTM, you set teacher forcing ratio as 0 to make the evaluation of validation and test set not use the gold target sequence as the input of decoder. However, it's very confusing that the CNN seq2seq model directly uses the gold target sequence as the input of decoder. Although you use  'sos' token to let the model just see the previous t-1 gold target tokens when predicting next t-th target tokens, it still uses too much gold information of  target sequence, which is similar with the operation of setting the teacher forcing ratio as 100% in the seq2seq models based on LSTM. (a cheating prediction)
I read the paper of CNN seq2seq model.
https://arxiv.org/abs/1705.03122
they use an incomprehensible saying:
We proceed similarly for output elements that were already generated by the decoder network to yield output element representations that are being fed back into the decoder network.
(It seems that it used an iterative embedding, but I don't know how it works and this paper didn't explain this.)
Maybe I know too little about seq2seq task of NLP, and I am really confused about this operation.

In line 4, it should be  'Although you use pad token', the 'pad' with angle brackets didn't show..

Yes, it's basically the same as using a teacher forcing ratio of 100%.
From what I understand the model is designed to be trained with teacher forcing as the main advantage it has over traditional RNN based models for sequence-to-sequence tasks is that it can be massively parallelized. If you use the model to iteratively generate/decode one token at a time and then feed that back into the model then you lose this advantage.
It is possible to train it with iterative decoding, this is exactly what we do in the translate_sentence function. It would be an interesting experiment to train the model using iterative decoding and see how fast and accurately it performs.

Yes, it's basically the same as using a teacher forcing ratio of 100%.
From what I understand the model is designed to be trained with teacher forcing as the main advantage it has over traditional RNN based models for sequence-to-sequence tasks is that it can be massively parallelized. If you use the model to iteratively generate/decode one token at a time and then feed that back into the model then you lose this advantage.
It is possible to train it with iterative decoding, this is exactly what we do in the translate_sentence function. It would be an interesting experiment to train the model using iterative decoding and see how fast and accurately it performs.

Thanks a lot.
I thought your training for train set and evaluation for validate and test set were a complete part, and I didn't look the traislate_sentence function before.
I find some other solutions to evaluate by iterative decoding in your evaluation function, which is suitable for batch evaluation. Firstly, I increased the trg length of every batch to the max_length by padding with 'pad'. Then I judge each batch predictions whether all get the 'eos' token, if so, I break the decoder loop. This will only incerase a little evaluation time.


Dump does not contain actual data

hello. :D
Please forgive me if I misunderstand something but I wanted to dump a database of mine and I noticed that it didn't contain any of the actual data but something like this:
COPY histories (id, created_at, updated_at, deleted_at, status) FROM stdin;
\.

I know that the histories database was not empty by the time I ran the script so I'm not sure what to do in this situation. Can you help debug it please? :) Cheers!

Hi,
Can you show me your dumper code?
I'll also investigate if something is wrong.

Hello. :)
This is all I'm doing, maybe the table options isn't supposed to be left empty? :D
func (d *DefaultStore) Dump(name string, filename string) error {
	// Create a new dumper instance with connection string and number of threads
	connectionDetails := d.DefaultConnectionDetails()
	connection := fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%d sslmode=disable TimeZone=Etc/UTC", connectionDetails.Host, connectionDetails.User, connectionDetails.Password, name, connectionDetails.Port)
	dumper := pgdump.NewDumper(connection, 50)
	return dumper.DumpDatabase(filename, &pgdump.TableOptions{})
}

Basically, I would like to dump everything... Maybe I need to give the Prefix as * then or something?

Another interesting one is that after the thing is finished, I'm trying to delete the database and I get an error that it's still being used.
Some kind of left over connection that isn't closed perhaps?

Actually having it empty should be working, it's intended to work that way but I see that it's not for you. With my test database I can't seem to replicate your problem, can you give me an example of your data structure similar to yours?
 I think these tables might actually be empty. 🤣 but I'll verify later today.
The connection issue is a real one though.
I'll try to replicate with a sample db too.

It's actually wooorking 🎉
COPY agents (id, created_at, updated_at, deleted_at, name, enabled, current_status, service_account_key, service_account_name, manifest, tags) FROM stdin;
1                               test
2                               test2
3                               test3
\.

So now the connection thing is the only question.

Actually... the connection open issue might be on my side too. :(
We are using gorm and that uses connection pooling and that prevents the drop database not the dump...
Reaally sorry for wasting your time on this one.


Is Numpy requirement for Default Installation/Basic functionality ?

Is Numpy requirement for Default Installation/Basic functionality? If so we have to add it as such. Currently if you install crawl4ai into blank python environment without any packages pre-installed (unlike google colab), creating web crawler is failing because numpy is not installed. It works after you manually install numpy, but pip doesn't seem to automatically grasp numpy as requirement when you install crawl4ai default.

@aravindkarnam I actually added to default requirements, there is a need for it, I push it soon, thx for reminding me.


Added dependencies and pip check

Requirements from https://github.com/briancurtin/deprecation/blob/master/setup.py
Added dependencies and test commands

This is required for jupyter_packaging

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:14: invalid_url: https://pypi.org/packages/source/d/deprecation/deprecation-2.1.0.tar.gz : URL domain redirect pypi.org ->  files.pythonhosted.org
WARNING: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:19: avoid_noarch: noarch: python packages should be avoided
ERROR: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:43: incorrect_license: The recipe's about/license key is not an SPDX compliant license or license exception, closest match: Apache-2.0
WARNING: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:47: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:47: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:47: http_url: http://deprecation.readthedocs.io/ is not https
WARNING: /tmp/abs_6av46zjkbc/clone/recipe/meta.yaml:47: missing_description: The recipe is missing a description
Errors were found


Superuser: You do not have permission to add a plugin

I've been developing a number of plugins and apphooks for cms and in my latest apphook I have a template which I dropped a content placeholder. However when I add a TextPlugin I get a 403 response 'You do not have permission to add a plugin'.
I've confirmed my account is a superuser and the initial database I'm using is the same for all previous apps/plugins and I've never had an issue elsewhere. Permissions are enabled, but none are defined. Regardless of permissions thought - I'm a superuser!?

I'll close this as it's not been an issue for some time. If it occurs again and I can provide more info, I'll reopen.

@marksweb thanks!


pretrained model links

Hi the pretrained models links are down
also the config folder has .example file extension added after removing that it works for inference

Hi
The pretrained models links are fixed and available now. Also I remove the *.example files and add *.yaml files under ./config/.

thanks

Hi The pretrained models links are fixed and available now. Also I remove the *.example files and add *.yaml files under ./config/.

it seems that the pretrained models links are down again

Hi The pretrained models links are fixed and available now. Also I remove the *.example files and add *.yaml files under ./config/.

it seems that the pretrained models links are down again

Hi, the pretrained model is expired and I thought I didn't have any backup for that.
I'm sorry for that ><


In case of multiple files get name of each files with percentage

So if we have to access the file name there should be the third argument  in getDefaultProps: function(){}

Ah yes, this should have been documented in the react class.  Thank you

@seanadkinson Thanks


Latest version to nugget

Hello,
Could you please update the nugget package with the latest changes that expose the binding context from the last commit as of now ?
Thank you a lot !

I'll be looking at maybe merging and updating the nuget package for this tomorrow. Though I'm not sure I'm able to verify that the built thing actually works so we'll see how it goes.


Support building Dockerfiles

ping @mmussomele

Sorry got really busy over the last week, I'm halfway through a review

Cool, no rush, I just wanted to make sure it was on your radar. It's not blocking anything.

@mmussomele Updated the PR. I also made some other tweaks:

Added some documentation to stitch/README.md
Used util.ToTar for creating the Dockerfile tarball
Omitted the Dockerfile from Container.String (it's still in Image)

I start the registry container in the supervisor.

Cool if those are the changes you made then LGTM


Improve documentation for UpdateData method

A customer filed feedback about our docs for UpdateData being sparse. We should improve these.

https://cloud.google.com/nodejs/docs/reference/firestore/1.3.x/global?authuser=0#UpdateData
Can be updated at https://github.com/googleapis/nodejs-firestore/blob/9ef582aa0508a3d02fb036f741c8c51e5ff4307c/dev/src/index.ts#L159
b/134887602

@jlara310 Juan, is this something you could look at? We use the same documentation here and on iOS, Web and Android.


[Request] Release new version

A significant number of issues have been addressed since the 4.1 release in February.
We would like to stick to the official dependency and therefore kindly request that a new version be released.
Thank you!

+1

+1

+1

Done. It should show up in central repo soon.


Report : Error Traceback

I can't equip the plugin and it says "AttributeError: 'PrefrencesView' object has no attribute 'use_international_fonts'

Are you on Linux currently or are you on windows?


Rage does nothing for Reckoning

Rage is supposed to give Attack Damage. Changing stacks have no effect on Reckoning though which is an ATTACK as well.

Rage does work with Reckoning, you just have to put set the number of rage stacks you have under the configuration tab

Try yourself. It affects nothing

If I look at on the calc page under "MH Total Increased" I can see the attack damage buff provided by rage. Put up the pastebin for the build if you want me to have a look at it

@AngryRoleplayer Can you provide examples and/or a Pastebin? This does appear to be working, though I am unsure if a recent release is responsible (can't find it in recent commits).

@hateborne i am pretty sure you you have a weapon and Rage Support linked to Reckoning, right?
Try it with facebreaker

@AngryRoleplayer Actually, it is working with Rage, so long as you can generate Rage from the passive tree or have Rage linked with the skill you wish to increase (e.g. Reckoning). If you do NOT have Rage linked, it will simply ignore the value. Additionally, if you slot Rage with Reckoning (the 4L for shield, even though I know that's impossible in-game), the scaling gets really weird going from Rage 9 to 10 (below).
Linking Rage to "4L Reckoning in a Shield" and then tinkering with Rage value:
Rage 9 = 752k Avg Dmg
Rage 10 = 939k Avg Dmg
I will tinker with it in the morning and see if I can't get Rage fixed as a universal bonus (assuming SOMETHING provides Rage).

Unrelated: Glad you found a way to make the build rocking again. I was looking in to running it this season as my 'primary', but haven't had enough time to push either this one or my 1mil Flameblast Crit Assassin past 45 yet </3
Semi-Related: Created PR https://github.com/Openarl/PathOfBuilding/pull/1675 to fix the Painforged entry "Your Counterattacks deal Double Damage". :)

Thanx so much!
And yes it will be cool to see Rage going "global".
Basically we get Rage stacks through Cyclone here and it should buff Reckoning too :)
Can't wait for Painforged to work! Then we will see actual numbers :)


Basic photo gallery created

🛠 Fixes Issue (#1067)
✅ Check List (Check all the applicable boxes)

[ ] My code doesn't break any part of the project
[ ] This PR does not contain plagiarized content.
[ ] My Addition/Changes works properly and matches the overall repo pattern.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Embark on a visual journey with Artful Impressions, a stunning photo gallery that turns ordinary moments into extraordinary visual delights. This project merges modern design with user-friendly functionality, creating an immersive experience for users passionate about photography.
📷 Screenshots

@swapnilsparsh can you suggest me which types of projects are needed an can be merged

@swapnilsparsh can you suggest me which types of projects are needed an can be merged.So that I can work on those projects

Work on some basics of JS, which others can also use to learn and are easy to make.


Invalid data/valid_chans_THR_imp.pk

The channel selection based on indices doesn't work appropriately.
We should deal with it soon because the analysis isn't correct.
Best solution: channels names in data/valid_chans_THR_imp.pk
Issue: when channels doesn't have the correct name, it may be a problem
Solution: we can convert channels to specific name before starting the pipeline using a dict, e.g. mapping_channels = {"1":"R mas", "1*":"R mas"}
so both "1" and "1*" will be renamed to "R mas"
See also #49 for discussion which channels should we keep.

@RobinGuillard I believe that using indices instead of channel names is still a problem. Should we add it to sprint 7 ?


Allow RazorPage with Poco model to work

PageActionInvoker.HasPageModel incorrectly checks to see if the handler type is not the page type to determine if the page has a model. This misses a scenario where a Page has a model, but is not the handler.
PageActionInvokerProvider does this correctly verifying is the model is not the page: https://github.com/aspnet/Mvc/blob/release/2.2/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvokerProvider.cs#L191-L195 and I've copied the check in this fix.

What's the reason for this change? Is there a functional bug? Was it user reported?


Genotypes Input file error: "Marker matrix should be numeric (0, 1, 2)."

I get error messages that my input file is not numeric?
I have 346 accessions and 13 105 SNPs in my dataframe.
This is the script I used:
install.packages("corehunter")
library(corehunter)

#Load genotype file
Markers<-read.csv(file="GenotypesCoreHunter.csv",
                  header=TRUE,row.names=1,sep=";",
                  stringsAsFactors=FALSE,check.names=FALSE)

# bi-allelic data (e.g. SNP)
head(Markers,c(5,3))
        AFL2     CONS61   EV_Eve1_R422
35-1     1      1                2
35-10   1      1                2
35-13   0      1                2
35-16   1      1                1
35-22   1      0                2

I ran some test to check that the data frame was loaded into R as numeric:
sapply(Markers[,6000:7000],is.numeric)
>[1] TRUE TRUE TRUE TRUE TRUE ...

geno.data <- genotypes(Markers, format = "biparental" )
>Error in genotypes(Markers, format = "biparental") :
>Marker matrix should be numeric (0, 1, 2).

#Since I still had problems with numeric, I tried to convert to matrix:
`MarkersMatrix <-as.matrix(Markers)`

When running genotypes function again, I still got the error message:
geno.data <- genotypes(MarkersMatrix, format = "biparental" )

#>Error in genotypes(Markers, format = "biparental") :
#>Marker matrix should be numeric (0, 1, 2).

I tried the as.numeric function, but same error came up...
as.numeric(MarkersMatrix)
geno.data <- genotypes(MarkersMatrix, format = "biparental" )
>Error in genotypes(Markers, format = "biparental") :
>Marker matrix should be numeric (0, 1, 2).

Hi @LivGilpin,
Is it possible for you to share (part of) your data file so we can try it out? You can anonymise the data if needed.

Dear Herman,
Thank you for you quick reply! It is very interesting to work with Core Hunter, I think it can become very useful for us.
I was able to find out the error with the input files, they had 3 instead of empty space as indicator of missing values.
However, new questions have arisen:
I am working with the Norwegian Apple Germplasm Collection and I am somewhat uncertain on how to read the results from CH3:
sel
EN.MR
EN.GD
1
35_4
0.382448
0.062145
2
35_13
0.382448
0.062145
3
35_34
0.382448
0.062145
4
36_1
0.382448
0.062145
5
36_4
0.382448
0.062145
…..
…
66
50_10
0.382448
0.062145
67
50_16
0.382448
0.062145
68
50_28
0.382448
0.062145
69
50_31
0.382448
0.062145
As I have understood, CH3 constructs core collections with high diversity (high entry-to-nearest-entry distance; E-NE), and in this case, the default settings produced 69 accessions with high diversity.
However, the genetic diversity parameters commonly used in my field include: number of different alleles (Na), number of effective alleles (Ne), Shannon’s information index (I), observed heterozygosity (Ho), expected heterozygosity (He), unbiased expected heterozygosity (uHe) and inbreeding coefficient (F).
Is it possible to retrieve these parameters from CH3?
Best regards
Liv Hatleli Gilpin
PhD-student, fruit breeding
Faculty of Biosciences
Norwegian University of Life Sciences
@.***
From: Herman De Beukelaer @.>
Sent: onsdag 3. august 2022 20:02
To: corehunter/corehunter3 @.>
Cc: Liv Hatleli Gilpin @.>; Mention @.>
Subject: Re: [corehunter/corehunter3] Genotypes Input file error: "Marker matrix should be numeric (0, 1, 2)." (Issue #112)
Hi @LivGilpinhttps://github.com/LivGilpin,
Is it possible for you to share (part of) your data file so we can try it out? You can anonymise the data if needed.
—
Reply to this email directly, view it on GitHubhttps://github.com/corehunter/corehunter3/issues/112#issuecomment-1204299716, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2LGWZY5SQE5VOGISWSTABLVXKXYFANCNFSM55OOZPRA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi @LivGilpin
The size of the core collection is an input parameter for Core Hunter, you should set the desired core collection size when running sampleCore. It defaults to 20% of the full collection which is indeed 69 in your case. Core Hunter will select exactly the specified number of accessions trying to maximise the diversity of the selection of this size.
You can maximise a variety of genetic diversity measures, see http://www.corehunter.org/measures for more info. By default Core Hunter indeed maximises entry-to-nearest-entry distance, but if it makes more sense in your field to maximise e.g. Shannon's index or expected heterozygosity, these are available too. Use the obj parameter of sampleCore to change the evaluation measure. Some examples are provided in the documentation of sampleCore (try out ?sampleCore in your R terminal). You can even combine multiple measures into a weighed objective function if desired.
If you want to evaluate a core collection with another diversity measure than the one used to sample the core, you can use the function evaluateCore. It supports the same measures as those accepted by sampleCore.

Thank you! I will test out different obj parameters.
From: Herman De Beukelaer @.>
Sent: torsdag 4. august 2022 19:59
To: corehunter/corehunter3 @.>
Cc: Liv Hatleli Gilpin @.>; Mention @.>
Subject: Re: [corehunter/corehunter3] Genotypes Input file error: "Marker matrix should be numeric (0, 1, 2)." (Issue #112)
Hi @LivGilpinhttps://github.com/LivGilpin
The size of the core collection is an input parameter for Core Hunter, you should set the desired core collection size when running sampleCore. It defaults to 20% of the full collection which is indeed 69 in your case. Core Hunter will select exactly the specified number of accessions trying to maximise the diversity of the selection of this size.
You can maximise a variety of genetic diversity measures, see http://www.corehunter.org/measures for more info. By default Core Hunter indeed maximises entry-to-nearest-entry distance, but if it makes more sense in your field to maximise e.g. Shannon's index or expected heterozygosity, these are available too. Use the obj parameter of sampleCore to change the evaluation measure. Some examples are provided in the documentation of sampleCore (try out ?sampleCore in your R terminal). You can even combine multiple measures into a weighed objective function if desired.
If you want to evaluate a core collection with another diversity measure than the one used to sample the core, you can use the function evaluateCore. It supports the same measures as those accepted by sampleCore.
—
Reply to this email directly, view it on GitHubhttps://github.com/corehunter/corehunter3/issues/112#issuecomment-1205591051, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2LGWZ27TODGHTPJ5LIDKXDVXQAEZANCNFSM55OOZPRA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Thank you for your help.
Is there a way to produce reports for each locus, showing number of alleles, Ne, Ho, He, SI, … etc values per loci?
Liv

Core Hunter can't produce these detailed reports, only aggregates for the selected core collection. I'm sure there are other R packages that can do this for you, but I am not the expert there. Or you can write your own functions.
@daveneti can you share your thoughts on this?

I would also need to look into it as well. I suggest you have a look at CRAN for some packages for these. There are few different ones, but I do not have a great deal of experience with them.
Guy
On 10 Aug 2022, at 03:11, Herman De Beukelaer @.*** @.***> > wrote:
Core Hunter can't produce these detailed reports, only aggregates for the selected core collection. I'm sure there are other R packages that can do this for you, but I am not the expert there. Or you can write your own functions.
@daveneti can you share your thoughts on this?
—
Reply to this email directly, view it on GitHub https://github.com/corehunter/corehunter3/issues/112#issuecomment-1209511945 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC32IIARSUJQVTVGMTPXULVYJYKXANCNFSM55OOZPRA .
You are receiving this because you were mentioned. https://github.com/notifications/beacon/AAC32IMJCZADAUAFE3LEGLLVYJYKXA5CNFSM55OOZPRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJAL3ACI.gif Message ID: @.***>

Hi.
I am trying to decide what genetic distance measure to use in our apple diversity germplasm. Based on the table below, which one would you recommend?
Also, for measure of diversity, would the HE or SH be most suited?
Allele coverage How to calculate?R?     Diversity index: Expected proportion heterozygous loci  Genetic distance: Modified Rogers       Genetic distance: Cavalli-Sforza and Edwards    Diversity Index: Shannon's
Sampling strategy       Subset code     Subset size     CV      Number of alleles       HE      EN      AN      EE      EN      AN      EE      SH
Whole collection        WHC     344     1               0,365   0,266   0,000093        0,425   0,285   0,000093        0,446   10,024
Core Hunter single      CHs69   69      1               0,382   0,404   0,241   0,452   0,426   0,259   0,471   10,040
CHs50   50      1               0,385   0,413   0,264   0,456   0,434   0,281   0,474   10,048
CHs40   40      1               0,388   0,419   0,277   0,458   0,439   0,295   0,477   10,051
CHs30   30      1               0,392   0,426   0,294   0,462   0,446   0,312   0,480   10,056
CHs20   20      1               0,398   0,435   0,313   0,466   0,455   0,333   0,484   10,062
CHs10   10      0,9997          0,406   0,453   0,341   0,475   0,472   0,362   0,492   10,071
Core Hunter multi (SH + EN using Cavalli S E)   CHm69   69                                                      0,386                   10,042
CHm50   50                                                      0,384                   10,046
CHm40   40                                                      0,394                   10,046
CHm30   30                                                      0,396                   10,048
CHm20   20                                                      0,443                   10,037
CHm10   10                                                      0,445                   10,042
B/R
Liv Gilpin

From: Herman De Beukelaer @.>
Sent: Tuesday, August 9, 2022 17:11
To: corehunter/corehunter3 @.>
Cc: Liv Hatleli Gilpin @.>; Mention @.>
Subject: Re: [corehunter/corehunter3] Genotypes Input file error: "Marker matrix should be numeric (0, 1, 2)." (Issue #112)
Core Hunter can't produce these detailed reports, only aggregates for the selected core collection. I'm sure there are other R packages that can do this for you, but I am not the expert there. Or you can write your own functions.
@davenetihttps://github.com/daveneti can you share your thoughts on this?
—
Reply to this email directly, view it on GitHubhttps://github.com/corehunter/corehunter3/issues/112#issuecomment-1209511945, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2LGWZZ3HAEGNYPI5HOYFU3VYJYKXANCNFSM55OOZPRA.
You are receiving this because you were mentioned.Message ID: @.***>


mautrix-whatsapp: 0.8.4 -> 0.8.5

Description of changes
https://github.com/mautrix/whatsapp/releases/tag/v0.8.5
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Oops, duplicate of #232277.


[Text widget] Emojis do not center correctly

Emojis do not seem to center correctly, with additional empty space seeming to appear on the right of the emoji icon. For example, for the code below, the emoji is skewed to the left, while the text (using the same code) is centered correctly. The screenshot below is taken on an iOS device (same behavoir both in simulator and on physical device).
Result produced by example application:

Example application:
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

_buildContainer(String text) {
  return Container(
    height: 30.0,
    width: 30.0,
    color: Colors.blue,
    child: Center(
        child: Text(text, style: const TextStyle(fontSize: 15.0, height: 1.1))),
  );
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Test')),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            _buildContainer('💩'),
            const SizedBox(height: 10.0),
            _buildContainer('HE'),
          ],
        ),
      ),
    );
  }
}

Flutter doctor:
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.2 22D49 darwin-arm64)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)

@mzkai Thanks for the report. What platform are you seeing this behavior on ? Can you provide flutter doctor -v ?
Usually, the emojis are combination of one or more chars. For example, \u2764 is unicode for "Heart" emoji, so it is rendered in a different way as compared to how a simple text would render.

I tried by increasing the Container dimensions and fontSize of emoji and the text. Running them on iOS and macOS desktop platforms shows me expected results as below:  I mean the emoji seem to be at the center of Container just like the text is:

return Container(
    height: 100,
    width: 100,
    color: Colors.blue,
    child: Center(
        child: Text(text, style: const TextStyle(fontSize: 50, height: 1.1))),
  );

See if it helps.

Thanks for the update. I do see slight difference in the dimensions:

For the emoji (width is 5.5)

For the text (width is 4.5)

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (28 hours ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-1.0.pre.32, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.8.0-1.0.pre.32 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f9daa9aac4 (53 minutes ago), 2023-02-01 22:59:24 -0500
    • Engine revision 679c4b42e2
    • Dart version 3.0.0 (build 3.0.0-192.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

/cc @jason-simmons for thoughts.

@darshankawar I think this may relate to https://github.com/flutter/flutter/issues/28894
@mzkai unfortunately emojis on ios dont render properly. It is a known issue with no solution available anytime soon (Impeller wont help too). Given that emojis are everywhere, issue deeply affects any app, but you’d better wait for the fix before coding chat/social media apps in flutter.

Reproduced this using the example above on iOS.
This does not reproduce on Android, or on iOS when using the old Libtxt text renderer.
With SkParagraph, SkShaper_harfbuzz calls hb_font_funcs_set_glyph_h_advances_func and overrides the HarfBuzz advance calculation function with an implementation that calls SkFont::getWidths.  On iOS, Skia's metrics implementation calls the Apple CoreText CTFontGetAdvancesForGlyphs API, which returns a width of 19 for the emoji.
But the actual glyph does not appear to be 19 pixels wide.  So centering it based on that width causes it to be shifted to the left.
Libtxt/Minikin had a special case for color bitmap fonts that would use the default HarfBuzz advance function
(see https://github.com/flutter/engine/blob/9a1b7d11309d881b4d3f94089e0bdcf8129bd703/third_party/txt/src/minikin/Layout.cpp#L268)
HarfBuzz's default function returns widths based on the font's tables.  For the Apple Color Emoji font, the table-based width for this emoji is 15, which produces the desired centering.
@bungeman @Rusino Have you seen this mismatch between the tables and the CoreText API elsewhere?  Would it make sense to do a similar special case for advances of bitmap fonts in SkShaper?

I am seeing this everywhere I use emojis in flutter on iOS.

I found a workaround for this. Just add a whitespace before the emoji. I don't know why but I tested it on iOS and macOS, and it works. The other platforms don't need the space so we have to switch depending on the target platform (tested on Android only).
_buildContainer(
  Theme.of(context).platform == TargetPlatform.iOS ||
          Theme.of(context).platform == TargetPlatform.macOS
      ? ' 💩'
      : '💩',
),

I've only noticed this on my side since flutter v3.10.0

Web, macOS and iOS

Has anyone successfully developed any workaround? Unfortunately downgrading to a Flutter version earlier than 3.10.0 is not an option for our app

Any updates?

looks not very good now.

Fixes?

Meanwhile i do this:
padding: const EdgeInsets.fromLTRB(2.5, 0, 0, 1.5),

This issue may be due to Flutter emojis rendering smaller than their native equivalents, causing them to appear off-center even when centered. This would also explain why the issue disappears at larger font sizes, where Flutter emoji size matches the native emoji size


Set OTEL_EXPORTER_OTLP_METRICS_ENDPOINT needed for Java agent

Fixes a part of #73
Changes
Please provide a brief description of the changes here.

Update javaagent jar to the latest version
Set OTEL_EXPORTER_OTLP_METRICS_ENDPOINT as required by java agent . The variables are listed here https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#otlp-exporter-both-span-and-metric-exporters

Post this change , when we do docker compose up , we should see jvm metrics in prometheus

Should we be using the OTEL_EXPORTER_OTLP_ENDPOINT environment variable only? We only have a single collector endpoint for all OTLP data, and shouldn't need to use the TRACES and METRICS specific flavors.

@puckpuck, I'd argue that if we keep _TRACES and _METRICS we are "showcasing" how to use env vars to configure those 2 signals, even though they are pointing to the same collector.
Personally I'd accept this PR.

I suppose explicit is better than implicit, although I wonder if there are other implications of using the separate env vars for configuration?

i agree with @julianocosta89  & @austinlparker  . i like variables being explicit in demo application.

@dineshg13 could you please update the changelog too


#24 flutter add permission management

closes #24

Would be nice to see if the build server also can still build the app. No iOS expert, but looks good for me

Runs fine on iOS for me


Combine MIRACLRerankingEvaluator and RerankingEvaluator into one

As discussed in #641 MIRACLRerankingEvaluator and RerankingEvaluator, could and should be combined into one evaluator. Please see discussion in PR for more information.

#906 has done most of the work here. I will close this for now, but do feel free to re-open it


[New game]: Chrome dinosaur

🎮 Game Request
Game logic and basic description
The game that is seen on the chrome after the connection ends with end.
The dinosaur needs to jump above the trees to increase the score.
If it touches it is out.
Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @SimranLahrani842 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @SimranLahrani842 ! Thank you for raising an issue heartpulse You can self assign the issue by commenting /assign in comment grinning Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES rocket Don’t Forget to star our GameZonevideo_game Make sure you join our Discordjoystick

/assign

Hey @SimranLahrani842 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


ImportError: cannot import name FileWriter

Traceback (most recent call last):
File "main.py", line 22, in
from trainer import GANTrainer
File "/media/server009/seagate/liuhan/text2img/StackGAN-Pytorch-master/code/trainer.py", line 24, in
from tensorboard import FileWriter
ImportError: cannot import name FileWriter
@hanzhanggit
Did I do something wrong?
Why cannot import FileWriter?
Thank you very much!

solved. it's caused by tensorboard version. it's ok in 1.0.0a6 ~


Feat/registration

This PR...
Changes

Using error handler
Added passport jwt strategy for authenticating users' requests

Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[x] linter passes
[ ] added a test

@all-contributors please add @misspee007  for this contribution

@all-contributors please add @misspee007  for code


Select the file after opening system file explorer

Godot version:
3.1 beta8
Issue description:
This is a tiny thing, but right now when you right-click file in file system doc and click "Show in file manager", you see this:

Yeah, it's just the directory containing the file. Instead of just jumping to directory, wouldn't it be better to also select the file? So e.g. right-clicking icon.png and revealing in explorer shows this:

The idea makes sense, but I am not sure this is possible. That might depends on the OS API to open the file manager, not sure it is supported.

In worst case it will require some platform-specific code, but it's possible, as I seen this in Unity.

Note that this requires OS-specific code to be implemented:
https://forum.qt.io/topic/18157/solved-open-folder-explorer-with-pre-selected-file

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Allow showing sequencer animation on templates with sigh limitation

Description
I’m working on Fog Cloud spell and I have a AA setup on it that displays a fog sequencer effect for it.
If I set sight limitation to 0 on the template. The tokens inside don’t see anything and the tokens outside just see a black section where the template is positioned. It would be nice if the sequencer animation could be visible. Something similar to terrain wall.
Context
No response

What you probably want to do it increase the scale of the effect that is attached to the template so that a token from the outside can see the edge of the fog to be able to tell that this is fog and not a wall.

There might be an option to render the entire fog effect above the fog of war layer such that is visible at all times like the template itself. Perfect Vision doesn't have any control over how the effect is rendered tough.

Thanks, I will try to play with the different options in sequencer to find one that satisfies my need.


OAK-9322 - Add reference node id to integrity exception message

@trekawek fyi

Hang tight need to make a test update.

Hang tight need to make a test update.

The PR looks good to me.
@stillalex, @mreutegg - it's a simple update but will make the debugging much easier. Could you take a look? Thanks!

The PR looks good to me.
@stillalex, @mreutegg - it's a simple update but will make the debugging much easier. Could you take a look? Thanks!

This looks good to me as well. I will commit this to trunk.

This looks good to me as well. I will commit this to trunk.

Changes have been merged to SVN.


Added Dockerized setup for REBot

Simple Docker setup for REBot for those who want to self host it.

Got any feedback, @Cryptogenic?


AKMixer rampTime?

Is there a reason why AKMixer does not have a rampTime or built-in way to smooth changes to volume?
Is there another way to achieve the effect of combining nodes into a single output, with a volume parameter that can be smoothed?
Thanks in advance for any insight.

This is not an issue, but a question, which should be posted onto StackOverflow as its answer might be relevant to future users. I'll happily answer over there, okay?


use thiserror

We have quite a few places where we hand write error implementations. We can use thiserror(https://docs.rs/thiserror/latest/thiserror/) to simply them.

dup with https://github.com/dragonflyoss/image-service/issues/121#issue-938182177


dart migrate crashes in visitPrefixedIdentifier on dartdoc

Dart SDK Version (dart --version)
Dart SDK version: 2.15.0-203.0.dev (dev) (Mon Oct 11 01:29:51 2021 -0700) on "macos_x64"
Whether you are using Windows, MacOSX, or Linux (if applicable)
MacOS X
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
n/a

Tested at https://github.com/dart-lang/dartdoc/commit/b4fa8681c1293ad5b2f7cc08967fbc0782fb5323.
jcollins-macbookpro2:dartdoc jcollins$ dart migrate .
Migrating /Users/jcollins/dart/dartdoc

See https://dart.dev/go/null-safety-migration for a migration guide.

Analyzing project...
[----------------------------------------------------------------------------------------------------------------------------------------------------------------\]No analysis issues found.

Generating migration suggestions...
[----\                                                                                ]Aborting migration due to an exception.  This most likely is due to a
bug in the migration tool.  Please consider filing a bug report at:

https://github.com/dart-lang/sdk/issues/new
Please include the SDK version (2.15.0-203.0.dev) in your bug report.

To attempt to perform migration anyway, you may re-run with
--ignore-exceptions.

Exception details:

Null check operator used on a null value at offset 15 in /Users/jcollins/dart/dartdoc/test/mustachio/foo.dart (Renderer.forTest)

#0      EdgeBuilder._makeEdgeOrigin (package:nnbd_migration/src/edge_builder.dart:3267:24)
#1      EdgeBuilder._checkExpressionNotNull (package:nnbd_migration/src/edge_builder.dart:2065:18)
#2      EdgeBuilder._handleTarget (package:nnbd_migration/src/edge_builder.dart:3175:14)
#3      EdgeBuilder._handlePropertyAccess (package:nnbd_migration/src/edge_builder.dart:3098:20)
#4      EdgeBuilder.visitPrefixedIdentifier (package:nnbd_migration/src/edge_builder.dart:1566:14)
#5      PrefixedIdentifierImpl.accept (package:analyzer/src/dart/ast/ast.dart:8295:50)
#6      EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2305:24)
#7      EdgeBuilder.visitAnnotation (package:nnbd_migration/src/edge_builder.dart:390:7)
#8      AnnotationImpl.accept (package:analyzer/src/dart/ast/ast.dart:298:50)
#9      EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2305:24)
#10     EdgeBuilder._dispatchList (package:nnbd_migration/src/edge_builder.dart:2323:7)
#11     EdgeBuilder.visitLibraryDirective (package:nnbd_migration/src/edge_builder.dart:1287:5)
#12     LibraryDirectiveImpl.accept (package:analyzer/src/dart/ast/ast.dart:6653:50)
#13     EdgeBuilder._dispatch (package:nnbd_migration/src/edge_builder.dart:2305:24)
#14     EdgeBuilder.visitNode (package:nnbd_migration/src/edge_builder.dart:1501:9)
#15     GeneralizingAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:202:52)
#16     CompletenessTracker.visitCompilationUnit.<anonymous closure> (package:nnbd_migration/src/utilities/completeness_tracker.dart:52:24)
#17     PermissiveModeVisitor.reportExceptionsIfPermissive (package:nnbd_migration/src/utilities/permissive_mode.dart:26:24)
#18     CompletenessTracker.visitCompilationUnit (package:nnbd_migration/src/utilities/completeness_tracker.dart:43:5)
#19     CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2076:50)
#20     NullabilityMigrationImpl.processInput (package:nnbd_migration/src/nullability_migration_impl.dart:231:12)
#21     NonNullableFix.processUnit (package:nnbd_migration/src/front_end/non_nullable_fix.dart:164:16)
#22     _FixCodeProcessor.runLaterPhases.<anonymous closure> (package:nnbd_migration/migration_cli.dart:1092:20)
#23     _FixCodeProcessor.runLaterPhases.<anonymous closure> (package:nnbd_migration/migration_cli.dart:1090:28)
#24     _FixCodeProcessor.processResources (package:nnbd_migration/migration_cli.dart:1024:26)
<asynchronous suspension>
#25     _FixCodeProcessor.runLaterPhases (package:nnbd_migration/migration_cli.dart:1090:5)
<asynchronous suspension>
#26     MigrationCliRunner.run (package:nnbd_migration/migration_cli.dart:697:24)
<asynchronous suspension>
#27     MigrateCommand.run (package:dartdev/src/commands/migrate.dart:37:7)
<asynchronous suspension>
#28     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#29     DartdevRunner.runCommand (package:dartdev/dartdev.dart:223:18)
<asynchronous suspension>
#30     runDartdev (package:dartdev/dartdev.dart:66:16)
<asynchronous suspension>
#31     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/dartdev/bin/dartdev.dart:11:3)
<asynchronous suspension>

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


[Docs] Landing page update: Added Galaxy Explorer. Added contribution flow diagram.

Overview
Landing page update: Added Galaxy Explorer. Added contribution flow diagram to help creators who are not familiar with the GitHub.

Preview page
https://github.com/cre8ivepark/MixedRealityToolkit-Unity/tree/prerelease/2.2.0_stabilization_DocsLandingpage1119
https://github.com/cre8ivepark/MixedRealityToolkit-Unity/blob/prerelease/2.2.0_stabilization_DocsLandingpage1119/Documentation/Contributing/CONTRIBUTING.md

Any feedback on the contribution flow diagram would be appreciated!

It would be great if we could add in between c and d the following: Read through the MRTK coding guidelines.
Then for step 3, say "when writing pull request description, use MRTK pull request guidelines to help guide you"

For the contribution flow image, I'm a little conflicted about having it be an image, vs just having it be text. A few thoughts here:

Images are really awesome for cases where text isn't sufficient in explaining, though in this case, this is primarily text content - this is probably something where we could have a text flow (i.e. 1, 2, 3, i, ii, iii, iv, 4...)
Images are harder to update than text - i.e. if we change our branch naming, or if we want to change the flow at certain times (i.e. stabilization), this is harder than just updating specific words/text.

Another note - I think for the name of the branch (i.e. mrtk_development_featurename) that's not actualllllly necessary (i.e. people can name it whatever they want). It would probably be more accurate to say like create a working branch off of mrtk_development (e.g. "git checkout -b yourawesomefeaturewithabettername)
The wording there is currently kinda imperative

@wiwei I'll try with a multi-column table

For the contribution flow image, I'm a little conflicted about having it be an image, vs just having it be text. A few thoughts here:

Images are really awesome for cases where text isn't sufficient in explaining, though in this case, this is primarily text content - this is probably something where we could have a text flow (i.e. 1, 2, 3, i, ii, iii, iv, 4...)
Images are harder to update than text - i.e. if we change our branch naming, or if we want to change the flow at certain times (i.e. stabilization), this is harder than just updating specific words/text.

I love the look of the flow image...but yea hard to update, also more importantly can't add hyperlinks. If it was designed in HTML/CSS than it would be perfect for all worlds....but I'm sure that is a lot more work

Removed the flow diagram for this PR - need to find a better way. I found that we have a link to the GitHub guideline page already.

Updated three screenshot image for the eye tracking example scenes.

/azp run mrtk_docs


document implementation verbosity in CLI

mediaconch -h needs a reference to how to state the verbosity of the output

The verbosity is already in the advanced help (-ha).
As it is not finished yet (and nobody understand it), I don't think it is a good idea to put it in the "normal user" help.

argh, missed this. Thanks.


Various e2e fixes for OpenShiftCI

fixing e2e tests on OpenShift CI - what was left from #1360

/retest

/retest

/retest

/retest

/test unit

/test e2e-core

/test e2e-core
timeouts :-(

/retest

aws error
/test e2e-core

again
level=warning msg="Found override for ReleaseImage. Please be warned, this is not advised"
level=info msg="Consuming \"Install Config\" from target directory"
level=info msg="Creating infrastructure resources..."
level=error
level=error msg="Error: Error applying plan:"
level=error
level=error msg="4 errors occurred:"
level=error msg="\t* module.vpc.aws_route.igw_route: 1 error occurred:"
level=error msg="\t* aws_route.igw_route: Error creating route: timeout while waiting for state to become 'success' (timeout: 2m0s)"
level=error
level=error
level=error msg="\t* module.vpc.aws_route_table_association.route_net[1]: 1 error occurred:"
level=error msg="\t* aws_route_table_association.route_net.1: timeout while waiting for state to become 'success' (timeout: 5m0s)"
level=error
level=error
level=error msg="\t* module.vpc.aws_route.to_nat_gw[5]: 1 error occurred:"
level=error msg="\t* aws_route.to_nat_gw.5: Error creating route: timeout while waiting for state to become 'success' (timeout: 2m0s)"
level=error
level=error
level=error msg="\t* module.vpc.aws_route_table_association.private_routing[4]: 1 error occurred:"
level=error msg="\t* aws_route_table_association.private_routing.4: timeout while waiting for state to become 'success' (timeout: 5m0s)"
level=error
level=error
level=error
level=error
level=error
level=error msg="Terraform does not automatically rollback in the face of errors."
level=error msg="Instead, your Terraform state file has been partially updated with"
level=error msg="any resources that successfully completed. Please address the error"
level=error msg="above and apply again to incrementally change your infrastructure."
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"

/test e2e-core

timeout
/test e2e-core

/test e2e-core

/test e2e-core

/retest

/retest

🎉 e2e passing on openshiftCI and Travis
/cc @amitkrout @mohammedzee1000 @anmolbabu
/hold cancel

Awesome!!!
Running the test again just to make sure changes are stable enough
/retest

/refresh

#1470

/approve

/lgtm
/meow


Invoke with data

Live diagram on the progression of ideas for this architecture: https://miro.com/app/board/uXjVOWHk_6s=/?moveToWidget=3458764543148532968&cot=14

@peterbroadhurst @awrichar are we happy to get this in?

Yes, I think all major concerns are now addressed, and this is shipping in FireFly 1.3.


Rework the test suite such as we have larger tests with meaningful names

Right now we have a bunch of testNNNN.d , but that is not really practical, especially since their number have grown significantly.
A better way to do things would have topical files that check that area of the language have proper semantic.

Folders would also be good e.g. small focused feature tests and large-er reductions shouldn't be dumped in the same folder


Lower required libc6 version if possible

Using Ubuntu 16.04 LTS, the version of libc6 installed is 2.23-0ubuntu11.3. Attempting to install tidy-viewer via dpkg gives the following error:
dpkg: dependency problems prevent configuration of tidy-viewer:
 tidy-viewer depends on libc6 (>= 2.31); however:
  Version of libc6:amd64 on system is 2.23-0ubuntu11.3.

If nothing between versions 2.23 and 2.31 is needed it would be nice to lower the required version to increase the number of systems tidy-viewer can be installed on.

@alexhallam might still be looking into the libc version, but at least in the meantime @Mejari, tidy-viewer is now available as a snap, which should install fine on your 16.04 system. You can install it with snap install tidy-viewer --edge.

Unfortunately for me I'm using Ubuntu via the Windows subsystem, which has snap disabled. But I'm sure having it available through there will be very useful in general.

I would like to make sure this can work for you @Mejari . With some help from the good volunteers on the Rust Discord channel took a look at the tree today with cargo tree
tidy-viewer v0.0.19 (/home/user/code/rs/tv)
├── console v0.14.1
│   ├── lazy_static v1.4.0
│   ├── libc v0.2.94
│   ├── regex v1.4.6
│   │   ├── aho-corasick v0.7.15
│   │   │   └── memchr v2.3.4
│   │   ├── memchr v2.3.4
│   │   └── regex-syntax v0.6.23
│   ├── terminal_size v0.1.16
│   │   └── libc v0.2.94
│   └── unicode-width v0.1.8
├── crossterm v0.20.0
│   ├── bitflags v1.2.1
│   ├── libc v0.2.94
│   ├── mio v0.7.13
│   │   ├── libc v0.2.94
│   │   └── log v0.4.14
│   │       └── cfg-if v1.0.0
│   ├── parking_lot v0.11.1
│   │   ├── instant v0.1.10
│   │   │   └── cfg-if v1.0.0
│   │   ├── lock_api v0.4.4
│   │   │   └── scopeguard v1.1.0
│   │   └── parking_lot_core v0.8.3
│   │       ├── cfg-if v1.0.0
│   │       ├── instant v0.1.10 (*)
│   │       ├── libc v0.2.94
│   │       └── smallvec v1.6.1
│   ├── signal-hook v0.3.9
│   │   ├── libc v0.2.94
│   │   └── signal-hook-registry v1.4.0
│   │       └── libc v0.2.94
│   └── signal-hook-mio v0.2.1
│       ├── libc v0.2.94
│       ├── mio v0.7.13 (*)
│       └── signal-hook v0.3.9 (*)
├── regex v1.4.6 (*)
├── structopt v0.3.21
│   ├── clap v2.33.3
│   │   ├── ansi_term v0.11.0
│   │   ├── atty v0.2.14
│   │   │   └── libc v0.2.94

I may be able to grab lower visions of some of these libraries. The requirement for libc 0.2.94 froms from three libraries console, crossterm,structopt.
console
I am pretty sure this is old code and needs to be removed. I was using this before I started using crossterm.
crossterm
I use this to get terminal dimensions across platforms. I could not remove it, but I could try using some older versions.
structopt
This is the core of the cli options/flags. I could not remove it, but I could try using some older versions.


Return error when generation fails

This caught me by surprise when using air to auto-rebuild.
The file.templ was invalid and templ generate does not fail, it just prints the error. It caused the logical AND to succeed and rebuild while I kept working on the project and wondering why I'm not seeing my changes.
cmd = "templ generate && go build -o ./tmp/main ."

With this changes, it fails and the server dies, which is what I was expecting.
Maybe it is just me, let me know what you think.
Cheers

Thanks, sorry for that. I missed that it used to return a non-zero exit code when template generation failed, but I broke it when I implemented a basic hot reload (it doesn't use a filesystem watching library because non of them worked well across all platforms).
I would be interested in your thoughts on the built-in hot reload, since you're using hot reload as part of your workflow: https://templ.guide/commands-and-tools/hot-reload


support redis?

Hi,
This tool can use redis store access_token and refresh_token

Thanks for using this package!
For this kind of support questions, we'd like you to use the following resources:

Documentation
OAuth 2.0 Documentation
Laracasts
Laravel Slack
Stack Overflow

This will allow us to keep the issues for bug reporting only and make our work easier.

Ok.
Thank you.


Remove outdated translator domains

I don't know where did original domains come from, but some of them do not work now and cause errors.
Script I used to check this:
import asyncio

import aiohttp
from googletrans.constants import DEFAULT_SERVICE_URLS

results = {}

async def check(url, session):
    try:
        async with session.head(url) as r:
            results[url] = r.status
    except Exception as e:
        results[url] = f"{type(e).__name__}: {e}"

async def main():
    async with aiohttp.ClientSession() as s:
        await asyncio.gather(
            *[check(f"https://{domain}/", s) for domain in DEFAULT_SERVICE_URLS]
        )

    for url, result in results.items():
        if result != 200:
            print(url, result)

asyncio.run(main())

Output
https://translate.google.eu/ 404
https://translate.google.gf/ 404
https://translate.google.io/ 404
https://translate.google.nf/ ClientConnectorError: Cannot connect to host translate.google.nf:443 ssl:default [Name or service not known]

Repo dead?

yeah, repo dead.

Attempt at awakening the maintainers - @ssut @terryyz


Backward Convolution Weights failed.

My software environment is rocm3.9+miopen2.8, I set MIOPEN_FIND_MODE=1 and MIOPEN_FIND_ENFORCE=3.
Then, run the following commands:
rm -rf ~/.config/miopen/
rm -rf ~/.cache/miopen/
rm -rf /tmp/*
./MIOpenDriver conv -F 4 --batchsize 16 --in_channels 64 --out_channels 256 --iter 1

finally, the backward convolution weights failed. The info is as follows:
MIOpen(HIP)   0.095: Info [FindConvBwdWeightsAlgorithm] BWrW Chosen Algorithm: ConvWinograd3x3MultipassWrW<3-5> , 39337984, 0.556194
MIOpen(HIP)   0.590: Info [ConvolutionBackwardWeights] algo = 3, workspace = 39337984
MIOpen(HIP)   0.139: Info2 [GetKernels] 3 kernels for key: miopenConvolutionBwdWeightsAlgoWinograd "256x30x30x3x3x64x32x32x16xNCHWxFP32x0x0x1x1x1x1x1x0"
MIOpen(HIP)   0.200: Info2 [CallGemmStridedBatched] gemm_desc: {isColMajor 0, transA 0, transB 1, m 64, n 256, k 576, lda 576, ldb 576, ldc 256, batch_count 49, strideA 36864, strideB 147456, strideC 16384, alpha 1, beta 0, dataType 1}
Backward Convolution Weights Failed: 0.969269 > 2e-05

I run these commands several times. Sometimes, the BWrW Chosen Algorithm is ConvOclBwdWrW53 but the problem is remains.
But if I set MIOPEN_FIND_MODE=3 and MIOPEN_FIND_ENFORCE=1, run the same commands as above, the result is success. I don't figure it out how this happened.

Not reproducible with current develop, ROCm 4.0, gfx906.


Different height slides

This lib is awesome, thanks!
I'm using it with a some slides that have different heights, and all slides end up being the height of the tallest slide. Any ideas about how to get rid of the extra space on the smaller slides?

I'm glad to hear it.
That's weird. Do you confirm that your use case is similare to the third demo?

Sorry I wasn't clear. I don't want to set a static height on the container and have to scroll. I'd like the container to expand and contract depending on the height of the active slide.
Something like: http://chenglou.me/react-motion/demos/demo4-photo-gallery/

Oh I see what it's you need here.

Each of my slides contains a list . It took me ages to realise that the longest list defines the scroll behaviour of all of the slides - as a result, a short list can be scrolled completely out of view.
I looked at animateHeight but it seems to have other problems: (1st slide does not initialy display. cpu intensive?. swipe only allowed over content). Is there any way to get sane scroll behaviour?

I'm struggling badly with this too. Any workarounds or ways to solve this?
I've found that animateHeight={true} prevents almost all of swipe actions.


Support scrollToPosition.

When involed like scrollToPosition(10), the 10th item should be visible
either at the top or at the bottom.
(Depending on the current visible position)

@yaraki could you take a look?


use relative time for jobs

It would be nice to see relatively how long ago jobs started and ended. Users can still hover over a time to get the date and time the job began/updated. I am not sure if this is actually requested by vendors; I just wanted to see how recently jobs succeeded and did not want to do the mental math.
(Note to self) Any objections to start calling this repo https://github.com/openstax/corgi ? 😉

About the rename: Makes sense as long as we remember to update it here: https://github.com/openstax/concourse-pipelines/blob/master/image-autotag/pipeline.yml


Use platform environment variable instead of platform function

Using a platform dependent function is not a clean solution to getting the username environment variable value. This PR checks the platform and uses different username environment variable names accordingly, and uses the std::getenv function regardless the target platform.

Just saw this now.
This pullreq also switches the env.vars used, e.g. on Windows platform it switches from using USERPROFILE (which delivers an absolute path, e.g. C:\Users\Ger) to USERNAME (which only delivers the username as known by the machine, e.g. Ger).
This b0rks the ~ path expansion everywhere (also on UNIXes: HOME-->USER i.e. /home/ger--> ger) as the expansion is supposed to produce an absolute path for inputs like ~/project/file. And AFAICT the path expansion is only happening for the leading ~ -- as one would expect if this is to be sh compatible behaviour for glob.
Fine if you want to get rid of dupenv_s() and replace it by getenv() but altering the env.vars fetched alters the expansion behaviour significantly, at least on our systems.


Mantine Drag n' Drop doesn't work in Mantine Drawer

Dragging and dropping elements inside a Mantine drawer function, but have a UI bug.
While dragging, the element is not visible. See attached sandbox for reference.
sandbox

Mantine does not provide any drag'n'drop components/hooks. Reference the documentation of the library that you use to lean how to fix an issue in your application.

We're experiencing the same issue when using the example provided on Mantine UI.
While it works, when used inside a drawer, the component being dragged appears far to the right and isn't visible. To resolve this, we forced the style inside draggableProps to always set both left and right to zero, ensuring the items stay within the drawer.
          <div
            ref={provided.innerRef}
            {...provided.dragHandleProps}
            {...{
              ...provided.draggableProps,
              style: { ...provided.draggableProps.style, left: 0, right: 0 },
            }}
            key={index}
          >


Blog Post: Announcing 0.2

We should have a blog post on kubeflow.org announcing the 0.2 release. This would be a great way to kickoff the blog.

/assign @aronchick


Searching and folder view in git source control

It would be really great if there is a feature to search a file name in the git source control. Also, i will be good to have option to group the file in the folder view similar to code explorer.

#14582 #30199


I have Changed the UI of the website also removed some extra spaces a…

…nd added some cool feature like when you hover on the image, image gets zoomed.

Asked hover feature is already implemented


Feature Request: Work with offline ZIM files/kiwix

It would be really nice to be able to use wik in conjunction with local offline wikipedia dumps. I'm not a programmer but I'm a big command line enthusiast and I tried modifying the wiki URL in info.py to the local one I'm running. It will display an article when giving the exact name but doesn't return any results when searching. I'm clearly out of my element here :) but it doesn't appear to be too far away from being able to do it.  Thoughts?

wik is web-scrapping based tool so i don't know if the offline dumps (the one you're talking about) have same elements names (tags,class,id) as the original Wikipedia when searching. I would love to into it if can share the source code of web-page when searching for the article in web-browser.

Cool. I'll see if I can paste some of the html that it produces. I'm using kiwix and the CLI tool kiwix-serve to serve the archive and the pages have a more basic and simplified layout that regular wikipedia. If wik can be modified to work with the ZIM files I wonder if it would then work with any of the ZIM files that kiwix has available? That would be pretty neat.

I don't think so, as they might use different tags and class names for different zim files, for example if you take arch wiki zim files it is totally different in terms of formatting. Hope it makes sense

The thread is no longer active hence closing. Will look into the feature request in future. Thanks


Pauli Noise Model Backend

This adds a sampling backend which adds coherent Pauli errors to each shot of a circuit. A representative use case would be:
from pytket import OpType
from qermit.noise_model import (
    PauliErrorTranspile,
    TranspilerBackend,
    NoiseModel,
    ErrorDistribution,
)
from pytket.pauli import Pauli
import numpy as np
from qiskit import QuantumCircuit
from pytket.extensions.qiskit import qiskit_to_tk

# Bell state qiskit circuit
qiskit_circuit = QuantumCircuit(2)
qiskit_circuit.h(0)
qiskit_circuit.cx(0,1)
qiskit_circuit.measure_all()

# Conver to pytket circuit
pytket_ciruit = qiskit_to_tk(qiskit_circuit)

# Define error rates
error_distribution_dict = {}
error_distribution_dict[(Pauli.X, Pauli.I)] = 0.1
error_distribution = ErrorDistribution(
    distribution=error_distribution_dict,
    rng=np.random.default_rng(seed=0),
)

# Noise model defines which gates these rates apply to
noise_model = NoiseModel({OpType.CX: error_distribution})

# Build backend from noise model
transpiler = PauliErrorTranspile(noise_model=noise_model)
backend = TranspilerBackend(transpiler=transpiler)

# Run experiemnt
n_shots = 100
handle = backend.process_circuit(circuit=pytket_ciruit, n_shots=n_shots)
result = backend.get_result(handle)

result.get_counts()

NoiseModel itself adds additional functionality to perform simulation of logical errors (errors in the form of Pauli strings) in the case of Clifford circuits.

Thanks for looking this over. I've made those changes, modulo a few comments.


Make fragments more scalable

Description 📝
Currently, geometries are generated as a single binary file created with flatbuffers. This has the downside that the whole model data is handled as a whole and therefore consumes a lot of memory and has limitations such as:

Makes it impossible to convert bigger IFC files to fragments.
Makes it impossible to load bigger IFC files in more modest devices.

Suggested solution 💡
Some time ago, we implemented a POC for "BIM tiles", allowing to lazily load only items that were visible for the user. This is a deep rabbit hole, and an ideal solution would involved a geometry database that can stream the geometries.
I believe we should go for the easiest possible approach for a first step:

Generate the bounding boxes of all geometries of the building in fragments.
Make a special culler for bounding boxes.
Instead of loading the whole .frag file, cache the it locally using indexedDB.
Request sets of geometry to the .frag file as they are discovered in the bounding box culler.

A longer term solution should probably be like this:

A backend buffer database only with geometries.
A backend item database with IFC properties, locations, etc.
The possibility to stream both geometry and properties to both databases as IFC are converted to fragments.

Alternative ⛕
No response
Additional context ☝
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

This is impressive topic, and I tried finding boundingboxes for each element by expressID. It seems that this code is no longer correct with count ===1 https://github.com/IFCjs/components/blob/main/src/fragments/FragmentBoundingBox/index.ts#L126 .
So I changed a few things to find the boundingbox. It serves selectionwindow and selectionshape...

I'm investigating this these days, let's see if I can come up with something before the end of this week!

Done! See here.


TELEWORK: Extend duration from 30 to 60 days for an ADM (or delegate) to complete a request

User Story:
As an ADM (or delegate) I want to have 60 days to approve or deny a Telework Agreement submission so that I have enough time before it expires so employees won't have to fill out another one.
Tasks:

[ ] Extend duration from 30 days to 60 for ADM response
[ ] Test to ensure the change is functioning properly
[ ] Change all corresponding copy that refers to 30 days, to 60 days

Acceptance Criteria:
When the duration for an ADM (or delegate) to respond to a Telework Agreement is 60 days

Duplicate ticket


why the same point were generated by optimizer.suggest() with different value of kappa

Hi guys, I followed the section 1, "Suggest-Evaluate-Register Paradigm", in  "Advanced tour of the Bayesian Optimization package", which is https://github.com/fmfn/BayesianOptimization/blob/master/examples/advanced-tour.ipynb, and as I expected, I got the different suggested point in case 1(see below). While in case 2(see below), I loaded my data file, the suggested points I got were always the same. Why the behavior in these two cases is different?
Thanks for your help!
Here is my code:
from bayes_opt import BayesianOptimization
import numpy as np
import sys

data=np.loadtxt(sys.argv[1], dtype=float,delimiter=' ')
c1_arr=data[:,0]
c2_arr=data[:,1]
c3_arr=data[:,2]
c4_arr=data[:,3]
c5_arr=data[:,4]
m_arr=data[:,5]

x=[-2.0,-1.0,0]
y=[-3.0,-1.0,0]
t=[-19.0,-4.0,0.0]

optimizer = BayesianOptimization(
    f=None,
    pbounds={'x': (-2, 2), 'y': (-3, 3)}, # uncomment in case 1, comment in case 2
    #pbounds={'c1':(0,1),'c2':(0,1),'c3':(0,1),'c4':(0,1)}, # uncomment in case 2, comment in case 1
    verbose=2,
    random_state=1,
)

from bayes_opt import UtilityFunction

utility = UtilityFunction(kind="ucb", kappa=float(sys.argv[2]), xi=0.0)
next_point = optimizer.suggest(utility)
print(next_point)
for _ in range(3):
    next_point = {'x':x[_],'y':y[_]} # uncomment in case 1, comment in case 2
    target = t[_] # uncomment in case 1, comment in case 2
    #next_point={'c1':c1_arr[_],'c2':c2_arr[_],'c3':c3_arr[_],'c4':c4_arr[_]} # uncomment in case 2, comment in case 1
    #target = m_arr[_] # uncomment in case 2, comment in case 1
    optimizer.register(params=next_point, target=target)
    print(target, next_point)
next_point = optimizer.suggest(utility)
print(next_point)

Here are the two cases:
case 1:
command 1:
python3 tmp.py ucb.data 1
output 1:
{'x': -0.331911981189704, 'y': 1.3219469606529488}
-19.0 {'x': -2.0, 'y': -3.0}
-4.0 {'x': -1.0, 'y': -1.0}
0.0 {'x': 0, 'y': 0}
{'x': -0.9132099073572701, 'y': 0.8401605121148267}
command 2:
python3 tmp.py ucb.data 5
output 2:
{'x': -0.331911981189704, 'y': 1.3219469606529488}
-19.0 {'x': -2.0, 'y': -3.0}
-4.0 {'x': -1.0, 'y': -1.0}
0.0 {'x': 0, 'y': 0}
{'x': -1.8706715477532216, 'y': 2.369551303030108}
command 3:
python3 tmp.py ucb.data 10
output 3:
{'x': -0.331911981189704, 'y': 1.3219469606529488}
-19.0 {'x': -2.0, 'y': -3.0}
-4.0 {'x': -1.0, 'y': -1.0}
0.0 {'x': 0, 'y': 0}
{'x': -2.0, 'y': 3.0}
case 2:
command 1:
python3 tmp.py ucb.data 1
output 1:
{'c1': 0.417022004702574, 'c2': 0.7203244934421581, 'c3': 0.00011437481734488664, 'c4': 0.30233257263183977}
19.240423468414097 {'c1': 0.0479718, 'c2': 0.0703287, 'c3': 0.220258, 'c4': 0.626224}
20.49860803932102 {'c1': 0.064742, 'c2': 0.0902062, 'c3': 0.37397, 'c4': 0.255238}
20.864252498791814 {'c1': 0.0618858, 'c2': 0.160758, 'c3': 0.247392, 'c4': 0.425238}
{'c1': 0.00771985598412106, 'c2': 0.1618609342126962, 'c3': 0.7093690341699984, 'c4': 0.7647368589916009}
command 2:
python3 tmp.py ucb.data 5
output 2:
{'c1': 0.417022004702574, 'c2': 0.7203244934421581, 'c3': 0.00011437481734488664, 'c4': 0.30233257263183977}
19.240423468414097 {'c1': 0.0479718, 'c2': 0.0703287, 'c3': 0.220258, 'c4': 0.626224}
20.49860803932102 {'c1': 0.064742, 'c2': 0.0902062, 'c3': 0.37397, 'c4': 0.255238}
20.864252498791814 {'c1': 0.0618858, 'c2': 0.160758, 'c3': 0.247392, 'c4': 0.425238}
{'c1': 0.00771985598412106, 'c2': 0.1618609342126962, 'c3': 0.7093690341699984, 'c4': 0.7647368589916009}
command 3:
python3 tmp.py ucb.data 10
output 3:
{'c1': 0.417022004702574, 'c2': 0.7203244934421581, 'c3': 0.00011437481734488664, 'c4': 0.30233257263183977}
19.240423468414097 {'c1': 0.0479718, 'c2': 0.0703287, 'c3': 0.220258, 'c4': 0.626224}
20.49860803932102 {'c1': 0.064742, 'c2': 0.0902062, 'c3': 0.37397, 'c4': 0.255238}
20.864252498791814 {'c1': 0.0618858, 'c2': 0.160758, 'c3': 0.247392, 'c4': 0.425238}
{'c1': 0.00771985598412106, 'c2': 0.1618609342126962, 'c3': 0.7093690341699984, 'c4': 0.7647368589916009}
Here is the content my data file:
0.0479718 0.0703287 0.220258 0.626224 0.0352174 19.240423468414097
0.064742 0.0902062 0.37397 0.255238 0.215845 20.49860803932102
0.0618858 0.160758 0.247392 0.425238 0.104726 20.864252498791814
0.0360865 0.249096 0.121834 0.41584 0.177143 19.974078332267265
0.0313427 0.603402 0.0460963 0.203438 0.11572 19.400004284735683
0.150024 0.0721107 0.0765948 0.0654681 0.635802 20.70922643742188
0.148392 0.0922901 0.391548 0.261696 0.106074 20.180272416364566
0.101979 0.227968 0.0889244 0.471759 0.10937 21.245069536720766
0.198051 0.46969 0.0151316 0.0807954 0.236332 21.038253339089763
0.140563 0.466464 0.314725 0.052829 0.0254198 21.035286502114463
Environment:
OS: Arch Linux
python Version 3.10.10
numpy Version 1.24.2
scipy Version 1.10.1
bayesian-optimization Version 1.4.2

Hi @Kertin
kappa controls how exploratory the algorithm is, as described in this notebook. So I would certainly expect different behavior with different kappa values.
I'm struggling to understand the problem. You say that in case 2, you always got the same point to probe but that doesn't seem to be the case?
Maybe you can plot the data instead of pasting it so I don't have to try and diagnose the problem from pure text :-)

I will close this for now. Feel free to reopen with more information and a runnable script.

I also meet the same issuse!!!
No matter how many data the optimizer register, the suggest will always same!
Just like the Ouput in the command 1&2&3 above.

@CConory if you have a runnable script, please open a seperate issue and we can have a look at your problem.


Dbeaver AppImage

It would be great to see an official AppImage of Dbeaver.
Supporting AppImage is the way for cross-platform support of Software.

This makes sense.
However I'll need some assistance in this task..

I would like to help you but I dont have enough experience at this time. Else I wouldn't ask for an AppImage. I think it works like .dmg files on OSX.
Helpful Links:
https://github.com/AppImage/AppImageKit
https://github.com/AppImage/AppImageKit/releases (AppImage of Kit)
https://discourse.appimage.org/t/how-to-create-an-appimage/155 (Help Board)
I'm sure Probono will help and assist you if you ask him on discourse.appimage.org

Developers will assist you if you join IRC freenode #AppImage

Hi, I've been packaging DBeaver (and some other tools) as AppImage for some time now but recently I stopped because besides me and my colleagues, no one was really downloading it because it was an unofficial package.
You can find the packaging script here: https://github.com/brotenet/AppImageTemplates/blob/master/package_DBeaver.sh
All you need to do is set the VERSION variable and the execute the package_DBeaver.sh script as follows (in the checked out repository directory):
./package_DBeaver.sh
--or if you wish to also upload it to a BinTray repository
./package_DBeaver.sh your_bintray_user your_bintray_repository your_bintray_api_key

You should probably need to also update the _res/AppRun with the a fresh build from the https://github.com/AppImage/AppImageKit repository

If you're looking for a maintainer of the AppImage then I'm willing to help :)

@tradewatcher @brotenet Thanks for the information.
I'll examine scripts above - we can use AppImage published in the default DBeaver packaging process.
Scheduling on 6.1.1 (which means "after 6.1 release").

Do let me know for any help you might need. DBeaver is my go-to SQL client, so, I'm more than willing to help in any way I can. :)

Great, I see that it's in the milestone for 6.3.0!
I use the appimage (thanks, @brotenet!), so I haven't upgraded yet (@brotenet, if you happen to have a more recent one, I'll certainly download it!).
Other people at the office are starting to use DBeaver but I'm the only Linux user here...

Unfortunately we can't do it in 6.3. Moving to 6.3.x

Hi. Any updates on this?

I'm also still waiting for an AppImage.

Any news on this?

Will there be an appimage file?

Any updates?

Use github action to pack the appimage
https://github.com/marketplace/actions/build-appimage

Use github action to pack the appimage
https://github.com/marketplace/actions/build-appimage

This please.

This please.

would help me allot

For those wondering, there's an appimage for DBeaver available here https://apprepo.de/appimage/dbeaver

It would be great If DBeaver will support officially appimage build. We can not trust 3rd parties.

@serge-rider  if you need an example how to build an dbeaver AppImage, you will find it here:
https://github.com/area-of-dev/DBeaver.Appimage

Since we use Java 17 now, maybe we can use jpackage for that.

Any update on this?

Moved into #15185


KYLIN-3478 Enhance backwards compatibility.

KYLIN-3478

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 3370

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.0008%) to 24.567%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java
1
81.08%

Totals

Change from base Build 3367:
0.0008%

Covered Lines:
15472

Relevant Lines:
62980

💛  - Coveralls


⚠ Bofrost.si has degraded performance

In 04ac8f0, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 2368 ms

Resolved: Bofrost.si performance has improved in a500654 after 6 minutes.


Merge V0.4-Modify-Remove

Coverage decreased (-0.4%) to 70.95% when pulling 6df335e0b4685cf42b61b3cce75d35d37f2c1a09 on V0.4-Modify-Remove into bf1cf2ec863dcc83f486a2c72db8053447205652 on V0.4.


Does not work in specific special buffer

ctrlf does not work in specific special buffers. For example, it works in *scratch*, *Messages*, the orga-agenda buffers that are opened for each org-agenda-custom-commands etc. However, it does not work in the *EGLOT events* or *EGLOT stderr* buffers. Their major mode is Fundamental just like my *scratch* buffer so am at a loss as to why. It falls back to isearch in these buffers. I appreciate you may not use eglot but just wanted to bring to your attention in case there are other special buffers where it stops working.
Thanks for your time and this package.

Well, I just installed eglot to give it a try, and yeah, wtf? You're exactly right.
I took a couple minutes to look into it and apparently this is because ctrlf-local-mode doesn't get activated in the buffer, which apparently happens because the ctrlf-mode-enable-in-buffers function defined by define-globalized-minor-mode does not have any effect in the eglot buffer.
Something about eglot is breaking globalized minor mode setup for some reason. Not totally sure why, investigation needed.


Port 24.04 changes into main

LGTM. I cancelled the most recent CI since the most recent change was just to markdown and previous CI run showed no unexpected errors.


write an actual batch/vagrant script for the process

we have a pseudo script here:
https://github.com/MetropolitanTransportationCommission/RegionalTransitDatabase#2017
we should maybe just have an actual one.

we can probably just resolve this here: https://github.com/MetropolitanTransportationCommission/RegionalTransitDatabase/issues/35


Bug: importing Worker from playwright fails - _playwright is not defined

the following code works
import * as playwright from 'playwright';
import { folio as baseFolio } from '@playwright/test';

const builder = baseFolio.extend<{ worker: playwright.Worker }, {}, {}>();

builder.worker.init(async ({ page }, runTest) => {
    await page.goto('https://en.wikipedia.org/wiki/Main_Page');
    await page.route(url => url.href.includes('/sw.js'), route => route.fulfill({
        body: 'var a = 6',
        contentType: 'text/javascript',
        status: 200
    }));
    const [worker] = await Promise.all([
        page.waitForEvent('worker'),
        page.evaluate(() => {
            myWorker = new Worker('https://en.wikipedia.org/sw.js')
        })
    ]);

    await runTest(worker);
});

const folio = builder.build();

const { it, describe } = folio;

describe('worker', function () {
    it('should work', async ({ worker }) => {

    });
});

when importing the specific type from playwright an error is thrown
this solves the issue but I rather import just the used types and not prefix everything with playwrighs's alias
--import { Worker } from 'playwright';
++import * as playwright from 'playwright';
import { folio as baseFolio } from '@playwright/test';

--const builder = baseFolio.extend<{ worker: Worker }, {}, {}>();
++const builder = baseFolio.extend<{ worker: playwright.Worker }, {}, {}>();

the error
npx folio -p browserName=chromium

Running 1 test using 1 worker
  1) sample.spec.ts:32:5 › worker should work ======================================================
     browserName=chromium, headful=undefined, slowMo=0, video=false, screenshotOnFailure=false

    page.evaluate: Evaluation failed: ReferenceError: _playwright is not defined
        at eval (eval at evaluate (:303:29), <anonymous>:2:5)
        at UtilityScript.evaluate (<anonymous>:305:22)
        at UtilityScript.<anonymous> (<anonymous>:1:44)

      17 |     const [worker] = await Promise.all([
      18 |         page.waitForEvent('worker'),
    > 19 |         page.evaluate(() => {
         |              ^
      20 |             myWorker = new Worker('https://en.wikipedia.org/sw.js')
      21 |         })
      22 |     ]);

    rror:
        at Object.captureStackTrace (D:\Playground\Playground.Js\node_modules\playwright\lib\utils\stackTrace.js:48:19)
        at Connection.sendMessageToServer (D:\Playground\Playground.Js\node_modules\playwright\lib\client\connection.js:69:48)
        at Proxy.<anonymous> (D:\Playground\Playground.Js\node_modules\playwright\lib\client\channelOwner.js:64:61)
        at D:\Playground\Playground.Js\node_modules\playwright\lib\client\frame.js:179:42
        at Frame._wrapApiCall (D:\Playground\Playground.Js\node_modules\playwright\lib\client\channelOwner.js:77:34)
        at Frame.evaluate (D:\Playground\Playground.Js\node_modules\playwright\lib\client\frame.js:178:21)
        at D:\Playground\Playground.Js\node_modules\playwright\lib\client\page.js:385:60
        at Page._attributeToPage (D:\Playground\Playground.Js\node_modules\playwright\lib\client\page.js:231:20)
        at Page.evaluate (D:\Playground\Playground.Js\node_modules\playwright\lib\client\page.js:385:21)
        at Object.fn (D:\Playground\Playground.Js\play\sample.spec.ts:19:14)

  1 failed
    sample.spec.ts:32:5 › worker should work =======================================================
    browserName=chromium, headful=undefined, slowMo=0, video=false, screenshotOnFailure=false

Closing as part of the triage since the new test-runner is quite different. Please create a new issue if its still persistent.


python310Packages.tank-utility: bypass detection of urllib3[secure]

Description of changes
Fix build (https://hydra.nixos.org/build/196263079)

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.tank-utility
python39Packages.tank-utility


How can I include "Critical / above the fold" CSS to the  ?

I have several entry points, and I have "*.ejs" template for each of them.
So I have HTML-webpack plugin instance for all of them.
The problem is: I need to inline Critical css to each of this templates by hand, and change all of them.
I think this should be automated with your plugin.

Maybe style-ext-html-webpack-plugin might help.

Inline all files called *.critical.css:
module: {
  loaders: [
    { test: /^(?!.*\.critical).*\.css$/, loader: 'style-loader!css-loader' }
    { test: /\.critical\.css$/, loader: StyleExtHtmlWebpackPlugin.inline() }
  ]
},
plugins: [
  new HtmlWebpackPlugin(),
  new StyleExtHtmlWebpackPlugin()
]

Thank you very much, your advise has been very helpful!

Trending right now https://twitter.com/smashingmag/status/721908493289021440