Read ADC trajectory

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Ubuntu 20.04
Apollo installed from (source or binary): source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

From the documentation alone, it's (to mee) not very clear what the purpose of CyberRT is in trying to interface it with Apollo. Examples given in the documentation only reduce to simple back-and-forth messages via a particular channel between progamms (listener-talker).
At this point, could maybe somebody point me to a more practical example that would help me out in trying to understand CyberRT? For example, how would one read out the ADCTrajectory output by the Planning module? Following CyberRT documentation I would have to start with this template.
int main(int argc, char* argv[]) { // init cyber framework apollo::cyber::Init(argv[0]); // create listener node auto listener_node = apollo::cyber::CreateNode("listener"); // create listener auto listener = listener_node->CreateReaderapollo::cyber::examples::proto::Chatter( "channel/chatter", MessageCallback); apollo::cyber::WaitForShutdown(); return 0; }
I guess I would have to replace the channel name channel/chatter by something pointing to the Planning module channel?
Any help would be appreciable.\
F>

Yes, you need to modify both the topic and message type

modify the topic to "/apollo/planning"
modify the message type to "apollo::planning::ADCTrajectory"

DEFINE_string(planning_trajectory_topic, "/apollo/planning",
              "planning trajectory topic name");

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


MongoDB: Document that indexes can only exist once

https://github.com/prisma/prisma/issues/11911

👋 we're cleaning up our backlog of issues and are closing everything older than two years. If you still feel that this issue is relevant, please feel free to re-open and our team will take a look. Thank you!


Not usable whit node-red version v2.1.3

After installing and configuring the configuration node "by adding user and user name" when you press deploy this plugin stops on node-red v2.1.3.

also when installing i get this log:
-----------------------------------------------------------
2021-11-24T10:53:35.140Z Install : node-red-contrib-alexa-home-skill 0.1.19

2021-11-24T10:53:35.162Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict<EMAIL_ADDRESS>2021-11-24T10:53:45.831Z [err] npm
2021-11-24T10:53:45.831Z [err]  WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
2021-11-24T10:53:46.107Z [err] npm
2021-11-24T10:53:46.107Z [err]  WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2021-11-24T10:53:46.174Z [err] npm
2021-11-24T10:53:46.175Z [err]  WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
2021-11-24T10:53:46.579Z [out]
2021-11-24T10:53:46.579Z [out] added 139 packages in 11s
2021-11-24T10:53:46.617Z rc=0

I use this plugin in my old configuration but when upgrading nod-red i got this while creating my new clean install.
I don't know what I'm missing here but hope there is an easy fix.
Thanks in advanced.
Tom

Those entries in the logs are npm warnings and can be safely ignored.
Your description doesn't really make sense, because you would be unable to open the nodes configuration dialogues if the nodes are missing.
Best bet is to restart node-red, in the early part of the log it will then show any nodes it considers missing either because they are not installed or because there has been a problem while trying to load them.
Also include information about what version of NodeJS you are using.

I just restarted the container and everything seem to work "I'm a bit surprised that it was so simple, why i don't think about that"
Also i use Node 17.1.0
But therefore isn't an issue anymore, thanks for the help.


Remove virtual environment creation from documentation

Remove the lines related to the creation and activation of
a virtual environment. That step is unnecessary if the virtual machine
will be used only for the Tern project.
Signed-off-by: kdestasio<EMAIL_ADDRESS>

Looks good! Thanks again!


AUR update xdg-desktop-portal-hyprland-git and add missing build deps

Hyprland Version

Bug or Regression?
Bug
Description
The build needs sdbus-cpp
How to reproduce

Crash reports, logs, images, videos
No response

I don't manage aur

love it

oh wait I do? I'll see then. At any rate this is the wrong tracker


Corrected error in Section 10.5

Some blocks of code in the 10.5's notebook hadn't ran properly. Re-ran the notebook to correct this.

Thanks!


[Feature Request] Support external Tracing Tools (e.g. langfuse)

Is your feature request related to a problem? Please describe.
I want to trace my whole prompt flow application with my existing langfuse solution. This functions of course well with the python tool, but not with e.g. the LLM and the Embedding Tool.
Describe the solution you'd like
It would be nice to use the existing prompt flow without just being able to use the Python Tool.
Describe alternatives you've considered
Only using the Python Tool and passing the trace id to every node in the graph
Additional context

Hi all, Langfuse founder/maintainer here.
We'd love to support the promptflow community in building this out. We won't have internal capacity to build/maintain this in the coming weeks but can provide guidance and answer questions (here or via discord/slack channel as things move along).
Happy to pick this up if folks are interested. Wrapping this in our Python Decorator may be a possibility.

Langfuse has a powerful API that includes a downloadable OpenAPI spec (at the top here which is a great starting point.

Hi @carlFsq @clemra ,
Thanks for your input and the time you took to share your idea with us.
Currently, we don't have the bandwidth to implement this feature right away, so we've labeled it as a long-term task. We hope to address it in the future as our resources allow.

This would be wonderful.
We're currently building a custom integration, it's not ready yet, but as soon as it is we could try to add it here.
@aiancheruk @stephaneBylaw

Hi @tuanardouin -- that sounds great. Feel free to ping me if the Langfuse team can be of help. here or clemens at langfuse.com


Replace PHP CS FIXER with EasyCodingStandard ?

EasyCodingStandard use PHP_CodeSniffer || PHP-CS-Fixer
-> https://github.com/Symplify/EasyCodingStandard

We should also consider https://github.com/mnapoli/pretty.


Fix Invalid Protocol Error when using CachedRowSet with JDBC Driver

Description
When a user uses CachedRowSet API present in jdbc driver , an invalid TDS stream error is thrown by the driver for Babelfish, this is caused due to the improper calculation of nullMapSize that is sent after the NBCROW row token for sp_cursorfetch RPC call.
According to old logic ,Consider a case where the result set has 32 columns (or any perfect multiple of 8)
nullMapSize = (natts + 7) / 8;
This gives us the size as 4 but we also send a ROWSTAT column along with sp_cursor* RPC calls (Check SendCursorResponse)
So the driver gets the length of columns as 33 instead of 32 from ColMetadata token and uses this information to calculate the size of null map (link) which turns out to be 5 ,this doesnt cause any immediate issue but will cause the further bytes in the packet to be offset by 1 leading to incorrect values.
The new logic fixes this by adding rowstat column into size calculation and also uses bitshift instead of division to improve performance.
Issues Resolved
BABEL-4511
Signed-off-by: Nirmit Shah<EMAIL_ADDRESS>Test Scenarios Covered
Tested manually with Java program using CachedRowSet.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 72.328%

Totals

Change from base Build<PHONE_NUMBER>:
-0.003%

Covered Lines:
39782

Relevant Lines:
55002

💛  - Coveralls

We need to test internally


fixing some typos

Coverage decreased (-0.06%) to 84.008% when pulling 48812f7286cd96ba3a625d21f61d4a01ecc3659d on mortonjt-patch-1 into a8216755878f75e46bc41700ee0e7b905d3102ab on master.

Thanks @mortonjt, I have always use the version without git+, what's the difference?

@antgonza that doesn't sound right: http://stackoverflow.com/a/20101940/1167475
It should not work if you pip install directly from a github page without the git+ tag

@mortonjt the example you sent is for an specific branch not master.

That doesn't matter - it works the same way.
I just know that the instructions have never worked for my machine.  And pip install has never worked for any other machine that I have seen as shown in the qiita.  I'm not sure exactly what you did on your machine, but I'd be curious to see how you have configured your machine.

@mortonjt you are right, I was reading that wrongly. I normally point to the zip file: pip install https://github.com/qiita-spots/qiita_client/archive/master.zip and not the repo.
👍


fix: syntax highlighting for prisma code

Describe this PR

Changes

What issue does this fix?
Fixes #2476
Any other relevant information

While this seems to fix some problems, it also creates some new ones. Not sure if that is intentional or wanted:

Note how the relation field names are now formatted like types.

Issue with the alternating fields is now fixed, happy with this once the accidental docs edit is reverted


Errors message at login

When I log at PGC, I get this message all the time.

Thanks

Multiple ISY's?

Are all of them on 5.0.14 or higher? If not that is most likely the error.

their are 5.0.13 and higher.


feat(migrations) auto-detect migrations files

Instead of creating a file and updating the list of files, now just
adding the file will suffice. The file will be auto-detected and
added to the list of migrations.
Filename needs to have an initial number component indicating the
order (numerically sorted, so 001 == 1 == 01).

This solution is interesting, but it was hardcoded to the core subsystem of migrations — the migrations system supports multiple subsystems (including those in plugins). It feels like such a change would be best implemented in the migrations library itself, otherwise we end up with inconsistent behavior (core magically doesn't need explicit entries, but other migrations need it).

I have an additional concern wrt this one: one must remember to include the migration file in the rockspec file. If we add this "automation" I am concerned that people will add the file to the folder but not to the rockspec.

I have an additional concern wrt this one: one must remember to include the migration file in the rockspec file. If we add this "automation" I am concerned that people will add the file to the folder but not to the rockspec.

there is a test for that, it would fail.

I still think that having it in one file and not the others would be confusing. Better to have this as a feature of the migrations system or not at all.

Hi Thijs, thanks for this, we decided the advantages provided by the PR don't out-weight the extra complexity involved so we decided to close this one down.


Allow to split database.connection_string

TLDR;
I need to be able to set database.name, database.host, database.port, database.username, database.password instead of using database.connection_string.
Context

I use GitOps with Flux
I am deploying lakeFS using Helm on k8s
I use postgres-operator to create a db for lakeFS.

postgres-operator nicely generates username/password that are stored in a k8s secret.
Problem
AFAIK I cannot concatenate the values from a secret into a string dynamically, so I cannot generate a value for database.connection_string
Solutions
Helm only
For my particular use case, I can use Flux's value override to use a value from a secret to inject in the values.yaml.
This would require however that each value has its own YAML entry such as this:
secrets:
  database:
    name: lakefs
    host: localhost
    port: 5432
    username: postgres
    password: my-password

Config + Env via Helm
A more generic approach would be to support this split also in the LakeFS configuration file and add support for setting environment variables in the chart so I could just do something like:
env:
  - name: LAKEFS_DATABASE_PASSWORD
    valueFrom:
      secretKeyRef:
        name: some-secret
        key: password

What do you think?

@johnnyaug this works great thank you!
Here's the relevant part of my values.yaml for posterity:
secrets:
  databaseConnectionString: "postgres://lakefs-postgres:5432/lakefs"
extraEnvVars:
  - name: PGUSER
    valueFrom:
      secretKeyRef:
        name: lakefs.lakefs-postgres.credentials.postgresql.acid.zalan.do
        key: username
  - name: PGPASSWORD
    valueFrom:
      secretKeyRef:
        name: lakefs.lakefs-postgres.credentials.postgresql.acid.zalan.do
        key: password

lakefs.lakefs-postgres.credentials.postgresql.acid.zalan.do is my secret name and it contains two keys (username and password)


fix(#1446): Added maxwidth to modal CSS

As I mentioned in our earlier conversation I thought the reason might have been an earlier made error, which it was.

The existing max-width setting got accidentally changed to an incorrect media selector.

:tada: This PR is included in version 1.16.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.16.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.17.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.17.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.6.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cross-Fade animation switching views?

Would it be possible to add a cross-fade animation when switching views, like it is stated in Material guidelines?

https://github.com/roughike/BottomBar/issues/138

roughike commented on Apr 7
I'm closing this one, as the setFragmentItems() method has been deprecated for a good while. You should handle your Fragments by yourself.


ArrayBuffer.isView should be typed as a type guard

I'm happy to go through the contributing process and open a PR with this change if you're accepting changes to lib.d.ts.
ArrayBuffer.isView(arg) should be typed with the return value arg is ArrayBufferView
Relevant standard documentation (more informally described at MDN):

The isView function takes one argument arg, and performs the following steps are taken:

If Type(arg) is not Object, return false.
If arg has a [[ViewedArrayBuffer]] internal slot, return true.
Return false.

I remember at one point you weren't accepting typing issues on lib.d.ts and deferred to the community for fixes, but it looks like your decision has changed. Feel free to close this issue if this is still the case.

For dom.d.ts, we auto-generate these definitions. I think you should be able to safely patch this one, though @zhengbli can correct me if not.

Excellent. I will prepare a PR. Is this a change that I should cover with a unit test? I do not see any tests that are pertinent to the default declaration files that ship with TypeScript.

Check out Adding a Test in our CONTRIBUTING.md. We have symbol/type baselines for all atomic nodes within the file, so just write an example where you have a variable that gets narrowed to an ArrayBufferView.

D'oh, I should have read further on in that document. I opened a PR, and I think I added the test in the appropriate location. :smile:

thanks @jvilk !

:+1: Thanks for being open to bug fixes, and for having a completely painless CLA process!


[Feature Request]:Can choose to perform the check with the command

If I don't install eslint,can I want to use docker to build eslint command-line check code style.
e.g.
docker --rm -ti $PWD:/usr/src/app eslint app.js
Add vscode settings eslint.checkcli:"docker --rm -ti $PWD:/usr/src/app eslint app.js"
of course，eslint.checkcli Default is close.

No, this is not possible through ESLint. However you could create a VS Code task that does this.
See: https://code.visualstudio.com/docs/editor/tasks


refactor: sort DEFAULT_CONFIG_FILES

Description
sort DEFAULT_CONFIG_FILES for  vite.config.ts  is the most widely used config file.
for..of.. is slow, so replace it with Array.some.
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

It's intentional that .js comes first before .ts. I don't think it's true that vite.config.ts is more common.


DPL-896 For Targeted Nanoseq Pipeline - Merge Data from the following data sets: Input amount file, Hamilton driver file, PCR XP concentration file

User story
As a Short Read Team User, I want to be able to download a merged file following the Library Prep process containing sample details received from the Sample Input Amount File from the faculty group (CASM), PCR XP Concentration File (Limber LIMS), and PCR XP Plate Data from Sequencescape LIMS SO THAT we can use the merged data in the sample 'rearray' template required for the ISC process.
This is a completely manual process that requires Short Read Targeted Nanonseq Team to collavborate with the SSRs to be able to merge data from various source files and Sequencescape LIMS so as to allow for the merged data to be fed into the 'rearray' template that includes the pooling plan. Each single merged file corresponds to a single 96-well sample plate and the manual efforts can vary from 2-to-40 sample plates requiring 1-2 FTEs every week.
Current Manual Process:

Receive the Sample Input Amount File from the faculty (CASM) SSR (Siobhan)

SSR sends a pre-populated file template received from the Targeted Nanonseq Team to the faculty for providing the requested details.
Example: SQPP-30689-M_TNano_AL Lib_qPCRconc_310823.csv

Download the concentration .csv file for custom pooling from Limber

Example: Limber SQPP-22955-O : https://limber.psd.sanger.ac.uk/limber_plates/186d9fd4-0b6a-11ee-9148-fa163eac3af7

Ctrl+A the Plate data from Sequencescape

Example: Sequencescape SQPP-22955-O : https://sequencescape.psd.sanger.ac.uk/labware/27502701

Merge all the data mentioned in points 1-to-3 above

Attached is a sample of the merged file created manually -
Copy of SQPP-20828-A_Merged file_150623.xlsx

In addition to this, below is an overview of the approx. monthly demand forecast,

LIBRARIES
Duplex/Targeted Nanoseq Samples
Approx. No. of 96 Well Plates

Aug-23
241
2

Sep-23
193
2

Oct-23
145
1

Nov-23
905
9

Dec-23
804
8

Jan-24
804
8

Feb-24
2201
22

Mar-24
1397
14

Apr-24
1397
14

May-24
1397
14

Jun-24
0
0

Jul-24
0
0

Who are the primary contacts for this story
Sara W.
Maria M.
Who is the nominated tester for UAT
Sara W.
Maria M.
Acceptance criteria
To be considered successful:

[ ] Need to identify if the data from the source files can be fetched to generate the merged file
[ ] Identify if the manual input data received as part of the Sample Input Amount file provided by SSR can be automated or entered/saved in LIMS
[ ] Create new user stories for the implementation work required to provide a solution for this process.

References
Sample of an existing merged file for the incoming sample requests,
Copy of SQPP-20828-A_Merged file_150623.xlsx
Additional context
Add any other context or screenshots about the feature request here.

Thoughts on the data required:

Where does the 'concentration' value come from in step 1? Is that a QC concentration from the PCR XP plate, i.e. is it the same concentration being downloaded from Limber in step 2?
Where does the 'input amount available' value come from? Is it calculated? If so how?
What exactly is being copied from the plate page in Sequencescape in step 3? Is it the Sample Name and Sanger Sample Id for each well? But they are already in the file in step 1.
How is the 'Input amount desired' calculated?
And the sample and diluent volumes?
Where does the Hyb Panel come from? Is it always the same i.e. hardcoded, or is it a variable choice? Do we track Hyb panels in LIMS or is this a string value?

Columns in merge file:
Well e.g. A1 - well of plate - from Sequencescape
Concentration (nM) e.g. 20 - concentration of well - from QC data in Sequencescape?
Sanger Sample ID e.g. 1234STDY12345678 - from Sequencescape
Supplier Sample Name e.g. PD12345b_tds0001 - from Sequencescape
Input amount available (fmol) - ?
Input amount desired - ?
Sample volume - ?
Diluent volume - calculated from sample volume
Hyb Panel (string) - ?


Seeing a crash while running caddy V2 with Forward Proxy Plugin (Branch: caddy2)

1. Is bug reproducible with latest forwardproxy build?
 Yes
2. What are you trying to do?
I am trying to run Forward Proxy Plugin (caddy2 branch) (with Caddy Version 2) using the sample json mentioned in the doc just as a starting point. No specific scenario right now.
Below is how I got the binary:
./xcaddy build --with github.com/caddyserver/forwardproxy@8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3
2020/12/03 11:53:25 [INFO] Temporary folder: /tmp/buildenv_2020-12-03-1153.111340752
2020/12/03 11:53:25 [INFO] Writing main module: /tmp/buildenv_2020-12-03-1153.111340752/main.go
2020/12/03 11:53:25 [INFO] Initializing Go module
2020/12/03 11:53:25 [INFO] exec (timeout=10s): /usr/local/go/bin/go mod init caddy
go: creating new go.mod: module caddy
2020/12/03 11:53:25 [INFO] Pinning versions
2020/12/03 11:53:25 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2
go: github.com/caddyserver/caddy/v2 upgrade => v2.2.2
2020/12/03 11:53:26 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/forwardproxy@8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3
go: github.com/caddyserver/forwardproxy 8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3 => v0.0.0-20201002031408-8d6f47b4c4f3
2020/12/03 11:53:29 [INFO] Build environment ready
2020/12/03 11:53:29 [INFO] Building Caddy
2020/12/03 11:53:29 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /home/pvarma/build_caddy/caddy -ldflags -w -s -trimpath
2020/12/03 11:53:31 [INFO] Build complete: caddy
2020/12/03 11:53:31 [INFO] Cleaning up temporary folder: /tmp/buildenv_2020-12-03-1153.111340752
$ ./caddy version
v2.2.2 h1:Ha3bvEvkb/GLGEX648/qI5zTt6uJCnfQhZHmZBxhzDY=
3. What is your entire Caddyfile?
$ cat Caddyfile
:443, example.com
route {
forward_proxy {
ports     80 443
hide_ip
hide_via
probe_resistance secret-link-kWWL9Q.com # alternatively you can use a real domain, such as caddyserver.com
serve_pac        /secret-proxy.pac
dial_timeout     30
upstream<EMAIL_ADDRESS>acl {
allow     *.caddyserver.com
deny      <IP_ADDRESS>/32 <IP_ADDRESS>/16 *.prohibitedsite.com *.localhost
allow     ::1/128 <IP_ADDRESS> github.com *.github.io
allow_file /path/to/whitelist.txt
deny_file  /path/to/blacklist.txt
allow     all
deny      all # unreachable rule, remaining requests are matched by allow all above
}
}
file_server
}

4. How is your client configured?
No Client configured, just running caddy in beginning is giving the crash.
5.  If multiple servers are used (for example with upstream), describe those as well.
$ ./caddy run
6. Please paste any relevant HTTP request(s) here.
NA
7. What did you expect to see?
It should run without errors or should point out the error gracefully instead of stack trace.
8. What did you see instead (give full error messages and/or log)?
$ ./caddy run
2020/12/03 06:24:26.691	INFO	using adjacent Caddyfile
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d55fe]
goroutine 1 [running]:
go.uber.org/zap.(*Logger).check(0x0, 0xc00095df01, 0x17a43ea, 0x4e, 0x16)
go.uber.org/zap@v1.15.0/logger.go:263 +0x90e
go.uber.org/zap.(*Logger).Warn(0x0, 0x17a43ea, 0x4e, 0x0, 0x0, 0x0)
go.uber.org/zap@v1.15.0/logger.go:194 +0x44
github.com/caddyserver/forwardproxy.(*Handler).UnmarshalCaddyfile(0xc000526900, 0xc0000f03f0, 0x203000, 0x203000)
github.com/caddyserver/forwardproxy@v0.0.0-20201002031408-8d6f47b4c4f3/forwardproxy.go:768 +0xfc6
github.com/caddyserver/forwardproxy.parseCaddyfile(0xc0000f03f0, 0xc0000f0060, 0xc000335890, 0xc0007f2a80, 0xc0000f03c0, 0xc0007f2a40, 0x2, 0x2, 0xc0007f2a60, 0x1, ...)
github.com/caddyserver/forwardproxy@v0.0.0-20201002031408-8d6f47b4c4f3/forwardproxy.go:875 +0x4a
github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile.RegisterHandlerDirective.func1(0xc0000f03f0, 0xc0000f0060, 0xc000335890, 0xc0007f2a80, 0xc0000f03c0, 0xc0007f2a40, 0x2, 0x2, 0xc0007f2a60, 0x1, ...)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/httpcaddyfile/directives.go:119 +0x20e
github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile.parseSegmentAsConfig(0xc0000f0300, 0xc0000f0060, 0xc000335890, 0xc0007f2a80, 0xc0000f02d0, 0xc0007f2a40, 0x2, 0x2, 0xc0007f2a60, 0x1, ...)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/httpcaddyfile/directives.go:333 +0x90f
github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile.parseRoute(0xc0000f0300, 0xc0000f0060, 0xc000335890, 0xc0007f2a80, 0xc0000f02d0, 0xc0007f2a40, 0x2, 0x2, 0xc0007f2a60, 0x1, ...)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/httpcaddyfile/builtins.go:520 +0x72
github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile.RegisterHandlerDirective.func1(0xc0000f0300, 0xc0000f0060, 0xc000335890, 0xc0007f2a80, 0xc0000f02d0, 0xc0007f2a40, 0x2, 0x2, 0xc0007f2a60, 0x1, ...)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/httpcaddyfile/directives.go:119 +0x20e
github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile.ServerType.Setup(0xc0000f0030, 0x1, 0x1, 0xc000335890, 0xc0007f2a60, 0x1, 0x1, 0x0, 0x0, 0x0)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/httpcaddyfile/httptype.go:171 +0x2591
github.com/caddyserver/caddy/v2/caddyconfig/caddyfile.Adapter.Adapt(0x1a349e0, 0x2663508, 0xc0000ec000, 0x2d6, 0x4d6, 0xc000335890, 0xc0001bb680, 0xa00000001680000, 0xc00095f670, 0xa7286e93dfa3bb1, ...)
github.com/caddyserver/caddy/v2@v2.2.2/caddyconfig/caddyfile/adapter.go:49 +0x139
github.com/caddyserver/caddy/v2/cmd.loadConfig(0x171c8e0, 0x9, 0x0, 0x0, 0xc000093920, 0xc0006a0a50, 0x151e3e0, 0x8, 0xc00095fa20, 0x30093000040d218, ...)
github.com/caddyserver/caddy/v2@v2.2.2/cmd/main.go:173 +0x28c
github.com/caddyserver/caddy/v2/cmd.cmdRun(0xc000082420, 0x0, 0x0, 0x0)
github.com/caddyserver/caddy/v2@v2.2.2/cmd/commandfuncs.go:205 +0xcae
github.com/caddyserver/caddy/v2/cmd.Main()
github.com/caddyserver/caddy/v2@v2.2.2/cmd/main.go:85 +0x239
main.main()
caddy/main.go:12 +0x20
9. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Below is how I got the binary:
./xcaddy build --with github.com/caddyserver/forwardproxy@8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3
2020/12/03 11:53:25 [INFO] Temporary folder: /tmp/buildenv_2020-12-03-1153.111340752
2020/12/03 11:53:25 [INFO] Writing main module: /tmp/buildenv_2020-12-03-1153.111340752/main.go
2020/12/03 11:53:25 [INFO] Initializing Go module
2020/12/03 11:53:25 [INFO] exec (timeout=10s): /usr/local/go/bin/go mod init caddy
go: creating new go.mod: module caddy
2020/12/03 11:53:25 [INFO] Pinning versions
2020/12/03 11:53:25 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2
go: github.com/caddyserver/caddy/v2 upgrade => v2.2.2
2020/12/03 11:53:26 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/forwardproxy@8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3
go: github.com/caddyserver/forwardproxy 8d6f47b4c4f3bdbecba34d9f65c8c5629ca0a5b3 => v0.0.0-20201002031408-8d6f47b4c4f3
2020/12/03 11:53:29 [INFO] Build environment ready
2020/12/03 11:53:29 [INFO] Building Caddy
2020/12/03 11:53:29 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /home/pvarma/build_caddy/caddy -ldflags -w -s -trimpath
2020/12/03 11:53:31 [INFO] Build complete: caddy
2020/12/03 11:53:31 [INFO] Cleaning up temporary folder: /tmp/buildenv_2020-12-03-1153.111340752

Why was this closed?


fix(UI): keep portal preview open

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #48326

Keeps the same behavior except portal preview can remain open while moving through the curriculum. Tested locally starting at step-1 and advancing through some of the challenges. Also made sure that the open panel buttons and portal preview buttons did not create any additional windows and retained the same behavior as was originally implemented.

@ojeytonwilliams Im unable to resolve two of your requests as it does not keep the desired behavior that I had previously implemented.
place back in local state. place remove portalWindow inside the conditional.

Preview pane does not render content
portal button does not open
portal window blank and does not render new content on advancing

Please advise.

Sorry, @KravMaguy I had not realised that showPreviewPane and showPreviewPortal need to be in redux so they persist through the Show component getting unmounted.  Redux does look to be the best place for them.

We are officially on Node.js 18 now. We have changed the merge requirements accordingly.
You will need to rebase this PR against the main branch OR Click the "Update branch" button to get the new checks going.
Thanks for your contribution.

I can't seem to keep the preview window open when I go to the next challenge. Also in Safari the browser freezes due to a RangeError: Maximum call stack size exceeded. which is thrown repeatedly almost like an infinite loop.

@moT01 we need some way of telling the preview window to stay open when navigating between challenges. I couldn't come up with a smarter way than checking if the user has just completed a challenge and, if so, keep it open when PreviewPortal is unmounted.
Which is to say, I think we need isAdvancing.
@Nirajn2311 what triggers the infinite loop?

@Nirajn2311 what triggers the infinite loop?

Open the preview window, solve the challenge, click on the submit button to go to the next challenge and it freezes

Thanks @Nirajn2311 that stack trace helps. It seems like it's calling togglePane('showPreviewPortal') repeatedly and not updating showPreviewPortal (which should be set to false after the first togglePane call). However, that seems to be a safari specific issue and I can't replicate it.
One thing that might help is to removePortalWindow whenever we close it.  Also, we should probably remove the listeners on cleanup.

Hey @Nirajn2311, do you mind giving this another quick test when you get a chance to see if you are still having issues with safari?
I had a hard time testing that cause I have an older version, but I am hopeful they are resolved.

LGTM works good
Thanks @KravMaguy and @moT01 for implementing this :)


Additional data for client errors

Can you please use a new ClientError class that exposes more properties so we know thrown errors come from here?
I currently do a string test for 'Timeout of' in err.message but would like a more robust test of knowing exactly where an error is thrown from and any additional context that may be useful for follow up action or showing a friendlier error to the user.
Maybe applies to other core feathersjs packages.

You will have the full stack trace in the original error and in development (NODE_ENV !== production) it should also be sent to the client. You can always pre-process the error in an error hook to what you need before sending it out.

Sorry, I forgot essential details.
This is for client side socket timeouts.
Only message and stack props are available in the Error object, and the stack has nothing useful in it.
https://github.com/feathersjs/transport-commons/blob/master/lib/client.js#L66

I'm not articulating this well.
Server errors have a type and code and/or other structured data that I can interrogate and confidently interpret.
Should all errors thrown in Feathers packages have the same base e.g. a 'type' at a minimum, to identify where it comes from to control follow on action.
In this case. on a socket error, all I can do is a freeform text match on a message that is more likely to change in the future than a code.
I'll want to present a more user friendly message to users, and may trigger some additional action in the client e.g. attempt to send an event to a 3rd party analytics service for diagnosing connection issues - it might not be the users internet connection, or a server problem.

Ooh... now I get it. Yes, that totally makes sense. Probably a Timeout  Feathers error and then include what method and path in the additional data.

For consistency: MethodNotAllowed for both Error thrown in addEmittedMethods?

I don't think that would necessarily be correct. With the new v3 websocket event format that timeout should really just be thrown if the websocket connection couldn't be established or is busted. If you are calling a non-existing service or method you will get the appropriate error from the server.

I didn't look at what addEmitterMethods was doing, and doesn't look like it needs to be touched as it should never really break being internal stuff only.
Will PR just the time timeout error change soon.

Sounds good. I think something like
const { Timeout } = require('@feathersjs/errors');

new Timeout(`Timeout of ${this.timeout}ms exceeded calling ${method} on ${this.path}`, {
  timeout: this.timeout,
  method,
  path: this.path
})

should do it and give some additional useful information.

That's what I had minus the timeout param.

Closed via #73


To-do list

I feel like to-do lists are pretty common.
For bonus points, make it cloud-synced and shareable and support offline mode with some UI for resolving conflicts between users' changes. (Alice checks off an item while offline, Bob deletes the item, Alice comes back online... Wat do?)

I agree, to-do lists are super common and pretty fun to create.
Also,

"Mute"

I laughed.

@kibiz0r true, now days to-do lists are considered as 'Hello World' Project for learning a new library or framework.

hii


tensorflow.python.framework.errors_impl.InvalidArgumentError

tensorflow.python.framework.errors_impl.InvalidArgumentError: NewRandomAccessFil
esearch\object_detection        raining/labelmap.pbtxt : The filename, directory
name, or volume label syntax is incorrect.
; Unknown error
Please help me with this error i am not able to solve.
This error is occurring while i am training the ssd_mobilenet_v2_coco model

ok got solved


Update operator overview page with current supported features

Updated more of the day 2 operations docs to reflect the latest state of the operator.

Thank you!


API for Windows Mixed Reality pass-through camera feed on VR headsets?

A month ago, Microsoft showcased the new "Flashlight" feature for existing WMR immersive/VR headsets.

Since then, I've been trying to find a way to programmatically access the pass-through camera feed. Is there any API to retrieve the stream? Or plans on exposing such an API?

I haven't seen any new APIs in the windows namespaces. So it may be an internal thing for now. Hopefully a MS employee might chime in and enlighten us.

Here are the release notes for October update https://docs.microsoft.com/en-us/windows/mixed-reality/release-notes-october-2018

Any update on that?

Not MRTK specific question.
You will likely get better response here:
https://forums.hololens.com/


Turn off CSRF protection

This will likely require a change to Datasette.

I think we're OK on this front right now. I can make calls from other domains via CORS just fine: https://codesandbox.io/s/covid-19-in-san-francisco-county-wqt2w


Doesn't expose Storage interface

The storage specification says localStorage and sessionStorage are following the Storage interface. This mock doesn't expose Storage to the global scope.
If some library does a runtime check on Storage rather than localStorage, the check will fail.
It seems that this mock might just be able to expose the createStorage function as global.Storage. It's not an interface, but I'm not sure how to make it one

Hi! If you really need it here, would you please send a PR, preferably with test? I'll merge it.

I need help from the actual users of this project. Personally I haven't used it for some time.
@Munter, @kristianmandrup: guys, you are more competent JS programmers, than I am, could you please help?

I think it is fine as is. No reason to be "invested" in such a small project. Let it be ;)


[Storage-files][Storage-queue] Refactor to un-expose internal things.

Hi @rakshith91, I will proceed to close this issue as it looks like it should be resolved. Let me know if it needs reopening for any reasons :)


