AssetDesc to units, plus some clarification

This PR renames assetDesc to units, and descOps or assetDescOps to unitOps.
Also, whenever I saw something that we've changed or I thought could be clarified, I went ahead and changed it.  Anytime that I saw label.description used, I changed it to label.allegedName and included warnings about not relying on it, but we could probably use another pass to make sure that is covered everywhere.

LGTM. Fixed a couple places where 'description' was still there and changed to 'allegedName'.


feature: menu group - default expand option

Please read and mark the following check list before creating a pull request:

[x] I read and followed the CONTRIBUTING.md guide.
[x] I read and followed the New Feature Checklist guide.

Short description of what this resolves:
Closes #1265
Related Kitten Tricks PR.

What's the status with this?

This helped solve an issue we were having, thank you!

any updates?


"document.createElement is not a function" When Used With React Native

I'm following something like the example integration with React Native but encountering the following problem right after the device connects:
Exception in queued task TypeError: document.createElement is not a function
    at storage.native.js:67
    at Array.forEach (<anonymous>)
    at Object.checkNewVersionDocument (storage.native.js:65)
    at _CachingChangeObserver.added (meteor-client.js:12489)
    at Object.added (meteor-client.js:11963)
    at meteor-client.js:11082
    at Meteor._SynchronousQueue.SQp.runTask (meteor-client.js:1113)
    at Meteor._SynchronousQueue.SQp.flush (meteor-client.js:1154)
    at Meteor._SynchronousQueue.SQp.drain (meteor-client.js:1168)
    at Cursor.observeChanges (meteor-client.js:10941)

