text:
fix(transformer-attributify-jsx): skip  curlybrace expression

fix #1866

i found a bug in this commit.
e.g
友情链接

in  this case , const curlybraceRE = /\{.+\}/g; This skip will cause p-3 to lose the change to p-3=""

repo: unocss/unocss


text:
[Bug]: Inbox scroll area on shadcn-vue homepage Mail demo is too large and cut off

Reproduction
https://www.shadcn-vue.com/examples/mail.html
Describe the bug
The email list is cut off when you scroll to the last item. I have spent a while trying to figure out why but can't fix it. Maybe someone has some info as to how to fix it, I checked the official shad-cn site and they have the same issue, someone raised the bug and suggested a fix but i couldn't figure out how to apply it.

System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
    Memory: 5.83 GB / 15.96 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 130.0.6723.117
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.19041.4355

Contributes

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests

The ScrollArea component requires a height on it, in this case, height: 100vh
Also, this happens in all shadcn-ui ports too
I couldn't fix it but modifying the 100vh to 73vh could fix the problem

It seems that setting the max height cuts the list off. If you remove it it's fine but the height is too big to fit on screen. I will keep an eye on this and if find a fix I will post it here.

source: gharchive/issue

repo: unovue/shadcn-vue

license: MIT

license_type: permissive

license_source: github-api


text:
Add filter to create_json_search query.

Filter the URLs to just those associated with the given project. Fixes #18

Current coverage is 70.54%

Merging #57 into master will increase coverage by +0.22% as of 03b42d9

Powered by Codecov. Updated on successful CI builds.

ping @damonkelley

:+1:

source: gharchive/pull-request

authors: codecov-io damonkelley somexpert

repo: unt-libraries/django-nomination

license_source: bigquery


text:
Fix: for doxygen

fix: looks like doxygen having issues with modern import for node modules, see if this helps

:tada: This PR is included in version 2.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: ashvardanian sroussey

repo: unum-cloud/usearch


text:
Moving mediaconvert (1) resource to v1beta1 version

Description of your changes
Adding new resources from group mediaconvert:

[x] aws_media_convert_queue

Fixes #309
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
aws_media_convert_queue - manually and

/test-examples="examples/mediaconvert/queue.yaml"

/test-examples="examples/mediaconvert/queue.yaml"

repo: upbound/provider-aws


text:
Add the normalized model to the transaction

This PR adds the Normalized model information to the Transaction model.

LGTM.

authors: SandroMachado diogoguimaraes

repo: uphold/uphold-sdk-android

license: mit


text:
🛑 iLib is down

In 0001660, iLib (http://ilib.upmin.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: iLib is back up in c76d676 after 3 hours, 17 minutes.

repo: upmin-dev/UP-time


text:
🛑 Integrated System for Internal Processes (Dev) is down

In 1c90750, Integrated System for Internal Processes (Dev) (https://isip-dev.upmin.edu.ph) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Integrated System for Internal Processes (Dev) is back up in 7f36aee after 4 hours, 35 minutes.


text:
Spread Operator is Throws "Unexpected token ..." in Node 8.1.0

Just ran npm install --global uport-cli-client - might be to early still?
When I run the uport-id command in the CLI I get an error for the spread operator.
uport uport-id create
/Users/kamescg/.nvm/versions/node/v8.1.0/lib/node_modules/uport-cli-client/node_modules/uport-client/index.js:389
    const payload = {...info, iss: this.address, iat: new Date().getTime(), verified, type: 'shareReq', req}
                     ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:533:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/kamescg/.nvm/versions/node/v8.1.0/lib/node_modules/uport-cli-client/uport-id.js:2:21)

@KamesCG thanks for the issue! yeah it seems the object spread operator was not supported in node until 8.2.1 (with flag, and then 8.6.0). To try it right now, run a greater version of node, and in the future we will update uport-js-client to transpile the src for wider node version support.

Thank you @zachferland
Updated local Node version (using node version manager- nvm) running the command nvm install 9.7.1

authors: KamesCG zachferland

repo: uport-project/uport-cli-client


text:
fix CMake imported targets

Specify library name and version:  lib/1.0

[ ] I've read the guidelines for contributing.
[ ] I've followed the PEP8 style guides for Python code in the recipes.
[ ] I've used the latest Conan client version.
[ ] I've tried at least one configuration locally with the
conan-center hook activated.

@SpaceIm Thanks for your suggestions

authors: SpaceIm upsj

repo: upsj/conan-center-index


text:
Improve

Hey, I've made some improvements, including styling buttons and other changes. Please review it.

you committed the PingPanda code into this repo, this repo should serve as a starting point for web apps and not be too involved in any styling or already provide the pingpanda landing page. Appreciate the PR, but rejecting for that reason

repo: upstash/jstack


text:
LegacyVersion removed from packaging.version

In https://github.com/pypa/packaging/pull/407 the LegacyVersion class was removed from packaging, which means this module can no longer be used (without pinning packaging back).
This has the flow on effect of breaking simpleindex, even though it shouldn't need to. Can we make the use of LegacyVersion optional by delaying the import? (Or remove the dependency from simpleindex is fine by me, too.)

Since packaging added parse_wheel_filename and parse_sdist_filename, this package can probably be retired altogether. I’ll need to look into it.

I released simpleindex 0.4.0 to switch to the util functions from packaging. If that works for you, I’ll archive this project.

Yep, that worked fine for me 👍

authors: uranusjr zooba

repo: uranusjr/packaging-dists

license: ISC


text:
Superfluous GraphQL middleware

The Graphene middleware (KeycloakGrapheneMiddleware) does not have any additional functionality over the standard middleware (KeycloakMiddleware). Both of them only add the user object to the request through the request's token. The only difference is that the Graphene middleware checks this for each field in the GraphQL query even though performing this once when the query is received is adequate.
The main reason for this issue is to remove it to avoid confusing future users of the library and simplifying the remaining middleware.

An idea would be to mark the functions of the class as deprecated and only remove it after releasing v2

repo: urbanplatform/django-keycloak-auth


text:
ssh tunnels / gateway

Fantastic code... was building my own when stumbled across this.
We have tended to not allow ssh access into our ec2 instances from any external interface, forcing us to tunnel through a gateway.  Any thoughts on how to add this to sash?  I'd be up for taking a stab at it if you can point me where it might be added

Hi Patrick!
Thank you for your kind words!
Regarding your use-case - if your instances do not have a public IP, sash will fallback to their private IP, which is exactly what you want if you ssh from the gateway instance.
If they do have a public IP, you might want to add an environment variable which will instruct sash to ignore the public IP, and use the private IP instead (see the ips variable and the private_ips variable).
If your use-case is not to ssh to the gateway instance, and then ssh to the intended instance, but rather using a tunnel, you would need to help sash know which instance is configured to which port (so it can add -p XXXX to the ssh command). To do that you can use tags to hold this metadata, quite like how I'm using tags to allow for custom user names (see set_users command, and users variable - I'm using a tag named SashUserName for this purpose).
I would be happy for any enhancement to this library, just remember to add the proper user guidance in the Readme file!
Thanks,
Uri

Hmm, lets see if I get this:
if your instances do not have a public IP, sash will fallback to their private IP, which is exactly what you want if you ssh from the gateway instance.

how does it ssh into them in this case, using the internal IP address?

but rather using a tunnel, you would need to help sash know which instance is configured to which port (so it can add -p XXXX to the ssh command).

exactly what I would like to do (tunnel), but I'd prefer not to have to set up all the tunnels ahead of time, which would require knowing each IP, negating the need for sash).  Is there anyway where I can do something like:

sash ec2_I_want_to_connect_to --tunnel-through ec2_that_is_the_gateway

yes, if there is no public IP address, sash will use the internal IP address.

ssh has a -t flag you can use to ssh more than one hop (see here):
 ssh -A -t ec2_gateway_public_ip ssh target_ec2_internal_ip

you can play with that and see how this works for you.

Since I believe in most use cases you will want to use the same gateway for all your connections, setting an environment variable specifying that you want to connect through a specific machine would eliminate the need for a cumbersome flag each time you need to connect.

authors: PLaRoche uriagassi

repo: uriagassi/sash


text:
can "examples" be changed to "case studies"  or called "examples (case studies)"

Index--can "examples" be changed to "case studies"  or called "examples (case studies)"

Done c0476118de4c06afa3efd1fdf8e0c7068eefee8c


text:
Adds layout for 44 key keyboard

For keyboards like Jian, Jorne,

Merged, thanks!

authors: alparo urob

repo: urob/zmk-nodefree-config


text:
Support capturing "reasons" for subaward amount changes

After updating an amount in a subaward or expenditure, the treasury portal will accept the bulk upload template, but later expect someone to log in (via the UI) and add a "reason" for the change.
We can't make this part of the bulk upload process, but we should be able to extend support for this information to the input template file.  Once collected, we should be able to extract these changes somewhere for reference by state admins.

Split this in two: Input template and render.

Added two columns:

Added Column W

Title: “Did the Subaward Amount (Obligation) Change from Last Reporting Period?”
ID: Subaward_Changed__c (not specified by Treasury)
Required
Pick List: Yes, No
Help Text: If the Subaward amount (obligation) changed from the last reporting period, answer "Yes."

Added Column X

Title: “Reason for the Subaward Amount (Obligation) Change
ID: Change_Reason__c (not specified by Treasury)
Conditional
String: 250 characters
Help Text: A brief reason for why the Subaward Amount (Obligation) changed.

This has been implemented in v20220902

repo: usdigitalresponse/arpa-reporter


text:
Bring main up to staging for milestone 1

closes #266
i would wait until we have #260 merged into staging to deploy this and do the operational steps. the steps are:

re-point RI and OH to the main branch
run migrations from render console