brave: launch script uses coreutils tools

brave uses cat in its launch script but does not add coreutils
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@Artturin As requested here: https://discourse.nixos.org/t/brave-autorun-not-working-brave-wrapped-line-46-exec-cat-not-found/29525/4
It is not clear to me if it should be fixed like this or in the google tools wrapper - that is why I did not post a PR before. I can investigate further where the usage of cat actually comes from. This fixes the issue for me though.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/brave-autorun-not-working-brave-wrapped-line-46-exec-cat-not-found/29525/6

I don't think we have a generic google tools wrapper


Image Edit

Is there any functionality to cropping and rotating image just after click the photo?

The objective of the CameraManager is for taking photos only. Image manipulation is out of scope. Thanks.


fix: Fix acorn-walk dependency (#137)

I included the issue number in the commit message. Not sure if it was a good idea… Sorry about that.

Wow sorry about that! Thanks @lucpotage!


fix(setup): ensure clean is being run before build

Superseded by https://github.com/swisspost/design-system/pull/2335


does KEDA works with azure BLOB trigger function app??

Created the blob azure function and tried to deploy it on minikube KEDA, am unable to see the HPA for blob trigger.
tried to use the YMl provided in :
https://keda.sh/scalers/azure-storage-blob/

I think this is more of an Azure Function question, no?

It is. The blob scaler should work with the one caveat mentioned in the notice  https://keda.sh/docs/1.4/scalers/azure-storage-blob/

As of now, this Azure Blob Storage scaler scales based on the count of the blobs in a container as opposed to the Azure Functions behavior where code is only triggered on new blobs.

Meaning you have to delete the blob after processing for it to work correctly. If you're not seeing any scaling happen then it can either be an azure functions tooling issue or a keda scaler issue.
The keda logs should point at the issue if you can get them kubectl logs <keda-operator-pod> -n keda

we can close the issue azure blob functions are working fine with KEDA when we move the files form blob


React Native - styled.SafeAreaView updated to use react-native-safe-area-context?

The common accepted method of implementing SAV in RN is to use react-native-safe-area-context. Is there any way styled.SafeAreaView could be updated to accommodate this?

You can just use styled(SafeAreaView)


An undefined error was encountered during installation

When I installed the GPU version, I encountered an undefined error. The error is as follows. How to fix it? Thank you very much.
./source/tensor/core/movement/CopyValues.cuo：在函数‘nts::_CudaCopyValues(nts::XTensor const*, nts::XTensor*, nts::XStream*)’中： tmpxft_00009cd9_00000000-5_CopyValues.compute_70.cudafe1.cpp:(.text+0x301)：对‘nts::XMemCopyAsync(void*, int, void const*, int, unsigned long, CUstream_st*, int)’未定义的引用 tmpxft_00009cd9_00000000-5_CopyValues.compute_70.cudafe1.cpp:(.text+0x541)：对‘nts::XMemCopyAsync(void*, int, void const*, int, unsigned long, CUstream_st*, int)’未定义的引用

fixed


No route matches [GET] "/users/auth/facebook/callback"

There seems to be a route for this, I dont understand why it doesn't match.
spree_user_omniauth_callback_path	GET|POST	/users/auth/:action/callback(.:format)	spree/omniauth_callbacks#(?-mix:facebook|twitter|github|google_oauth2|amazon)
If I refresh the error page, i get redirected saying:
ERROR -- omniauth: (facebook) Authentication failure! invalid_credentials: OAuth2::Error, :{"error":{"message":"This authorization code has expired.", "type":"OauthException","code":100}}

@ninjz It sounds like this is an issue with your spree_social setup, might be best to open an issue on the spree_social project, they should have more insight


[zh] Minor translation update of zh version homepage

This is a Pull Request following https://github.com/open-telemetry/opentelemetry.io/pull/4341.
Some translations are polished in this PR. See comments below.

@windsonsea please take a look, we still need to make sure that cn/zh approvers are tagged automatically, until then I will do it manually.

Thanks all!


Trigger CI to test Rector external workflow only for repository owners

@TomasVotruba please add an unused private property in a class to test that rector can auto-run rectify and trigger Ci again.
eg: https://github.com/rectorphp/rector-symfony/pull/121/commits/0206ad61d0af60b01f0101e5f988fb42a9f5bf38
In the past, it run rectify, but stop the CI, see  https://github.com/rectorphp/rector-symfony/pull/121

@samsonasik Added :+1: I think the workflow itself is not even triggered, so the CI job will not even run

It seems removing the reuqirement helped to trigger it: https://github.com/rectorphp/reusable-workflows/commit/2f8c012ea7e239fa1ea2487c04aea326f41af383

@TomasVotruba what I meant is, let Rectify run by CI, then see if after rectify, it pending or continue working, in the past, this is what happen:

Rectify run: committed by github action
CI stop


Disabling/enabling text inputs programatically marks them as "aria-invalid"

vee-validate: 2.2.8
vue: 2.6.10

I have a form which has a computed property (formIsValid) informing a user whether every field in the form is valid.
The form contains a custom component. In the custom component are two inputs (foo and bar). When a user types something into foo, I would like to disable bar and vice versa.
The user has to enter something into either foo or bar for the form to be valid.
To this end, I have set up a dynamic v-validate rule to ensure that the input fields are only marked as required if they are not disabled.
The problem:
Initially, both fields have the following attributes: aria-required="true" and aria-invalid="false"
The first time a user types something into either foo or bar, the aria-required attribute of the other field is updated to false, but its aria-invalid attribute is set to true. This means that the formIsvalid computed property in the parent is still showing the form as invalid.
What I would have expected
I would have expected that the first time a user types something into either foo or bar, the other field's aria-required attribute is updated to false and that the aria-invalid attribute remains false. This would presumably set the formIsvalid computed property in the parent to true.
Please note: If the user deletes their initial input, then re-enters a value into the other field, things then work as expected.
CodePen demo: https://codesandbox.io/s/vue-template-f5qpy
Am I missing something obvious? How can I make the formIsValid computed property update to true, the minute a user enters anything into either input?

lol, sorry.

I actually ended up solving this by creating two copies of the same field, one is required and the other not and switching between them using v-if. I saw this recommended here.
I'd still be interested to know if this is the correct way to go about things though.

I pushed a fix in 63247ca to address that problem, it had a bigger underlying issue that was causing this one. Thanks for reporting this!

No worries. Thanks for the quick turn around!


The pythonFull vs. python distinction causes (me) a lot of pain

Most recently https://github.com/NixOS/nixpkgs/issues/19225 and #17607.
As an example, let's say I'm running a python project that requires dbm, and it produces an executable script as part of its build process. If I refer to it by ${pythonPackages.mypackage}bin/myscript, I get an error that dbm isn't available (no mention of pythonFull in the error). After that, it's not at all obvious to me how to replace the python that gets hardcoded into the shebang with pythonFull, and this is after I poke around the nix files for a while. Also, due to the wrapper script, it's not easy at all to explicitly run the script by running pythonFull against which myscript, because it's not a python script.
In the end I ended up biting the bullet and making myself a pythonFullPackages (by copying and pasting what we do for the other python package flavors and passing in pythonFull) and then using buildPythonPackage from there to build the package with myscript in it.
Ultimately though, I wouldn't expect any newcomer to Nix to have any clue what to here, or even how they'd figure out why dbm, which is generally shipped with python, doesn't import in the first place.
Where I'm going with this is that I think it'd pay to either re-evaluate having any distinction between python and pythonFull, or if that's still warranted (presumably by a huge closure size difference), to at least change the mechanism by which it happens to be less obscure.
cc @garbas @domenkozar

Yep, its annoying. Its understandable why we have both, and it should be easier to have packages using pythonFull. I have a PR around here where I introduced package sets for that as well. Due to how these extra modules are implemented it wouldn't take any extra time to build these package sets.
Anyway, because there's already a couple of issues on this topic (have a look at the placeholder issue which I keep up to date https://github.com/NixOS/nixpkgs/issues/1819) , I would like to close this one.

If I refer to it by ${pythonPackages.mypackage}bin/myscript, I get an error that dbm isn't available (no mention of pythonFull in the error). After that, it's not at all obvious to me how to replace the python that gets hardcoded into the shebang with pythonFull, and this is after I poke around the nix files for a while. Also, due to the wrapper script, it's not easy at all to explicitly run the script by running pythonFull against which myscript, because it's not a python script.

This is a different issue, and is about how we use wrappers on Nix. We shouldn't explicitly construct wrappers in phases like we do now, but instead describe what kind of paths should be set. Then, whenever an environment is constructed, the wrappers are build. For this reason I want to get rid of building wrappers in buildPythonPackage/mkPythonDerivation and always use python.buildEnv. But that also means running the tests in a separate env, etc.

Ultimately though, I wouldn't expect any newcomer to Nix to have any clue what to here, or even how they'd figure out why dbm, which is generally shipped with python, doesn't import in the first place.

at which point they either ask someone what's going on, or check the Nixpkgs manual which describes this issue. Okay, its not easy to find, but its there.

@copumpkin i don't use pythonPackages anymore and moved my python work outside nixpkgs. i think @FRidh is currently working on them.

Yeah, it would be nice to get rid of pythonFull. The use of multiple outputs in most of the dependencies already makes it less painful to have those dependencies, e.g. readline support no longer increases the Python closure that much. So the need for the python / pythonFull distinction is less than it used to be.
However, the big remaining problem is the TCL/TK dependency, which does increase the closure size a lot. One solution would be to move the TCL/TK Python bindings to a separate output (e.g. python.tcltk), so TCL/TK would be a build-time dependency of every Python user but not necessarily a runtime dependency.

Just to backk @edolstra words:
$ du -sh $(nix-store -qR /nix/store/fkpz8hm6zpmkgxpk20pn1pf3kgkials8-python3-3.5.2/)
22M     /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24
576K    /nix/store/1ina447a9m6b4h53l7rjh4hbdnk4rsi5-gdbm-1.12
32K     /nix/store/9z7phjyp9qjk0hnbl1bzwxvnwgrjsw5v-libXau-1.0.8
40K     /nix/store/pk7kb4lz8albgx1i723id6xpn1061ppf-libXdmcp-1.1.2
1.6M    /nix/store/29ni6dkyc46z73cla82431pg8pran369-libxcb-1.12
952K    /nix/store/29q2gn7qdf5wwd4lrllh53gqjg0gfx3l-sqlite-3.14.1
84K     /nix/store/2rhp2bz6k3p1v5iia6myjlfzakignkky-bzip2-<IP_ADDRESS>.1
828K    /nix/store/migghb7advw9a6hxi3vhyw2kyyxlyihx-bash-4.3-p46
7.2M    /nix/store/4f8h76kqrak8rlxnbxfsrhwybhcmb5m8-tcl-8.6.6
12M     /nix/store/4qc6mqycx15syj9zqgk7ibimrg4yh09x-ncurses-6.0
104K    /nix/store/wz7l2zqdsa78jxnzkigv5gy2c7hxnbxh-zlib-1.2.8
256K    /nix/store/r8s92n0xdkry2s8a4jglr3l2mfsydh5n-libpng-apng-1.6.23
880K    /nix/store/6zw5zxss5mmfdhyi686wfay9a613jk46-freetype-2.6.5
196K    /nix/store/pl19g0g47kkgvy0ck6xnkw6h5ilyvbgp-expat-2.2.0
740K    /nix/store/wph1j0wcrkkwrm778vc97qbl1fhy3n6i-dejavu-fonts-2.37-minimal
300K    /nix/store/fm282pmyyy4hqygidad6k0ra4545yrhd-fontconfig-2.11.1-lib
3.2M    /nix/store/g304iqfg2bdwwdgfq0xznr7fbfwhhsfq-libX11-1.6.3
60K     /nix/store/h8rfy5l5rwlzbkwiqzjn1wz0yh89i03l-libXrender-0.9.9
120K    /nix/store/i8lmlx73d8ygk4s6ahjj02ahh6440yzq-libXft-2.3.2
3.4M    /nix/store/64w64hli0f23vlg3r7kv1dy2hkpysc6a-tk-8.6.6
100K    /nix/store/6sp63j6m6vyspqm2d7zw15ipiym70kzc-attr-2.4.47
344K    /nix/store/8jwqlpyxp5c2rl5g7yspdfbh58dsciwx-xz-5.2.2
140K    /nix/store/ci7bn61pfds1y1ijkf3c85il0jdp87ar-acl-2.2.52
11M     /nix/store/8rn45r9ndfq5h7mx58r35p2szky5ja6n-coreutils-8.25
3.4M    /nix/store/clp627rkaqz8pn0h658vmsx32j5s3srq-openssl-1.0.2j
400K    /nix/store/hrj2ic7v3dmd947arxr52wn9a5g1kxv5-readline-6.3p08
72M     /nix/store/fkpz8hm6zpmkgxpk20pn1pf3kgkials8-python3-3.5.2

I just made an attempt with adding an extra output and copying the tkinter files into it. However, the closure size of the main output was hardly affected by it. If I however build without tk/X11 support by removing the inputs, the size is much smaller. This leads me to think there are other references to the libraries, outside of the files I copied. Do you have any suggestions in how to find those references?

@FRidh: I simply use grep thebighash -R ./result/.

Thanks @vcunat
So putting tkinter in a separate output gives
$ du -sch $(nix-store -qR $(nix-build -A python35))
23M     /nix/store/6fix3zqpnahyml8zp2sxi2rwan55rgb8-glibc-2.24
952K    /nix/store/4kmvzlc587bmx6lbfqy171pim5za36az-sqlite-3.14.1
172K    /nix/store/scblgh0h3sh65s0rp0nv79rr82mjd6cm-attr-2.4.47
200K    /nix/store/6h29qi09p6p4kh04n3pyg7wa0sn7gryv-acl-2.2.52
7.5M    /nix/store/m4fscyf6j97wh5yfi6gww86x79jsw321-ncurses-6.0
396K    /nix/store/9a3x1y7pbsj98yn7rgan0341wkpfjngw-readline-6.3p08
84K     /nix/store/9jplq6zqlfixn2drgq07jgvcabjrmn47-bzip2-<IP_ADDRESS>.1
104K    /nix/store/b5mwbrx8cldkchiqgwgkaagw91xfjr89-zlib-1.2.8
3.4M    /nix/store/cax4kw158vdgx5wz9j0chhh7aszsjq2h-openssl-1.0.2j
832K    /nix/store/nyj6xd7s1n1w8c0xdwk5ddhi7bjcyi9x-bash-4.3-p46
676K    /nix/store/vxp1gknlmmhb6ham6zgi1b2dm3cy9ydx-gdbm-1.12
400K    /nix/store/zgdgh3bhiqnxdfpsh9wsq2ci7f47xmp4-xz-5.2.2
11M     /nix/store/zhhb02yrp03xzfrpk06ixb0gmwrjmjff-coreutils-8.25
71M     /nix/store/hd20aks7791aa655ksnsk2wp19zpilk8-python3-3.5.2
118M    total

instead of
$ du -sch $(nix-store -qR $(nix-build -A python35))
23M     /nix/store/6fix3zqpnahyml8zp2sxi2rwan55rgb8-glibc-2.24
84K     /nix/store/9jplq6zqlfixn2drgq07jgvcabjrmn47-bzip2-<IP_ADDRESS>.1
104K    /nix/store/b5mwbrx8cldkchiqgwgkaagw91xfjr89-zlib-1.2.8
248K    /nix/store/rapy57vhj8fckrh7wbpm5fzlls62k6yq-libpng-apng-1.6.23
892K    /nix/store/07fdvyiml8hayl2xs1f7vldn8nlh2gkb-freetype-2.6.5
32K     /nix/store/1v5pbv6wigbs6mqwafnz836rbc278yi6-libXau-1.0.8
756K    /nix/store/3yxc0r7ms1br2z9kb9vxcb1r50h0fdrx-dejavu-fonts-2.37-minimal
952K    /nix/store/4kmvzlc587bmx6lbfqy171pim5za36az-sqlite-3.14.1
40K     /nix/store/ha1awfhfl8107qgj77g4clc040668f93-libXdmcp-1.1.2
1.4M    /nix/store/g34vm9agkdr96cm4i1iisg6n5f9i7f6h-libxcb-1.12
3.5M    /nix/store/jhc9wckygk0a0mcfzia7xc9lgd5y69mn-libX11-1.6.3
60K     /nix/store/5ad8vggvqmx0d1rhchwa276jdi5m3sxs-libXrender-0.9.9
172K    /nix/store/scblgh0h3sh65s0rp0nv79rr82mjd6cm-attr-2.4.47
200K    /nix/store/6h29qi09p6p4kh04n3pyg7wa0sn7gryv-acl-2.2.52
7.5M    /nix/store/m4fscyf6j97wh5yfi6gww86x79jsw321-ncurses-6.0
396K    /nix/store/9a3x1y7pbsj98yn7rgan0341wkpfjngw-readline-6.3p08
3.4M    /nix/store/cax4kw158vdgx5wz9j0chhh7aszsjq2h-openssl-1.0.2j
196K    /nix/store/nq9bc7x8r8xh40yprwdrkbxhmigazwz0-expat-2.2.0
300K    /nix/store/i8i2j0i2y8d158kma8lzh8wk8m9idp96-fontconfig-2.11.1-lib
120K    /nix/store/gymfw5r2kmq05n9ydyg46qsqmh9n7ri8-libXft-2.3.2
832K    /nix/store/nyj6xd7s1n1w8c0xdwk5ddhi7bjcyi9x-bash-4.3-p46
7.3M    /nix/store/x1rpiq9h8wpnga0s8vsmdhzvai5a3x30-tcl-8.6.6
3.4M    /nix/store/irlshka7bbsp5gnmvjsrx7gh9a277mvj-tk-8.6.6
676K    /nix/store/vxp1gknlmmhb6ham6zgi1b2dm3cy9ydx-gdbm-1.12
400K    /nix/store/zgdgh3bhiqnxdfpsh9wsq2ci7f47xmp4-xz-5.2.2
11M     /nix/store/zhhb02yrp03xzfrpk06ixb0gmwrjmjff-coreutils-8.25
73M     /nix/store/8wshs9znf0kkwbyj4fvdy69ssadm3vmq-python3-3.5.2
138M    total

That's a saving of 20 MB, but still 30 MB more than Python 2.7.
If we're happy with this solution I'll make the changes to the other interpreter versions and docs as well.

Also ncurses might be worth it, but the rest seems OK to me, as it's all either small or typically present even on a headless server.

libX11 indirectly depends on Python 2.7 and so we get a circular dependency. If I am correct it is only a build-time dependency, so I suggest keeping a x11Support parameter as well.

A disadvantage of using multiple outputs is also that nix-shell -p python3 python3.tkinter won't give tkinter on PYTHONPATH. If we instead build tkinter like we do other modules (or use the approach done with 2.7) that should be possible.

That issue is now solved in https://github.com/NixOS/nixpkgs/pull/19307. tkinter works both with nix-shell and buildEnv.

This issue  will remain if we split the Python package (although now with tkinter instead of sqlite).

shouldn't we rename python to pythonMinimal and pythonFull to python?

Please review https://github.com/NixOS/nixpkgs/pull/19309.

#19309 has been merged so I am closing this.


Cannot deploy to Amazon AWS, fatal error at parseLinks

Hi.
When I try to deploy to Amazon, I get an error for the following command:
export COMPOSER_HOME=/root && /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.0-beta4
I tried changing this to:
export COMPOSER_HOME=/root && /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.3 but same result.
After going sudo on the machine and running the exact same command, I get:
   PHP Fatal error:  Call to undefined method Composer\Package\Version\VersionParser::parseLinks() in /root/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 270

   Fatal error: Call to undefined method Composer\Package\Version\VersionParser::parseLinks() in /root/vendor/fxp/composer-asset-plugin/Repository/VcsPackageFilter.php on line 270

I guess this is related to the fact that I was using an old version of composer-asset-plugin right? Ok, then I tried to update the plugin doing: composer global update but it does not work, same exception.
I also tried /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.3 directly as sudo, but I still get the same error. It seems I'm stuck, as I cannot update the plugin. Any ideas?
Thanks.

Do you have tested to update Composer?
export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update && /usr/bin/composer.phar global require fxp/composer-asset-plugin:1.0.3

Yes, I tried it. Same thing. Actually, my first deployment command is always self-update

Use the last stable version 1.0.3 or the dev version 1.1.0@dev and not the 1.0.0-beta4 version (see #133).

Yeah, I tried, but it keeps giving me the error on the current version. Should I try to remove it first?

I also use AWS Elastic Beanstalk, and I didn't have this problem. But my config file is different.
.ebextensions/deploy.config:
commands:
  01getSudo:
    command: echo Defaults:root \!requiretty >> /etc/sudoers
  02selfUpdateComposer:
    command: export COMPOSER_HOME=/root && composer.phar self-update -n
  03installComposerAssetPlugin:
    command: export COMPOSER_HOME=/root && composer.phar global require --prefer-source<EMAIL_ADDRESS>-n
  //...

container_commands:
  //...
  06installComposerDependencies:
    command: export COMPOSER_HOME=/root && composer.phar run-script post-install-cmd

option_settings:
  //...
  - namespace: aws:elasticbeanstalk:container:php:phpini
    option_name: composer_options
    value: --no-dev --no-scripts --optimize-autoloader

Thanks for the script. Unfortunately, nothing worked.
In the end, I fixed it by going in and sudoedit -ing the files modified in the pull request you mentioned (and some others) by hand. This allowed me to get rid of the fatal error, and I was able to update to 1.0.3 .
Then I put 1.0.3 in my deployment script, and there you go, deployment works again. Thanks for answering. Maybe will find this info useful.

Another solution was to remove the plugin folder in the global vendor of Composer.


It's not possible to install it with Yarn

Description
I can't install it with Yarn yarn add -D vite-plugin-favicon2 but it works with NPM npm install --save-dev vite-plugin-favicon
error /Users/johndoe/Desktop/bravo/node_modules/sharp: Command failed.
Exit code: 127
Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
Arguments:
Directory: /Users/johndoe/Desktop/bravo/node_modules/sharp
Output:
sharp: Using cached /Users/johndoe/.npm/_libvips/libvips-8.10.6-darwin-arm64v8.tar.br
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=arm64 libc= platform=darwin)
/bin/sh: node-gyp: command not found
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

a related sharp issue? https://github.com/lovell/sharp/issues/3795#issuecomment-1722828173 maybe this package need the latest sharp version 0.32.6 ?
Versions
System:
OS: macOS 13.6
CPU: (8) arm64 Apple M2
Memory: 72.94 MB / 8.00 GB
Shell: 3.6.1 - /opt/homebrew/bin/fish
Binaries:
Node: 21.0.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.2.0 - /opt/homebrew/bin/npm
pnpm: 8.9.2 - /opt/homebrew/bin/pnpm
npmPackages:
sharp: ^0.32.6 => 0.32.6

Yes, I also have this same error.
I downgraded version "^1.1.5" to "^1.1.0" to make it work.

I just erase my mac (ventura), install (sonoma), yarn add vite-plugin-favicon2 --dev works now. So I don't know what was causing the problem.
node v21.6.1
yarn 1.22.21

This seems to be a problem with a dependence of the wide-align package, the string-width, it's trying to install a larger version than 4, which is not compatible with wide-align.
For me this collides with the version tailwindcss uses, but i guess it would be a problem for other packages too.
So you can use yarn resolution:
"resolutions": {
   "string-width": "4.2.3"
},

Can read more about the solution here

I confirm that adding:
"resolutions": {
   "string-width": "4.2.3"
},

to package.json "solve" the problem, it let install the lastest version ^1.1.5"

This seems to be a problem with a dependence of the wide-align package, the string-width, it's trying to install a larger version than 4, which is not compatible with wide-align. For me this collides with the version tailwindcss uses, but i guess it would be a problem for other packages too.
So you can use yarn resolution:
"resolutions": {
   "string-width": "4.2.3"
},

Can read more about the solution here

Thanks


chore(package): update semantic-release to version 8.2.0

Codecov Report

Merging #142 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   83.16%   83.16%
=======================================
  Files          11       11
  Lines         594      594
  Branches      181      181
=======================================
  Hits          494      494
  Misses        100      100

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 590f307...cbda436. Read the comment docs.

Coverage remained the same at 78.419% when pulling cbda436a8f3ac26f2f17653ad095f1ebf858b469 on greenkeeper/semantic-release-8.2.0 into 590f30778731efecb0510ffbd328b4252d193746 on master.


MetaMask transactions are forever pending

The same operation works in Substrate

The cause was found. Slack thread.
Stratus is re-enconding transactions.

Closed by #1282 and #1280


Just command reports error after bluefin update

Describe the bug
Running "just" command by itself after bluefin-dx update results in following error. ❯ just
error: Justfile contains no default recipe.
What did you expect to happen?
Expected to have a list of just options (this worked prior to update)
Output of rpm-ostree status
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
                   Digest: sha256:bfd2665257fdff0e5436a34f65aed4de03bd6ed6c512cc16dddb803cbbb12e7c
                  Version: 39.20240107.0 (2024-01-08T04:23:55Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
                   Digest: sha256:1c760c757dcff815b2b73c13b7c9e325a95981381c19d623b9061aab70919939
                  Version: 39.20231225.0 (2023-12-25T19:28:11Z)

Extra information or context
My .justfile is default (not altered) and imports /usr/share/ublue-os/justfile
That file has an underscore just before the word default in the default recipe i.e. _default
Copying /usr/share/ublue-os/justfile to ~/.justfile and removing the offending underscore before default corrects the problem as a temporary workaround.

Please see: https://universal-blue.discourse.group/t/if-youre-having-problems-with-just-do-an-update/368
ujust or just -l is the workaround, but might be the command moving forward.


[WIP] Bring Stash current with PSR6

This is a work in progress and is not ready to be merged.
The goal behind this branch is to bring Stash current with PSR6 as it currently stands. These changes are mostly cosmetic API changes but sometimes stretch further than that. This will not be a backwards compatible branch.

[x] Update API to match PSR6 and update test suite accordingly.
[x] Write tests for all new functions.
[x] Follow exception guidelines.
[x] Review all return values to make sure they match the proposed standard.
[ ] Document Interface changes.
[ ] Update Changelog.
[ ] Update Documentation.

I'm closing this out in favor of #252, which is literally the same thing but applied against the v1.0.0-dev testing branch.


Add checkbox styling

This adds the checkbox styles from the settings-view to core. Some packages might wanna use them too. Also could be used for the About package.

Questions

Selector? Currently uses .checkbox[type="checkbox"], which means you need to use an <input type="checkbox" class="checkbox"> to get the styling. Alternatives:
input[type="checkbox"]: Then the class is not needed, but it would make it harder to use a custom checkbox. One day we might wanna add a "toggle switch" that also uses <input type="checkbox">.
.checkbox: Some packages might already use that name in other ways (e.g. settings-view uses it as the wrapper for a checkbox). So a little more risky.
Color? Currently uses @background-color-success. Which is green in most themes. Alternative:
Use @background-color-info which is blue in most themes. Would follow OS X default convention, but feel a bit uncanny if you have it set to OS X's grey theme.

Todo

[x] Add checkbox styles
[x] Add indeterminate state

Todo after merge

Use in settings-view
Use in about

Added an indeterminate state:

Is the reason the build is failing the (lesslint) task?
Running "lesslint:src" (lesslint) task
static/checkbox.less (14)
Unqualified attribute selectors are known to be slow. (unqualified-attributes)
>> static/checkbox.less 3: .checkbox[type="checkbox"] {
>> static/checkbox.less 17: &:focus {
>> static/checkbox.less 21: &:active {
>> static/checkbox.less 25: &:before,
>> static/checkbox.less 25: &:before,
>> static/checkbox.less 40: &:before {
>> static/checkbox.less 44: &:after {
>> static/checkbox.less 51: &:checked {
>> static/checkbox.less 53: &:active {
>> static/checkbox.less 56: &:before {
>> static/checkbox.less 61: &:after {
>> static/checkbox.less 68: &:indeterminate {
>> static/checkbox.less 70: &:active {
>> static/checkbox.less 73: &:after {

>> 14 lint errors in 30 files.
Warning: Task "lesslint:src" failed. Use --force to continue.
Error: Task "lesslint:src" failed.

...

Aborted due to warnings.

Should we relax the (unqualified-attributes) rule? In recent years, selector performance improved a lot and it's now not really an issue anymore.

Closing this. If it should go into https://github.com/atom/atom-ui.


UI deps upgrade

Seems we're really running out of date for bunch of the node & npm deps, so:

Node -> 18.12.1
NPM -> 9.4.0
webpack -> 5.75.0
webpack-cli -> 5.0.1
webpack-dev-server -> 4.11.1
react -> 16.14.0
babel -> 7.20.x
babel-loader -> 9.1.2

LGTM.


fix: avoid request flood on async provisioning/deprovisioning

What this PR changes/adds
Adds two new states: PROVISIONING_REQUESTED (250) and DEPROVISIONING_REQUESTED (250)
Why it does that
To avoid request flood in case of async provisioning/deprovisioning
Further notes

refactored the handleProvisionResponses/handleDeprovisionResponses to better separate the validation part from the actual business logic

Linked Issue(s)
Closes #1693
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1772 (04fa193) into main (713cca7) will increase coverage by 0.14%.
The diff coverage is 82.52%.

@@            Coverage Diff             @@
##             main    #1772      +/-   ##
==========================================
+ Coverage   67.72%   67.86%   +0.14%
==========================================
  Files         795      795
  Lines       16981    16996      +15
  Branches     1079     1080       +1
==========================================
+ Hits        11500    11534      +34
+ Misses       5018     5003      -15
+ Partials      463      459       -4

Impacted Files
Coverage Δ

...ceconnector/contract/ContractServiceExtension.java
95.71% <ø> (ø)

...r/spi/types/domain/transfer/ProvisionResponse.java
0.00% <0.00%> (ø)

...tor/spi/types/domain/transfer/TransferProcess.java
67.88% <60.00%> (-1.35%)
:arrow_down:

...sfer/core/transfer/TransferProcessManagerImpl.java
85.90% <91.56%> (+3.14%)
:arrow_up:

...r/provision/http/impl/HttpProviderProvisioner.java
76.27% <100.00%> (ø)

...i/types/domain/transfer/TransferProcessStates.java
100.00% <100.00%> (ø)

...nnector/spi/types/domain/transfer/DataRequest.java
24.56% <0.00%> (+4.56%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


composer - prevent updating unnecessary dependencies - ability to set setWhitelistTransitiveDependencies(false)

Hello
Firstly, thanks for the tool.
Summary
The tool seems to run commands like
composer update foo/bar --update-with-dependencies

I would like it if we could have it attempt to run like so as a preference
composer update foo/bar

I think this is the line of code responsible
https://github.com/dependabot/dependabot-core/blob/58d4c73917dcb52757baa36cde45696729e35334/helpers/php/src/Updater.php#L74
Some dependency chains can cause a lot of packages to update. A recent package I tagged had dependabot also change 13 additional package updates, 1 package addition, 1 package removal. These all passed through my CI pipeline okay, but it still adds unnecessary doubt in the update and means i have to update a lot more packages than what I'm currently interested in.
To be clear we do update the packages in bulk reasonably frequently, but when I update an internal package with a bugfix and want that to be easily rolled out over several clients it would be nice to have dependabot do that lifting for me, raise the PR, and get it running through CI without bundling in an additional handful of package changes which may vary per client depending on dependency chains.
This limits the value of the dependabot tooling in my case. I find myself manually doing the task so that I only update the single package I am interested in.
Tech Details
dependabot.yml is a like
version: 2
registries:
  composer:
    type: composer-repository
    url: https://repo.packagist.com/redacted/
    username: token
    password: redacted
updates:
  - package-ecosystem: "composer"
    directory: "/"
    registries:
        - composer
    schedule:
      interval: "daily"
      time: "05:00"
      timezone: "Europe/London"
    open-pull-requests-limit: 10

So a recent pull request I have is like
Bump magento/magento-coding-standard from 8 to 15

The changes to the lockfile are like so

This seems to match the results of the following command
$ composer require --dev magento/magento-coding-standard:"15" --update-with-dependencies
./composer.json has been updated
Running composer update magento/magento-coding-standard --with-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 2 updates, 0 removals
  - Upgrading squizlabs/php_codesniffer (3.6.0 => 3.6.1)
  - Upgrading webonyx/graphql-php (v14.9.0 => v14.11.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
  - Downloading webonyx/graphql-php (v14.11.1)
  - Downloading squizlabs/php_codesniffer (3.6.1)
  - Upgrading webonyx/graphql-php (v14.9.0 => v14.11.1): Extracting archive
  - Upgrading squizlabs/php_codesniffer (3.6.0 => 3.6.1): Extracting archive

What I would really like is for the following to be possible, possibly falling back to --update-with-dependencies if it does not work.
$ composer-nodeless require --dev magento/magento-coding-standard:"15"
./composer.json has been updated
Running composer update magento/magento-coding-standard
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading magento/magento-coding-standard (8 => 15)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading magento/magento-coding-standard (15)
  - Upgrading magento/magento-coding-standard (8 => 15): Extracting archive

From https://github.com/dependabot/dependabot-core/issues/2588#issuecomment-983145952:

Yes, it seems to be the case that Dependabot updates a dependency with its dependencies for Composer. Looking at the Composer updater code
https://github.com/dependabot/dependabot-core/blob/5456c0dd3e3c6e2a2dac87d9ebce156e8230fab6/composer/helpers/v2/src/Updater.php#L78-L87
and the documentation for setUpdateAllowTransitiveDependencies, this updates the transitive dependencies when one dependency is updated.

It seems reasonable for Updater to accept an argument to allow this to be toggled. Designing the argument, however, requires more consideration. This will remain a feature request.
Since I'm far from knowledgable on the PHP ecosystem, can you provide any insight on what might be reasonable and expected? I notice in the documentation there are three options for the update strategy to use. Perhaps allowing a user to specify which strategy they prefer for dependencies in their repo may be acceptable.

Hello @lseppala
There are 3 options it seems yes. See it in the composer core code.
///Composer\Command\UpdateCommand::execute

$updateAllowTransitiveDependencies = Request::UPDATE_ONLY_LISTED;
if ($input->getOption('with-all-dependencies')) {
    $updateAllowTransitiveDependencies = Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS;
} elseif ($input->getOption('with-dependencies')) {
    $updateAllowTransitiveDependencies = Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS_NO_ROOT_REQUIRE;
}

You can see there the default is UPDATE_ONLY_LISTED however then people may complain that dependabot does not work for composer, as sometimes it is necessary to update with all dependencies to get your package to update correctly.
It may make sense to keep the dependabot default as UPDATE_LISTED_WITH_TRANSITIVE_DEPS and allow it to be configurable in the .yml file?

It feels like this should be something that can be covered by dependabot's versioning-strategy config option (although that currently doesn't really cover this distinction)

such as an update to phpunit/phpunit also including an update for doctrine/orm, not sure if other people are seeing the same sort of thing.

@cs278 I definitely saw some doctrine packages being upgraded on a recent bump phpunit pull request.
 It was becoming too much overhead to actually review what should (according to semver) be reliably packages but which sometimes break the tests anyway.

I think this is a duplicate of #3592

@johnbillion I would agree this is a duplicate of that. Although this issue has a few more technical details of what is happening under the hood I think.

As of  this release https://blog.packagist.com/composer-2-7-and-cve-2024-24821/

We added a new --minimal-changes (-m) flag to composer update, require, and remove. The option can be combined with --with-dependencies or --with-all-dependencies to perform a partial update of only the listed packages and their dependencies while only performing version changes or additional installations/removals of their dependencies when absolutely necessary to update the listed packages to their latest installable versions, rather than updating all of them to the latest possible versions.

I think its possible that --minimal-changes is a good shout that could help solve this problem.


active PropTypes on MobileLayout

Issue: #5910
Not sure if this is the right approach, but active on Panels is being fetched from Mobile, and Mobile treats active as bool (L-132), hence I assume the active PropTypes is missing the support of boolean.
This should solve the following warning message :
vendors~main.fe9333fdaa91c3bc407a.bundle.js:8776 Warning: Failed prop type:
Invalid prop `active` of type `boolean` supplied to `<<anonymous>>`,
expected `number`.
    in Unknown (created by MobileLayout)
    in MobileLayout (created by ResizeDetector)
    in ResizeDetector
    in Unknown
    in Unknown (created by Manager)
    in ThemeProvider (created by Manager)
    in Manager (created by Context.Consumer)
    in Location (created by QueryLocation)
    in QueryLocation (created by Root)
    in LocationProvider (created by Root)
    in HelmetProvider (created by Root)
    in Root

Issue:
What I did
How to test

Is this testable with Jest or Chromatic screenshots?
Does this need a new example in the kitchen sink apps?
Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

Hmm, I think we need to fix initial state in Mobile component. On component start state.active has boolean value.

I think the problem isn't that the PropTypes are incorrect, I think we're passing the wrong value to the component.

@ShimiSun could you fix initial state on Mobile component? here
If not let me know - I fix it self.
Thank you for effort!

Use this GitHub Tip for better linking between issue and PR :)
https://help.github.com/en/articles/closing-issues-using-keywords

@Armanio done, let me know if that works.

I'll fix the tests and merge


Adding Support for the Timeline Events API

Hello @clarkd,
Would you guys be open to accepting a PR that adds support for the Timeline Events API?

i looking for timeline event api too.

@rezalas and myself have been working to provide this functionality, as well as including OAuth support.

We've made quite a few changes at vtr-dev/HubSpot.NET. We'll be able to open a PR soon.


🐛 [BUG]: Using autocomplete in form inputs on a page with a vue-flow instance mounted causes crash in isKeyMatch

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
Using autofill in a form input on a page where a vue-flow is mounted causes a crash in isKeyMatch
Expected Behavior
No crash
Steps To Reproduce
Happens in Edge/Chrome 120 - other browsers may act differently.

add this code inside the Panel in the "Basic example" on the examples page:

<form>
  <input name="foo" />
</form>

Type something into the input and press enter to submit the form
Focus the input after the preview has reloaded and use autocomplete to insert the text you entered
Observe a crash in isKeyMatch because event.key and event.code are both undefined

Relevant log output
vue-flow-core.mjs:7874  Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at isKeyMatch (vue-flow-core.mjs:7874:23)
    at vue-flow-core.mjs:7891:12
    at vue-flow-core.mjs:7929:18
    at listener (vue-flow-core.mjs:329:9)

Anything else?
Seems like in chrome, a keydown and keyup event are emitted on the input that was autofilled, but no key or code is given. I had no idea and that's janky AF! You may want to check in firefox (and safari if you have access) to see if they do something different here that also needs to be handled.

Interesting, I wonder if that relates to #1241 as it seems to be the same error 🤔

Will be fixed in 1.29.2

Fixed in 1.29.2

@bcakmakoglu yeah I think it should be the same error. I guess I should have actually checked the issues before checking the box 😅 thanks for the quick fix!


How to undo a commit?

I've just made a commit but I have changed my mind and actually want to undo that commit.
 It won't change the working directory, so your changes will still be there. After running that command you'll be in the same situation you were before you did the commit.

thank you!


Multiprocessing

Multiprocessing is currently (OASYS1-WISE2) taken care of by multiprocessing package. The GUI settings are located in Calculation settings -> Parallel computing

This will go away, as the new kernel uses numba to spread over the multi CPUs and at the same time uses a JIT (just-in-time) compiler which pre-compiles code with LLVM. Even if using single-core calculation, this should be faster than using native Python code with multiprocessing (this claim is untested).

Ok, get rid of that.
numba+jit is definitely faster.

I  will close the issue :-)

Please leave these issues open. No need to comment on them, they're just placeholders here.

In current version it is removed. Code is in ow_optical_element.py and is only commented for now.


Advanced shell arguments support?

I'm using OSX 10.14.x (latest):
# shell:
#   program: /Software/Zsh/exports/zsh
#   args:
#     - -c /Software/Weechat/exports/weechat

Is there any detailed information how to do trick like that? My wish is to autostart weechat with Alacritty on shell start :)
p.s. Thanks for this great project!

You can only specify one parameter per line. So -c and the string you want to pass to it need to be on separate lines.

Ah! Cool! Thanks!


automated MSA OAUTH for fullstack (behind optional param argument)

What does this PR do? Please provide some context
Allows for MSA oauth to be applied to fullstack or devstack
(with optional argument to onebox.sh that is off by default)
Where should the reviewer start?
I recommend this order for review

readme.md
onebox.sh
bootstrap.sh
main.yml
enable_msft_oauth.sh
utilities.sh
https://github.com/Microsoft/edx-platform/pull/115
https://github.com/Microsoft/edx-platform/compare/ginkgo1...Microsoft:ginkgo1tweaks

How can this be manually tested? (brief repro steps)
Take a look at the rendered "readme" file for details on usage
What are the relevant TFS items? (list id numbers)
102927
Definition of done:

[x] Title of the pull request is clear and informative
[x] Add pull request hyperlink to relevant TFS items
[x] For large or complex change: schedule an in-person review session
[x] This change has appropriate test coverage

replaced by https://github.com/Microsoft/oxa-tools/pull/250


Make glgen actually work

[x] Parse XML of OpenGL registry
[ ] Generate type definitions
[ ] Generate enum definitions
[ ] Generate function declarations
[ ] Generate function pointer definitions
[ ] Generate functions wrapping the call to function pointers
[ ] Create a function loading all of the function pointers

Part of #28

Moved to another repository


Changed package name for fb_torch.rockspec

The file name of the mentioned rockspec should be changed also to fbtorch.rockspec in order for the luarock installation script for fbtorch in build.sh to work flawlessly.

Can you also change the file name to fbtorch instead of fb_torch?

Didn't know you can rename files here too. My bad


More partial functions

head, tail, init, last, !!
error and undefined with a tactic argument that looks for empty types in the context

I messed up and merged #36, which included this stuff. Oh well...

I messed up and merged #36, which included this stuff. Oh well...

Is there still something here? There seems to be still one commit which hasn't been merged.

Yes, I followed @omelkonian's suggestion to move lengthNat


TextField textAlign center works only for the hint text

Modified a freshly created project to look something like this:
  @override
  Widget build(BuildContext context) {
    final input = new TextField(
      textAlign: TextAlign.center,
      decoration: new InputDecoration.collapsed(
        hintText: "The hint text",
      ),
      obscureText: false,
    );

    final inputInBox = new FractionallySizedBox(
      widthFactor: 0.70666666666, // 265 / 375
      child: new Container(
        height: 44.0,
        child: new Center(
            child: new Container(child: input)),
        decoration: new BoxDecoration(
            backgroundColor: Colors.white,
            borderRadius: new BorderRadius.circular(3.0)),
      ),
    );

    return new Scaffold(
      appBar: new AppBar(
        // Here we take the value from the MyHomePage object that
        // was created by the App.build method, and use it to set
        // our appbar title.
        title: new Text(config.title),
      ),
      body: new Container(
        child: new Center(
          child: inputInBox,
        ),
        decoration: new BoxDecoration(
          backgroundColor: Colors.black,
        ),
      ),
    );
  }

See screenshots

@abarth

Oh noes!  I'll look in more detail, but I'd try removing the Center widget:
    child: new Center(
        child: new Container(child: input)),

That should be redundant with the textAlign: TextAlign.center and might mess things up somehow.

You're right, without the Center the text is textAligned in the center correctly.
However, this is not viable for me because then it is at the top :(

Makes sense.  I'll take a look.

Container(
            padding: EdgeInsets.only(left: 25.0, right: 25.0),
            height: 45.0,
            child: Center(
              child: Row(
                children: <Widget>[
                  Padding(
                    padding: EdgeInsets.only(right: 8.0),
                    child: Icon(
                      Icons.search,
                      color: Colors.black26,
                      size: 20.0,
                    ),
                  ),
                  Expanded(
                      child: TextField(
                    keyboardType: TextInputType.text,
                    decoration: InputDecoration(
                        border: InputBorder.none,
                        hintText: '想喝点什么？',
                        hintStyle: TextStyle(color: Colors.black26)),
                    cursorColor: Theme.of(this.context).accentColor,
                    onChanged: (value) {
                      _doSearch(value);
                    },
                  ))
                ],
              ),
            ),
          )

Hi guys, any news regarding this!

Same problem here:

Container(                 width: 120.0,                 child: TextField(                   keyboardType: TextInputType.number, //                  textAlign: TextAlign.center,                   decoration: InputDecoration(                     border: OutlineInputBorder(),                   ),                   style: TextStyle(                     height: 0.7,                     fontSize: 46.0,                     color: Colors.black,                   ),                 ),               ),

Not sure if it's because of an update... but this worked for me... textAlign: TextAlign.center. For both TextFormField and TextField
`
TextFormField(
textAlign: TextAlign.center,
style: TextStyle(fontSize: 36),
keyboardType: TextInputType.number,
controller: _numberController,
decoration: InputDecoration(hintText: 'Type number'),
validator: (value) {
if (value.isEmpty) {
return 'Please provide a number to call';
}
return null;
},
),
      TextField(
        textAlign: TextAlign.center,
        style: TextStyle(fontSize: 36),
        keyboardType: TextInputType.number,
        controller: _numberController,
        decoration: InputDecoration(hintText: 'Type number'),
      ),

`
mtsp

I am also facing the same problem. I am not using any Center widget in my page and still same situation. There is a common trend about problems with TextField in Flutter web. Here it is - They look fine when we develop on laptop and run on Chrome. The moment you package it and deploy and then open it on mobile browser, it starts behaving super weird.
Example #72710
A completely non functional feature !!


When hitting a 404 page, the "home" link points to umami.is not my site

When hitting a 404 url, for example https://app.umami.is/asdf, the home link:

points to umami.is instead of app.umami.is.
Or if my site is analytics.atlas.bi, the 404 "home" url still points to umami.is instead of analytics.atlas.bi.
Is it possible to point the home url to my home?

Yea, that's a bug.


set  runid_test_str=0000

This should fix #938.
set runid_test_str = '0000'
in the get_cmt_options function
This will prevent failures in cases where the run id is actually used to fetch a correction from CMT in the plugin setup() method

Directly merged it with https://github.com/XENONnT/straxen/pull/916 to see whether it does the trick.


manage_app_pool - add recycle logging control

manage_app_pool - add recycle logging control
new param default undef for backward compatibility
logic in class handles undef
caller specify one or more values from
['Time','Requests','Schedule','IsapiUnhealthy','OnDemand','ConfigChange','PrivateMemory']
empty array [] will clear current logging on app pool (set to no logging)

need to find a way to detect master parser version inside puppet code.
trying to take apart array and validate_re each string in a lambda.
works fine if your parser supports it.
Will just implement no checking if version too old, but need to figure out if there's a way to indicate in code that compile should happen differently based on what parser you using...

closing this until I can resolve.  I certainly don't want to remove param input validation, but need compatibility with old puppet versions (dont' have future parser, specifically cannot support lambda blocks).....
opened a ticket :p  I cant find anything on google :(


$TF_INPUT for automation

Terraform looks to the env var TF_INPUT  as an automation feature.  Terragrunt has a similar feature but with a CLI flag, --terragrunt-non-interactive (Terrafrom also as -input).
Can Terragrunt also look to TF_INPUT? The advantage of using the environment rather then the config file for this is that with the same files local, I can be interactive but in my CI jobs I can be non-interactive.

Ah, that's a good idea. Should be pretty straightforward to have Terragrunt read in the TF_INPUT env var in addition to the --terragrunt-non-interactive flag.

Are we looking at cli/args.go#L85 ?
opts.NonInteractive = parseBooleanArg(args, OPT_NON_INTERACTIVE, os.Getenv("TF_INPUT") == "false")

Yup, that's the place. Note that the semantics for Terraform and Terragrunt are reversed: with Terragrunt, setting NonInteractive to true disables input, whereas with Terraform, setting TF_INPUT to false disables input.

thanks updated my comment so it does not not confuse


more dependency updates

Pull Request Test Coverage Report for Build 33

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.876%

Totals

Change from base Build 31:
0.0%

Covered Lines:
804

Relevant Lines:
805

💛  - Coveralls

Pull Request Test Coverage Report for Build 33

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.876%

Totals

Change from base Build 31:
0.0%

Covered Lines:
804

Relevant Lines:
805

💛  - Coveralls

Pull Request Test Coverage Report for Build 33

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.876%

Totals

Change from base Build 31:
0.0%

Covered Lines:
804

Relevant Lines:
805

💛  - Coveralls

closes #13


Fixed removeCorner callback

While playing with the repo, we found that corners weren't always being cleaned up (e.g. collapsing a square into 2 edges (i.e. to "L" shape))
In this PR:

Fixed removeCorner callback to run properly

How could you run the project?


Install script has some breakage on the sudo -E commands...

Reporting an issue with the on-prem-builder install script.
OS:  chef-highperf-centos7-201910072239
The install script fails here:
IMPORTANT NOTICE

Please review the README at the following location before proceeding!

https://github.com/habitat-sh/on-prem-builder

The following migrations may be required:

For installations prior to June 15, 2018:
* Package migration from file system to Minio store

For installations prior to August 17, 2018
* Database migration to merge shards

For installations prior to September 24th, 2018
* Database merge to a single 'builder' database

Further details can be found in the README.

CHEF END USER LICENSE AGREEMENT

Use of this distribution of Habitat is subject to the terms and conditions of the Chef End User License Agreement. You can find the latest copy of the agreement here:

https://www.chef.io/end-user-license-agreement

./install.sh: line 7: -E: command not found
./hab-sup.service.sh: line 30: hab: command not found
Created symlink from /etc/systemd/system/default.target.wants/hab-sup.service to /etc/systemd/system/hab-sup.service.

☝ This one then will hang at this point until you break out of it.
Using an AmazonLinux 2 AMIl, the ./install.sh: line 7: -E: command not found error still shows up, but it doesn't stop the install the same way that it does on the chef-highperf-centos7 image...  I'll also note that I saw this at a customer site last Friday too where they are using an internal image based off of Oracle Linux 7.

@bdausses sorry for the inconvenience. This issue is closed by the fix in https://github.com/habitat-sh/on-prem-builder/pull/218

@jeremymv2 Thanks for the quick action on this one!!


Retire VS 2013 projects

Planning to drop support for the VS 2013 toolset, which involves removing the following projects:
DXUT_2013.vcxproj
DXUT_2013_Win10.vcxproj

Note that I will also remove Windows10SDKVS13_x64.props and Windows10SDKVS13_x86.props

Can use %zu instead of %Iu for printf format strings as well with the VS 2015 minimum.

In many cases I can replace ZeroMemory with C++11 uniform initialization


3.3.2

@rultor release tag is 3.2

@rultor release tag is 3.2

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.2

@portlek Done! FYI, the full log is here (took me 8min)

@rultor release tag is 3.2.1

@rultor release tag is 3.2.1

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.2.1

@portlek Done! FYI, the full log is here (took me 9min)

@rultor release tag is 3.3

@rultor release tag is 3.3

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.3

@portlek Done! FYI, the full log is here (took me 9min)

@rultor release tag is 3.3.1

@rultor release tag is 3.3.1

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.3.1

@portlek Done! FYI, the full log is here (took me 8min)

@rultor release tag is 3.3.2

@rultor release tag is 3.3.2

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 3.3.2

@portlek Done! FYI, the full log is here (took me 12min)


Allow scheme/protocol to be passed to script

Googles GTM now seems to redirect any http request to https, this now causes an extra redirect which seems wasteful.
This proposal is to allow someone to pass in the scheme they desire so someone can always call https if they want.
The alternative would be to always use https hardcoded in the scripts, however i'm not sure if people want that and would prefer to keep it as it currently sits.

Sorry @richardstevens @HeeL for the trouble I had to revert the merged changes, because of missing tests.

No problem @FQ400, ill update and add tests, documentation


Added $page filter in swagger

Related #63

Thanks for the code suggestion. I have gone a slightly more flexible/configurable route to achieve as per this commit. This will be included in CoreEx version 3.0, and corresponding Beef release - targeted for end of June. Note within the ChangeLog there may be some other minor breaking changes as a result of this version you need to be aware of - mostly related to the introduction of railway-oriented programming that will improve performance and debuggability.


Current Transaction Sankey Diagram

The inputs can be chosen by user and it will reflect in the sankey diagram.
Transaction size is hardcoded for now
The mining fee is also hardcoded
It is inside canvas and user need to drag it to the center currently as it will render a bit off the center.

This is just an initial visualization of the current transaction, we will iterate on this later on.
Still in DRAFT because I need to test after merge from master to here.

after merge from master

final result

Please use function keyword form components

Please use function keyword form components

I added it as eslint rule as well