Note that the line numbers appear to be incorrect, but the error seems to being generated by this code in the generated bundle:
if (doc._id === 'version-refreshable' && doc.version !== autoupdateVersionRefreshable) {
  autoupdateVersionRefreshable = doc.version; // Switch out old css links for the new css links. Inspired by:
  // https://github.com/guard/guard-livereload/blob/master/js/livereload.js#L710
  ...
  if (newCss.length !== 0) {
    newCss.forEach(function (css) {
    var newLink = document.createElement("link");
    ...

I'm not a Meteor expert but it seems that the server is pushing some document with a special ID that is causing the client to try and update page CSS, which fails given that there is no DOM to manipulate.
Removing this entire case solves the problem, but of course it now requires a separate step each time the bundle is rebuilt. No idea what the right solution is here...? Note that this seems related to #9, although it's going down a slightly different code path so the fix is probably different...

How could you produce this issue?
And could you please update react-native-meteor-polyfills to 1.0.6?

Any idea how to fix this problem?
I'm using:
"react-native-meteor-polyfills": "1.0.9",
"react-native": "0.57.2",


nginx - update example for 1.11

https://github.com/dcos/examples/tree/master/nginx
Pick any open and unassigned issue in the list of GitHub issues and assign it to yourself by leaving a comment here in the issue. Then update the example by following these steps:

[ ] Fork the examples repo on GitHub.
[ ] On a new branch, make a copy of latest example directory (mostly 1.10 or 1.9) for your package and name it 1.11.
[ ] Test the example on a DC/OS 1.11 cluster. As you test, replace the old screenshots with new ones and make any necessary corrections to the example.
[ ] Feel free to also improve the instructions.
[ ] Add a link to your newly created 1.11 example to the README.md file for your package's directory.
[ ] Report your results:

If the example works out of the box, or you are able to correct it, open a PR with your changes (including the example itself and its addition to the README.md file) and add it to the issue.
If you can’t get your example to work, add a detailed description of what went wrong on the issue (you still get stickers!).

When you’re done, email<EMAIL_ADDRESS>with the following information:
Subject: 1.11 Example Testing - [Service Name]
Body:

Your name
GitHub Issue link
Your Twitter handle, if you have one
Community Slack handle if you have one
Mailing address (for the stickers)

The Community team shepherd will review your PR and either work with you to make modifications or just merge it if it looks good.

This issue is being worked on by @asierg95

@asierg95, It looks like @dilansri just opened a PR for this one. Are you still working on it too? If so we'll make sure you guys both get stickers! https://github.com/dcos/examples/pull/343

Merged the example update from @dilansri, thanks again for your work on this :smile:


Demo on how to inject style sheets

Hi guys,
Great library, but I have no idea how to inject my stylesheet into this bad boy. Is there any chance you could make a demo or just reply here with how to inject your stylesheet or some style elements into the Popout?
Thanks

TL;DR you should see all styles embedded in your main window copied over to the child window. As long as you're providing a base HTML template, there's nothing to configure.

I think @Lego6245 's answer is pretty comprehensive. The pattern here is that the code in the main window would get loaded there from something like style-loader (webpack plugin), then it would get injected in child window by way of mutation observer. So, no action is needed. The initial styles are also copied over for you as well. So it's pretty minimal what you have to do. If you find that it isn't doing that, please open a bug for us with a small repro.


Expand wildcard expressions in distinct on

Closes #12940
Rationale for this change

What changes are included in this PR?

Are these changes tested?
yes
Are there any user-facing changes?
No

I verified that before this PR this query fails like this:
> create table foo as values (1), (2);
0 row(s) fetched.

> select distinct on (column1) * from foo;
Optimizer rule 'replace_distinct_aggregate' failed
caused by
replace_distinct_aggregate
caused by
Internal error: Failed due to a difference in schemas, original schema: DFSchema { inner: Schema { fields: [Field { name: "column1", data_type: Int64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, field_qualifiers: [Some(Bare { table: "foo" })], functional_dependencies: FunctionalDependencies { deps: [] } }, new schema: DFSchema { inner: Schema { fields: [Field { name: "column1", data_type: Null, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, field_qualifiers: [Some(Bare { table: "foo" })], functional_dependencies: FunctionalDependencies { deps: [] } }.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker

And after this PR it works
DataFusion CLI v42.0.0
> create table foo as values (1), (2);
0 row(s) fetched.
Elapsed 0.024 seconds.

> select distinct on (column1) * from foo;
+---------+
| column1 |
+---------+
| 1       |
| 2       |
+---------+
2 row(s) fetched.
Elapsed 0.026 seconds.

How about adding an SQL test in datafusion/sqllogictest/test_files/distinct_on.slt?

this is an excellent call @goldmedal  -- I will make a follow on PR


fix: Ensure non-leaf DAG tasks have their onExit handler's run

Fixes: https://github.com/argoproj/argo/issues/3395

Back-proted to 2.9.2


b2f: Support ISO-5589-1 encoded headers (subject)

Although the winlink message format specification says that the headers should be ASCII-only characters, RMS Express encodes the subject header as ISO-8859-1.
If we use https://golang.org/pkg/mime/#WordDecoder and #WordEncoder for the headers, we should be able to properly decode ISO-8859-1 headers as well as conforming with RFC 2047 on encode.
Currently, fbb encodes/decodes the headers as UTF-8... which is clearly wrong.

Fixed in fa48ce7ed13d9e4f4771844f13b44599be350fe3.


H100 slower than A800

I trained my model on 8 A800 using flash attention 2 with batch size 22 each card, and the running time is 2.20s/it.
I switch to 8 H100 also use flash attention 2 with same batch size, and now the running time is 4.5s/it.
What could be the reason? I think H100 should be faster than A800? I have no idea.

I find H100 is running normally if I use 1-6 cards, the speed will slow when I use 7 cards or 8 cards

nerver mind, my seventh card is problematic. I now train my model using card 0,1,2,3,4,5,7


Allow More filter on inventory list view

Environment

Python version:  3.6
NetBox version:  2.5

Proposed Functionality
Please allow a filter on Inventory Items list view

Allow a filter to inventory items based on the discovered flag is true or false
Allow a filter to inventory items if that is Parent Item or Child Item.

Use Case
As to help web user,

A user can able to know if particular inventory item was added Manual to Inventory Item vs was discovered either using napalm or someone update using API. This can be seen into the device inventory tab but not in the inventory item list

The user can select or filter only Discovered or Manual Added and take bulk actions such as Delete only Discovered items.

The user can See that inventory item is actually a parent object and filter only parent objects.

Database Changes
None

External Dependencies
None

Allow a filter to inventory items based on the discovered flag is true or false

This functionality (e.g. ?discovered=True) exists today, however there is no filter form field for it.

Allow a filter to inventory items if that is Parent Item or Child Item.

This needs to be fleshed out. What specific filter parameters are you proposing?

This needs to be fleshed out. What specific filter parameters are you proposing?

this may be a another filter which may filter if "parent"="" is null or not. Also may be a small disguisher in list view to know item is parent.

Can you expand on your use case? I'm having trouble seeing a use for filtering inventory items by whether they have child items assigned.


Fix a bug related to the incorrect handling of gold utterances

Issue #, if available:
N/A
Description of changes:
The condition for using gold utterances was incorrect. This change does not affect the paper's performance since it resulted from refactoring after completing all the experiments.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the bugfix, @mjeensung!


Physical keyboard uses English US layout if magnification (accessibility) is enabled (Astro Slide only)

If Settings -> Accessibility -> Magnification is On for the Astro Slide 5G Transformer, the physical keyboard ("Gemini Keyboard") uses a minimal English US layout (which unfortunately lacks most mappings involving the Fn key),  no matter what layout is configured in Planet Keyboard. The Cosmo Communicator did not have that problem.

This also gets triggered by enabling "reading mode" (Lesemodus in German, translation guessed by me).


raspbian iptables broken

Notice: /Stage[main]/Maverick_web::Janus/Maverick_security::Firewall::Firerule[webrtc-http]/Firewall[100 allow webrtc-http access for tcp:6011 from []]/ensure: created
Warning: Firewall[100 allow webrtc-http access for tcp:6011 from []](provider=iptables): Unable to persist firewall rules: Execution of '/usr/sbin/service iptables-persistent save' returned 1: iptables-persistent: unrecognized service
Notice: /Stage[main]/Maverick_web::Janus/Maverick_security::Firewall::Firerule[webrtc-http]/Firewall[100 allow webrtc-http access for tcp:6012 from []]/ensure: created
Warning: Firewall[100 allow webrtc-http access for tcp:6012 from []](provider=iptables): Unable to persist firewall rules: Execution of '/usr/sbin/service iptables-persistent save' returned 1: iptables-persistent: unrecognized service
Notice: /Stage[main]/Maverick_web::Janus/Maverick_security::Firewall::Firerule[webrtc-rtp]/Firewall[100 allow webrtc-rtp access for udp:40000 from []]/ensure: created
Warning: Firewall[100 allow webrtc-rtp access for udp:40000 from []](provider=iptables): Unable to persist firewall rules: Execution of '/usr/sbin/service iptables-persistent save' returned 1: iptables-persistent: unrecognized service
Notice: /Stage[main]/Maverick_web::Janus/Maverick_security::Firewall::Firerule[webrtc-rtp]/Firewall[100 allow webrtc-rtp access for udp:45000 from []]/ensure: created
Warning: Firewall[100 allow webrtc-rtp access for udp:45000 from []](provider=iptables): Unable to persist firewall rules: Execution of '/usr/sbin/service iptables-persistent save' returned 1: iptables-persistent: unrecognized service

https://tickets.puppetlabs.com/browse/MODULES-10947

Looks to be because facter is reporting $::operatingsystem as Raspbian now, so the firewall module doesn't invoke the Debian manifests.  Need to hack the firewall module to respond to Raspbian as well, and then raise it upstream.


bump dependencies

Applied mkpr on package.json
/tmp/mkpr.sh

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

npm package (@latest dist-tag)
v1.10.149
GitHub release

Your semantic-release bot :package::rocket:


Add navbar

Add navbar #55
Describe your changes
Implemented navbar component. Simple code so no comments.
Checklist before requesting a review

[ x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added thorough tests

Codecov Report

Merging #64 (c2c1756) into dev (0f5f845) will increase coverage by 4.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev      #64      +/-   ##
==========================================
+ Coverage   62.78%   67.15%   +4.36%
==========================================
  Files          30       24       -6
  Lines        1056      965      -91
  Branches       98       78      -20
==========================================
- Hits          663      648      -15
+ Misses        381      306      -75
+ Partials       12       11       -1

Flag
Coverage Δ

backend
67.15% <ø> (ø)

dev
67.15% <ø> (?)

frontend
?

staging
?

unit
67.15% <ø> (+4.36%)
:arrow_up:

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

Impacted Files
Coverage Δ

frontend/src/components/App.tsx

frontend/src/index.tsx

frontend/src/components/PollCreationPage.tsx

frontend/src/components/QuestionComponent.tsx

frontend/src/react-app/reportWebVitals.ts

frontend/src/components/Header.tsx

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

Fixed rebase issue


Java 'NullPointerException' error

How do I solve the error: 'Exception in thread "main" java.lang.NullPointerException
at treesub.ancestral.ParseRST.getSequences(Unknown Source)
at treesub.ancestral.ParseRST.run(Unknown Source)
at treesub.ancestral.ParseRST.main(Unknown Source)'
This is happening at the last step 6/6 - building tree for substitutions.

Note: the other 5 steps seem to run successfully, according to the output on the program console. So what could be going wrong with the last step?
Kindly assist, thanks.
anyone??? any clues?

Dear Colleagues,
I am having the same issue:
NG86: stop codon TAG.

Successfully ran PAML.

[6/6] Parsing PAML results and building tree for substitutions.
ERROR: java.lang.NullPointerException

=========
No stop codons in file (in frame), TAG or any other. Checked again and again. Any suggestions of what may cause the script to think that there is a stop?

Can share the alignment so I can replicate the error?

Thanks! Gladly; tried to, but the file is too large. It’s a bumper-to-bumper concatenate of 976 individual alignments, all codon-based, all multiples of 3, no stops in any.
Concatenated using catfasta2phyml (github.com/nylander/catfasta2phyml). Concatenation should not create a stop by shifting it in-frame, as all individual alignments are in-frame.
please download it from:
https://www.dropbox.com/s/k0bwquo5t3xksko/acantho_gar_976.nostop.fasta?dl=0
Please let me know if there is any problem with the download.
Will very much appreciate your help!
Regards,
--
Lev Yampolsky
Professor
Department of Biological Sciences
East Tennessee State University
Box 70703
Johnson City TN 37614-1710
Cell<PHONE_NUMBER>
Office/lab<PHONE_NUMBER>
Fax<PHONE_NUMBER>
From: Asif Tamuri <notifications<EMAIL_ADDRESS>Reply-To: tamuri/treesub <reply<EMAIL_ADDRESS>Date: Monday, February 5, 2018 at 12:37 PM
To: tamuri/treesub <treesub<EMAIL_ADDRESS>Cc: LY <YAMPOLSK<EMAIL_ADDRESS>Comment <comment<EMAIL_ADDRESS>Subject: Re: [tamuri/treesub] Java 'NullPointerException' error (#2)
Can share the alignment so I can replicate the error?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tamuri/treesub/issues/2#issuecomment-363160170, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIdztZxCXzRJuVyWIbpYrvz1YeaiOn90ks5tRzxZgaJpZM4IAFXK.

Your alignment is fine but it looks like PAML throws an error when it finds that the most probable reconstructed ancestral state is a stop codon (it's trying to count synonymous & non-synonymous changes).
Unfortunately, out of my hands - I will discuss with Ziheng when I next meet him. In the meantime, I hacked baseml and emailed you the table of results (and the tree, but you have so many non-synonymous changes, it's a bit useless to visualise them on this tree).

Thank you so much!
This is weird, isn’t it? That there are no stops in alignments, but it gets reconstructed. Must be a 2-nucleotide change from Y to W or something like this that PAML does not see happening other than in two parallel changes from the ancestral stop.
Thanks again, I really appreciate.
Lev
From: Asif Tamuri <notifications<EMAIL_ADDRESS>Reply-To: tamuri/treesub <reply<EMAIL_ADDRESS>Date: Monday, February 5, 2018 at 1:24 PM
To: tamuri/treesub <treesub<EMAIL_ADDRESS>Cc: LY <YAMPOLSK<EMAIL_ADDRESS>Comment <comment<EMAIL_ADDRESS>Subject: Re: [tamuri/treesub] Java 'NullPointerException' error (#2)
Your alignment is fine but it looks like PAML throws an error when it finds that the most probable reconstructed ancestral state is a stop codon (it's trying to count synonymous & non-synonymous changes).
Unfortunately, out of my hands - I will discuss with Ziheng when I next meet him. In the meantime, I hacked baseml and emailed you the table of results (and the tree, but you have so many non-synonymous changes, it's a bit useless to visualise them on this tree).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tamuri/treesub/issues/2#issuecomment-363174608, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIdztTz-NP195OxtdRZOKMg3CXtcnUWIks5tR0dagaJpZM4IAFXK.

Yes, it's site 196615 in the (converted) amino acid alignment:
>gam10_1
TCA
>gam10_2
TCG
>gam2
TCG
>gam26_6
TCG
>gam28_1
TGG
>gam3
TCG
>gam31_10
TCG
>gam5
TAC
>gam8
TAC
>gam9_4
TAC

Dear Asif,
Once again thank you for your help with treesub. Another of my alignments completed without an error. However, the third one generated the same error, presumably because of an inferred stop codon again. Could you instruct me how did you parse the results to extract the table of substitutions? You said you looked into baseml, but this files seems to contain very little. I can see that all the necessary info is present in rst, but it's not clear how you extract the list of substitutions from there - perhaps you have a scrip that does it.
Here is the link to the folder with the alignment and the results:
https://www.dropbox.com/sh/y5i8jhgysjyts69/AAAwieZKS5x4rgMoVaAp3KQPa?dl=0
Thank you very much in advance for your help!
Lev Yampolsky

From: Asif Tamuri<EMAIL_ADDRESS>Sent: Monday, February 5, 2018 1:24 PM
To: tamuri/treesub
Cc: Yampolsky, Lev; Comment
Subject: Re: [tamuri/treesub] Java 'NullPointerException' error (#2)
Your alignment is fine but it looks like PAML throws an error when it finds that the most probable reconstructed ancestral state is a stop codon (it's trying to count synonymous & non-synonymous changes).
Unfortunately, out of my hands - I will discuss with Ziheng when I next meet him. In the meantime, I hacked baseml and emailed you the table of results (and the tree, but you have so many non-synonymous changes, it's a bit useless to visualise them on this tree).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tamuri/treesub/issues/2#issuecomment-363174608, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIdztTz-NP195OxtdRZOKMg3CXtcnUWIks5tR0dagaJpZM4IAFXK.

If it's failing due to the same STOP codon error then baseml exits before it completes and the results are incomplete. The only way to fix this for now is to edit the PAML source code and compile a new version for your computer. Specifically, comment out the exit(1) around line 341 line in tools.c here:
      if (iaa[i] == -1) {
         printf("\nNG86: stop codon %s.\n", getcodon(str, iy[i]));
//exit(-1);
      }

Recompile and you should be good to go.

Same result:
[6/6] Parsing PAML results and building tree for substitutions.
ERROR: java.lang.NullPointerException
Maybe I did something wrong compiling? I did, on MacOS10.12, (as described in src/README.txt):
cd ~/[...]/paml4.8/src
make (there was a bunch of warnings)
cp baseml basemlg codeml evolver pamp yn00 mcmctree chi2 ..
rm *.o
rm: *.o: No such file or directory
As the result I have now files with the same names, but much smaller sizes in
paml4.8 and in paml4.8/bin, which does not look right. Prior to this I did not compile PAML, but used precompiled Mac version.
Any ideas of what I may be doing wrong?

From: Asif Tamuri<EMAIL_ADDRESS>Sent: Wednesday, February 7, 2018 2:09 AM
To: tamuri/treesub
Cc: Yampolsky, Lev; Comment
Subject: Re: [tamuri/treesub] Java 'NullPointerException' error (#2)
If it's failing due to the same STOP codon error then baseml exits before it completes and the results are incomplete. The only way to fix this for now is to edit the PAML source code and compile a new version for your computer. Specifically, comment out the exit(1) around line 341 line in tools.c here:
  if (iaa[i] == -1) {
     printf("\nNG86: stop codon %s.\n", getcodon(str, iy[i]));

//exit(-1);
}
Recompile and you should be good to go.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tamuri/treesub/issues/2#issuecomment-363677594, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIdztfBP84g_poGIsa4abTodj7GoqQmGks5tSUxFgaJpZM4IAFXK.

Make sure that the path to baseml in treesub (second box from the top) is pointing to your new compiled version of baseml (I think paml4.8/baseml).
Otherwise it might well be some other problem. Check whether you can run baseml directly on your files (not through treesub).

one more question if you don't mind.
Why are you using baseml, given that alignments are codon-based? wouldn't codeml be the right component to do the reconstructions?
Thanks!

From: Asif Tamuri<EMAIL_ADDRESS>Sent: Wednesday, February 7, 2018 4:32 AM
To: tamuri/treesub
Cc: Yampolsky, Lev; Comment
Subject: Re: [tamuri/treesub] Java 'NullPointerException' error (#2)
Make sure that the path to baseml in treesub (second box from the top) is pointing to your new compiled version of baseml (I think paml4.8/baseml).
Otherwise it might well be some other problem. Check whether you can run baseml directly on your files (not through treesub).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tamuri/treesub/issues/2#issuecomment-363709890, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIdztYsfeiI4shvs8if9o8-W9ABi_aT_ks5tSW3AgaJpZM4IAFXK.

Using baseml nucleotide-based analysis partitioning on codon position is substantially faster than any of codon models. Also, the large variety of codon models require more configuration/tuning for the data to hand, which is not so amenable to a "one-button" tool like treesub. (Plus usual time constraints etc.)


Set vertex colour attr correctly with material system

Cherry-picked from #1406.
Before:

After:

I think this is still not complete actually, as there are also implicitly vertex lit surfaces that don't have CGEN_VERTEX set. Vertex lighting can be automatically selected when there is no lightmap. The computer console in Vega is an example. It uses an image loaded as shader.

The previous screenshots were with full-range overbright. Although this commit makes the material system match the standard renderer, the result is wrong (too dark).
With clamping enabled, the 'before' picture remains the same (too bright). But clamping + this commit looks just right:

What is “implicit vertex lighting”?

I mean when the shader does not have rgbgen vertex, but vertex lighting is selected because it's a lighting stage of a BSP surface that has no lightmap.


Idlechan function

Would be pleasant to rebuild this sometime
fnn_chat_to_s()
'chats to _S'
messages = ['so, how are things?','is your end of the world holding up ok?',"let's talk about deer!","boop.","beep.","I'll be honest, this place is dead.","Fuck snow!","I guess everyone's asleep.","clap... clap... clap","I'm watching you, robot.","What do you think of that D000242 guy?","What do you think of that spangle kid?","Butts.","I choose you!","How old are you in milli-Americas?"]
tumbleweed
and possibly "deer deer deer"
Basically, it should be possible to set a number of messages which can be returned

False
#ecco-the-dolphin
<idle_time>3600</idle_time>
_S: so, how are things?
_S: is your end of the world holding up ok?
...

No real demand


[Bug] Incorrect storage usage

Description of the bug
dash. is showing the wrong used storage in the dashboard.

df output shows the right used storage

it should be more like this, so a lot more than 2.5tb...

my docker compose volumes:
  volumes:
    - /etc/os-release:/etc/os-release:ro
    - /proc/1/ns/net:/mnt/host_ns_net:ro
    - /media:/mnt/host_media:ro
    - /storage:/mnt/host_storage
    - /storage/torrents:/mnt/host_torrents
    - /mnt:/mnt/host_mnt:ro
    -

How to reproduce
No response
Relevant log output
No response
What browsers are you seeing the problem on?
No response
Where is your instance running?
Linux Server
Additional context
No response

Hello, thank you for creating an issue! Is the df run inside the container, or outside? Because the mountpoints seem off to me.

It's run inside the container. I had some leftovers from trying out things in there, here is the current setup:

Can you please run the following command in your host and paste the output?
docker container exec -it dash. /bin/sh -c 'mkdir -p /test-storage && cd /test-storage && echo \'import * as si from "systeminformation";const run = async () => { const [disks, sizes] = await Promise.all([si.diskLayout(), si.fsSize()]); console.log("Disks", disks); console.log("Sizes", sizes);}; run();\' > index.js && echo \'{"name": "test-storage","version": "1.0.0","type": "module","description": "","main": "index.js","scripts": {},"author": "","license": "ISC","dependencies": {"systeminformation": "^5.11.16"}}\' > package.json && npm i && node .'

Can you please run the following command in your host and paste the output?
docker container exec -it dash. /bin/sh -c 'mkdir -p /test-storage && cd /test-storage && echo \'import * as si from "systeminformation";const run = async () => { const [disks, sizes] = await Promise.all([si.diskLayout(), si.fsSize()]); console.log("Disks", disks); console.log("Sizes", sizes);}; run();\' > index.js && echo \'{"name": "test-storage","version": "1.0.0","type": "module","description": "","main": "index.js","scripts": {},"author": "","license": "ISC","dependencies": {"systeminformation": "^5.11.16"}}\' > package.json && npm i && node .'

-bash: syntax error near unexpected token `('

Doesn't work on bash as it seems...
Try this instead:
docker container exec -it dash. /bin/sh -c 'git clone https://github.com/MauriceNino/disk-info /disk-info && cd /disk-info && npm i && node .'

Doesn't work on bash as it seems...

Disks [
{
device: '/dev/sda',
type: 'HD',
name: 'ST1000LM024 HN-M',
vendor: 'Seagate',
size:<PHONE_NUMBER>016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0001',
serialNum: '',
interfaceType: 'SATA',
smartStatus: 'unknown',
temperature: null
},
{
device: '/dev/sdb',
type: 'HD',
name: 'EARS-00Y5B1     ',
vendor: 'WDC WD10',
size:<PHONE_NUMBER>016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0327',
serialNum: '',
interfaceType: 'USB',
smartStatus: 'unknown',
temperature: null
},
{
device: '/dev/sdc',
type: 'HD',
name: 'EZEX-08WN4A0    ',
vendor: 'WDC WD10',
size:<PHONE_NUMBER>016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0327',
serialNum: '',
interfaceType: 'USB',
smartStatus: 'unknown',
temperature: null
},
{
device: '/dev/sdd',
type: 'HD',
name: '000-1H4168      ',
vendor: 'ST4000VN',
size:<PHONE_NUMBER>016,
bytesPerSector: null,
totalCylinders: null,
totalHeads: null,
totalSectors: null,
totalTracks: null,
tracksPerCylinder: null,
sectorsPerTrack: null,
firmwareRevision: '0327',
serialNum: '',
interfaceType: 'USB',
smartStatus: 'unknown',
temperature: null
}
]
Sizes [
{
fs: 'overlay',
type: 'overlay',
size:<PHONE_NUMBER>12,
used:<PHONE_NUMBER>8,
available:<PHONE_NUMBER>68,
use: 8.86,
mount: '/'
},
{
fs: '/dev/sda2',
type: 'ext4',
size:<PHONE_NUMBER>12,
used:<PHONE_NUMBER>8,
available:<PHONE_NUMBER>68,
use: 8.86,
mount: '/mnt/host_media'
},
{
fs: '/dev/sdd1',
type: 'ext4',
size:<PHONE_NUMBER>784,
used:<PHONE_NUMBER>856,
available:<PHONE_NUMBER>744,
use: 72.32,
mount: '/mnt/host_storage'
},
{
fs: '/dev/mapper/torrents-torrents',
type: 'ext4',
size:<PHONE_NUMBER>200,
used:<PHONE_NUMBER>896,
available:<PHONE_NUMBER>68,
use: 89,
mount: '/mnt/host_storage/torrents'
}
]
wouldn't be any fun if it was easy :P

Can you try pulling the latest dev image and running that instead of prod? (docker image pull mauricenino/dashdot:dev)

Can you try pulling the latest dev image and running that instead of prod? (docker image pull mauricenino/dashdot:dev)

seems to work perfectly now!

Besten Dank!

Kein Problem ;)
New main release will be published tomorrow, if you want to switch back from dev, btw.

Kein Problem ;)
New main release will be published tomorrow, if you want to switch back from dev, btw.

If I don't forget I'll change back tomorrow.
Sent something your way, danke nochmals aus der Steiermark :)

Thank you, much appreciated :)

:tada: This issue has been resolved in version 3.2.0
Please check the changelog for more details.


Turn on Servant logging - we should see what's going on

As I tried to hit the endpoints, I did not see if Servant recognized the request or not. I figured, running the logs should be on by default, that would help people to use the app.
Before this change, this is what I had in the console:
stack exec haskell-servant-realworld-example-app logger
"Let's go!"

After the change:
stack exec haskell-servant-realworld-example-app logger
"Let's go!"
<IP_ADDRESS> - - [14/May/2018:22:25:55 -0500] "GET / HTTP/1.1" 404 - "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36"

Might close #2.


Curl Error code 0 , HTTP code 200

I am getting both of these code but not getting any data back from $curl->get($url);

Take a look at the output of var_dump($curl);.

Check out this example.
https://github.com/php-curl-class/php-curl-class/blob/master/examples/post_json.php


Fix commas in author list

The current author list has an issue with commas and spaces.
For example, the first paper in publications

Letters on wave mechanics
Einstein, Albert, Schrödinger, Erwin,  Planck, Max and 2 more authors
1967

There are actually two spaces in front of 'Planck, Max' and a missing comma before 'and'.
Moreover, the expanded author list after clicking on the '2 more authors' does not contain the 'and' conjunction.
This PR fixes the above problems and simplifies some of the redundant codes.
In particular, it prevents liquid from printing any arbitrary whitespaces and puts the 'and' into latter phrase.
A weird boundary case (i.e., author_array_limit is zero) is also considered and handled.

Conventionally, it should be 'A. Einstein, B. Podolsky, and N. Rosen' instead of the current 'Einstein, A., Podolsky, B., and Rosen, N.'
Although I have not changed this in the PR, it is recommended to review the current name order.

Got it. I have added a new global variable "max_author_separated" in _config.yml to address the style preference. When it is set to true, "and" will be shown before "more authors"; otherwise, "and" will be shown before the last author.
The "first last" name ordering is changed in the new commit as well.


Error while uploading to AppStore

Hey
I have a setup where, for a new release, I run ./gradlew createXCFramework and commit the .xcframework on my release branch.
This works pretty well, however, when building an IPA and trying to submit to the store, I get the following error:
[Transporter Error Output]: ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'MyApp.app/Frameworks/mysdk.framework/mysdk' is not permitted. Your app can't contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."

build.gradle:
multiplatformSwiftPackage {
    swiftToolsVersion("5.3")
    targetPlatforms {
        iOS { v("12") }
    }
    outputDirectory(File(".."))
}

Any idea what could cause this?

Hi @ThomasDhaen,
my guess is that the mysdk.framework file is being copied into the bundle during the build. However, that's not allowed by Apple.
Please check your build settings in Xcode to make sure the framework is not part of the bundle. You might want to look into the following places:

in the 'project navigator' click on the framework file and then make sure that no checkbox is ticked in the 'target membership' section of the 'file inspector'
make sure the 'copy bundle resources' in the 'build phases' tab of the target settings does not contain the framework file

Please let me know if this resolves your issue

Hi @ThomasDhaen,
my guess is that the mysdk.framework file is being copied into the bundle during the build. However, that's not allowed by Apple.
Please check your build settings in Xcode to make sure the framework is not part of the bundle. You might want to look into the following places:

in the 'project navigator' click on the framework file and then make sure that no checkbox is ticked in the 'target membership' section of the 'file inspector'
make sure the 'copy bundle resources' in the 'build phases' tab of the target settings does not contain the framework file

Please let me know if this resolves your issue

Dis you manage to fix the problem?
It could also be related to a limitation of SPM that Apple is currently investigating.
https://forums.swift.org/t/swift-packages-in-multiple-targets-results-in-this-will-result-in-duplication-of-library-code-errors/34892?page=2

Dis you manage to fix the problem?
It could also be related to a limitation of SPM that Apple is currently investigating.
https://forums.swift.org/t/swift-packages-in-multiple-targets-results-in-this-will-result-in-duplication-of-library-code-errors/34892?page=2

Hey @ge-org thanks for sharing.
We've checked these points and both are not the case for our project.
I'm going to make a sample project and see if I can reproduce it, will post back later today or tomorrow!

Hey @ge-org thanks for sharing.
We've checked these points and both are not the case for our project.
I'm going to make a sample project and see if I can reproduce it, will post back later today or tomorrow!

We found what caused this error:
Our build.grade file included plugin "org.jetbrains.kotlin.native.cocoapods" (although we don't use it anymore).
This seemed to be putting the binary in an archive and causing the invalid bundle structure error.
We've removed this plugin and this has resolved it for us.
With cocoapods plugin:
file mysdk
mysdk: current ar archive random library

Without cocoapods plugin:
file mysdk
mysdk: Mach-O 64-bit dynamically linked shared library arm64

We found what caused this error:
Our build.grade file included plugin "org.jetbrains.kotlin.native.cocoapods" (although we don't use it anymore).
This seemed to be putting the binary in an archive and causing the invalid bundle structure error.
We've removed this plugin and this has resolved it for us.
With cocoapods plugin:
file mysdk
mysdk: current ar archive random library

Without cocoapods plugin:
file mysdk
mysdk: Mach-O 64-bit dynamically linked shared library arm64


hi-translated running in multiple zones

localized running in  multiple zones in hi/docs/setup/production-environment/

/language hi

/kind documentation

kubeadm => क्यूबएडीएम

made changes


block_0.xlsx can't change register name

Describe the bug
If I change the register name of register_0 and register_1 to reg_0 and reg_1, it will have error, but for other register, it is ok.
To Reproduce
Steps to reproduce the behavior:

just change the name of register_0 and register_1 in block_0.xlsx
use following command in rggen-sample-master:  rggen -c config.yml --plugin rggen-verilog --plugin rggen-vhdl -o out block_0.xlsx

Expected behavior
I want to change the register name in excel like register_3, this can make my design much convenient.

Some bit fields refer bit fields of register_0. For example: register4.bit_field_1

To fix this error, you also need to update column J and change regiter_0/register_1 to reg_0/reg_1.

Thank you Taichi. It works now.


#[20] Contact

Codecov Report
Attention: Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (2327722) to head (b7eba80).
Report is 12 commits behind head on main.

Additional details and impacted files

Files
Coverage Δ

crates/framework/src/bots_api.rs
0.00% <ø> (ø)

crates/framework/src/enums/messages.rs
0.00% <ø> (ø)

crates/framework/src/structs/contact.rs
0.00% <0.00%> (ø)

crates/framework/src/features/contact.rs
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


Migrate perturbIC to using mule

It would be beneficial for perturbIC to be using mule to process UM fieldsfile data, instead of the custom umfile module.
This will allow standardisation of functions and making testing and implementation of new functionalities simpler.

[!IMPORTANT]
Currently, mule cannot handle UM fieldsfile timeseries (LBCODE 31320/31323, reference from UM F03 Document) properly. This makes fixing this issue more complex than it could be.
Before switching to mule, we need to make sure a proper way to handle timeseries is found and the "mule-enabled" scripts work well with timeseries.

More info about problems with mule: https://github.com/ACCESS-NRI/umfile_utils/issues/3#issuecomment-2427989256


SQlite Provider

Hello,
I cant really speak/write english so i do it fast ^^
language: eng
The data provider where plot data is stored.
Current providers are: sqlite, mysql, json, and yaml.
DataProvider: mysql
contains settings for mysql provider to use when selected
MySQLSettings:
Host: <IP_ADDRESS>
Port: 3306
Username:HIDDEN
Password: HIDDEN
DatabaseName: MyPlot
ShutdownOnFailure: false
Use an economy with MyPlot. This will allow for plot pricing such as claiming, clearing, etc.
Currently supported economy plugins: Economy$, PocketMoney, EssentialsPE, EconomyPlus
Be sure not to use more than 1 economy plugin!
UseEconomy: false
Amount of plots to be cached.
Increasing this number will improve performance, but also increase memory usage.
PlotCacheSize: 256
When a player enters a plot, a popup with basic info will be shown
ShowPlotPopup: true
Amount of blocks to reset per tick.
Increasing this number will speed up '/p clear' and '/p reset' but also increases lag
ClearBlocksPerTick: 256
These settings will be used when creating a new world with the default generator.
DefaultWorld:
Restrict entities (e.g. tnt) from moving except falling
This will prevent things like tnt cannons from ruining other plots
RestrictEntityMovement: true
Update liquids (e.g. Water) from updating and moving
This will allow things like water to lag the server in plot worlds
UpdatePlotLiquids: false
How much it costs to claim a plot (Economy must be set to 'true')
ClaimPrice: 0
How much it costs to clear a plot (Economy must be set to 'true')
ClearPrice: 0
How much it costs to dispose a plot (Economy must be set to 'true')
DisposePrice: 0
How much it costs to reset a plot (Economy must be set to 'true')
ResetPrice: 0
The size of a plot
PlotSize: 32
The height of a plot
GroundHeight: 64
The width of the road
RoadWidth: 7
The block that the road is made of (Default is Oak Planks)
RoadBlock: '5:0'
The block that plot walls are made of (Default is Stone Slabs)
WallBlock: '44:0'
The block used as the plot floor (Default is Grass)
PlotFloorBlock: '2:0'
The block that fills the rest of the plot (Default is Dirt)
PlotFillBlock: '3:0'
The block at the bottom (Default is Bedrock)
BottomBlock: '7:0'
and why i got this error:
Required extension sqlite3 not loaded
Please Help me

Required extension sqlite3 not loaded

open bin ->php -> php.ini.
uncomment ;extension=php_mysqli.dll by removing ;
should look like extension=php_mysqli.dll after.


Temporarily disable MSDocs publishing for Azure.Messaging.EventGrid.SystemEvents

The reason for disabling this is in the issue, assigned to me, which is being used to track reenabling this when the MSDocs issue is fixed.

/azp run net - eventgrid - ci


Added insert_batch to use with the mapped table in the model

Hello, this CI Extension Class helped me a lot for encapsulating some native plumbing db model methods. When I searched for a "insert_batch()" method in this extended class (for further info: https://ellislab.com/codeigniter/user-guide/database/active_record.html#insert) , I didn't found it and I didn't want to use the native CI method, because I had to pass 2 parameters, just like this:
$this->db->insert_batch(string $table_name, array $data);
Searching I've found the method insert_many(), but it also loops to add one by one. That why I created this method in the extension class, since it's faster adding records in batch, saving time and requests with DB Server.
With this new merthod, you anyone can use it like this, since it uses default table name:
$this->my_model->insert_batch(array $data);
Keep in mind the data must be validated before passing to this method.

@upcesar , use $this->_database instate of $this->db


Update README.md

Summary
It is possible to use channel name
This is small update for README
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

 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.


Deprecated command line argument --src leads to errors or missing proper documentation

Hi,
I am new to this awesome tool and I may not be entirely correct but for me it seems that -s --src are legacy options which do nothing or I could not find any documentation and could lead to wrong configuration. I have been happily used it for my code linting by expecting to get source files checked with it and just recently noticed that it does not catching errors.
Checked the entry code (in github only) and it seems it`s only checking that this option is not selected together with paths.
Did I missed something or this option can be removed?
If not maybe documentation is missing and should be added? Any explanation/help/guidelines would be appreciated.

Hi @kesmik : I think you are right.  --src does nothing.
If you want to check a specific file, you can just do
pydoclint a_specific_file.py

I going to remove --src then.

Thanks!


Error using boosted 4 tooltip in an Angular project

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Using tooltip managed by ODS Charts with Boosted 4 renderer fails
    // Register the externalization of the tooltip/popup
    this.themeManager.externalizePopover(
      {},
      ODSCharts.ODSChartsPopoverManagers.BOOSTED4
    );

Reduced test cases
we got the error console
ods-charts.js:2782 ReferenceError: boosted is not defined
    at BOOSTED4_Definition._getOrCreatePopupInstance (ods-charts.js:2229:1)

What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of ODS Charts are you using?
v0.1.0-alpha.9

+1

I'm closing this bug as it no longer seems relevant. It has probably been solved at Docs: isolate charts in s #173

Sorry but i think an explanation of Boosted dependency in the documentation is missing.
Just installed last week ODS in my project, and without Boosted, i had to disable externalizePopover to make it works

Sorry but i think an explanation of Boosted dependency in the documentation is missing. Just installed last week ODS in my project, and without Boosted, i had to disable externalizePopover to make it works

You're absolutely right, the documentaion is largely perfectible.
Just to be sure, do you use Boosted or not on your project?
Because the library also works without Boosted.
You can use :

for graph layout

ODS Charts only
Boosted 5
Boosted 4

to display a popover or tooltip :

Apache Echarts rendering customized for ODS by ODS Charts
Boosted 4 or 5 rendering

If your problem came from this misunderstanding, the bug is probably more a bug of incomplete documentation.
Let me know,
Thks

So, there is probably a bug, you are right.
In the meantime, you can still use ODS Charts popovers and tooltips by using Apache ECharts and ODS Charts rendering.
To do this, you need to specify the renderer  ODSChartsPopoverManagers.NONE as the second parameter of the  externalizePopover
themeManager.externalizePopover({ },
  ODSCharts.ODSChartsPopoverManagers.NONE
);

Unfortunately, the documentation doesn't make this very clear. But you can find this setting in the example pages of the online configurator by choosing "Apache ECharts rendrerer" as "Popover Renderer"

Ok nice.
I think it should be mentionned in the main README. It is more clear here. In the API documentation it is also relevant, but the design is more visually cluttered.

NB: the bug is the sme with Boosted 5
ReferenceError: boosted is not defined
    at BOOSTED5_Definition._getOrCreatePopupInstance (ods-chart-popover-definitions.ts:119:1)


update readme link

Also made dbcontext a little drier in that it pulls straight from appsettings.json so the db connection string can just be updated there.


Add Instagram Service Integration

This is currently implemented in project-fortis-spark via the streaming-instagram library.

This is a dupe of #38. Resolving.


[Feature Request]: Initialize npm for the Project

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
To manage dependencies and facilitate a smoother development workflow, we need to initialize npm in the project. This will allow us to easily install packages, manage versions, and create scripts for various tasks.
Tasks

Run the command to initialize npm in the project directory.

Create a package.json file to track project dependencies and scripts.

Add relevant scripts for building and starting the project (if applicable).

Use Case
Initializing npm in a project serves multiple important purposes that enhance the development workflow. First and foremost, it facilitates dependency management by allowing developers to easily install, update, and manage third-party libraries and frameworks through npm, while keeping track of these packages and their versions in the package.json file. Additionally, it enables script automation; developers can define custom scripts in the package.json to streamline common tasks such as building, testing, and starting the application. This automation helps improve efficiency and consistency across development processes.
Benefits

Streamlines the process of adding and managing libraries or frameworks.
Enables easier collaboration among developers.
Sets up a foundation for using build tools and modern development practices.

Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Like to work on this project , Assign me to initialize the npm for the project


update packages

:white_check_mark: Build TheIdServer 7.4.7-fix-dependencies1-0195 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/68e19b3159 by @invalid-email-address)


cmd/go: -o option to go build not accepted at end

What version of Go are you using (go version)?

$ go version
go version go1.14.4 windows/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\kjk\AppData\Local\go-build
set GOENV=C:\Users\kjk\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\kjk\go
set GOPRIVATE=
set GOPROXY=direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\kjk\AppData\Local\Temp\go-build301216802=/tmp/go-build -gno-record-gcc-switches

What did you do?
This used to work (in 1.13, I think) but fails in 1.14.4:
> go.exe build -tags api -trimpath  -o ..\presstige_api.exe .
can't load package: package -o is not in GOROOT (c:\go\src\-o)
can't load package: package ../presstige_api.exe: cannot find package "." in:
        C:\Users\kjk\src\presstige\presstige_api.exe

Note: If I do go build -o ... it works.
Maybe putting -o option at end was never supposed to work but it is a regression.

This never worked
17:23:19 ~/testrepo-113 0:00:00
master » go1.11.13 build . -o out
can't load package: package -o: unknown import path "-o": cannot find module providing package -o
can't load package: package out: unknown import path "out": cannot find module providing package out

17:23:27 ~/testrepo-113 0:00:00
master » go1.12.17 build . -o out
can't load package: package -o: unknown import path "-o": cannot find module providing package -o
can't load package: package out: unknown import path "out": cannot find module providing package out

17:23:33 ~/testrepo-113 0:00:00
master » go1.13.10 build . -o out
can't load package: package -o: malformed module path "-o": leading dash
can't load package: package out: malformed module path "out": missing dot in first path element

17:23:40 ~/testrepo-113 0:00:00
master » go1.14.6 build . -o out
can't load package: package -o is not in GOROOT (/home/arccy/sdk/go1.14.6/src/-o)
can't load package: package out is not in GOROOT (/home/arccy/sdk/go1.14.6/src/out)

@seankhliao it looks like the report does have packages, the last . there.

ahh, in that case :shrug: The same command still works on linux

/cc @bcmills @jayconrod @matloob

I can only reproduce this on Linux if I add an explicit empty-string argument to the -trimpath flag.
example.com$ go build -tags api -trimpath  -o ..\whatever.exe .

example.com$ go build -tags api -trimpath '' -o ..\whatever.exe .
go: finding module for package ..whatever.exe
package -o is not in GOROOT (/usr/local/google/home/bcmills/sdk/gotip/src/-o)
malformed module path "..whatever.exe": leading dot in path element

@kjk, does this still reproduce for you if you remove the doubled space after the -trimpath flag?


Empty 'access_token' parameter passed to /_matrix/client/r0/register

Complement calls /_matrix/client/r0/register with an empty access_token query parameter, which causes Synapse to fail the request. It is valid to call /register with an access token if you're an application service registering a user in your namespace.
=== CONT  TestRegistration/parallel/POST_/register_returns_the_same_device_id_as_that_in_the_request
    client.go:196: Making POST request to http://localhost:32857/_matrix/client/r0/register?access_token=
    client.go:196: Request body: {"auth":{"type":"m.login.dummy"},"username":"user-device","password":"sUp3rs3kr1t","device_id":"my_device_id"}
=== CONT  TestRegistration
    client.go:262: POST /_matrix/client/r0/register => 401 Unauthorized (1.981009ms)
=== CONT  TestRegistration/parallel/POST_/register_returns_the_same_device_id_as_that_in_the_request
    client.go:196: HTTP/1.1 401 Unauthorized
        Transfer-Encoding: chunked
        Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization
        Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
        Access-Control-Allow-Origin: *
        Cache-Control: no-cache, no-store, must-revalidate
        Content-Type: application/json
        Date: Wed, 04 Nov 2020 16:53:03 GMT
        Server: Synapse/1.22.1

        55
        {"errcode":"M_UNKNOWN_TOKEN","error":"Unrecognised access token","soft_logout":false}
        0

    apidoc_register_test.go:92: CSAPI.MustDo POST http://localhost:32857/_matrix/client/r0/register?access_token= returned HTTP 401

The question of whether Synapse should just ignore an empty access_token query parameter is a good one. The spec doesn't really say one way or the other, so it's probably not good to fail a homeserver for this. Though I'm not sure where using an empty access_token would even be valid either.
Just wanted to get your thoughts on whether you think this should be solved Synapse-side or Complement-side.

Complement side, we shouldn't send empty access tokens.


Question: Use growi docker with growi fork repository

Hi Yuki.
I like your growi docker compose so much.  It helps me a lot to build growi on Linode ( or any host ).
I just have a question below

I want to customize growi source ( add feature based on my team's request ). So I think I will fork from https://github.com/weseek/growi
So how could I use my fork repository into growi docker ?

Thanks a lot

@datvoquoc Sorry for my late response.

Build your docker image and push to your container repository.
Clone weseek/growi-docker-compose repository and rewrite Dockerfile to reference your docker image

@yuki-takei
thanks for your anwser. I will try with your guide.


feat: implement logging for DatabaseAdminClient.

Add a decorator to log all RPCs through the DatabaseAdminClient. This is
enabled by calling enable_tracing("rpc") on the ConnectionOptions.
This fixes #370

This change is

Rebased, maybe that will make Kokoro take notice.


[BUG] Beam search produces wrong results when num_beams is not a power of two

The current beam search can produce correct results when num_beams is a power of two. But the results are wrong otherwise.
To reproduce:

Comment out this line.
https://github.com/alpa-projects/alpa/blob/b8c4329f403621913e84a202086625c8af4d6802/examples/opt_serving/model/wrapper.py#L313
Run

python3 benchmark_text_gen.py --model alpa/opt-2.7b  --debug --num-beams 6

I did some investigation and found the scatter-gather/local-allgather optimization is the root cause.
If I turn this off, the results become correct.
https://github.com/alpa-projects/alpa/blob/b8c4329f403621913e84a202086625c8af4d6802/alpa/global_env.py#L57

This is actually a bug for local-allgather at any case that the first dimension is not divisible by num devices. A minimal reproducable case is the test_4gpu_allgather in unit test test_cross_mesh_resharding.py, but changing the first dimension from 2 to 3. I'm fixing it now.

Fixed by #590


Unify redisClient into single file in query_graph_handler

Currently, there are two nearly identical redis client files in the monorepo, one in the query_graph_handler, and one in this module. For the sake of ease of maintenance I propose removing the one here and depending on the one in the query_graph_handler.

Tagging @newgene for opinion/discussion


[Tree] Having the option for level in tree to start from 1, instead of 0

I'm working with an old database, where the level in the tree structure starts from 1, instead of 0.
It would be nice to have an option in the annotation, such as:
@Gedmo\TreeLevel(base=1)

hi, no, extend it for your own use cases these kind of options confuses people when they start to pile up

@l3pp4rd : i need to implement the same trick, can you give me the way that i should take it to override the initialization of the first level used ? should i override this class  Gedmo\Tree\TreeListener ?

@karousn: you may have a look at my PR to see how I've implemented it: https://github.com/Atlantic18/DoctrineExtensions/pull/1340/files

@pmishev : I'll try to try it , thanks


Explain the word deploy

The word deploy is commom between developers in Brasil but not to newcomers and people that don't speak english.
I believe translating it increase accessibility to the content.

hi @diegobfernandez
When we were working on pt-BR translation there was some technical terms (like deploy), that are most used in english than in portuguese in most technical articles, forums, ...
In Brazil is much more usual some ask for: "alguém poderia me ajudar com o deploy automático", do que "alguém poderia me ajudar com a implantação automática".
That's why, as you said this is common between developers (the main target of 12 factor books) in Brazil, we opted for leaving it as deploy.
This is a fine line between what's more accessible and personal preferences, but as anyone has one opinion, mine is to leave it as deploy, but the choose on merging is to @jonmountjoy heheh
Thank you

I agree, myself and my team use deploy and despite we usually say "deployados" it does not seem right.
Maybe just replacing "deployados" for "implantados" and adding some note next to the definition of deploy will help clarify and beautify.
e.g.: Um deploy (ou implantação) é uma instância executando a aplicação.
e.g.: alguns registros ainda não deployados implantados no ambiente

I updated the code as I my last comment to simply explain the word and not to translate it.
Is there anything I must do to get it approved (besides wait for your feedback)?

hi @diegobfernandez I liked your alternative.
I don't approve the PR, just helps @jonmountjoy with pt-BR translation hehe but it seems good to me!
@jonmountjoy we are ready to go! 👍
@diegobfernandez thank you! 🙇

Thank you


Parameter domain name lost in procedure source - Firebird

System information:

Operating system (distribution) and version Win7
DBeaver version 7.2.3
Additional extensions /

Connection specification:

Database name and version Firebird 3.0.5
Driver name Jaybird JCA/JDBC driver 4.0.0
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing:
Dbeaver replaces procedure parameters that are domains with their types in procedure's source code.
Steps to reproduce, if exist:
If I create a domain
CREATE DOMAIN TMP_MOEDA NUMERIC(15,2)
and a procedure is using it
CREATE OR ALTER PROCEDURE test_moeda (P_STOLPEC TMP_MOEDA)
RETURNS (
   P_ID INTEGER
)
AS
begin
  p_id = 123;
  suspend;
end

and I open this procedure in dbeaver the Source I get is somehow wrong
CREATE OR ALTER PROCEDURE TEST_MOEDA (P_STOLPEC NUMERIC(15,2))
RETURNS (
	P_ID INTEGER
)
AS
begin
  p_id = 123;
  suspend;
end

If open the same procedure in flamerobin, domain parameters are preserved
in procedure view

and in source view

Hi @akilovich,
if you have to use Firebird's data dictionary then you should probably get procedure parameters data from RDB$PROCEDURE_PARAMETERS as mentioned in #5532
See https://www.firebirdsql.org/file/documentation/html/en/refdocs/fblangref25/firebird-25-language-reference.html
Something like
SELECT RPP.RDB$PARAMETER_NAME,RPP.RDB$FIELD_SOURCE -- domain
FROM RDB$PROCEDURE_PARAMETERS RPP
WHERE RDB$PROCEDURE_NAME = 'TEST_MOEDA'

It returns
P_STOLPEC   TMP_MOEDA
P_ID        RDB$162

RDB$FIELD_SOURCE is

The name of the user-created domain, when a domain is referenced instead of a data type. If the name starts with the prefix 'RDB$', it is the name of the domain automatically generated by the system for the parameter.

Parameter types are further defined in RDB$FIELDS

RDB$FIELDS stores definitions of columns and domains, both system and custom. This is where the detailed data attributes are stored for all columns.

SELECT *
FROM RDB$FIELDS
WHERE RDB$FIELD_NAME IN ('TMP_MOEDA', 'RDB$162')

Fixed.

verified

Works like a charm. Thanks!


Shared resources not working in compose multiplatform library

Describe the bug
When creating a compose-multiplatform library and using the library in a compose app, the resouces are not working for iOS and Web (K/wasm). More details on this are in the stackoverflow post here: https://stackoverflow.com/questions/78005978/shared-resources-not-working-in-compose-multiplatform-library
Affected platforms

Web (K/Wasm) - Canvas based API
iOS

Versions
Kotlin version*: 1.9.22
Compose Multiplatform version*:  1.6.0-beta02 (1.6.0-rc01 also not working)
OS version(s)* (required for Desktop and iOS issues): Any iOS version
OS architecture (x86 or arm64): both
To Reproduce

See  https://stackoverflow.com/questions/78005978/shared-resources-not-working-in-compose-multiplatform-library

https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-images-resources.html

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Child Container Not Disposing Services When It Is Disposed

I'm trying to use a childcontainer to manage a scope for Simple.Web, the expectation is that when I dispose the child container, it should dispose the referenced services.
But at the moment its not calling dispose on those services.
Discussion here:
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/castle-project-users/ARMLev6jWnQ
Sample Code here:

The DisposesInstances() Test

https://github.com/mickdelaney/Simple.Web/blob/master/src/Simple.Web.Windsor.Tests/HandlerFactoryBuilderTests.cs

It seems the core issue this ticket was about wasn't really fixed, at least the bug is still there in 4.0.
Here's a unit test (adopted from @mickdelaney's fork https://github.com/mickdelaney/Windsor/commit/7e8ab353e701918e6649cfb4bd22e6581ba4755a):
[Test]
public void DisposeChildContainerComponentsResolvedAgainstParentContainer()
{
	var parentContainer = new WindsorContainer();

	var childContainer = new WindsorContainer();
	parentContainer.AddChildContainer(childContainer);
	parentContainer.Register(Component.For<DisposableFoo>().LifestyleTransient());

	var first = childContainer.Resolve<DisposableFoo>();
	Assert.IsNotNull(first);
	childContainer.Release(first);
	Assert.AreEqual(1, DisposableFoo.DisposedCount);

	var second = childContainer.Resolve<DisposableFoo>();
	Assert.IsNotNull(second);
	childContainer.Dispose();
	Assert.AreEqual(2, DisposableFoo.DisposedCount);
}

Output:

Expected: 2
But was:  1

(NB: the original unit test registered the component as Singleton, meaning the test would already fail at the first case)
It seems that if we register the DisposableFoo at the childContainer instead, the object is disposed correctly.
You can see in the debugger that the object is tracked by the parentContainer rather than by the childContainer.
Kindly requesting moderators to reopen this (don't know who they are currently), @jonorossi ?

@reijerh this issue is from 2013, please open a new issue and link to this one. I'm not reopening this issue because it would just confuse things with the old history, and especially if we assign a milestone for the fixed version.


connect to scheduler rpc error: error(61, 'Connection refused')

I use mac, and I input pyspider all, the wedui work successful, but always show connect to scheduler rpc error: error(61, 'Connection refused') in the terminal.
and when I run the project in the Dashboard, it can't work....

Any exception from scheduler? or run pyspider scheduler individually to see if it works.

When I run pyspider scheduler, it has exception

Do I miss a module?

Exception in thread Thread-5:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/Library/Python/2.7/site-packages/pyspider/scheduler/scheduler.py", line 521, in xmlrpc_run
from pyspider.libs.wsgi_xmlrpc import WSGIXMLRPCApplication
File "/Library/Python/2.7/site-packages/pyspider/libs/wsgi_xmlrpc.py", line 18, in
from six.moves.xmlrpc_server import SimpleXMLRPCDispatcher
ImportError: No module named xmlrpc_server
[E 160813 00:03:16 counter:424] can't dump counter to file: ./data/scheduler.1h
[E 160813 00:03:16 counter:424] can't dump counter to file: ./data/scheduler.1d
[E 160813 00:03:16 counter:424] can't dump counter to file: ./data/scheduler.all
[I 160813 00:03:16 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0
[E 160813 00:04:16 counter:424] can't dump counter to file: ./data/scheduler.1h
[E 160813 00:04:16 counter:424] can't dump counter to file: ./data/scheduler.1d
[E 160813 00:04:16 counter:424] can't dump counter to file: ./data/scheduler.all
[I 160813 00:04:16 scheduler:424] in 5m: new:0,success:0,retry:0,failed:0

try pip install -U six

this may fixed


include stft discriminator features into feature loss

This PR includes stft discrimnator features into feature loss. It is unclear to me from the paper whether feature loss should include those features, but I think it makes sense

Thank you and Go Blue! :)

also just noticed that this fails if we use mse_loss, since mse_loss doesn't work  for complex tensors. Works with L1 loss though, and I think feature loss should be L1. I'm guessing mse_loss so far is just for WIP, so leaving it like this for now

@aabzaliev good call! updated :pray:


[ApiView] Change in operationId should not look like entire operation was deleted and added

In the APIView for PR 21240, in the diff from revision 0 to revision 1
https://apiview.dev/Assemblies/Review/403f16af88e945baba69c06c0c445bea?diffRevisionId=06f379cd9bfe4f479a50d6efd1c14837&diffOnly=False&revisionId=dee606fa43c04080b8a89bb7cf31fa7b&doc=False
The GET on /linkconnections, and PUT, GET, and DELETE on /linkconnections/{linkConnectionName} look like the entire operation is deleted and then re-added.

But in fact the only changes that happened in these operations was that the operationId changed.
34c34
<         "operationId": "LinkConnection_ListLinkConnectionsByWorkspace",
---
>         "operationId": "LinkConnection_ListByWorkspace",
70c70
<         "operationId": "LinkConnection_CreateOrUpdateLinkConnection",
---
>         "operationId": "LinkConnection_CreateOrUpdate",
113c113
<         "operationId": "LinkConnection_GetLinkConnection",
---
>         "operationId": "LinkConnection_Get",
147c147
<         "operationId": "LinkConnection_DeleteLinkConnection",
---
>         "operationId": "LinkConnection_Delete",

It would be really nice if APIView would show that only the operationId was changed in these situations.

@praveenkuttappan correct me if I am wrong here, but I thought this was by design. If the operationId changes, our SDK generaiton will create different method names o we wanted to highlight that.

To be clear, I do want the difference highlighted.  But I only want to see what is different and not need to by eye inspect each aspect of the operation to see if it changed or didn't.

Can we make the id for the operation a combination of the path and method?  That should solve the problem.


Fix category switch to clear search

Related to #136
Clear the search when switching categories in the emoji picker.
Generated with copilot, need to test locally and review test more thoroughly, make sure it works and verifies the fix.

For more details, open the Copilot Workspace session.

FAIL spec/picker-spec.js (15.017 s)
  ● Console

    console.error
      [Vue warn]: Error in nextTick: "Error: expect(received).toBe(expected) // Object.is equality

      Expected: "symbols"
      Received: "recent""

      found in

      ---> <Anonymous>
             <Root>

      at warn (node_modules/vue/dist/vue.runtime.common.dev.js:4564:21)
      at logError (node_modules/vue/dist/vue.runtime.common.dev.js:2959:9)
      at globalHandleError (node_modules/vue/dist/vue.runtime.common.dev.js:2955:5)
      at handleError (node_modules/vue/dist/vue.runtime.common.dev.js:2922:9)
      at Array.<anonymous> (node_modules/vue/dist/vue.runtime.common.dev.js:3060:17)
      at flushCallbacks (node_modules/vue/dist/vue.runtime.common.dev.js:2979:18)

    console.error
      JestAssertionError: expect(received).toBe(expected) // Object.is equality

      Expected: "symbols"
      Received: "recent"
          at VueComponent.<anonymous> (/src/spec/picker-spec.js:110:46)
          at Array.<anonymous> (/src/node_modules/vue/dist/vue.runtime.common.dev.js:3057:20)
          at flushCallbacks (/src/node_modules/vue/dist/vue.runtime.common.dev.js:2979:18) {
        matcherResult: {
          actual: 'recent',
          expected: 'symbols',
          message: 'expect(received).toBe(expected) // Object.is equality\n' +
            '\n' +
            'Expected: "symbols"\n' +
            'Received: "recent"',
          name: 'toBe',
          pass: false
        }
      }

      at logError (node_modules/vue/dist/vue.runtime.common.dev.js:2963:17)
      at globalHandleError (node_modules/vue/dist/vue.runtime.common.dev.js:2955:5)
      at handleError (node_modules/vue/dist/vue.runtime.common.dev.js:2922:9)
      at Array.<anonymous> (node_modules/vue/dist/vue.runtime.common.dev.js:3060:17)
      at flushCallbacks (node_modules/vue/dist/vue.runtime.common.dev.js:2979:18)

  ● Picker › clears search when switching categories

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

      87 |   })
      88 |
    > 89 |   it('clears search when switching categories', (done) => {
         |   ^
      90 |     let search = picker.findComponent(Search)
      91 |     let input = search.find('input')
      92 |     input.element.value = '+1'

      at spec/picker-spec.js:89:3
      at Object.<anonymous> (spec/picker-spec.js:31:1)


Linters are not run on files with windows build tag

Describe the bug
We currently only invoke the linters (with golangci-lint, as part of CI) with GOOS set to Linux:
https://github.com/vmware-tanzu/antrea/blob/43dcdf949142f4e98867b2111069fefae1516e32/Makefile#L187-L197
This means that Windows-specific build files are not covered by the linters. We should consider invoking the linters a second time with GOOS=windows (unless there is a better solution?).
Versions:
Antrea version: v0.9.0-dev

Hi, I can pick this up if this is still open

@cvhariharan Thanks! I assigned the issue to you


undo carbon edit changes for markdown relative links issue

This PR reverts carbon edit changes added in https://github.com/microsoft/azuredatastudio/pull/11708 to address the below vscode introduced issue which is now fixed:
https://github.com/microsoft/vscode/issues/104267

Do you have a link to their fix for this? We probably don't have that fix since we're not merged up yet

Pull Request Test Coverage Report for Build 775733936

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 43.594%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 775333611:
0.001%

Covered Lines:
26266

Relevant Lines:
55043

💛  - Coveralls

I've tested reverting my changes and was not able to repro the issue. Can't say for sure which merge might have fixed it since it's been an year. But I'll check and update that. Thanks.

https://github.com/microsoft/vscode/commit/24b28f57be22fe3029cb17a1dd72d8d9c2d6468b commit fixed the issue.


Actually fix 1.23 postbuild

Please provide a description of this PR:
https://github.com/istio/istio/pull/51135 did not do it, see https://prow.istio.io/view/gs/istio-prow/logs/integ-k8s-123_istio_postsubmit/1792559295045308416
This should.
The reason we can't set a default value is because this is an override and I don't want to add code to handle special none values.

@bleggett: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
58cefe151d4a8c297f952c31f7c2f8083f93cd58
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/test release-notes

/test integ-security-multicluster


Change remove_tmp_dockerfile

The -z flag returns true if a string length is 0. [ ! -z "$var" ] is equivalent to [ -n "$var" ] or [ "$string" ] and in either case is not testing what is necessary here - because the string in question, "${DOCKERFILE_PATH}.version", will never be of length 0, this if statement is not doing much.

:+1: good catch! LGTM

@mfojtik Let me know if you think I missed any!


Issue 195 code optimization

My current ideas for cutting cpu and memory usage, in the hope of getting it to run with 1000 serial interval samples on heroku.

[X] Write a new gamma distribution class which is smaller than scipy
[X] Write a fast gamma pdf for arrays
[X] Change the inference sliding window to reuse infectives_in_tau when possible

closes #195

Looks good to me, thanks @rcw5890 ! My initial thought was that we potentially could have vectorised this using numpy to avoid the dependence on numexp, but I think this is all fine.

Thanks @DavAug . I had the same thought and did that first, but for arrays of our size numexpr manages to be about 4x faster than numpy. I don't think it's difficult to install and it can be made an optional dependency if anyone has trouble with it.
By the way, I just realized that my original gamma pdf fails in the special case of shape=1, x=0. I just added a potential fix.


"Back" button not clickable if feed width is increased and page is zoomed in

Loving the extension so far, but I'm seeing a problem with the "Back" button when there's some page zooming applied:

Increase page zoom to 120%
Set feed width to 600px, save options, reload Twitter
Click a tweet
Mouse over the Back arrow button.  Verify that it shows the hover highlight, and clicking it returns to the feed
Set feed width to 800px, save options, reload Twitter
Click a tweet
Mouse over the Back arrow button.  Note that it does not show the hover highlight, and clicking it does nothing.
Repeat with a width of 700px.  Note that the button may highlight if you are mousing over its right edge, or possibly just to the right of it.

Currently on Firefox 68, Windows 10, and the "Zoom Page WE" extension:
https://addons.mozilla.org/en-US/firefox/addon/zoom-page-we
This may be somewhat over-specific due to the zooming aspect and the extension, but FYI.

I'm noticing this on Chrome too

Seems to be resolved


Added ruby 3.1 in ci list

Add new ruby 3.1 into ci list

  1) Failure:
OpenTelemetry::Instrumentation::ActiveRecord::Patches::PersistenceClassMethods::.create!#test_0002_adds an exception event if it raises [/home/runner/work/opentelemetry-ruby/opentelemetry-ruby/instrumentation/active_record/test/instrumentation/active_record/patches/persistence_class_methods_test.rb:40]:
--- expected
+++ actual
@@ -1 +1,4 @@
-"unknown attribute 'attreeboot' for User."
+"unknown attribute 'attreeboot' for User.
+
+          raise UnknownAttributeError.new(self, k.to_s)
+          ^^^^^"

47 runs, 61 assertions, 1 failures, 0 errors, 0 skips

+"unknown attribute 'attreeboot' for User.
+
+          raise UnknownAttributeError.new(self, k.to_s)
+          ^^^^^"

@SomalianIvan I switched must_equal to must_include as a work around.


Update eslint to v3.7.1

Updated ESLint version to v3.7.1.
Particularly, v3.6.0 is an important change because it includes partial support for ES2017, which introduces some new syntax (e.g. async await).
Anyway, thank you for the great software! I love Hound ❤

Looks good on staging. Thanks @ryota-ka !


feat(cli): add vim key binding to navigate amplify console command

Description of changes

Selecting from a list allow for use of the vi navigation keys j and k.
Issue #, if available

fix #8134
Description of how you validated changes
Manual Testing

amplify console
Type j to move down.
Type k to move up.

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #8176 (b3678cf) into master (50f07ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8176   +/-   ##
=======================================
  Coverage   54.48%   54.48%
=======================================
  Files         664      664
  Lines       37902    37902
  Branches     7788     7788
=======================================
  Hits        20650    20650
  Misses      16412    16412
  Partials      840      840

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 d43836f...b3678cf. Read the comment docs.


Map: incorporate mutualaid.wiki data in our map

Description
This is quite a heafty PR. The overall effect of which is to include the 3000+ groups from https://mutualaid.wiki in our map's data-set, and update the UI with attribution, and direct people to add mutual aid groups on that site instead of ours from the Add information window.
A few changes needed to be made to accommodate the vast increase in datapoints on the map. The main changes in this PR are:

Introduction of a new cloud function to sync with mutualaid.wiki (needs to be converted to cron)
Introduction of a new cloud function to cache the contents of the markers collection as a JSON file (in firebase storage) that can be downloaded by clients instead of directly reading the 3000+ entries from firebase (which is a lot slower, and eats into our usage)
Updating the Map to download the marker data from the firebase storage instead of firestore.
Updated the API to spit out the lat/longs without the underscores (these were the hidden properties of the GeoPoint class in firebase).
Updated the map to handle points with no radius
Updated the results in the map to only display a limited number at a time, and added a button at the bototm to show more results
Added attribution information to the details view of all markers that come from this source (with a link to mutualaid.wiki)
Added a disclaimer message to the details pane of all results.
Added instructions to the add information window when selecting mutual aid organizations to submit to mutualaid.wiki instead
Added information in the about page about our data, licenses and API endpoint.

Motivation
Testing Guidelines
Release Checklist

[ ] This code has unit tests
[ ] I have a plan to verify that these changes are working as expected after deploy
[ ] I have a plan for how to revert, rollback, or disable these changes if things are not working as expected

Security Checklist
This PR creates, modifies, or deletes:

[x] API routes: API routes, parameters, or user authorization
[x] Authentication: Authentication mechanism
[ ] Credentials: Server side credentials, or secrets in configuration / source code
[ ] Cryptography: Encryption, hashing, certificates, signatures, random numbers, etc.
[ ] User data: personal information handling, logs, error messages, etc.

Additional Notes

I'm going to merge this now just to get it deployed ASAP, but it could still do with some review @sabind

Also security rules are updated here @reach4help/security


Status bar background being automatically grayscaled

Is there an existing issue outlining your problem?

[X] I have searched the existing issues and they do not solve my problem.

Describe your problem.
I've tried a lot of  value for the status_background but it is always pure gray. How can i get it transparent or the same color as my background ?
Paste your configuration.
unbind r
bind r source-file ~/.tmux.conf
set -g prefix C-s
set-option -g status-position top
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g @catppuccin_status_background "default"
set -g @catppuccin_flavor "mocha"
set -g @catppuccin_window_left_separator "█"
set -g @catppuccin_window_right_separator "█ "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator "  █"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_status_fill "icon"
run -b '~/.tmux/plugins/tpm/tpm'
Attach screenshots.

What tmux version are you seeing the issue on?
tmux 3.4
Any additional comments?
No response

What terminal are you using and does the terminal have transparency?

Your config in alacritty with opacity?

I was using the windows terminal preview (I'm on WSL) with the default config.
Strangely this problem went away with the nightly build of the terminal.


Clean up CompactionDirectives default impl

@milleruntime I'm trying to review this, but it's taking time, because I'm finding I have soooo many questions about the compaction stuff, and having a hard time understanding where to begin. I'm sure I could figure some of this out if I spent some more time with it, but my initial thoughts/questions are:

What's a compaction directive, vs. a compaction service, vs. a compaction dispatcher? (these appear to be the different categories of things touched by this change)
Why was CompactionDirectiveImpl a package-private class stored in the SPI package instead of a separate implementation package?
What was the compaction directives builder that is being deleted in this PR even for (it had no javadoc)? Why did it carry a service ID, and what even is a service ID?
Does the retention of CompactionDirectiveImpl.setService in your PR imply that CompactionsDirectiveImpl is mutable? Should it be mutable? Is it okay to be mutable?
Is the loop in SimpleCompactionDispatcher that calls defaultService.setService(v) a good idea? What's the end goal being pursued here if the service that is being held in the defaultService object is being swapped out repeatedly in a loop?
Naming-wise, what does it mean for a "defaultService" to have a "setService" method? What is the relationship between the "service" that the variable name is referring to and the "service" that the method name is referring to?

CompactionDispatcher and CompactionDirective follow the same pattern as ScanDispatcher and ScanDirective.  In my opinion it would be good to keep them consistent.  ScanDispatcher used to return a single string for its dispatch method in 2.0.0.  Then in 2.1.0 cache information was added to the scan dispatch method resulting in the need to return an object.  That is why I chose to start off returning an object for the compaction dispatch method.

CompactionDispatcher and CompactionDirective follow the same pattern as ScanDispatcher and ScanDirectives. In my opinion it would be good to keep them consistent. ScanDispatcher used to return a single string for its dispatch method in 2.0.0. Then in 2.1.0 cache information was added to the scan dispatch method resulting in the need to return an object. That is why I chose to start off returning an object for the compaction dispatch method.

There seems to be similar issues with ScanDispatcher, mainly having a builder where only one method should be called to set a single object on another class. My concern is that it seems like a lot of extra code for just calling new ScanDirectivesImpl().setX() and the builder returned allows multiple setX() calls, which would only create throw away objects.

There seems to be similar issues with ScanDispatcher, mainly having a builder where only one method should be called to set a single object on another class.

For the ScanDispatcher three things can be set.  In 2.0.0 only one thing could be set for the ScanDispatcher.  For 2.1.0 to additional things were added.  Because ScanDispatcher did not follow the pattern in 2.0.0 that it does now, the addition of new things to return was a painful.  The design of this interface is the way it is to support SPI evolution where new things can be returned in the future.  When writing the ScanDispatcher in 2.0.0 I never could have imagined additionally returning cache directives in 2.1.0.

My concern is that it seems like a lot of extra code for just calling new ScanDirectivesImpl().setX() and the builder

Someone writing a ScanDispatcher or CompactionDispatcher would never interact with ScanDirectivesImpl or CompactionDirectivesImpl.  Those are internal implementations hidden from users.  When making changes I would suggest to start with the interfaces CompactionDirectives and ScanDirectives and changes those to how you think they should be w/o regard for ScanDirectivesImpl and CompactionDirectivesImpl.  Also considering how a user writing a CompactionDispatcher would use CompactionDirectives, as the interfaces only exists to support CompactionDispatcher.

That name seems fine w/ me.  If changed I think it would make sense to consider ScanDispatcher also.  At this point I would personally prioritize consistency between the two.

@keith-turner After the last changes, I had to add a way to set the default in a977accf7a82ea5fc5dc6a6d5b90a1f4355642a3

@keith-turner I am happy with this PR now if you are OK with the changes.

I think it would be good to rename setService as @ctubbsii had suggested.

I am not sure what you are referring to. Sorry its hard to follow with all the comments.

I think it would be good to rename setService as @ctubbsii had suggested.

I am not sure what you are referring to. Sorry its hard to follow with all the comments.

If it's required at compile time then I would be ok w/ that change. Also I agreep setService is not a good name for a fluent builder, something else would be better like toService().

Nevermind found it. Sorry I missed your response.


--episodes s02e08,s03e09 = filter for specific episodes

Idea for the next steps:
select specific episodes:
--e s02e08,s03e09
--episodes s02e08,s03e09

stay completely silent if there is no hit:
-o
--only

then this example:
python -m plutoalert Search -o --episodes s02e08,s03e09 -s star-trek-discovery-de,star-trek-discovery-ptv1

I could put into my bash login, or repeat every 6 hours, or hook up to a cronjob that sends me an email if the answer is non-empty, etc.
Purpose
That (almost always silent) script could be run in the background, and just let me live my life for weeks ... until suddenly PlutoTv is providing the next unseen episode ...
... then finally, the name of this repo makes sense:  plutoalert

Here's a workaround in bash that solves the above already: pluto_mine.sh


[BUG]使用es构建知识库，查询es返回错误

问题描述 / Problem Description
使用es构建知识库，数据已经加载成功，es index和dense_vector都有值，通过知识库查询es返回错误。 ES版本8.9.0.
2023-11-17 02:16:44,614 - _client.py[line:1013] - INFO: HTTP Request: POST http://<IP_ADDRESS>:7861/chat/knowledge_base_chat "HTTP/1.1 200 OK"
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/fastapi/applications.py", line 1106, in call
await super().call(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/responses.py", line 277, in call
await wrap(partial(self.listen_for_disconnect, receive))
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 597, in aexit
raise exceptions[0]
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/responses.py", line 273, in wrap
await func()
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/starlette/responses.py", line 262, in stream_response
async for chunk in self.body_iterator:
File "/home/opc/LLM/Langchain-Chatchat/server/chat/knowledge_base_chat.py", line 58, in knowledge_base_chat_iterator
docs = search_docs(query, knowledge_base_name, top_k, score_threshold)
File "/home/opc/LLM/Langchain-Chatchat/server/knowledge_base/kb_doc_api.py", line 37, in search_docs
docs = kb.search_docs(query, top_k, score_threshold)
File "/home/opc/LLM/Langchain-Chatchat/server/knowledge_base/kb_service/base.py", line 172, in search_docs
docs = self.do_search(query, top_k, score_threshold)
File "/home/opc/LLM/Langchain-Chatchat/server/knowledge_base/kb_service/es_kb_service.py", line 129, in do_search
docs = self.db_init.similarity_search_with_score(query=query,
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/langchain/vectorstores/elasticsearch.py", line 700, in similarity_search_with_score
return self._search(query=query, k=k, filter=filter, **kwargs)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/langchain/vectorstores/elasticsearch.py", line 777, in _search
response = self.client.search(
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/elasticsearch/_sync/client/utils.py", line 402, in wrapped
return api(*args, **kwargs)
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/elasticsearch/_sync/client/init.py", line 3733, in search
return self.perform_request(  # type: ignore[return-value]
File "/home/opc/anaconda3/envs/faiss/lib/python3.8/site-packages/elasticsearch/_sync/client/_base.py", line 320, in perform_request
raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(
elasticsearch.BadRequestError: BadRequestError(400, 'search_phase_execution_exception', 'failed to create query: [knn] queries are only supported on [dense_vector] fields')
2023-11-17 02:16:44,627 - utils.py[line:187] - ERROR: RemoteProtocolError: API通信遇到错误：peer closed connection without sending complete message body (incomplete chunked read)

跟你一样的情况, Elasticsearch==7.17
2023-11-17 10:40:31,407 - _client.py[line:1013] - INFO: HTTP Request: POST http://<IP_ADDRESS>:7861/chat/knowledge_base_chat "HTTP/1.1 200 OK"
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/fastapi/applications.py", line 1106, in __call__
    await super().__call__(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/routing.py", line 69, in app
    await response(scope, receive, send)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/responses.py", line 270, in __call__
    async with anyio.create_task_group() as task_group:
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 597, in __aexit__
    raise exceptions[0]
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/responses.py", line 273, in wrap
    await func()
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/starlette/responses.py", line 262, in stream_response
    async for chunk in self.body_iterator:
  File "/home/hello2ai/project/Langchain-Chatchat/server/chat/knowledge_base_chat.py", line 58, in knowledge_base_chat_iterator
    docs = search_docs(query, knowledge_base_name, top_k, score_threshold)
  File "/home/hello2ai/project/Langchain-Chatchat/server/knowledge_base/kb_doc_api.py", line 37, in search_docs
    docs = kb.search_docs(query, top_k, score_threshold)
  File "/home/hello2ai/project/Langchain-Chatchat/server/knowledge_base/kb_service/base.py", line 172, in search_docs
    docs = self.do_search(query, top_k, score_threshold)
  File "/home/hello2ai/project/Langchain-Chatchat/server/knowledge_base/kb_service/es_kb_service.py", line 129, in do_search
    docs = self.db_init.similarity_search_with_score(query=query,
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/langchain/vectorstores/elasticsearch.py", line 700, in similarity_search_with_score
    return self._search(query=query, k=k, filter=filter, **kwargs)
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/langchain/vectorstores/elasticsearch.py", line 779, in _search
    response = self.client.search(
  File "/root/anaconda3/envs/lc/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 347, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
TypeError: Elasticsearch.search() got an unexpected keyword argument 'knn'
2023-11-17 10:40:31,410 - utils.py[line:187] - ERROR: RemoteProtocolError: API通信遇到错误：peer closed connection without sending complete message body (incomplete chunked read)

找到错误了，不能提前建es 索引，因此，需要注销这行
        self.es_client_python.indices.create(index=self.index_name)

我也是同样的问题，楼主解决了嘛


Transcoder on android

Is it possible to run unicorntranscoder on android? I figured it must be possible since android runs on the linux kernel so i ran debian inside of linux deploy but the npm install kept failing. Then i tried in termux but that also didnt work.
It would be awesome if it would be possible i have so many old phones with some pretty good processing power.

Phones are not optimized to massive media processing.
We don't have an Android build, but I think if you can get ARM transcoder files from Plex servers and install Node + Nginx it could run ;)

Ive got the transcoder running now, forgot i also needed to mount the files which is a pain. Ill let you know if it works. Theoretically my old S8 should be faster than my current server running unicorn transcoder

It could be faster than a computer but ffmpeg isn't well optimized on ARM 😅

This could be an interesting use case.
I can imagine a few shields acting as HW accel. transcoders instead of expensive servers 🤔


Update Composer dependencies (2024-02-03-00-10)

Visual regression test passed!
View the visual regression test report