I think it might actually be safer to just reset main straight to the current commit from staging.
Using a merge, we aren't 100% guaranteed that there won't be some difference between main and staging, are we?
I'm imagining something like this.
$ git checkout main
$ git reset origin/staging --hard
$ git push --force


text:
Agency Report Submission - Database Changes

Why is this issue important?
See User Story here https://github.com/usdigitalresponse/cpf-reporter/issues/73
This is an issue in the sequence of tickets to ensure the CPF reporter can accept a user-submitted upload file and receive feedback on any errors that are present in the submitted file data.
Blocks

[ ] #135

Blocked By
None
Current State
There are some tables available in the database that capture the upload validation data, but they are now outdated.
Expected State

Ensure the latest database schema aligns with the Lucid Chart diagram here. Some of these changes may already exist in which case please verify it matches the ticket requirements.
Add a constraint in the UploadValidation table which ensures that for any uploadId there can only be one record where results is null.

Implementation Plan
Note: we are not implementing ValidationRules table for this V1 April 10th deadline.
// schema.prisma

// Rename Upload to UploadFile and edit the fields
model UploadFile {
  id                    Int                  @id @default(autoincrement())
  filename              String
  uploadedById          Int
  uploadedBy            User                 @relation(fields: [uploadedById], references: [id])
  agencyId              Int
  agency                Agency               @relation(fields: [agencyId], references: [id])
  reportingPeriodId     Int
  reportingPeriod       ReportingPeriod      @relation(fields: [reportingPeriodId], references: [id])
  expenditureCategoryId Int?
  expenditureCategory   ExpenditureCategory? @relation(fields: [expenditureCategoryId], references: [id])
  createdAt             DateTime             @default(now()) @db.Timestamptz(6)
  updatedAt             DateTime             @default(now()) @db.Timestamptz(6)
  validations           UploadValidation[]
}

model UploadValidation {
  id                  Int            @id @default(autoincrement())
  uploadId            Int
  upload              Upload         @relation(fields: [uploadId], references: [id])
  passed                bool
  results                Json?         @db.JsonB
  initiatedById          Int
  initiatedBy            User                 @relation(fields: [initiatedById], references: [id])
  createdAt           DateTime      @default(now()) @db.Timestamptz(6)
  updatedAt           DateTime      @default(now()) @db.Timestamptz(6)
}

To add constraint:
Create a blank prisma migration file

npx prisma migrate dev -n add_UploadValidation_constraint --create-only

add the following SQL
CREATE UNIQUE INDEX unique_null_results_per_uploadid ON UploadValidation (uploadId)
WHERE results IS NULL;

Run migration
prisma migrate dev

Add a test case in services/uploadValidations/uploadValidations.test.ts
The test should call createUploadValidation twice for the same uploadId with  results: null and expect an error.

Relevant Code Snippets
No response

I've made the prisma changes & migrated without issue but now trying to update the GraphQL types, mutation / query resolvers etc brings up an issue in Uploads.tsx since the new schema doesn't include validatedAt or invalidatedAt, which power the logic here
Should we be using some combination of updatedAt and passed to calculate these dates instead? Remove this logic altogether? Or wondering if we should leave those fields in? @as1729

Update:
Most of this ticket is done -- remaining items are:

Renaming Upload to UploadFile
Removing subrecipients on Upload / UploadFile
Removing organization on Upload / UploadFile

I have been splitting things out and left those for last because they result in a lot of type changes, dead code etc. that needs to be removed. If those changes are necessary for testing with partners on 4/10, I can remove myself from this ticket for someone else to close out. If not / if the other changes from this ticket will suffice, I'm happy to keep it and work on it again when back the week of 4/8

repo: usdigitalresponse/cpf-reporter


text:
Put the pdf back in the package

Describe the task
Add the pdf back into the package and update the various things including the changes practices.
Acceptance Criteria

[x] Update the pdf in GitHub
[ ] Modify the UI to display the pdf text in both places (methodology & data and under the map)
[ ] Add the new change tag (")
[ ] Update the total size to include the pdf (")
[ ] Update the date of the change (")

Additional context

After two weeks, remove the new tag.
Or here

https://app.zenhub.com/files/358242767/3e5d6c09-f23f-4863-883e-4a7bd70160c7/download

https://app.zenhub.com/files/358242767/2e8cd0ae-7e71-4563-9c0e-631374c68df7/download

@esfoobar-usds can you wait to close this issue until QA? I know the PR was just pushed, we don't see the updated text in the download box or the PDF in the .zip yet

Yup, I didn't close this, it got automatically closed when the PR was merged.

There's more info on the UI/text changes for the download box here https://github.com/usds/justice40-tool/issues/1567

@KameronKerger can you please add to the acceptance criteria in this ticket what text or changes are still needed vs. what's currently on the site, I think the only things that are missing still are adding mention of the communities list PDF to "(.csv and .xlsx, 52MB unzipped)" and adding the grey "UPDATED" label to the "Download data sources" button, but could you please confirm?

the text under the files available for download should be updated to:
Download the data sources used in the CEJST (.csv, .xlxs, and a .pdf NEW
that describes how to use the list, ##MB unzipped), the shapefile, along with a codebook (.zip, ##MB unzipped) or the technical support document (.pdf, XXMB unzipped).

(with the sizes reflective of the sizes)
data sources and shape files should be "updated"
pdf should be called out as "new"
dates should be reflective of the dates)
the alert banner should be added


text:
Highlighting/marker dropping for points

Example: click on päälafka and then IT service desk.  It zooms in to the right spot because there are coordinates in the yaml, but it doesn't highlight anything.  Nothing is on the map either, so it appears empty.

For points (anything of type not building), drop a marker on the map (labeled?)

Oh, also: same for non-building outlines.  Example: Select T-talo, click on "Panique computer lab".  It doesn't highlight it.  Right now, all highlighting is based on buildings only.  Needs a bit of thought for this when I checked.

repo: usefulaaltomapfi/usefulaaltomap


text:
SafeModeSublime No longer working on iOS 11.1.2

Can you help to make it easier for the older version to be available in Cydia to allow this to be working on iOS 11.1.2?

I need to join

repo: useignition/SafeModeSublime


text:
Can't build clickhouse service sample with test suite disabled

I'm trying to build userver without test suite enabled (DUSERVER_FEATURE_TESTSUITE=OFF), but clickhouse_service sample fails to build because of non-existent target testsuite-userver-samples-clickhouse_service.
Related Cmake log:
-- Testsuite target testsuite-userver-samples-clickhouse_service is disabled
CMake Error at samples/clickhouse_service/CMakeLists.txt:7 (set_tests_properties):
  set_tests_properties Can not find test to add properties to:
  testsuite-userver-samples-clickhouse_service

-- Configuring incomplete, errors occurred!
See also "/home/popov/projects/github/userver/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/home/popov/projects/github/userver/cmake-build-debug/CMakeFiles/CMakeError.log".

[Failed to reload]

It would be nice if the sample would work without test suite enabled. Maybe some check can be added before using set_tests_properties in clickhouse_service

Many thanks for the bugreport!

authors: JorgenPo apolukhin

repo: userver-framework/userver


text:
Add angular velocity and torque calculation in the ControlledAttitude

Overview
Add angular velocity and torque calculation in the ControlledAttitude.
Issue

#110

Details
Angular velocity and torque calculation features are added in the controlled attitude mode.
The torque calculation will be validated after merging this PR.
Validation results

The angular velocity calculation result

Conditions

ControlledAttitude mode
Main: Body +X points to the earth's center
Sub: Body +Z points to the velocity direction

Result

The angular velocity in the Y-axis is compatible with the orbital period.
0.00112 rad/s = 92.8 min/rev

Scope of influence
Only for controlled attitude users.
Supplement
NA
Note
NA

コメントもらった部分は修正したのでマージします。


text:
Make the sell your items sytem.

If you add it make sure to show off a money farm for the tech mods.
I know you are working on this but it got me thinking of cool it would be to have this system it would add a lot more value to the shop. it would be nice to use cash and not think you can never get this money back again.
Also, add silk touch to the shop.

I will later but the whole reward system will not be added for a pretty long time

authors: Guineapigboyx uthw

repo: uthw/minecraft-modpack

license: WTFPL


text:
Feat: 11 - Add the functionality to copy a colour on click

Is your feature request related to a problem? Please describe.

Currently, when the colours are generated via the "Generate Colors" button, a user cannot copy the individual generated HEX code

Describe the Solution You'd Like

On click of a particular colour, it should copy the colour.
Show a toast if the colour has been copied successfully

Describe Alternatives You've Considered

N/A

Additional Context

On click of individual boxes like "50 #FF9D54 primary", it should copy the colour and also show a toast notification.
Similar to: https://uicolors.app/create

I would like to work on this can u please assign this to me

Hello, I think when the user click on any color palette it should be copied.
@utk09-NCL I can do this please assign it to me and add the hactoberfest and gssoc-extd label

Hi @RNAdvani and @mohtasheem135
Thanks foe volunteering
For the time being, I see that both of you have something assigned, so going to leave this for now for the next person who wants to contribute (so that everyone gets at least one chance!).
But once your tasks are done, I can assign to whoever id free.
Thank you for understanding 😄

Sure @shauryakushwaha08

[ ] Please create a copyToClipboard function in utils folder and use that.
[ ] Also show a toast notification using react-hot-toast of what was copied. Eg: Copied #ff0000

I have reused the handleCopy function which was used in the ExportColorsModal.jsx file.
Should I make copyToClipboard function in utils folder and use that

Yes please! That ways it would be reusable.
Add the following prop: dataToCopy
dataToCopy: The actual data to copy, default ""


text:
Unable to select anything but ISO files for a removable drive

This issue was reported on Discord, when selecting a file from iCloud.
Part of the installed tweaks are Filza and iCleaner.
The issue persists in Safe Mode. Unc0ver v6.1.1.
Configuration

UTM Version: 2.0.24
OS Version: 14.3
Device Model: iPhone 12 Pro Max
Is it jailbroken (name jailbreak used)? Yes (unknown)
How did you install UTM?  Tried AltStore and Cydia

Upload VM
MS-DOS_Windows1.0 [Clone].utm.zip

This screenshot shows the issue. IMG files can't be selected.

I have the same problem, not only in 2.0.24, but also in 2.0.22

@ahTy A workaround that has been discovered is to copy the files to the “On My iPhone” part of Files. Then you will be able to select them in UTM.

@ahTy A workaround that has been discovered is to copy the files to the “On My iPhone” part of Files. Then you will be able to select them in UTM.

Thank you. I've uninstalled this junk UTM and don't want to install it any more

After my original issue was closed, I'm now responding to it here, even if a bit late: Unfortunately, the alternative UTM file didn't help either, the same problems still exist.

Duplicate of #519
The issue appears to be how AltStore/others re-sign without changing the provisioning profile's team id.

authors: EscolarProgramming ahTy conath osy

repo: utmapp/UTM


text:
ERROR: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2

Hello,
https://ftp.pcre.org is down, so "./scripts/build_dependencies.sh -p macos -a arm64" breaks off...

In the mean time, if you are okay with using pre-built dependencies, you can use the sysroot-macos-arm64 generated by GitHub Actions. https://github.com/utmapp/UTM/actions/runs/1430056582

According to https://pcre.org/:

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Maybe we need to wait for the next release of glib.
https://github.com/GNOME/glib/commit/e5dc299701df7189685d322cb709649ce3c9c81d#diff-bcf487a428afba1739e08e831ec3906c27fc16a195459d76bccd2083ce0c72f3

https://github.com/GNOME/glib/releases/tag/2.70.2

I've spent some time yesterday trying to fix the CI by upgrading some or all of the source dependencies. I learned quickly I am in way over my head and it didn't end up working. Maybe the patches need to be updated. See #3380 (update all) and #3381 (update glib)

https://github.com/Alex-Braine/qemu/tree/48310571a6ca7e1a50a3c0ca71923d35f1d8e560/scripts -> https://github.com/Alex-Braine/qemu/actions/runs/1603384020
Changes only in scripts/build_dependencies.sh and patches/sources.
I'll try to solve the python's "six" problem in order to update spice-gtk.

authors: Alex-Braine conath kkk669


text:
Multiple cursors on Windows VM when mouse is not captured

Describe the issue
When the mouse is not captured, multiple cursors are displayed. For one, the MacOS native cursor (not visible in screenshot), under it the current Windows cursor and the last displayed windows cursor. As soon as mouse capture is enabled, only the correct Windows cursor gets displayed.
I'm using ANGLE (Metal) and virtio-gp-gl-pci. This issue seems to be new since 4.1.15, did not see that before.
Configuration

UTM Version: 4.1.15
macOS Version: 13.1
Mac Chip: M1 Pro

I think it’s the same issue as #4683 and is caused by the windows virtio driver not properly sending the signal to hide the cursor.

Strange I never encountered this on 4.0.9. Maybe just a coincidence.

Found the issue. It is in the viogpu driver: https://github.com/utmapp/virtio-gpu-wddm-dod/blob/main/viogpudo/viogpudo.cpp#L430
When Windows tries to set the cursor to not be visible, the driver code ignores it. We need to modify the driver to pass the info to virtio-gpu and QEMU to properly handle it.

Read above: https://github.com/utmapp/UTM/issues/4896#issuecomment-1477305628
The issue has been fixed. Just haven't had time to find a way to sign the drivers for distribution. I was hoping to get some other driver fixes in first before going through the trouble of signing.

The guest tools has been updated. If you're on the latest UTM, you can re-download the latest with the CD icon -> Install Windows Guest Tools. Otherwise you can download it directly https://github.com/utmapp/UTM/releases/download/v4.4.4/utm-guest-tools-0.229.iso

authors: LostInCompilation osy


text:
Adding a site using uterraces comment

I added my site for SITE.md file. When you have a plan to add Localization feature, please let me know. I want to be a participant as a Korean localization person.

Thanks for the PR! We've simplified the process of adding your site/repo to the list. Instead of updating SITES.md you would add the utterances topic to your repo.

authors: Xeppetto jdanyow

repo: utterance/utterances


text:
ls: Show columns correctly padded according to the largest file and the largest symlink count

This commit computes the largest values of symlink_count and file_size before printing such that it can pad these columns if needed.
The functionality copies ls -l, which also pads (ls (GNU coreutils) 8.21)
Before:
drwxr-xr-x 125 kefin kefin      4096 .fingerprint
-rw-r--r-- 1 kefin kefin         0 .cargo-lock
drwxr-xr-x 2 kefin kefin      4096 examples
drwxr-xr-x 2 kefin kefin     12288 deps
drwxr-xr-x 7 kefin kefin      4096 build
-rwxr-xr-x 1 kefin kefin  38444424 uutils
drwxr-xr-x 2 kefin kefin      4096 native

After:
drwxr-xr-x 125 kefin kefin     4096 .fingerprint
-rw-r--r--   1 kefin kefin        0 .cargo-lock
drwxr-xr-x   2 kefin kefin     4096 examples
drwxr-xr-x   2 kefin kefin    12288 deps
drwxr-xr-x   7 kefin kefin     4096 build
-rwxr-xr-x   1 kefin kefin 38489400 uutils
drwxr-xr-x   2 kefin kefin     4096 native

Thanks!

authors: BourgondAries mpkh

repo: uutils/coreutils


text:
Update project readme and Wiki with the description of input/output data format

Data formats are not documented which makes the library hard to use

README.md is also out of date and lists only old way to use filters using pipelines.


text:
Add 4.2-released and nightly, remove beta

What does this PR change?
Add 4.2-released and nightly, remove beta
Can't test locally: terraform on Leap 15.3 is already too news:
Error: Unsupported Terraform Core version

  on backend_modules/aws/network/versions.tf line 2, in terraform:
   2:   required_version = "~> 0.12.9"

Module
module.cucumber_testsuite.module.base.module.base_backend.module.network (from
../network) does not support Terraform version 0.13.4. To proceed, either
choose another supported Terraform version or update this version constraint.
Version constraints are normally set for good reason, so updating the
constraint may lead to other errors or unexpected behavior.

And the Jenkins job does not work with when changing the default repo anymore: https://ci.suse.de/view/Manager/view/Manager-4.2/job/manager-4.2-dev-acceptance-tests-PRV/4/console
Even if I roll back to an old commit: https://ci.suse.de/view/Manager/view/Manager-4.2/job/manager-4.2-dev-acceptance-tests-PRV/8/console
Not sure if some of the latest changes to the pipelines and terracumber arguments (https://gitlab.suse.de/juliogonzalezgil/terracumber/-/commits/master/) can be causing this (@jordimassaguerpla @srbarrios) (BTW, we should really refactor terracumber-cliitself and create unit tests, as I did for the module)
So I suggest we merge, and launch the testsuite.

Can't test locally: terraform on Leap 15.3 is already too news

Side note: we build and maintain the terraform version for sumaform at https://build.opensuse.org/project/show/systemsmanagement:sumaform - would it be possible for you to stick to that one?

Can't test locally: terraform on Leap 15.3 is already too news

Side note: we build and maintain the terraform version for sumaform at https://build.opensuse.org/project/show/systemsmanagement:sumaform - would it be possible for you to stick to that one?

Actually I had the same issue yesterday, as you can see in our galaxy-qa channel, using Tumbleweed, and only using the rpm from the repository Silvio mentioned it works. Using the same version but through tfswitch it failed not recognising libvirt provider.

Side note: we build and maintain the terraform version for sumaform at https://build.opensuse.org/project/show/systemsmanagement:sumaform - would it be possible for you to stick to that one?

I will try later. Terraform comes from Leap itself, so I will need to change the provider, etc. But for now, we need the 4.2 environment running so I can unlock both master and announce Manager-4.2

Hi @juliogonzalez . I can't tell if all these changes are ok by just looking at them ... I would say, let's give it a try and see, so +1 to merge.

authors: jordimassaguerpla juliogonzalez moio srbarrios

repo: uyuni-project/sumaform


text:
🛑 Third Party is down

In df3f3ff, Third Party ($THIRD_PARTY_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Third Party is back up in a0fe27c after 14 minutes.


text:
feature - openstack-helm-up - using sigil env var

In the openstack-helm-up.sh, there is an export of Sigil but the var is not used.
Expected: when executing curl use the var to version the pulled version of sigil
Actual: the sigil var is not used.

@gardlt: i'm not sure this is really needed since it's on the POR to remove the sigil requirement all together for OSH. i made a comment here, and still really applies; I'd rather remove it all together if that works for you?
https://github.com/v1k0d3n/bootkube-ci/blob/master/deploy-addons/openstack-helm-up.sh#L29

no response to question, so closing issue.


text:
vmess + websocket + tls 的情况下可以不加密了吧？

tls 本身就加密了。
vmess 的加密可以设置为 none 了吧？

可以

authors: Cwek choicky


text:
WebSocket+TLS+Web配置报400 Bad Request

v2ray版本：V2Ray 4.18.0 (Po) 20190228

场景：chrome访问google首页

不正常的现象：

chrome无法访问google首页
客户端报错
服务端报错

你期待看到的正确表现是怎样的？
可以正常打开google的首页

配置
服务器端配置:

      {
 "log": {
	"access": "/var/run/v2ray/access.log",
	"error": "/var/run/v2ray/error.log",
	"loglevel": "debug"
    },
  "inbounds": [
    {
      "port": 10000,
      "listen":"127.0.0.1",
      "protocol": "vmess",
      "settings": {
        "clients": [
        {
            "id": "uuid",
            "alterId": 64
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
	"path": "/ray"
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

客户端配置:
    {
  "inbounds": [
    {
      "port": 1080,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "sniffing": {
        "enabled": true,
        "destOverride": ["http", "tls"]
      },
      "settings": {
        "auth": "noauth",
        "udp": false
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "xxx.com",
            "port": 443,
            "users": [
              {
                "id": "uuid",
                "alterId": 64
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
	"wsSettings": {
          "path": "/ray"
        }
      }
    }
  ]
}

错误日志

服务器端错误日志:
    [Warning] v2ray.com/core/transport/internet/websocket: failed to serve http for WebSocket > accept tcp 127.0.0.1:10000: use of closed network connection

客户端错误日志:
    [Warning] [770114581] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dial WebSocket > v2ray.com/core/transport/internet/websocket: failed to dial to (wss://xxx.com/ray): 400 Bad Request: too many Host headers > websocket: bad handshake] > v2ray.com/core/common/retry: all retry attempts failed

访问日志
日志为空

nginx

配置      cat /etc/nginx/nginx.conf

       user nginx;
       worker_processes auto;
       error_log /var/log/nginx/error.log;
       pid /run/nginx.pid;

       include /usr/share/nginx/modules/*.conf;

       events {
           worker_connections 1024;
       }

       http {
           log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                             '$status $body_bytes_sent "$http_referer" '
                             '"$http_user_agent" "$http_x_forwarded_for"';

           access_log  /var/log/nginx/access.log  main;

           sendfile            on;
           tcp_nopush          on;
           tcp_nodelay         on;
           keepalive_timeout   65;
           types_hash_max_size 2048;

           include             /etc/nginx/mime.types;
           default_type        application/octet-stream;

           include /etc/nginx/conf.d/*.conf;

               server {
                   listen       80 default_server;
                   listen       [::]:80 default_server;
                   server_name  _;
                   root         /usr/share/nginx/html;

                  include /etc/nginx/default.d/*.conf;

                   location / {
                   }

                   error_page 404 /404.html;
                       location = /40x.html {
                   }

                   error_page 500 502 503 504 /50x.html;
                       location = /50x.html {
                   }
               }

           server {
             listen  443 ssl;
             ssl on;
             ssl_certificate       /etc/v2ray/v2ray.crt;
             ssl_certificate_key   /etc/v2ray/v2ray.key;
             ssl_protocols         TLSv1 TLSv1.1 TLSv1.2;
             ssl_ciphers           HIGH:!aNULL:!MD5;
             server_name           xxx.com;
                   location /ray {
                   proxy_redirect off;
                   proxy_pass http://127.0.0.1:10000;

                   proxy_http_version 1.1;
                   proxy_set_header Upgrade $http_upgrade;
                   proxy_set_header Connection "upgrade";
                   proxy_set_header Host $http_host;

                   proxy_set_header X-Real-IP $remote_addr;
                   proxy_set_header Host $host;
                   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                   }
           }
           }

access.log  - - [05/Mar/2019:10:10:48 +0000] "GET /ray HTTP/1.1" 400 49 "-" "Go-http-client/1.1" "-"
  - - [05/Mar/2019:10:10:48 +0000] "GET /ray HTTP/1.1" 499 0 "-" "Go-http-client/1.1" "-"

error.log

   [error] 32491#0: *29 connect() failed (111: Connection refused) while connecting to upstream,                   client: x.x.x.x, server: xxx.com, request: "GET /ray/ HTTP/1.1", upstream:          "http://127.0.0.1:10000/ray/", host: "xxx.com"

V2Ray 启动正常

V2Ray 服务运行正常

补充说明：
1. 根据白话文教程中的 WebSocket+TLS+Web来配置的
2. 在使用该配置之前，单独配置vmess已经成功，单独配置ws也成功了，单独配置tls也成功了，唯独使用tls+ws+web的时候失败了
3. nginx的安装是使用yum直接安装的，没有创建虚拟主机，不知道影响不？

proxy_set_header Host $http_host;
proxy_set_header Host $host;
這兩個重複了，刪除一個即可正常

服务端的配置不对吧，in和out写反了吧，端口也不对。

服务端的配置不对吧，in和out写反了吧，端口也不对。

不好意思，贴错了配置了，把客户端的贴上去了，现在已经更新了。现在好了，就是 和@hsly109说的一样，删掉一个就正常了，谢谢你

proxy_set_header Host $http_host;
proxy_set_header Host $host;
這兩個重複了，刪除一個即可正常

非常感谢，这回正常了，不过这个配置不是我添加的，是安装好nginx后，配置文件默认就是这样，不知道nginx的默认配置会这样写

你是如何安装的，为什么会默认有proxy

你是如何安装的，为什么会默认有proxy

yum安装： yum -y install nginx
参看了这篇文章：nginx服务器详细安装过程（使用yum 和 源码包两种安装方式，并说明其区别）

我看了下，原因来自白话文教程的nginx配置

感谢，同样是被教程的配置坑了，修改后成功

proxy_set_header Host $http_host;
proxy_set_header Host $host;
這兩個重複了，刪除一個即可正常

实在是太感谢了，注释一个就正常了，自己摸索了一个礼拜都不成功。

靠，这个文档WebSocket+TLS+Web 真的被它害死了，我说怎么一直报400的，关键我开始还可以，后来重启了还不可以，我还纳闷为什么，我说我没改配置呀。。。这文章随写的？可不可以改改呀，坑死人呀！

靠，这个文档WebSocket+TLS+Web 真的被它害死了，我说怎么一直报400的，关键我开始还可以，后来重启了才不可以，我还纳闷为什么，我说我没改配置呀。。。这文章随写的？可不可以改改呀，坑死人呀！

@xiebruce Good catch!

顺带分享下我的服务器端成功搭建配置 (config.json):
{
  "log": {
    "access": "/var/log/v2ray/access.log",
    "error": "/var/log/v2ray/error.log",
    "loglevel": "info"
  },
  "inbounds": [
    {
      "port": 10000,
      "listen":"127.0.0.1",
      "protocol": "vmess",
      "settings": {
        "clients": [
          {
            "id": "<UUID>",
            "alterId": 64,
            "security": "aes-128-gcm",
            "level": 0
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "wsSettings": {
          "path": "/websocket/"
        }
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

我也遇到这个问题了，服务除了 nginx有请求记录，服务器的v2ray没有任何记录。
nginx的access.log一直在报错提示400，请问楼主现在解决了吗

靠，这个文档WebSocket+TLS+Web 真的被它害死了，我说怎么一直报400的，关键我开始还可以，后来重启了才不可以，我还纳闷为什么，我说我没改配置呀。。。这文章随写的？可不可以改改呀，坑死人呀！

and hasn't been fixed yet :P

靠，这个文档WebSocket+TLS+Web 真的被它害死了，我说怎么一直报400的，关键我开始还可以，后来重启了才不可以，我还纳闷为什么，我说我没改配置呀。。。这文章随写的？可不可以改改呀，坑死人呀！

然后我也被坑了

authors: Sakakibara-Hu fbens flukaxkx guanbear hsly109 jellycsc kslr litanid madobet xiebruce xorxorxorxor


text:
Provide more details in app shell configurator error message

Description of the bug / feature
Improve the exception message being shows to developers when the app shell annotations are not on top AppShellConfigurator class:
Found app shell configuration annotations in non `AppShellConfigurator` classes.
Please create a custom class implementing `AppShellConfigurator` and move the following annotations to it: ...

Give the name of annotation to move to AppShellConfigurator and the class where it placed now, e.g.:
Annotation @Foo which was encountered on class Bar is only valid on a class implementing AppShellConfigurator.
If the project already contains an AppShellConfigurator class, then give the clear instruction, like:
Please move @Foo to the class Baz which already implements AppShellConfigurator.
If there isn't any AppShellConfigurator, then the suggestion could instead be
Please make Bar implement AppShellConfigurator.

Minimal reproducible example
N/A
Expected behavior
The annotation name, current owner class and target class should be given in the message.
Actual behavior
Not clear enough where to look at.
Versions:
- Vaadin / Flow version: V14+

Hi,
i fixed this by adding this class
@Theme("hilla-demo")
public class AppShell implements AppShellConfigurator {
}
and removing @Theme from main application.
After adding this class, issue gone and i'm able to run the app.

authors: mshabarov salgotraja

repo: vaadin/hilla


text:
Add Quatf::setRPY(f32, f32, f32) helper function

Add a setRPY function which takes in floats instead of a vector. This is useful when we end up constructing temporary Vector3f objects solely so that we can call into setRPY. Audit all existing uses of setRPY to eliminate temporary construction of vectors.

/// @brief Helper function to avoid unnecessary Vector3f construction.
void Quatf::setRPY(f32 r, f32 p, f32 y) {
    const f32 cy = Mathf::cos(y * 0.5f);
    const f32 cp = Mathf::cos(p * 0.5f);
    const f32 cr = Mathf::cos(r * 0.5f);
    const f32 sy = Mathf::sin(y * 0.5f);
    const f32 sp = Mathf::sin(p * 0.5f);
    const f32 sr = Mathf::sin(r * 0.5f);

    w = cy * cp * cr + sy * sp * sr;
    v.x = cy * cp * sr - sy * sp * cr;
    v.y = cy * sp * cr + sy * cp * sr;
    v.z = sy * cp * cr - cy * sp * sr;
}

One defaults to the other in EGG. I'm not sure which is which.
Vectors should decay into floats in this case.

authors: malleoz vabold

repo: vabold/Kinoko


text:
Add full support for data breakpoints

RFC - Opening this to see if you're interested in the contribution. I'm working on implementing data breakpoints in vimspector, and as always it's much easier to hack codelldb than anything else, so I implemented the extra features from DAP spec. Only lightly tested at this point.

Currently, we only provode support for data breakpoints where the request is for a child of some container using variables_reference. However, the spec includes support for:

an arbitrary expression, and
an arbitrary address, and
an optional size in bytes.

The later two are supported via a capability
"supportsDataBreakpointBytes". We add support for all of these options.
It's fairly trivial to evaluate an expression and do esentially what we do now for children (find the load address, check its size). But we can also accept a size, so long as it's valid watchpoint size. Similarly for addresses, if 'asAddress' is supplied we can just try to use it. It will probably fail if the address is actually invalid, but that's sort of the point.

Would be great to have that.  These extra options were added after I implemented data breakpoints.

Spent a bunch more time testing this and good news/bad news.
Good news: All the hackery that I added for calculating which watchpoints to actually add is completely unnecessary. LLDB is supposed to do that all by itself.
Bad news is that this clearly doesn't actually work in some versions on LLDB (at least on my platform, Mac arm64).
LLDB master works fine, but the bundled LLDB 19.1.0-custom seems to fail when watched sizes are > about 24 bytes.
Looks like this might have been added in 147d7a64f8493e78669581097a3ff06c985aa3a1.
Either way, I'm thinking to remove all of the complexity from CodeLLDB and whenever it starts working in libLLDB, then we'll just start reaping the benefits, rather than implementing a half-baked version of the above PR here.

Pushed the simplified version of the change. The second commit message covers the situation:

Current released versions of lldb have seeming partial support for
"large" watchpoints. That is they break a user requested watchpoint and
size into specific minimal set of working hardware watchpoints supported
by the target.

Full support for this is in progress in master and works well, allowing
to watch any address that's part of some larger structure. In any case,
CodeLLDB rejecting a watch due to its size is swimming against the tide
and by removing the size restriction we can take advantage of whatever
support LLDB adds in the future versions without code changes.

The drawback is that we get a slightly less precise error
"Setting one of the watchpoint resources failed" in the case where the
size is not currently supported.

Let me know what you think.

Looking...    How does one enter an expression whose result to watch in VSCode?

authors: puremourning vadimcn

repo: vadimcn/codelldb


text:
Crystals and Runes second step should be detection task not a crafting one

It is the step to create the seasonal runes (Summer, Autumn, Winter, and Spring)

should be fixed with 1.9.2

repo: vagaprime/MageTech-Gate


text:
Can we display the result after each calculation is Performed?

@Brockxy
As per requirement, we need to display the result. Can we make some changes to display result as output after each calculation?

Yup. I will update.

Updated and kindly test once you get the latest version 1.0.6

issue is resolved

authors: Brockxy Ulhasguttikar


text:
Please Add License file

Maybe add LICENSE file + MIT text license?
    Copyright (c)  valgusk
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
    of the Software, and to permit persons to whom the Software is furnished to do
    so, subject to the following conditions:
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.

I would like to use this code, perhaps improve it, but I can't because you didn't specify your license. If you don't mind, can you add the license explicitly? :)

Sorry no have time for wait. I self implement it in luajit

repo: valgusk/windesktop


text:
Flaky tests: TestLibp2pConnectionRelayNodeRestart

CI run: https://github.com/valory-xyz/open-aea/actions/runs/3265540884/jobs/5368044284
FAILED tests/test_p2p_libp2p/test_fault_tolerance.py::TestLibp2pConnectionRelayNodeRestart::test_envelope_routed_from_peer_after_relay_restart
ERROR tests/test_p2p_libp2p/test_fault_tolerance.py::TestLibp2pConnectionRelayNodeRestart::test_connection_is_established

failure.log

have not seen this re-occur in some time now. Lets keep it open for now until we evaluate outstanding issue at some point in the near future; this may comment may facilitate the decision-making process then.

This is effectively a TimeoutError. We call queue.Queue.get() here and the timeout is used is 10s so that is unlike to be the issue.
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/helpers/async_friendly_queue.py#L61-L71
Hence we may look at the Multiplexer.put method invoke prior to it
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/multiplexer.py#L846-L855
which delegates to the AsyncMultiplexer.put method using the ThreadedAsyncRunner to make a thread safe call to the builtint Queue.put_nowait.
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/multiplexer.py#L723-L735
Noticeably a timeout for the return value of the future's result has been outcommented here in a piece of code last edited by @solarw 3 years ago, in a commit for which there is not previous version to be found via git blame. I don't think this is needed and the outcommented piece of code may in that case be deleted.
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/multiplexer.py#L855
In summary: I don't think there is an issue with .put and .get methods. We start the test, status is_connected, we attempt to send the message via put (queue empty) with the Threadrunner we call Queue.put -> put_nowait(). And basically get it's the same story... get with block and timeout --> .. --> .. --> Queue.get with block and timeout.
I suggest we ask @solarw to have a look at this, as he is better acquainted with the code and concurrent programming in general.
Tiny insignificant detail I'll leave here as well, annotation here should be Coroutine instead of Awaitable
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/helpers/async_utils.py#L258
https://github.com/valory-xyz/open-aea/blob/bbd8fc00e1c5ffe5c1147c2d3e342a3ecf7645cf/aea/helpers/async_utils.py#L328
failure.log

on closer inspection I think this may be an issue residing on the ACN Golang-side
 14:04:44.896 ERR ../../../tmpgpv2kzbq/aea/api.go:392 > while processing envelope err="Sender (0x4B5A76CD59022Ed8518d5433F1c1aBE07e91Af55) must match registered address" package=AeaApi

tried to reproduce, no success

Cannot reproduce

authors: Karrenbelt angrybayblade solarw

repo: valory-xyz/open-aea


text:
Refactor/test tools docker image

Proposed changes
small refactors that are needed for test coverage, but that are themselves not tests and hence contained in this separate PR
Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report
Base: 93.42% // Head: 93.46% // Increases project coverage by +0.04% :tada:

Coverage data is based on head (562f59e) compared to base (b785f34).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                   Coverage Diff                   @@
##           fix/make_generators     #377      +/-   ##
=======================================================
+ Coverage                93.42%   93.46%   +0.04%
=======================================================
  Files                      204      204
  Lines                    18670    18662       -8
=======================================================
  Hits                     17443    17443
+ Misses                    1227     1219       -8

Flag
Coverage Δ

unittests
93.46% <100.00%> (+0.04%)
:arrow_up:

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

Impacted Files
Coverage Δ

aea/test_tools/docker_image.py
88.52% <100.00%> (+10.26%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: Karrenbelt codecov-commenter


text:
Update sbt-scoverage to 2.0.3

Updates org.scoverage:sbt-scoverage from 1.9.3 to 2.0.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #491.

repo: valskalla/odin


text:
BUG: Edge-case: starting with downstream file

Describe the bug
starting a workflow without fastqs, but with downstream files still causes the FileLock(layout_cachefile_lock) to complain.
Adding the fastq files and rerunning shows they are not needed in the DAG.
To Reproduce
files can be found in the dag_test branch.
This should work:
touch Jenkins/dag_fastqs/S1_1_R1.fastq.gz
touch Jenkins/dag_fastqs/S1_1_R2.fastq.gz
touch Jenkins_results/dedup/assembly2-S1_2.samtools-coordinate.bam

# adding these makes it work:
#touch Jenkins/dag_fastqs/S1_2_R1.fastq.gz
#touch Jenkins/dag_fastqs/S1_2_R2.fastq.gz

snakemake -n -j 10 --quiet -s workflows/alignment/Snakefile --directory workflows/alignment --configfile Jenkins/alignment/default_config.yaml --config samples=../../Jenkins/alignment/assemblies.tsv

Expected behavior
Ignore the samples if the downstream files are present

What do you mean with that the filelock complains? When I run it we get an error that the fastq files can not be found locally, so we can not infer paired-end or single-end. Is that what you mean?

Indeed. The layout is not important when starting from a bam file or counts table. So it would be nice if it would be omitted then. No idea how feasible that is however...

I am hoping this would never occur. Layout is still used for some quality metrics, and I think also some tracks in the trackhub. You'd have to parse it from the bam. You can check if the first N lines contain any paired-end flags. However that means another dependency in the "base" environment.

Then I suggest we make note in the docs that you need to touch the files in this edge-case, and leave it at that.

I highly doubt anyone ever using the pipeline like that + our current implementation will break on many places. I think mentioning this in the docs explicitly is just confusing. If someone already aligned they should just convert back to fastq and start from there. My 2c

authors: Maarten-vd-Sande siebrenf

repo: vanheeringen-lab/snakemake-workflows


text:
ditch skypack for jspm or deno.land/x (and stupid ddos restrictions)

removing pika.dev (now skypack) so instantly without notice was irresponsible behavior, and now access to this package is restricted to 1 million hits per month per domain, so nobody popular can use our package

ditched for unpkg

repo: vanillawc/wc-code


text:
Chaotic Feat:  Scroll bar of your website is not looking good and not suiting on your website.

Describe your chaotic idea
Chaotic Feat:  Scroll bar of your website is not looking good and not suiting on your website.
Add Screenshots or Sketches

https://github.com/user-attachments/assets/13942714-80d5-4269-8884-6c83b4f45566
Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor

pls Assign this task to me , i will add the scroll bar which have better ui and better experience

You will do this in the React website right?

Yes if you say ,i can do it

@vansh-codes yes but assign this issue to me with gssoc extended and hactoberfest labels and also add level in it.

bro i have created this issue so this issue should assigned to me

Yes Vinay it will be assigned to you! Will you do this task in React? @VinayLodhi1712

@vansh-codes yes sir! plz assign with labels and levels.

repo: vansh-codes/ChaosWeb


text:
🛑 Metro MD is down

In 9726afb, Metro MD (https://metro.zakaz.md) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Metro MD is back up in ad40255 after 7 minutes.

repo: vanyakosmos/zakaz-uptime


text:
Implement a background video feature

Implement a background video feature

To ensure this feature gets triaged / prioritized quickly, please...

describe what you'd like to be able to do that you currently can't
feel free to include one (or more) solutions as a suggestion

Sorry, it's not clear what you're asking here. It also may not belong in Kobweb. This sounds like the sort of feature that should be in a different library or implemented per project.

Ohh sorry I meant to implement a background video feature like that of a
background image. Like with HTML and CSS it is possible to put a video as
background of a container
On Sun, Mar 31, 2024, 3:34 AM David Herman @.***> wrote:

Sorry, it's not clear what you're asking here. It also may not belong in
Kobweb. This sounds like the sort of feature that should be in a different
library or implemented per project.
—
Reply to this email directly, view it on GitHub
https://github.com/varabyte/kobweb/issues/490#issuecomment-2028533132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5RFHRCZ7IQUNZ5KYFILOW3Y25YZRAVCNFSM6AAAAABFP46QYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGUZTGMJTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: StrangeMcCarthy bitspittle

repo: varabyte/kobweb


text:
maxlength is invalid in input with number type

Bug report 🐞
input组件的maxlength属性，默认的text类型时，可以正常使用。但是number类型时，maxlength没有效果。
Demo
Version & Environment
Expectation
Actual results (or Errors)

done

repo: varletjs/varlet


text:
Feature Request: Flag to work with yarn workspace

I am trying to use this with firebase-tools in a yarn monorepo.
To solve the issue where firebase assumes I have @org/common pointing directly to the workspace files:../common.
$ yarn generate-lockfile --package ./package.json --lockfile ../../yarn.lock
Error: Error: Could not find: @org/common@file:../common
✨  Done in 0.22s.

The issue seems to be around symlink packages.

@expelledboy I see the issue.
Currently the cli is attempting to resolve all dependencies in the package.json from the provided yarn.lock file. However as this is using yarn workspaces there is no entry and it is only sym linked.
If I add an option or flag would the expected behaviour be to ignore any workspace items? This would remove the locking for that particular package.

So I have run some tests. Indeed the workspace is not locked in top level yarn.lock. If we assume this monorepo behavior I would have said yes.
However what we are trying to achieve is generating a lock file as if not in a workspace, so are file://... entries are locked ordinarily? Upon a quick test
/tmp ⌚ 11:46:07
$ mkdir -p /tmp/pkg; cd $_
Found existing alias for "mkdir -p". You should use: "md"

/tmp/pkg ⌚ 11:46:23
$ yarn add file://$HOME/repos/betaplum/che-cha/packages/types
yarn add v1.22.5
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "file:///Users/anthony/repos/betaplum/che-cha/packages/types > @firebase/firestore-types@2.1.0" has unmet peer dependency "@firebase/app-types@0.x".
[4/4] 🔨  Building fresh packages...

success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
└─ @che-cha/types@1.0.0
info All dependencies
├─ @che-cha/types@1.0.0
└─ @firebase/firestore-types@2.1.0
✨  Done in 2.37s.

/tmp/pkg ⌚ 11:46:26
$ cat yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

"@che-cha/types@file:///Users/anthony/repos/betaplum/che-cha/packages/types":
  version "1.0.0"
  dependencies:
    "@firebase/firestore-types" "^2.1.0"

"@firebase/firestore-types@^2.1.0":
  version "2.1.0"
  resolved "https://registry.yarnpkg.com/@firebase/firestore-types/-/firestore-types-2.1.0.tgz#ad406c6fd7f0eae7ea52979f712daa0166aef665"
  integrity sha512-jietErBWihMvJkqqEquQy5GgoEwzHnMXXC/TsVoe9FPysXm1/AeJS12taS7ZYvenAtyvL/AEJyKrRKRh4adcJQ==

Looks like there are. So you would need to inspect the version pointed to by the file://..?

@expelledboy I don't think pointing to a local file is the normal use case here. I will see what I can pull together in a sample repo that may work for this, but there are a few edge cases I am worried about. For example:
Do we want to resolve to the version at install time or the version that is in the repo when we run our tests / build each time? Or do we expect some other behaviour?

Well as we dont actually have the ability to "use" a locked version I would say when you run generate-lockfile. Also I am not sure what you mean by install vs tests/build?

@eric-burel I'm currently using this in a mono repo. That said each item is bundled / packaged locally into a single file using rollup. This package is to create a lock file for external dependencies.
That said if you wanted to "lock" in a local package you need to either publish it and install it locally or zip your local version and install using a file path to the zip.
Is the use case here to lock in the dependencies in the local package?

This package is to create a lock file for external dependencies.

Glad that you still use it then!
My use case is as follow: my monorepo contains reusable NPM packages, no problem with that. But it also contains a Remix app and a Next app, that I publish in a separate read-only repo using git subtree.
The corresponding folders in my monorepo must not have a yarn.lock, because otherwise Yarn treats them as independent project and won't be able to use my local reusable packages.
But I need to publish a yarn.lock in the subtree version, so that when people download those apps they have the same version as I do in the monorepo.
So my idea is to generate yarn.remix.lock for instance just for the Remix app, and store it in the folder. Then I can add a presinstall script or whatever that renames it yarn.lock when people actually use this app.

This package is to create a lock file for external dependencies.

Glad that you still use it then! My use case is as follow: my monorepo contains reusable NPM packages, no problem with that. But it also contains a Remix app and a Next app, that I publish in a separate read-only repo using git subtree. The corresponding folders in my monorepo must not have a yarn.lock, because otherwise Yarn treats them as independent project and won't be able to use my local reusable packages. But I need to publish a yarn.lock in the subtree version, so that when people download those apps they have the same version as I do in the monorepo.
So my idea is to generate yarn.remix.lock for instance just for the Remix app, and store it in the folder. Then I can add a presinstall script or whatever that renames it yarn.lock when people actually use this app.

@eric-burel You should be able to do this with the --write flag

Hi,
I am htting an error:
yarn generate-lockfile --lockfile ./yarn.lock --package ./starters/remix/ --write --dev
Error: SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile

You can reproduce by running this command in this repo: https://github.com/VulcanJS/vulcan-npm (after a yarn install).
It seems related to the yarn.lock not being readable, at least the first few lines:
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!

__metadata:
  version: 6
  cacheKey: 8

"@actions/core@npm:^1.5.0":

I am using Yarn 3 so maybe the structure changed over time

Hi,
I am htting an error:
yarn generate-lockfile --lockfile ./yarn.lock --package ./starters/remix/ --write --dev
Error: SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile

You can reproduce by running this command in this repo: https://github.com/VulcanJS/vulcan-npm (after a yarn install).
It seems related to the yarn.lock not being readable, at least the first few lines:
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!

__metadata:
  version: 6
  cacheKey: 8

"@actions/core@npm:^1.5.0":

I am using Yarn 3 so maybe the structure changed over time

@eric-burel  I took a small look at support v3 but I was unable to get it fully working in the limited time I had. If you want to take a look / contribute to the WIP branch go for it -> https://github.com/varsis/generate-lockfile/pull/9/files
It's currently able to resolve the majority of the dependencies but I am still missing a few of them from the lockfile. Maybe they can be ignored?
For the future of this project / idea I think it would be better suited as a yarn plugin (https://yarnpkg.com/features/plugins)

authors: ajainvivek eric-burel expelledboy varsis

repo: varsis/generate-lockfile


text:
支持下Azure版本的openai？

Describe the feature
如题
Additional context
No response
Participation

[ ] I am willing to submit a pull request for this feature.

azure 可以用oneapi中转下

authors: imzrme vastxie

repo: vastxie/Happy-ChatGPT


text:
JNI exception should be checked

https://github.com/vaticle/typedb-driver/blob/622c5de6da16609ee1be61fe88781df4efdb34c9/c/swig/typedb_driver_java.swg#L73

This is done, but it can't be checked in iterators and promises. Completed in #497

authors: dmitrii-ubskii flyingsilverfin

repo: vaticle/typedb-driver


text:
Expose the adapters

Rationale: I use a library that serializes objects to Json using Gson without exposing a GsonBuilder to me for configuration (https://github.com/karsaig/approvalcrest). Instead, it accepts a configuration object.
I wish to use vavr types with this library, so I must provide type adapters. The type adapters are not exported from this library, so I can't use them as-is.
This PR addresses the issue by exposing 2 maps typeAdapters() and typeHierarchyAdapters() for general access to type adapters in this module without requiring a GsonBuilder. Internally, these maps are also used for registering type adapters with a GsonBuilder, in order to avoid code duplication.

Codecov Report

Merging #6 into master will increase coverage by 0.08%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master       #6      +/-   ##
============================================
+ Coverage     99.44%   99.52%   +0.08%
- Complexity       85      101      +16
============================================
  Files             9        9
  Lines           179      210      +31
  Branches          8        8
============================================
+ Hits            178      209      +31
  Misses            1        1

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/io/vavr/gson/VavrGson.java
99.08% <100%> (+0.36%)
49 <48> (+16)
:arrow_up:

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 00c5517...d0fd135. Read the comment docs.

authors: MFAshby codecov-io

repo: vavr-io/vavr-gson


text:
fast-glob package can't find

vite-plugin-svg-icons version 2.0.1
cannot find module fast-glob
vite启动时 报错，看了源码 没有安装这个包
麻烦快点修复一下

同

npm install fast-glob -D临时解决

repo: vbenjs/vite-plugin-svg-icons


text:
Provisioning failed TASK [Install Composer libraries]

Operating System: 10.12.3
Vagrant Version: 1.9.2
Virtual Box Version: 5.1.16-113841
I created the new project with vccw-team/scaffold-vccw.
% wp scaffold vccw vccw-xdebug.dev --lang=ja --host=vccw-xdebug.dev

Sources:

DriftwoodJP/sandbox-vccw

Faild error:
TASK [Install Composer libraries] **********************************************
changed: [vccw-xdebug.dev] => (item=hirak/prestissimo:*)
failed: [vccw-xdebug.dev] (item=phpunit/phpunit:*) => {"failed": true, "item": "phpunit/phpunit:*", "msg": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)", "stdout": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug\n./composer.json has been updated\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\n", "stdout_lines": ["You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug", "./composer.json has been updated", "Loading composer repositories with package information", "Updating dependencies (including require-dev)"]}
failed: [vccw-xdebug.dev] (item=squizlabs/php_codesniffer:*) => {"failed": true, "item": "squizlabs/php_codesniffer:*", "msg": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) - Installing sebastian/version (2.0.1) Loading from cache Installation failed, reverting ./composer.json to its original content. The following exception is caused by a lack of memory or swap, or not having swap configured Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details PHP Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957 PHP Stack trace: PHP 1. {main}() /usr/local/bin/composer:0 PHP 2. require() /usr/local/bin/composer:24 PHP 3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43 PHP 4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104 PHP 5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130 PHP 6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651 PHP 7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718 PHP 8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757 PHP 9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957 [ErrorException] proc_open(): fork failed - Cannot allocate memory require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...", "stdout": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug\n./composer.json has been updated\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\n  - Installing sebastian/version (2.0.1)\n    Loading from cache\n\nInstallation failed, reverting ./composer.json to its original content.\nThe following exception is caused by a lack of memory or swap, or not having swap configured\nCheck https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details\n\nPHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957\nPHP Stack trace:\nPHP   1. {main}() /usr/local/bin/composer:0\nPHP   2. require() /usr/local/bin/composer:24\nPHP   3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43\nPHP   4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104\nPHP   5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130\nPHP   6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651\nPHP   7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718\nPHP   8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757\nPHP   9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957\n                                                     \n  [ErrorException]                                   \n  proc_open(): fork failed - Cannot allocate memory  \n                                                     \n\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...\n\n", "stdout_lines": ["You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug", "./composer.json has been updated", "Loading composer repositories with package information", "Updating dependencies (including require-dev)", "  - Installing sebastian/version (2.0.1)", "    Loading from cache", "", "Installation failed, reverting ./composer.json to its original content.", "The following exception is caused by a lack of memory or swap, or not having swap configured", "Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details", "", "PHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957", "PHP Stack trace:", "PHP   1. {main}() /usr/local/bin/composer:0", "PHP   2. require() /usr/local/bin/composer:24", "PHP   3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43", "PHP   4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104", "PHP   5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130", "PHP   6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651", "PHP   7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718", "PHP   8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757", "PHP   9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957", "                                                     ", "  [ErrorException]                                   ", "  proc_open(): fork failed - Cannot allocate memory  ", "                                                     ", "", "require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...", ""]}
...ignoring
failed: [vccw-xdebug.dev] (item=wp-coding-standards/wpcs:*) => {"failed": true, "item": "wp-coding-standards/wpcs:*", "msg": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) - Installing sebastian/version (2.0.1) Loading from cache Installation failed, reverting ./composer.json to its original content. The following exception is caused by a lack of memory or swap, or not having swap configured Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details PHP Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957 PHP Stack trace: PHP 1. {main}() /usr/local/bin/composer:0 PHP 2. require() /usr/local/bin/composer:24 PHP 3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43 PHP 4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104 PHP 5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130 PHP 6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651 PHP 7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718 PHP 8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757 PHP 9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957 [ErrorException] proc_open(): fork failed - Cannot allocate memory require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...", "stdout": "You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug\n./composer.json has been updated\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\n  - Installing sebastian/version (2.0.1)\n    Loading from cache\n\nInstallation failed, reverting ./composer.json to its original content.\nThe following exception is caused by a lack of memory or swap, or not having swap configured\nCheck https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details\n\nPHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957\nPHP Stack trace:\nPHP   1. {main}() /usr/local/bin/composer:0\nPHP   2. require() /usr/local/bin/composer:24\nPHP   3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43\nPHP   4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104\nPHP   5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130\nPHP   6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651\nPHP   7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718\nPHP   8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757\nPHP   9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957\n                                                     \n  [ErrorException]                                   \n  proc_open(): fork failed - Cannot allocate memory  \n                                                     \n\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...\n\n", "stdout_lines": ["You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug", "./composer.json has been updated", "Loading composer repositories with package information", "Updating dependencies (including require-dev)", "  - Installing sebastian/version (2.0.1)", "    Loading from cache", "", "Installation failed, reverting ./composer.json to its original content.", "The following exception is caused by a lack of memory or swap, or not having swap configured", "Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details", "", "PHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 957", "PHP Stack trace:", "PHP   1. {main}() /usr/local/bin/composer:0", "PHP   2. require() /usr/local/bin/composer:24", "PHP   3. Composer\\Console\\Application->run() phar:///usr/local/bin/composer/bin/composer:43", "PHP   4. Symfony\\Component\\Console\\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104", "PHP   5. Symfony\\Component\\Console\\Application->renderException() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:130", "PHP   6. Symfony\\Component\\Console\\Application->getTerminalWidth() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:651", "PHP   7. Symfony\\Component\\Console\\Application->getTerminalDimensions() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:718", "PHP   8. Symfony\\Component\\Console\\Application->getSttyColumns() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:757", "PHP   9. proc_open() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:957", "                                                     ", "  [ErrorException]                                   ", "  proc_open(): fork failed - Cannot allocate memory  ", "                                                     ", "", "require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...", ""]}

    :

PLAY RECAP *********************************************************************
vccw-xdebug.dev            : ok=62   changed=55   unreachable=0    failed=0

Into Guest OS vagrant ssh.
vagrant@vccw-xdebug:~$ which phpunit
vagrant@vccw-xdebug:~$ which phpcs
vagrant@vccw-xdebug:~$ which wpcs
vagrant@vccw-xdebug:~$ which composer
/usr/local/bin/composer
vagrant@vccw-xdebug:~$ cat .composer/composer.json
{
  "config": {
    "secure-http": false
  },
  "require": {
    "hirak/prestissimo": "*",
    "phpunit/phpunit": "*"
  }
}

I don't Know Ansible but it looks like provisioning error happened.

If you have a problem at installing composer, please run vagrant provision after a while.

I tried to vagrant up and vagrant provision 5 times, but without success.
vagrant@vccw-xdebug:~$ composer
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
vagrant@vccw-xdebug:~$ echo $COMPOSER_HOME
/home/vagrant/.composer
vagrant@vccw-xdebug:~$ cat .composer/composer.json
{
  "config": {
    "secure-http": false
  },
  "require": {
    "hirak/prestissimo": "*",
    "phpunit/phpunit": "*",
    "squizlabs/php_codesniffer": "*",
    "wp-coding-standards/wpcs": "*"
  }
}
vagrant@vccw-xdebug:~$ which phpunit
/home/vagrant/.composer/vendor/bin/phpunit
vagrant@vccw-xdebug:~$ which phpcs
vagrant@vccw-xdebug:~$ which wpcs

I decided to disable composer install from site.yml.
Thanks :)

Could you try composer global require phpunit/phpunit and please report the result.

OK. :)
site.yaml:
composers:
  # - hirak/prestissimo:*
  # - phpunit/phpunit:*
  # - squizlabs/php_codesniffer:*
  # - wp-coding-standards/wpcs:*
  # - phpmd/phpmd:*
  # - sebastian/phpcpd:*
  # - phploc/phploc:*
  # - phing/phing:*

Provisioning & SSH.
% vagrant up
% vagrant ssh

in Guest OS.
vagrant@vccw-xdebug:~$ composer global require phpunit/phpunit
Changed current directory to /home/vagrant/.composer
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Using version ^6.0 for phpunit/phpunit
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing sebastian/version (2.0.1)
    Downloading: 100%

  - Installing sebastian/resource-operations (1.0.0)
    Downloading: 100%

  - Installing sebastian/recursion-context (3.0.0)
    Downloading: 100%

  - Installing sebastian/object-reflector (1.1.0)
    Downloading: 100%

  - Installing sebastian/object-enumerator (3.0.2)
    Downloading: 100%

  - Installing sebastian/global-state (1.1.1)
    Downloading: 100%

  - Installing sebastian/exporter (3.0.0)
    Downloading: 100%

  - Installing sebastian/environment (2.0.0)
    Downloading: 100%

  - Installing sebastian/diff (1.4.1)
    Downloading: 100%

  - Installing sebastian/comparator (2.0.0)
    Downloading: 100%

  - Installing doctrine/instantiator (1.0.5)
    Downloading: 100%

  - Installing phpunit/php-text-template (1.2.1)
    Downloading: 100%

  - Installing phpunit/phpunit-mock-objects (4.0.1)
    Downloading: 100%

  - Installing phpunit/php-timer (1.0.9)
    Downloading: 100%

  - Installing phpunit/php-file-iterator (1.4.2)
    Downloading: 100%

  - Installing sebastian/code-unit-reverse-lookup (1.0.1)
    Downloading: 100%

  - Installing phpunit/php-token-stream (1.4.11)
    Downloading: 100%

  - Installing phpunit/php-code-coverage (5.0.3)
    Downloading: 100%

  - Installing webmozart/assert (1.2.0)
    Downloading: 100%

  - Installing phpdocumentor/reflection-common (1.0)
    Downloading: 100%

  - Installing phpdocumentor/type-resolver (0.2.1)
    Downloading: 100%

  - Installing phpdocumentor/reflection-docblock (3.1.1)
    Downloading: 100%

  - Installing phpspec/prophecy (v1.7.0)
    Downloading: 100%

  - Installing myclabs/deep-copy (1.6.0)
    Downloading: 100%

  - Installing phpunit/phpunit (6.0.10)
    Downloading: 100%

sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
Writing lock file
Generating autoload files
vagrant@vccw-xdebug:~$ phpunit --version
PHPUnit 6.0.10 by Sebastian Bergmann and contributors.

vagrant@vccw-xdebug:~$ which phpunit
/home/vagrant/.composer/vendor/bin/phpunit

The problem is now solved.
We need to repalce the current version to 1.3.1 or later for Xdebug.

You are running composer with xdebug enabled. This has a major impact on runtime performance.対策 - Qiita

provision/playbooks/commands.yml
- hosts: all
  vars:
    wp_cli_bin_url: https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar
    composer_version: 1.3.1

and more memory at VM.
TASK [Install Composer libraries] **********************************************
changed: [vccw-xdebug.dev] => (item=hirak/prestissimo:*)
failed: [vccw-xdebug.dev] (item=phpunit/phpunit:*) => {"failed": true, "item": "phpunit/phpunit:*", "msg": "./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 25 installs, 0 updates, 0 removals - Installing sebastian/version (2.0.1) Loading from cache Installation failed, reverting ./composer.json to its original content. The following exception is caused by a lack of memory or swap, or not having swap configured Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details PHP Warning: proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 973 [ErrorException] proc_open(): fork failed - Cannot allocate memory require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...", "stdout": "./composer.json has been updated\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\nPackage operations: 25 installs, 0 updates, 0 removals\n  - Installing sebastian/version (2.0.1) Loading from cache\nInstallation failed, reverting ./composer.json to its original content.\nThe following exception is caused by a lack of memory or swap, or not having swap configured\nCheck https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details\n\nPHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 973\n                                                     \n  [ErrorException]                                   \n  proc_open(): fork failed - Cannot allocate memory  \n                                                     \n\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...\n\n", "stdout_lines": ["./composer.json has been updated", "Loading composer repositories with package information", "Updating dependencies (including require-dev)", "Package operations: 25 installs, 0 updates, 0 removals", "  - Installing sebastian/version (2.0.1) Loading from cache", "Installation failed, reverting ./composer.json to its original content.", "The following exception is caused by a lack of memory or swap, or not having swap configured", "Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details", "", "PHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///usr/local/bin/composer/vendor/symfony/console/Application.php on line 973", "                                                     ", "  [ErrorException]                                   ", "  proc_open(): fork failed - Cannot allocate memory  ", "                                                     ", "", "require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...", ""]}
changed: [vccw-xdebug.dev] => (item=squizlabs/php_codesniffer:*)
...ignoring
changed: [vccw-xdebug.dev] => (item=wp-coding-standards/wpcs:*)

like this.
provision/default.yml
#
# Virtual Machine Settings
#
memory: 1024
cpus: 1

I hope to modify default settings.
Thanks :)

repo: vccw-team/vccw


text:
⚠ Spryr has degraded performance

In 1e27feb, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4703 ms

Resolved: Spryr performance has improved in 1e9369a after 8 minutes.

repo: vcsphere/upptime


text:
🛑 Spryr is down

In 86d1eba, Spryr (https://spryr.com) was down:

HTTP code: 503
Response time: 2441 ms

Resolved: Spryr is back up in 28ba95f after 7 minutes.


text:
Unable to refresh project

How can I refresh organization page in github-awards: oblac? Only my profile gets refreshed, but not organization?
With great fun comes great responsibility :) Please make it work, some serious bet is in place ;)))

The refresh occurs when your organiezation appears in Github Archive daily feed, if you make a commit, pull request, or comment it should be enough.
Let me know if it works ?

Ok. I've added a comment and bug was closed. I have also added a commit to the repo. Last change to the repo is 9 hours ago from this moment.
However, the geo-location information of the organization is not changed (it was missing before, and I would like to set it).

Apparently, stars count is re-freshed, but not the geo-location.

I updated your organisation location, it should be ok now.

Thanx, sorry for the all trouble.

@vdaubry is there any chance that you can do the same as you did for @igorspasic on the cake-contrib organisation? Thanks!

authors: gep13 igorspasic vdaubry

repo: vdaubry/github-awards


text:
Panic on surface.FillRect(nil,0)

When running the below example, surface.FillRect(nil, 0) occasionally panics with
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x7f61ad1d544e]

runtime stack:
runtime.throw(0x4d1074, 0x2a)
        /usr/lib/go/src/runtime/panic.go:617 +0x72
runtime.sigpanic()
        /usr/lib/go/src/runtime/signal_unix.go:374 +0x4a9

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x492600, 0xc0000326d0, 0xc00008a050)
        /usr/lib/go/src/runtime/cgocall.go:128 +0x5b fp=0xc0000326a0 sp=0xc000032668 pc=0x415e1b
github.com/veandco/go-sdl2/sdl._Cfunc_SDL_FillRect(0x997fa0, 0x0, 0x0, 0x0)
        _cgo_gotypes.go:2863 +0x4d fp=0xc0000326d0 sp=0xc0000326a0 pc=0x489f5d
github.com/veandco/go-sdl2/sdl.(*Surface).FillRect.func1(0x997fa0, 0x0, 0x0, 0xc000032740)
        /home/piotr/go/src/github.com/veandco/go-sdl2/sdl/surface.go:411 +0x6a fp=0xc000032708 sp=0xc0000326d0 pc=0x48b9fa
github.com/veandco/go-sdl2/sdl.(*Surface).FillRect(0x997fa0, 0x0, 0x0, 0xb74640, 0x0)
        /home/piotr/go/src/github.com/veandco/go-sdl2/sdl/surface.go:411 +0x3d fp=0xc000032738 sp=0xc000032708 pc=0x48b56d
main.main()
        /tmp/example.go:32 +0x1b4 fp=0xc000032798 sp=0xc000032738 pc=0x48dce4
runtime.main()
        /usr/lib/go/src/runtime/proc.go:200 +0x20c fp=0xc0000327e0 sp=0xc000032798 pc=0x43d18c
runtime.goexit()
        /usr/lib/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0000327e8 sp=0xc0000327e0 pc=0x464bd1
exit status 2

go1.12.7 linux/amd64
github.com/veandco/go-sdl2 v0.3.1-0.20190809154531-da65661eff7f
gcc (GCC) 9.1.0
SDL source-revision: SDL2:d3df61d8af
architecture: x86_64-musl
package main

import (
        "os"

        "github.com/veandco/go-sdl2/sdl"
)

func main() {
        if err := sdl.Init(sdl.INIT_EVERYTHING); err != nil {
                panic(err)
        }
        defer sdl.Quit()

        window, err := sdl.CreateWindow(os.Args[0], sdl.WINDOWPOS_UNDEFINED, sdl.WINDOWPOS_UNDEFINED, 20, 20, sdl.WINDOW_SHOWN)
        if err != nil {
                panic(err)
        }
        defer window.Destroy()

        surface, err := window.GetSurface()
        if err != nil {
                panic(err)
        }

        renderer, err := sdl.CreateRenderer(window, -1, sdl.RENDERER_ACCELERATED)
        if err != nil {
                panic(err)
        }
        defer renderer.Destroy()

        surface.FillRect(nil, 0) // Panic
        window.UpdateSurface()
}

Hi @husio, while I don't know why it segfaults exactly, I believe the issue is related to the mixing of software and hardware rendering.
If you want to use SDL_Surface (software) for rendering,  you can omit sdl.Renderer. If you want to use SDL_Renderer (hardware), you can set sdl.WINDOW_OPENGL in sdl.CreateWindow() and use renderer.FillRect() for rendering instead.

I do not fully understand what was the issue with the code. What @veeableful wrote seem to help. Would it be helpful to add the information about not using sdl.Render with software rendering to the documentation?

In the SDL2 documentation, window.GetSurface is documented here: https://wiki.libsdl.org/SDL_GetWindowSurface.
It notes, "You may not combine this with 3D or the rendering API on this window."
The bottom of that page indicates it is in the Video API category.
So if we look at the API categories and select 2D Accelerated Rendering, we get the page https://wiki.libsdl.org/CategoryRender.
This page contains the API for sdl.CreateRenderer here: https://wiki.libsdl.org/SDL_CreateRenderer.
Thus, using SDL_GetWindowSurface and SDL_CreateRenderer together is prohibited, or at least causes undefined behavior.
If you want a surface with the current properties of your window, you can try https://wiki.libsdl.org/SDL_CreateRGBSurfaceWithFormat with https://wiki.libsdl.org/SDL_GetWindowPixelFormat as the format and https://wiki.libsdl.org/SDL_GetWindowSize as the size.

I have reported this issue so long ago that I no longer remember any details. I think it can be closed, although I really cannot tell if the root cause was solved (or valid).

Thanks, @husio. I will close it for now but feel free to comment here again if the same issue comes up!

authors: husio kroppt veeableful


text:
Encryptation is broken after reinstallation

If we turn on room encryptation it works but after reinstall Riot doesn't work.
If we remove the old devices from device list of settings then it works again.

When you say reinstall, i assume you mean application update.
Did you get an alert dialog after the update ?
I fixed a backward compatibility issue this morning but it concerns the version < 0.6.4.
From which version did you update ?

Notice that the latest develop version supports the e2e keys import if something was broken.
i.e you can import your webclient e2e keys into the android client.

Should be fixed with
https://github.com/vector-im/riot-android/commit/6c2e04a182f023401ca98169f13af5c432503805

repo: vector-im/riot-android