Adding some examples to the README.

Since ActionCable is an engine, it can be run in-app in the same way that websocket-rails can be (and I will admit to shamelessly stealing the implementation from websocket rails). Also adding examples of passing params to subscription and rebroadcasting received message.

Lovely!

We can definitely use your help to flesh out the documentation even more.

Sure thing. I'm probably going to be running ActionCable in staging later today and, if all goes well, in production (alpha/beta software) later this week. Be happy to add documentation as I find things.

Perfect!

On Oct 13, 2015, at 12:24, kayakyakr<EMAIL_ADDRESS>wrote:
Sure thing. I'm probably going to be running ActionCable in staging later today and, if all goes well, in production (alpha/beta software) later this week. Be happy to add documentation as I find things.
—
Reply to this email directly or view it on GitHub.


swap the contributor role type and the name fields in deposit form

Why was this change made?
Fixes #297
How was this change tested?
Localhost browser
Which documentation and/or configurations were updated?

Added screenshot.  Changed the word "as" to "is" ... seemed to make more sense to me.

This looks good, and I agree, "is" is more appropriate. Thanks!


Update deps and CI

Codecov Report
Patch and project coverage have no change.

Comparison is base (7d58d43) 75.25% compared to head (7f39af4) 75.25%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   75.25%   75.25%
=======================================
  Files           2        2
  Lines         198      198
=======================================
  Hits          149      149
  Misses         28       28
  Partials       21       21

Flag
Coverage Δ

unittests
75.25% <ø> (ø)

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

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


Insert value into documentation

When having set the window to a smaller max-width with lsp-kind (e. g. maxwidth = 40), this cuts the value and it's not shown anywhere unless ghost_text is used on hrsh7th/nvim-cmp.
It would be great if the value could be placed into the documentation window (e. g. with another setting in the configuration) when there is no documentation .

Not sure what is meant by "value" here.
If you mean the completion text, then this is an issue with core cmp. This plugin has no control over the display of the completion menu, and placing the completion text into the documentation window makes no sense, as cmp-tabnine has no access to the information that you set maxwidth.

Yes, I meant the completion text.
I meant more like a config switch to always show it in the documentation window, if it is not filled.
(The max width setting was meant as an example on when this can be useful.)

This is not specific to this plugin.
I would suggest you try your luck with upstream cmp.
Cheers.


mgmt, use test proxy  for confidential ledger

Description
Link https://github.com/Azure/azure-sdk-for-java/issues/34243
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

We can actually check it in.

Hi @samvaity , this is our first package that adopts testproxy, please help to review and approve.

Thank you @haolingdong-msft and @weidongxu-microsoft for starting the onboarding process to testproxy!!


Circular loop between raspberrypi/usbboot title or description and raspberrypi/tools/usbboot readme.md

This git repo title/description says:

Raspberry Pi USB booting code, moved from tools repository

The raspberrypi tools repository readme.md
https://github.com/raspberrypi/tools/blob/master/usbboot/Readme.md
Says:

Please note, this code has now moved to
https://github.com/raspberrypi/usbboot.git

While I love these circular loops jokes, I can imagine that this was not done on purpose. Maybe fix this project title/description?

Huh? The tools repo says it has been moved to usbboot, while the usbboot repo says it has been moved from the tools repo.

Huh? The tools repo says it has been moved to usbboot, while the usbboot repo says it has been moved from the tools repo.

yup

And that's a problem?

@pelwell Which one is correct? One of them has to be updated right?

not really, but just say that it can be confusing. I got a good laugh out of it when I noticed it.

And that's a problem?

not really, but just say that it can be confusing. I got a good laugh out of it when I noticed it

It's not so much a circularity, more of a doubly-linked list. You could argue that the "from" comment is unnecessary, but it's a way of saying "this is the new home of the usbboot utility that you may have seen elsewhere."

Ah, now i see. I read over the 'from'' part. Sorry to cause confusion, especially on a Sunday.


[WIP] Append hardfaults to ULog & ULog spec update

This appends hardfault's to the ULog file: when committing a hardfault, it is first written to a .txt file (no change in behavior), then the same data is appended to the ULog file as plain text. We keep the .txt file around, because it's a bit more robust against FS corrptions.
To know to which ULog we need to append, a new BBSRAM partition is added to store the ulog path.
Since we need to append data to the ULog and the log could stop in the middle of a message, and we don't want to go through the whole log, we need a reliable way to append data: the idea is to have a fixed number of file offsets at the beginning of the log file, initially 0. The process that appends data then sets the offset to the current file size and appends data. This is limited to a fixed number of appendings, but it allows to append any type of known ULog messages (for instance if we want to append binary data later on).
Initially I had the idea of backward parsing: append ULog messages to the log with a known marker, and then first parse from the back of the file, looking for the marker. However it makes the parser more complex.
ULog spec updates
While I'm updating the ULog spec anyway, I want to use the opportunity to overcome a few shortcomings of ULog that I came accross. I suggest to add 2 new messages:

FLAG_BITS: this is the first message of the log file, containing the appended file offsets together with compat & incompat flags (inspired by mavlink).

struct ulog_message_flag_bits_s {
	uint16_t msg_size;
	uint8_t msg_type = static_cast<uint8_t>(ULogMessageType::FLAG_BITS);

	uint8_t compat_flags[8];
	uint8_t incompat_flags[8]; ///< @see ULOG_INCOMPAT_FLAG_*
	uint64_t appended_offsets[3]; ///< file offset(s) for appended data if ULOG_INCOMPAT_FLAG0_DATA_APPENDED_MASK is set
};

INFO_MULTIPLE: The existing INFO message is a dictionary, so keys are unique. This message allows for multiple messages with the same key. Useful for example for top output (which currently appends a number to the key), or maybe later to store missions.

struct ulog_message_info_multiple_header_s {
	uint16_t msg_size; //size of message - ULOG_MSG_HEADER_LEN
	uint8_t msg_type = static_cast<uint8_t>(ULogMessageType::INFO_MULTIPLE);

	uint8_t is_continued; ///< can be used for arrays: set to 1, if this message is part of the previous with the same key
	uint8_t key_len;
	char key[255];
};

Existing pyulog & FlightPlot & the replay module can handle the new logs, if no data is appended. They will just output a warning that there are unknown message types.
Testing
During initial tests, the ULog file was often empty, until I realized, the ULog file size increases in steps of roughly 500kb. It looks like this is falling together with the fsync call, so this makes sense.
Needs a bit more testing, but first tests show it works.
@davids5 can you review?
PR in pyulog: https://github.com/PX4/pyulog/pull/19

Good to go?

Yes Firmware & pyulog are both updated. Not done yet:

update ULog spec
update FlightPlot
display in Flight Review

CI is doing strange things: circleci failed with: ninja: error: manifest 'build.ninja' still dirty after 100 tries. I tried restarting now. semaphoreci does not show anything useful.

Semaphore:
../src/drivers/boards/px4fmu-v5/px4fmu_init.c: In function 'board_app_initialize':
../src/modules/systemlib/hardfault_log.h:88:3: error: excess elements in array initializer [-Werror]
   0                  /* End of table marker */                  \
   ^
../src/drivers/boards/px4fmu-v5/px4fmu_init.c:349:51: note: in expansion of macro 'BSRAM_FILE_SIZES'
  int filesizes[CONFIG_STM32F7_BBSRAM_FILES + 1] = BSRAM_FILE_SIZES;
                                                   ^
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors

My ad-blocker blocked the CI output.
CI is fixed now.


feature request: publish-pact-files should publish branch

Branch not used when publishing, should be sourced in the action and passed through to the publish command
https://github.com/pactflow/actions/blob/main/publish-pact-files/publishPactfiles.sh
as per recommend setup https://docs.pact.io/pact_broker/publishing_and_retrieving_pacts#publish-using-cli-tools

Fixed by https://github.com/pactflow/actions/commit/7791b8817b55f3b11b6745969fbb3d994da3d956


substreams-tier2-request-stats is not recognized

The flag substreams-tier2-request-stats is not recognized in firehose-core (as used in firehose-near)

fixed


Add nvm file to the project root to aid using the correct node version during development

We should add an nvm file setting node to the 4.x branch to make it easier for people developing the module

Added an .nvmrc and a .node_version file


tests: static test data generation

current state:

most client tests use a repository that is generated live during the test (RepositorySimulator)
there is (and should be) static test data as well, see tests/repository_data/
test data was generated with scripts that used the legacy codebase but it's not clear if the scripts and the data are actually up to date (or if the data has been manually modified)
scripts are now removed as legacy code is removed (#1790)

We will want to modify the static files at some point (e.g. we should make the files consistent_snapshot), so we should have easy ability to do so. I believe that means we should

generate the static files with a script that uses metadata API
possibly verify at test runtime that the script result is unchanged -- this would give us additional confirmation that we are not changing things (even superficially) in our serialisation format.

After seeing the 97% speedup :rocket:  in test runtime when we drop legacy tests: we could even expand these static test sets, we clearly have the test runtime budget now.

Thanks for the effort, @jku! I meant to write a ticket with 16192902cef3cb669deb0e085c981341ced9c347 but then thought, let's cross the bridge when we get there, i.e. when we need to regenerate those fixtures. All the better when there's already a ticket.

Adding to this: Our serialization tests are pretty good, but they are very "unit testy". Making sure that the output of the whole deserialize-serialize pipeline does not change is not really easy -- and adding test data for complete Metadata objects really stretches the viability of the "test data within test code" approach.
So maybe we should have something like this:

script that produces a bunch of metadata files (or maybe just bytes)
test that ensures that deserializing and then serializing the data produces the same data
test that the output of the script did not change unexpectedly:

either the metadata files are stored in git
or the hashes of the bytes are stored

To be clear, this plan only solves the serialization testing issue -- but nothing prevents these same metadata files from also forming real repository versions.

I made a small prototype in my branch: https://github.com/MVrachev/tuf/tree/test-statics-data-generation.
What do you think @jku?
Where should we go from here?

some thoughts from looking at the proto:

Re-generating the "expected metadata files" needs to be a single command -- developer should not have to guess how to do that: ./generate_test_data could just generate all of the current test files in the correct places. If possible the test failure should explain what happened and also mention how to re-generate the expected results when apropriate.
because the above means script controls the metadata filenames, I think the tests do not need to know about metadata file names at all (so should not load the files): maybe the test could just call MetadataGenerator.verify() to ask MetadataGenerator check if all currently generated files match the files on disk.
can you explain the sys.path.append? In tests we just rust assume that someone else  (tox) ensures that tuf module is the correct version, I think we should be able to do that here too
With regards to code layout I think current proto is is fine as the initial version but if you want to make it ready for improvements think about what happens when we want to add more metadata? E.g. multiple different unrelated root metadata?

Using TOP_LEVEL_ROLE_NAMES as filenames is likely not a good idea (or you at least need a separate directory for each) as we're goign to want multiple versions. Realistically names like root_all_key_types.json or root_non_consistent.json could work?
Also unless we test the metadata as a repository we should not create files that look like a repository: different file naming could help here too?
splitting the metadata generation into methods is probably a good idea: one option is a dynamic dispatch so that all methods with name generate_XYZ() will be automatically run when script is run  (and could create files in directory generated_metadata_expected/XYZ/: this way a method could not mistakenly overwrite a filename used in another method). Maybe generate_XYZ() could then have a verify flag so the same code either writes files or verifies the same files: this way nothing but the specific method needs to handle the filenames it uses.

Many of the ideas above are things we could do later and might not be very fully fleshed out: getting the re-generation and test cycle working is the main thing here: they need to be something that does not get in the way.

also another thought: now that we're creating more and more metadata from scratch, #1459 becomes more and more interesting.

I have created a simple script generating a simple set of metadata files and a test verifying that the statically stored metadata files are the same as the one generated by the test.
@jku created another issue discussing the idea of more variations of the separate metadata files #1920.
With #1915 merged and the new issue #1920 I think we can close this one.
If I am missing something, please feel free to reopen.


Errors on build on OS X Docker 1.13.1 Stable when using packer build wp-packer.json

docker: fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "msg": "Unexpected error when accessing exploded file: [Errno 2] No such file or directory: '/usr/share/nginx/html/wordpress'"}
docker:
docker: NO MORE HOSTS LEFT *************************************************************
docker: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/wordpress.retry
docker:
docker: PLAY RECAP *********************************************************************
docker: <IP_ADDRESS>                  : ok=9    changed=8    unreachable=0    failed=1
docker:

==> docker: Killing the container: 7dd73dd45a4f611197c6ae12cc3f8f7b43303fe07ffa1c59fba34f8921792e6f
Build 'docker' errored: Error executing Ansible: Non-zero exit status: 2
==> Some builds didn't complete successfully and had errors:
--> docker: Error executing Ansible: Non-zero exit status: 2
==> Builds finished but no artifacts were created.

I'd love to try this demo out and am attempting to, but I fear it may not have been made to work with the present OS X version of Docker since it's gone native. Please advise.

Hello @obja, I got the same error with you and here is my sol.

rebuild builder docker image with ansible <IP_ADDRESS>.
add remote_src=yes

you also could check my change. https://github.com/titanlien/wordpress-ecs/commit/2c0bd7b0b7afbc9f02e9c97f56aec7ab05b63840


Deploy libraries to maven central

It's quite inconvenient to deal with this git repo when using maven/gradle/ivy/sbt or any other JVM build tool.  It'd be great if this deployed to maven central.

Acknowledged.

start with com.vmware jar not found in maven central. how to do?

Hi @JavaEyre,
We plan to publish the SDK to Maven but it is not in our immediate timeline.

I really do nit this as well.
its is very cumbersome to collect all needed builts and bundle them up.


Change behavior of String.right

Follow-up to #28648
Before:
print("Hello world".right(3)) #lo world

After:
print("Hello world".right(3)) #rld

Basically opposite of left(), so is more intuitive and consistent.
I replaced all source occurrences of right to substr(), which has the same behavior as old right. btw, right was calling substr anyways, so every instance that used it might be few µs faster now 🤔 (heh)

It would be good to implement, with both left() and right(), a behavior with negative indices.
So that print("Hello world".right(-3)) Would print lo world. (Basically this avoid typing `print("Hello world".right(len("Hello world")-3))

^
I added this as another commit (for now ofc).

I have problems rebasing this due to renamed/moved files. Any advice welcome >_>

I've had a look at trying to rebase your PR and it's going to be difficult. There are over a year's worth of commits that, as you identify, include several files that have been renamed and others that have been completely refactored. Considering the number of lines being changed in this PR vs the number of conflicts, it may be easier to recreate it, or I can reopen #47434.

Ok rebased. I manually copied my string changes and then modified other files from scratch. Also updated some tests.

I accepted the change, but I think it might have been good to keep calls to right instead of substr whenever possible. Likely by using the new behavior with negative indices.

Why though? Right() serves a different purpose now, messing with indicies will only cause confusion.

Because right is a lot more explicit compared to substr regarding what it does. substr, from it's name, does not indicate if you take the right or the left part of the string.
It's not a big deal anyway but IMHO, it would make the code easier to understand.

I accepted the change, but I think it might have been good to keep calls to right instead of substr whenever possible. Likely by using the new behavior with negative indices.

I wonder about this too, but IMO there's a big semantic shift with this PR and the calls to right before the PR meant something very different semantically to what right would convey from now on.
Before the PR, we'd do things like str.right(1) to express "drop the first character, give me the rest", which doesn't actually have much to do with the right part of the string - it's more about how many characters to cut from the left.
After this PR, to convey the same meaning, str.substr(1, -1) might be a better way to convey this "cut one char, give the rest" behavior. If you want to keep using right(), it would have to be str.right(str.length() - 1) i.e. "give me a string with all characters minus one starting from the right".

Needs a rebase, otherwise I think it's good to go.

Rebased again. And added some tests again (for negative arguments).

Thanks!


Adds a frames-per-second limiter within the graphics menu.

Out of curiosity, how does this work/does this work with something like GSync?


Sometimes Enemy doesn't die after player bounce

I'm submitting a...

[x] Bug report.
[ ] Feature request.

Bug report
What is the current behavior?

What is the expected behavior?
When you bounce off an enemy, it should die all the time.
Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.

Jump towards enemy
Try to clip the top left part of the enemies area2d box with the bottom right corner of the player

Another way you can trigger this is if the enemy is falling (not sure if falling enemy does anything extra)

It looks like it has to do with the area2d's being wider than the body of the collisionShape2d. Because Enemy detects the body to enter its area it might collide with the area and not the body, thus, allowing the player to bounce without the enemy dying.


PLANNER-565 - Marshall best solution score test

Showing issues described in referenced JIRA.

@ge0ffrey this looks like problem with*Score classes that cannot be properly marshaled as the fields are final and can be set only via constructor. This is not really valid for JAXB that uses either field access of setters. So if I am not mistaken this has to be changed on optaplanner side to be JAXB/JSON friendly - either by providing setters/getters or alternative way to be set - like JAXB adapters.

Ok, we need optaplanner-persistence-jaxb :)
btw, we already have optaplanner-persistence-xstream, but the exe server doesn't use it yet (it should)

@ge0ffrey are you going to build the optaplanner-persistence-jaxb module? Otherwise I don't think we have any option to solve these issues...

@mswiderski Yes - but it's currently not in my short time list and only aimed for 7.0. How high is the urgency on this?

@ge0ffrey I guess it's mainly up to you to asses as it might limit usage of optaplanner over kie server.

do we still need this/plan to merge?

Rebased to contain latest changes. There are still issues with JSON marshalling for bendable score. Should it be supported?

These tests should move into optaplanner-persistence-*, which contains already some:
there are already xstream and jaxb tests, for each score implementation.
JSON support for Score's is still an open issue...

Right, will prepare a PR there.

Interestingly enough, this one tests the marshalling of SolverInstance too. So this might prove or disprove PLANNER-604. SolverInstance is a Execution Server object, so we can't do that test in optaplanner core.
@sutaakar Karel, let's talk on irc/bluejeans about this PR and #425

Relates to PLANNER-612

any plans to merge this or...

Sorry Matej for losing track of this, thanks for the reminder. Looking at it.

jenkins retest this

This open PR from Jun with failing tests in Jun might now have green tests thanks to this merged PR from October:
https://github.com/droolsjbpm/droolsjbpm-integration/pull/695/files
I still think that testing the different score types here is pointless (= maintenance), as we're already doing that in optaplanner-persistence for both XStream, JAXB and Jackson for each score type. for example:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-persistence/optaplanner-persistence-jaxb/src/test/java/org/optaplanner/persistence/jaxb/api/score/buildin/hardsoft/HardSoftScoreJaxbXmlAdapterTest.java
However testing one SolverInstance with a HardScore marshaling/unmarshalling is probably useful to have
@mcimbora Wdyt?

Refactored to check marshalling of SolverInstance with a HardSoftScore.


Error when requiring util

If I write this var util = require('util'); anywhere in a JS file for OMeta to convert, it results in a SyntaxError: match failed. If I remove it, it can convert it. Not sure why this is happening.

Hey, I just tried compiling
var util = require('util');
ometa Test {}

using ometajs2js and (correctly) got the following output
!function(root, factory) {
    "function" == typeof define && define.amd ? define([ "require", "exports", "ometa-core", "util" ], factory) : "object" == typeof exports ? factory(require, exports, require("ometa-js").core) : factory(function(moduleName) {
        return root[moduleName];
    }, root, root.OMeta);
}(this, function(require, exports, OMeta) {
    var util = require("util"), Test = OMeta._extend({});
});

Can you post a full example that fails for me to look into?

That's the weirdest thing. I put it in today, and it all works now. (Tried it multiple times yesterday) Must have been heisenbug.


Cannot install extensions

VS Code: v 1.20.1
OS version: CentOS Linux release 7.4.1708
Arch: x86_64
I have just installed vscode, and would like to install the C++ and Python extensions.
Similar to the closed issue "#43614 Extensions", the install never completes.
Inside the Extensions tab, above the "@sort:installs" field, there is a horizontally scrolling dash/bar symbol, probably indicating that something is in progress.
I checked the contents of .~/vccode, and there are two subdirectories, for ms-python.python-2018.1.0 and ms-vscode.cpptools-0.15.0.
Inside the ms-vscode.cpptools-0.15.0 directory, there is a single bin directory, with two files, msvc.32.intel.json and msvc.64.darwin.json, each with size 0 bytes.
I am behind a company firewall, but I can access the internet, using chromium.
Refer to the attached screenshot.
Many thanks

Found the problem: insufficient disk quota on my home directory,
Sorry for the inconvenience
I have attached the output from Toggle Developer Tools -> Console. This indicates that the directory

ERR Error: Unknown system error -122: Unknown system error -122, mkdir '/home/pamoore/.config/Code/logs/20180228T110527/output_1_20180228T110530'
workbench.main.js:268 [node.js fs] fdatasync is now disabled for this session because it failed:  Error: Unknown system error -122: Unknown system error -122, fdatasync
(anonymous) @ workbench.main.js:268
workbench.main.js:253 [Extension Host] Error: Failed opening file /home/pamoore/.config/Code/logs/20180228T110527/exthost1.log for writing: Disk quota exceeded


"region" is hardcoded to "ON"

In the file "BackendService.ts", in "getExposureConfiguration()", the value "region" is hardcoded as a const to be "ON".

These now get pulled from the .env based on an upstream change.  We'll want to adjust this again to use our province selector not the .env
// import {TRANSMISSION_RISK_LEVEL, REGION} from 'env';

@jeberhardt going to close this as the original issue is fixed


[PowerShell + CMD] fzf (Windows) does not work on Hyper

OS version and name: Microsoft Windows 10 Enterprise Build 15063
Hyper.app version:  2.1.1 (canary)
The issue is reproducible in vanilla Hyper.app:  Using a theme plugin

Issue
When using the fzf command on both PowerShell and CMD, Hyper returns character set not supported.
This does not reproduce in a normal PowerShell or CMD window.
fzf repo

Check https://github.com/junegunn/fzf/issues/963#issuecomment-313876740. There is a Hyper specific solution.

The solution specified works, although it may be beneficial for the windows version to set this automatically so it'll work out of the box.


159 fix issue when journaldocked message is missing landing pad info

fixes #159

We had UNKNOWN as our standing for this enum. our database is currently loaded with UNKNOWN's. Just need to fix our enum, and database to account for these changes. We'll have to run a db update to convert all UNKOWN's to null.
I dont think this is unreasonable. it'd be weird to keep a stand-in for null, as we will have many null fields across our database and we should handle them the same.

These changes are for exploration module, not for trade. These changes have not impact on the trade, as trade will try to request this data. and is completely agnostic of how exploration stores this data


AutoMigrate creating different unique Index on subsequent runs

GORM Playground Link
https://github.com/go-gorm/playground/pull/608
Description

I have an existing database and consistently run Automigrate but after upgrading my gorm version from 1.28.3, the automigrate is creating different unique indexes than the ones I have defined and already exist in my database.
To reproduce, pull this branch and run GORM_DIALECT=postgres go test. This should work and pass tests. But if you run it again, it will fail to make migrations because it is trying to create a uniqueIndex and uniqueConstraint that doesn't have the same name or where clause as the unique index that I defined:
ERROR: could not create unique index "idx_users_description" (SQLSTATE 23505)
After the initial run of AutoMigrate the unique indexes that I defined are correctly created:

But after the next time I run AutoMigrate, it created new unique indexes with a different name and without the where clause:

I can only get to the state of the second picture if I don't have any data that conflicts the where clause of the unique index of the description column. In my use case, I have a table with a unique index with a where deleted_at is NULL condition but now that my AutoMigrate behaves differently, I cannot run migrations.
Did something change with how AutoMigrate handles unique indexes?

What version of postgres are you using? This seems to be an error caused by the handling of the index name, but in fact I cannot reproduce the wrong creation of this index from the link you provided.

What version of postgres are you using? This seems to be an error caused by the handling of the index name, but in fact I cannot reproduce the wrong creation of this index from the link you provided.

using gorm.io/driver/postgres v1.5.2

fact I cannot reproduce the wrong creation of this index from the link you provided.

And yeah sorry with the given tests you can't actually create the wrong index because the tests insert conflicting data. But you should see errors that it is failing to create those indexes. I just included the "wrong" index in the description to show what autoMigrate is trying to create

refer to https://github.com/go-gorm/gorm/issues/6381#issuecomment-1580164621
At present, the redundant index can only be deleted manually.
if DB.Migrator().HasIndex(&User{}, "users_description_key") {
	DB.Exec(`ALTER TABLE ? DROP CONSTRAINT ?`,
		clause.Expr{SQL: "users"},
		clause.Expr{SQL: "users_description_key"},
	)
}

Yeah that is what I've been doing to fix it but gorm shouldn't be creating that index in the first place. Do we know why it gets created and can we get a fix the next release?

https://github.com/go-gorm/gorm/issues/6381#issuecomment-1929427042


Recovering from out of disk errors

I just wanted to document this from a customer onsite.
We ran out of disk space because we were using a 2GB image for a job and the nodes only had a 4GB SSD so pulling and unpacking the image failed. This also caused Pachyderm's etcd pod to fail. It's unclear if every node filled up as kubernetes tried to pull the container again after the first failure or just one.
Unfortunately we didn't have SSH access enabled to be able to get into the node and delete the image. @derekchiang found docs that make it seem like K8s should have GCed the image after the job was deleted, but that didn't seem to work. This was live during an onsite so we didn't investigate then, just spun up a new cluster, but we should investigate further so we have a known recovery path (or definitively not) if we run into this in the future.
Also to check, even if we had been able to free up disk space, would etcd have recovered?

We've seen this in a few instances. This is a very concrete example (non job data leaking, etc).
In cases where we have cleaned the disk I have seen clusters recover. Sometimes if k8s was thrashing enough (creating/evicting many pods) it takes a while ... or you can delete the evicted pods and it goes faster.
Either way, I do want better tooling for this for the user for cases we can't anticipate. This issue I think is the most pragmatic method: https://github.com/pachyderm/pachyderm/issues/1389


configurable sort classes

Would it be possible to make the sort classes (sort-up & sort-down) configurable through options? I'd like to use table sort together with semantic-ui and need to have different class names for that to work properly.

Same issue here, coming from Semantic UI too.
I hope this gets merged, so I can no longer use this:
$('.ui.sortable.table');
  .each(function (i, element) {
    new Tablesort(element);
  });
  .on('afterSort', function () {
    var $headers = $(this).find('th');
    $headers.removeClass('sorted ascending descending');
    $headers.filter('.sort-down').addClass('sorted descending');
    $headers.filter('.sort-up').addClass('sorted ascending');
  });

After https://github.com/tristen/tablesort/pull/126 tablesort no longer relies on sort classes but data attributes instead!

@tristen this doesn't really fix our issue. :(

@stylemistake I think using afterSort hook is a good way to fix this issue if you can't update your CSS.


Create tests for ride-hailing/NeedParams using jest.

first-timers-only
This issue is tagged :octocat: first-timers-only. It is only for people who have never contributed to open source before, and are looking for an easy way take their first steps.
Consider this your chance to dip your toe into the world of open-source, and get some bragging rights for writing code that makes drones fly, lets cars find charging stations, helps people and goods get from place to place, and more.
Find more first-timers-only issues from DAV Foundation here.
Thank you for your help :heart:
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
As an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.
dav-js
This SDK enabled integrating any client side JS and NodeJS code with the DAV Network.
How you can help
The Issue
Create tests for ride-hailing/NeedParams using jest.
You need to create tests to check that the serialize and deserialize methods work as expected.
Please use the test file for class NeedParams as a basis for your new code.

Function serialize in class NeedParams must return a JSON object that contains all properties defined in the NeedParams instance.

Function deserialize in class NeedParams receives a JSON string and must initialize all the properties of the NeedParams instance with the values in the JSON string.

needParams1.desrialize(needParams2.serialize()) == needParams2 must therefore always be true.
NOTE: Some names are changed between protocol string representation of instance properties:

location is internally represented as { lat , lon } but serialized as { latitude , longitude }
Private properties are internally prefixed with _ but serialized without the prefix. i.e. _protocol becomes protocol

Contributing to dav-js

[ ] Make sure this issue is labeled up-for-grabs and not labeled claimed, to verify no one else is working on it.
[ ] Comment in this issue that you would like to do it.
[ ] Open dav-js GitHub page and click the ★ Star and then ⑂ Fork buttons.
[ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/dav-js.git
[ ] Code Code Code
[ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/dav-js) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #7)
[ ] Please do not fix more than one issue at a time. Your pull request should only fix what is described in this issue.

Asking for help
We appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our gitter channel. We are always happy to help 😄

I'd like to take a shot.

Go ahead @ericcgu 👍

@TalAter, I'd like to do this.

Hi,
I would like to do it.

Hi,
I would like to do it.

Is this issue, still persist?

Hi @srdmathur sorry for the late response. This issue still persist. You can start working on it if you still want it :+1:

Thanks for your response. I will start working on this now onwards.

Hi @srdmathur, the create-dist command outputs new files that the build is looking for and it is failing there. Good work with the tests! I have merged your changes.


useGoogleLogin Hook doesn't work's after build react app into django

Hey guys, I have an issue with 'useGoogleLogin' Hook doesn't work's after build react app into django.
When I using react app on port 3000 and backend django on p8000 every thing work's, but after I build
react app and using port 8000, after I try to log in via google, I don't get any response at all - no error just nothing.
EDIT: I get the errors:
Failed to load resource: the server responded with a status of 400
m=credential_button_library:45 [GSI_LOGGER]: The given origin is not allowed for the given client ID.
but the giving origin are allowed, so whats the problem?
Does anyone know the problem or give me a direction for the investigation?
Thanks!

I think you need to update your google console to enable port 8000 as well

@ofir-tan where you able tto solve this?


✨ feat(editable): update for display panel modal TUR-102

Update Editable for display panel modal.
https://github.com/p3ol/oak/assets/72040763/aaa64a38-f7ee-41a1-9a75-70e0671d75de

may be I'm wrong, but I thought the editable type was an option passed to the builder to allow us to use floating or modal when defining a new oak Builder

Ugo Stephant 24/06/2024 15h06
editableType: 'floating' (default) | 'panel'

can you add a story for the modal type?


Add to workshop requirement page that we also require helpers

Add to workshop requirement page (currently listing only practical things about room) that we also require helpers (1-2). Stress this in communication with local contact persons.  And, encourage (more strongly at end of phase 2) contribution of instructor time for future workshops via our mentoring program.

@annefou are you working on this? I missed that you had self-assigned and started writing a section to the workshop-requirements.md file. Here's the WIP section, in case it helps:
"""
Helpers
CodeRefinery workshops are hands-on and interactive, and a lot of time is
spent on exercises where participants learn by doing.
It is therefore highly desirable that each workshop have a number of
workshop "helpers" who can work with the instructors to assist participants
with the exercises.
"""

Yes. But if you have done it I can work on something else.

ok i'll just finish this then. There are many other issues, and i just opened a new one which you might want to look at: https://github.com/coderefinery/coderefinery.org/issues/155

Seems to be done, closing.


Implement ContainerChild for ExpanderRow

Summary
Implemented ContainerChild for adw::ExpanderRow.

Checklist

[x] cargo fmt
[x] cargo clippy
[x] cargo test
[x] updated CHANGES.md

I drafted this because I encountered some blockers, I might try again in the future.

Moved to #464


Version bump and release 0.7.1

Version bump and documentation updates for 0.7.1

Coverage remained the same at 100.0% when pulling 4a466e9e9cefe720b64494073025f386411b6595 on release-0.7.1 into 4d6f6ba1fa98cc2fa067e1cf8a1c0ab79329fb82 on master.


Sometimes some players are heard throughout the server.

Describe the bug
It is basic, as the title indicates, without any reason a person is heard throughout the server, simply restarting the voice chat is usually solved.
To Reproduce
Steps to reproduce the behavior:
I do not know exactly when it happens, it is something random and it happens without doing anything strange.
Expected behavior
That a random player is not heard throughout the server.
Server Info:

Server Version: 4162
Client Version: I'm in the Canary Islands, but there are players in production that also happen to them.
Client Build: b2060

Additional context
My cfg:
setr voice_useNativeAudio false
setr voice_use2dAudio true

Use native audio


[Doc] Add Multi-Attribute Login related Documentation.

Is your suggestion related to a missing or misleading document? Please describe.
$Subject.
Multi-attribute login documentation in the latest docs seems missing in IS 7 docs.
Related Issues:

Duplicate Issue : https://github.com/wso2/product-is/issues/18883


CMake Tools sets intelliSenseMode clang-x64 on ARM device unless "-arch arm" is explicitly added

Environment is remote SSH from a Mac into a Raspberry Pi 4, compiler is Clang 9.0.1.
main.cpp:
#include <string>

int main()
{
   return 0;
}

CMakeLists.txt:
cmake_minimum_required(VERSION 3.13)
set (CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_DISBLE_IN_SOURCE_BUILD ON)
set(CMAKE_CXX_COMPILER /usr/bin/clang++-9)
add_executable(TEST main.cpp)

Project compiles without issues.
Expected:

CMake Tools provides intelliSenseMode clang-arm to C++ Tools.
Apparent Behavior:
CMake Tools provides IntelliSenseMode clang-x64 to C++ tools, and all standard library #includes get red squiggles.
I can avoid this by adding the line target_compile_options(TEST PUBLIC -arch arm) to CMakeLists.txt, but this is only needed for the intelliSenseMode - compiling works fine without it, and compiling with the added line gets this warning:
[build] clang: warning: argument unused during compilation: '-arch arm' [-Wunused-command-line-argument]

CMake Tools Log

[main] Safe constructing new CMakeTools instance
[variant] Constructing VariantManager
[main] Constructing new CMakeTools instance
[main] Starting CMakeTools second-phase init
[variant] Loaded new set of variants
[main] CMakeTools instance initialization complete.
[kit] Reading kits file /home/pi/.local/share/CMakeTools/cmake-tools-kits.json
[kit] Successfully loaded 5 kits from /home/pi/.local/share/CMakeTools/cmake-tools-kits.json
[kit] Not reading non-existent kits file: /home/pi/embedded/.vscode/cmake-kits.json
[extension] Configuring workspace on open file:///home/pi/embedded
[kitsController] Start selection of kits. Found 7 kits.
[kitsController] Opening kit selection QuickPick
[kitsController] User selected kit {"label":"Clang 9.0.1","description":"Using compilers: C = /usr/bin/clang-9, CXX = /usr/bin/clang++-9","kit":{"name":"Clang 9.0.1","compilers":{"C":"/usr/bin/clang-9","CXX":"/usr/bin/clang++-9"}}}
[main] Injecting new Kit into CMake driver
[main] Configuring folder: embedded
[main] Saving open files before configure/build
[main] Starting new CMake driver
[main] Starting CMake driver
[main] Using generator from user configuration: Unix Makefiles
[driver] CMakeDriver Kit set to Clang 9.0.1
[driver] Run _refreshExpansions
[cms-driver] Run doRefreshExpansions
[driver] Run _refreshExpansions cb
[cms-client] Started new CMake Server instance with PID 22089
[cms-client] Configuring using the "Unix Makefiles" CMake generator
[driver] Setting new variant , Disable optimizations - include debug information.
[driver] Run _refreshExpansions
[cms-driver] Run doRefreshExpansions
[driver] Run _refreshExpansions cb
[cms-client] Started new CMake Server instance with PID 22108
[cms-client] Configuring using the "Unix Makefiles" CMake generator
[driver] Run _refreshExpansions
[cms-driver] Run doRefreshExpansions
[driver] Run _refreshExpansions cb
[driver] Start configure
[driver] Runnnig pre-configure checks and steps
[driver] Using compilers in Clang 9.0.1 for configure
[driver] Run _refreshExpansions
[cms-driver] Run doRefreshExpansions
[driver] Run _refreshExpansions cb
[cmake] The C compiler identification is Clang 9.0.1
[cmake] The CXX compiler identification is Clang 9.0.1
[cmake] Check for working C compiler: /usr/bin/clang-9
[cmake] Check for working C compiler: /usr/bin/clang-9 -- works
[cmake] Detecting C compiler ABI info
[cmake] Detecting C compiler ABI info - done
[cmake] Detecting C compile features
[cmake] Detecting C compile features - done
[cmake] Check for working CXX compiler: /usr/bin/clang++-9
[cmake] Check for working CXX compiler: /usr/bin/clang++-9 -- works
[cmake] Detecting CXX compiler ABI info
[cmake] Detecting CXX compiler ABI info - done
[cmake] Detecting CXX compile features
[cmake] Detecting CXX compile features - done
[cmake] Configuring done
[cmake] Generating done
[cache] Reading CMake cache file /home/pi/embedded/build/CMakeCache.txt
[cache] Parsing CMake cache string
[cache] Reading CMake cache file /home/pi/embedded/build/CMakeCache.txt
[cache] Parsing CMake cache string

Developer Tools Log

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] (node:76377) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287
workbench.html:1 A cookie associated with a cross-site resource at https://visualstudio.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5411 No search provider registered for scheme: vscode-remote, waiting
(anonymous) @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5411
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:14.316Z [debug] [main] Safe constructing new CMakeTools instance
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:14.323Z [debug] [variant] Constructing VariantManager
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:14.329Z [debug] [main] Constructing new CMakeTools instance
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:14.331Z [debug] [main] Starting CMakeTools second-phase init
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.096Z [info] [variant] Loaded new set of variants
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.107Z [debug] [main] CMakeTools instance initialization complete.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.218Z [debug] [kit] Reading kits file /home/pi/.local/share/CMakeTools/cmake-tools-kits.json
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.369Z [info] [kit] Successfully loaded 5 kits from /home/pi/.local/share/CMakeTools/cmake-tools-kits.json
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.380Z [debug] [kit] Not reading non-existent kits file: /home/pi/embedded/.vscode/cmake-kits.json
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.452Z [debug] [extension] Configuring workspace on open file:///home/pi/embedded
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.457Z [debug] [kitsController] Start selection of kits. Found 7 kits.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:15.458Z [debug] [kitsController] Opening kit selection QuickPick
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:16.905Z [debug] [kitsController] User selected kit {"label":"Clang 9.0.1","description":"Using compilers: C = /usr/bin/clang-9, CXX = /usr/bin/clang++-9","kit":{"name":"Clang 9.0.1","compilers":{"C":"/usr/bin/clang-9","CXX":"/usr/bin/clang++-9"}}}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:16.913Z [debug] [main] Injecting new Kit into CMake driver
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:16.925Z [info] [main] Configuring folder: embedded
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:16.928Z [debug] [main] Saving open files before configure/build
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.183Z [debug] [main] Starting new CMake driver
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.187Z [debug] [main] Starting CMake driver
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.189Z [debug] [main] Using generator from user configuration: Unix Makefiles
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.196Z [debug] [driver] CMakeDriver Kit set to Clang 9.0.1
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.202Z [debug] [driver] Run _refreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.204Z [debug] [cms-driver] Run doRefreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.206Z [debug] [driver] Run _refreshExpansions cb
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:17.307Z [debug] [cms-client] Started new CMake Server instance with PID 22089
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.322Z [info] [cms-client] Configuring using the "Unix Makefiles" CMake generator
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.339Z [debug] [driver] Setting new variant , Disable optimizations - include debug information.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.341Z [debug] [driver] Run _refreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.342Z [debug] [cms-driver] Run doRefreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.344Z [debug] [driver] Run _refreshExpansions cb
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:18.422Z [debug] [cms-client] Started new CMake Server instance with PID 22108
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:19.429Z [info] [cms-client] Configuring using the "Unix Makefiles" CMake generator
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.090Z [debug] [driver] Run _refreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.091Z [debug] [cms-driver] Run doRefreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.092Z [debug] [driver] Run _refreshExpansions cb
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.124Z [debug] [driver] Start configure
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.126Z [debug] [driver] Runnnig pre-configure checks and steps
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.137Z [debug] [driver] Using compilers in Clang 9.0.1 for configure
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.144Z [debug] [driver] Run _refreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.146Z [debug] [cms-driver] Run doRefreshExpansions
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.147Z [debug] [driver] Run _refreshExpansions cb
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:20.886Z [info] [cmake] The C compiler identification is Clang 9.0.1
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:21.791Z [info] [cmake] The CXX compiler identification is Clang 9.0.1
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:21.845Z [info] [cmake] Check for working C compiler: /usr/bin/clang-9
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:22.818Z [info] [cmake] Check for working C compiler: /usr/bin/clang-9 -- works
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:22.829Z [info] [cmake] Detecting C compiler ABI info
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:23.713Z [info] [cmake] Detecting C compiler ABI info - done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:23.772Z [info] [cmake] Detecting C compile features
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:26.494Z [info] [cmake] Detecting C compile features - done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:26.533Z [info] [cmake] Check for working CXX compiler: /usr/bin/clang++-9
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:27.768Z [info] [cmake] Check for working CXX compiler: /usr/bin/clang++-9 -- works
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:27.775Z [info] [cmake] Detecting CXX compiler ABI info
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:28.980Z [info] [cmake] Detecting CXX compiler ABI info - done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:29.034Z [info] [cmake] Detecting CXX compile features
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:35.848Z [info] [cmake] Detecting CXX compile features - done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:35.862Z [info] [cmake] Configuring done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:35.886Z [info] [cmake] Generating done
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:36.087Z [debug] [cache] Reading CMake cache file /home/pi/embedded/build/CMakeCache.txt
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:36.095Z [debug] [cache] Parsing CMake cache string
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] activating extension
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] starting language server
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] (node:21984) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:37.170Z [debug] [cache] Reading CMake cache file /home/pi/embedded/build/CMakeCache.txt
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] [CMakeTools] 2020-10-11T06:11:37.395Z [debug] [cache] Parsing CMake cache string
2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:287 [Extension Host] updateCustomBrowseConfiguration
2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1707   ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria.
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/semver-umd/lib/semver-umd.js.map:
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/tas-client-umd/lib/tas-client-umd.js.map:
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js.map:
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/xterm-addon-unicode11/lib/xterm-addon-unicode11.js.map:
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-textmate/release/main.js.map:
DevTools failed to load SourceMap: Could not load content for file:///Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/xterm-addon-search/lib/xterm-addon-search.js.map:

Platform and Versions

Operating System: Raspbian Buster, accessed via Remote SSH from macOS 10.15.7
CMake Version: 3.13
VSCode Version: 1.50.0
C/C++ Extension Version: 1.0.1
CMake Tools Extension Version: 1.4.2
Compiler/Toolchain: Clang 9.0.1

Other Notes/Information
For anyone else running into this, you can silence the "unused argument" warning from the workaround by adding the compiler option -Qunused-arguments. Older versions of Clang use something different, I believe -Wno-error=unused-command-line-argument.

Thank you for reporting this issue. We’ll let you know if we need more info to investigate it.

Is this fixed with version 1.7.1?  cpptools recently made it optional for configuration providers to set the intelliSenseMode since it already does work to figure this out, so we skip it unless an older version of cpptools is detected.


Let's start a documentation!

[x] creation of a mapping of existing components to clarify architecture and provide technical templates of website
[x] Write presentation of project
[x] list tech stack

@gaeVG First task of the list for you or no?

Tech Stack.docx
to be checked and completed @gaeVG

Mapping of existing project.docx
to be checked @gaeVG

Documentation - REFEMI.pdf
Draft

First steps of documentation: OK. Next step to be created for Sprint 2


Move Rust-specific code into dedicated directory in SDK to make way for C-specific material

Moved around various directories under sdk to make way for eventual C support. This is laying the groundwork for #8. Supersedes #35.

AWS CodeBuild CI Report

CodeBuild project: Veracruz
Commit ID: 0e48fe2c40e248bb00e4c11236735a32eea2b46f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: Veracruz
Commit ID: dc852858796dbbad3daec099e84c937fab42a4d8
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: Veracruz
Commit ID: 410d3ea5d20a12fd557632309d9eb8ab01fbf6fc
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


unique :nuxt-child-key makes previous route page rerender and fires all the hooks

Versions

nuxt: v2.15.8
node: v14.17.5

Steps to reproduce
Change :nuxt-child-key on each route change in <Nuxt :nuxt-child-key="$route.path" />
What is Expected?
:created and rest of hooks don't fire from previous route page.
What is actually happening?
:created and rest of hooks fire from previous route page.

I can't reproduce it on new nuxt project. Will take time to investigate further. I'm using router, the same way as in Vue, not the default nuxt router. Probably this is the case.


18.5: "Force Wave" doesn't work correctly after the first wave

For example, try these options:

Wave01 of End Of Market is "FairyWave Type Aim 1". Wave02 is "Big Fairy Splash".
However, with these settings, BOTH waves become "FairyWave Type Aim 1". Only when reaching the "None" wave does the wave change.
You can change Wave01 to Wave02 and vice-versa to make both waves "Big Fairy Splash".

I'll probably just get rid of that feature and replace it with a menu where you select a wave when the game actually tries to randomly select then shoot the wave. It's the only thing that wouldn't be a hacky hardcoded mess anyways


Adds Control Flow Tutorial

I'm not sure if we should go into more details with things like switch, Tuples, Fallthrough etc. Let me know if it would be better to add them.

I don't think the classes and structs tutorial is very clear. I've been trying to improve it, but I have been failing so far. If anyone wants to rip it apart and make it better that would be great. If you have any ideas, that would be very helpful as well.


Feature Request: PSBTs with QR code support

Hello, thanks for providing such amazing software to the community!
I noticed I’m not able to use sparrow as a co-signer when using PSBTs. I’m forced to either use sparrow as the sender or export the signed transaction to a file. I was expecting to see an option to use a QR code to sign a transaction similar to how blue wallet does.
Am I missing something from my end or is this just a feature that isn’t there yet?

Closing this off - no response and I believe this functionality is already present as described.

Thanks, missed your first response.


Cant install extension: Version specified in engines.vscode (*) is not specific enough.

Description
When I try to install the Panda CSS extension in VSCode I get:
Version specified in engines.vscode (*) is not specific enough. For vscode versions before 1.0.0, please define at a minimum the major and minor desired version. E.g. ^0.10.0, 0.10.x, 0.11.0, etc.

Link to Reproduction
https://marketplace.visualstudio.com/items?itemName=chakra-ui.panda-css-vscode
Steps to reproduce

Go to: https://marketplace.visualstudio.com/items?itemName=chakra-ui.panda-css-vscode
Install Pre-Release Version (Release was not available at this time.)
Error.

JS Framework
No response
Panda CSS Version
N/A
Browser
VSCode
Operating System

[ ] macOS
[X] Windows
[ ] Linux

Additional Information
No response

The extension is still under development.


posibility to avoid a clone in try_recv

Hi,
I've been looking into using async-broadcast and noticed that when calling try_recv on a channel the implementation always clones, I wonder if that is intent or accident?
If the limitation is made that new receivers only receive messages that were sent after they subscribed this could probably be avoided, reducing the clones needed to num_subscribers - 1. Given that cloning can be fairly expensive, this can lead to a nice performance improvement (especially for channels with a small number of receivers).

@Licenser async-broadcast hasn't seen much optimizations yet, if you've found a location which you think can be optimized a PR for it would certainly be welcome! That also makes it easier to talk about the exact optimization (I've kind of forgotten how the code works), and if it works out we can probably merge it straight away!
Do you think you could open a PR for this?

Awesome :) I'll take a stab at it!

closing this thanks for the quick merge! <3 🚀


Bad french translations

hello somes of the french translation are verry bad and make no sense maybe try to find a french to translate them correctly because google made it wrong :)
{
    "gameEnded": "Jeu terminé",
    "gameEndedDesc": "Votre jeu est terminé car : 1 minute d'inactivité.",
    "question": "Question",
    "progress": "Progrès",
    "pleaseType": "Veuillez saisir ...",
    "stopTip": "Vous pouvez également taper \"s\" ou \"arrêter\" pour mettre fin à votre jeu.",
    "yes": "Oui",
    "no": "Non",
    "dontKnow": "Je ne sais pas",
    "dontKnowNoComma": "Ne sais pas",
    "probably": "peut-être",
    "probablyNot": "peut-être pas",
    "back": "Retour",
    "stop": "Arrêter",
    "thinking": "Réfléchis...",
    "isThisYourCharacter": "Est-ce votre personnage?",
    "ranking": "Classement",
    "noOfQuestions": "Nombre de questions",
    "wellPlayed": "Bien joué!",
    "guessedRightOneMoreTime": "J'ai deviné encore une fois de plus!",
    "character": "Personnage",
    "defeated": "Bravo! Tu m'as vaincu ...",
    "gameForceEnd": "Votre jeu est terminé avec succès!"
}

i fixed this one to be more "human like" but the main questions where are they ?

should be : Est-ce que votre personnage est de sexe féminin  not as shown in picture my eyes are bleeding to see this :(

Hello! 👋
Sorry for the inaccurate translations. I'll have them fixed in the next release, so I'll keep this issue open until then.
As for the questions, they are translated in real-time so hard-coding translations for those would not only be very difficult, but would also heavily impact the package size 😕

Hello! 👋
Sorry for the inaccurate translations. I'll have them fixed in the next release, so I'll keep this issue open until then.
As for the questions, they are translated in real-time so hard-coding translations for those would not only be very difficult, but would also heavily impact the package size 😕

its okay i can understand :)


EFS path is not mounted, only rootpath

Hello,
When I use configure a volume with EFS for ex :
--volume-driver=efs -v fs-aaaa1234/folders:/folders
The mount cmd is :
mount -t nfs4 <IP_ADDRESS>:/ /var/lib/docker-volumes/netshare/efs/fs-aaaa1234/folders
This problem of path is not reproductible with --volume-driver=nfs :
--volume-driver=nfs -v <IP_ADDRESS>/folders:/folders
give the mound cmd :
mount -v -t nfs4 <IP_ADDRESS>:/folders /var/lib/docker-volumes/netshare/nfs/<IP_ADDRESS>/folders
Are subpath (like fs-aaaa1234/folders) for EFS supported ?

I'm using 0.19 release but error persist. I can't get mount on subpath.
time="2016-07-14T14:05:29Z" level=error msg="Error during resolve: Response was empty"
time="2016-07-14T14:05:29Z" level=info msg="Mounting EFS volume <IP_ADDRESS>:/pgadmin on /var/lib/docker-volumes/netshare/efs/fs-d373b79a/pgadmin"
2016/07/14 14:05:29 mount.nfs4: mounting <IP_ADDRESS>:/pgadmin failed, reason given by server: No such file or directory

time="2016-07-14T14:05:29Z" level=error msg="Error during resolve: Response was empty"
time="2016-07-14T14:05:29Z" level=info msg="Unmounting volume <IP_ADDRESS>:/pgadmin from /var/lib/docker-volumes/netshare/efs/fs-d373b79a/pgadmin"
2016/07/14 14:05:29 umount: /var/lib/docker-volumes/netshare/efs/fs-d373b79a/pgadmin: not mounted

Hi, @gondor
0.19 causes error.
$ docker --debug run -it --rm --volume-driver=efs -v fs-xxxxxxx/subdir01:/mnt/data alpine /bin/sh
docker: Error response from daemon: VolumeDriver.Mount: exit status 32.

----
## subdir01 is already exist.

time="2016-08-19T06:35:48Z" level=info msg="Mounting EFS volume <IP_ADDRESS>:/sitexxxx on /var/lib/docker-volumes/netshare/efs/fs-xxxxxxx/subdir01"
2016/08/19 06:35:49 mount.nfs4: mounting <IP_ADDRESS>:/subdir01 failed, reason given by server: No such file or directory

0.17 works fine. It creates automatically even if it is not exist.
$ docker run -it --rm --volume-driver=efs -v fs-xxxxxxx/subdir01:/mnt/data alpine /bin/sh
bash-4.3$

== Version: 0.32 - Built: 2016-10-10T23:03:47-07:00 ==
I'm getting error trying mount using subfolder, too.
ubuntu@ip-172-31-15-7:~$ docker run -it --volume-driver=efs -v fs-xxxxxxxx/teste:/mount ubuntu /bin/bash
docker: Error response from daemon: VolumeDriver.Mount: exit status 32.
Debug logs:
`
DEBU[0741] Host path for fs-xxxxxxxx/teste (fs-xxxxxxxx/teste) is at /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste
DEBU[0741] Attempting to resolve: us-east-1a..efs.us-east-1.amazonaws.com
ERRO[0741] Error during resolve: Couldn't resolve name 'us-east-1a..efs.us-east-1.amazonaws.com.' : dns: bad rdata
INFO[0741] Mounting EFS volume us-east-1a..efs.us-east-1.amazonaws.com: on /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste
DEBU[0741] exec: mount -t nfs4 -o nfsvers=4.1 us-east-1a..efs.us-east-1.amazonaws.com: /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste
2017/01/06 17:52:16 mount.nfs4: Failed to resolve server us-east-1a..efs.us-east-1.amazonaws.com: Name or service not known
DEBU[0741] Attempting to resolve: us-east-1a..efs.us-east-1.amazonaws.com
ERRO[0741] Error during resolve: Couldn't resolve name 'us-east-1a..efs.us-east-1.amazonaws.com.' : dns: bad rdata
INFO[0741] Unmounting volume us-east-1a..efs.us-east-1.amazonaws.com: from /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste
2017/01/06 17:52:17 umount: /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste: not mounted
DEBU[0741] Host path for fs-xxxxxxxx/teste (fs-xxxxxxxx/teste) is at /var/lib/docker-volumes/netshare/efs/fs-xxxxxxxx/teste
`


Minor improvements to Safe Browsing patch

Allow Quic to be disabled on the IO thread
Cleanly remove Safe Browsing code in chrome_content_renderer_client to protect against future changes.

This is derived from https://github.com/Eloston/ungoogled-chromium/commit/d7ec1e9dc7aa0e3f99cb8a00333ce8a890926b53 and https://github.com/Eloston/ungoogled-chromium/commit/a443346f92a9f8a13991a45986c1df20e10be30d

LGTM, thanks a lot


Add posts table and implement it

Add posts table and implement it

Table is added but there is no data beeing inserted yet.


Enable win to use shell script

remove WORKSPACE key word as it does not work in sh on wins
remove maketest.bat and get.bat

Issues: #407
Signed-off-by: lanxia<EMAIL_ADDRESS>

Tests:
Regular Win build: https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox/476/
Grinder (Win): https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox3/69/
Grinder (linux): https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox3/68/

fyi @jdekonin @AdamBrousseau

re-tested with new changeset: https://ci.adoptopenjdk.net/view/work in progress/job/TestBuild_Sandbox3/70/
Also tested with JCK

@ShelleyLambert Could you please disable test-packet-x64-windows-2012r2-1 in AdoptOpenJDK Jenkins? Thanks.
This PR works on newly enabled wins test-azure-win2012r2-x64-1.
For more detail, please see https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/378

I have temporarily disabled test-packet-x64-windows-2012r2-1 with a link to issue 407

Thanks Shelley.
Merge the PR.


Question: Easy way to solve N+1?

I was going to post this on StackOverflow but since it's rather specific to this gem, I thought I'd ask here first. Hopefully that's ok. I have closure_tree working quite nicely for a comments system. If I go to a status, all comments on that status will show and that part works great. If I go to the news feed, I show 10 statuses at a time, and then it calls hash_tree 10 times which means 10 database hits.
Is it possible using joins and includes to move this into my initial query for statuses? Something like:
@statuses = Status.where('something here').joins('sql for closure_tree).includes(:comments)
If it is possible I can work out what code I need to do it, I'm just not sure if it's possible. The end result is I'm wanting to call status.comments.hash_tree, or something similar, and have it via the collection.

I know this is an old issue, but this may help someone else.
You should be able to include one of the scopes listed here: https://github.com/mceachen/closure_tree#instance-methods
If ActiveRecord complains about undefined tables, you might need to add .references(:modelname_hierarchies).
It pays to RTFM 😄


Custom LogRecorder is not invoked

I have built a custom LogRecorder to send logs with Crashlytics reports. Here's my recorder:
class CrashlyticsLogRecorder: LogRecorderBase
{
    init()
    {
        super.init(name: "CrashlyticsLogRecorder", formatters: [])
    }

    override func recordFormattedMessage(
        message: String,
        forLogEntry entry: LogEntry,
        currentQueue: dispatch_queue_t,
        synchronousMode: Bool)
    {
        CLSLogv(message, CVaListPointer(_fromUnsafeMutablePointer: nil))
    }
}

And here's my Log.enable() call, in AppDelegate.init():
override init()
{
    let logConfiguration = DefaultLogConfiguration(
        minimumSeverity: .Debug,
        filters: [],
        formatters: [DefaultLogFormatter()],
        additionalRecorders: [CrashlyticsLogRecorder()],
        synchronousMode: false)

    Log.enable(logConfiguration)

    super.init()
}

All my Log.message() calls are visible in the Xcode console, but a breakpoint in CrashlyticsLogRecorder.recordFormattedMessage() is never hit and the logs are never sent with Crashlytics reports.

I believe the problem may be that you're not passing any formatters up to the superclass in your init(). If my suspicion is correct, all you should need to do is remove the text ", formatters: []" from your call to super.init() to inherit the default value for that parameter provided by the LogRecorderBase superclass.
Each LogRecorder can provide its own set of LogFormatters via the formatters property. Only those formatters returned by a given LogRecorder instance will be consulted when attempting to format a message that would be passed to that LogRecorder. This allows you to use different formatters with different recorders.
In the case of the LogRecorderBase class, you can specify the formatters either by passing at least one instance to the superclass from your init(), or by overriding the formatters property to return your own value(s).
The reason your recordFormattedMessage(_:forLogEntry:currentQueue:synchronousMode:) is not getting called, then, is because it will only be called if at least one formatter instance returns a non-nil value for a call to formatLogEntry().
Please confirm if this suggestion resolves your issue.

Thanks, it does resolve the issue.


✨[feature Request]: Collection page UI improvement

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
On the "Entertainment" collection page, certain products do not display the "Order Now" and "Rating" options, while others do. This results in an inconsistent user experience. Each product should display both "Order Now" and "Rating" options for a consistent user interface across the collection.
Use Case
Adding missing "Order Now" and "Rating" options ensures users can easily purchase items or leave feedback, creating a seamless experience.
Benefits
**Better User Experience:**Consistent "Order Now" and "Rating" options improve navigation and satisfaction.
Increased Engagement: Visible ratings encourage feedback and interaction, fostering a stronger user community.
Trust & Professionalism: A uniform design boosts trust in the platform, making it more appealing to users and improving brand reputation.
Faster Decisions: Visible ratings help users quickly evaluate products, speeding up their shopping process.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Anwishta please update your branch

I would like to solve this issue

@Anjaliavv51 I've updated my branch and the issue still exists kindly assign it to me.


⚠ Bofrost.nl has degraded performance

In 7900c3c, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1376 ms

Resolved: Bofrost.nl performance has improved in b2b0d5d.


Why "body" is not the possible value for the location of the parameter in v3.0.1?

v3.0.1:
in	string	REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".
v2.0
in	string	Required. The location of the parameter. Possible values are "query", "header", "path", "formData" or "body".
Why "body" is not the possible value for the location of the parameter in v3.0.1?

Both "in:body" and "in:formData" parameters have been replaced by the requestBody object


The portals plot page displaying a PHP error and failing to load maps.

When loading the portals plot page to view data on a specific flight the following PHP error is displayed along with the Google Maps failing to load.
Warning:  Trying to access array offset on value of type bool in <b>/var/www/html/classes/common.class.php on line 101

This issue was addressed in commit a9837fb.


Ability for Managers/Supervisors to Manage Employees of Business

Describe the feature
This is self explanatory but basically give perms for the Managers/Supervisors to Hire and fire people as the owner is the only one who can. If you want as well you can add ability to manage vehicles for Managers as well.
Additional Context
No response

closed by #1592


AWS SQS source and sink

Is your feature request related to a problem? Please describe.
Would be useful to be able to source events from AWS SQS.
Describe the solution you'd like
A source that turns GCP Pub/Sub events into messages for further processing.
Describe alternatives you've considered
None
Additional context
None

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@shubhamdixit863 once you complete the issues listed in https://github.com/numaproj-contrib/aws-sqs-source-go/issues, please go ahead and close this.

Completed! SQS Source and SQS Sink


bias defaults to True for nn.Conv2d

Thanks for publishing this quite interesting work. I believe it is customary to use either bias or BatchNorm, but not both at once. the nn.Conv2d layers not have bias=False added to their constructor args, as otherwise they would default to bias=True?

Thanks for the nice concern. Since the BatchNorm will normalize the input features, it is almost the same for setting bias=True and bias=False. Therefore, both settings are fine.


Integration Test - Release - 2022/01/07 09:58:31

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#please-close

#unassign PRMergerTest1

#unassign NonAllowedUser


feat(charts): add Deis-Lite Chart

This is one node Deis-Lite chart with persistent storage and it currently only works on kube-solo App

@sgoings this my adoption (first try) of current v2 Deis chart, with a minimal changes to work on kube-solo:

replicas have all been changed to "1" instead of "3" - as Lite (single host) does not need 3 replicas for etcd, and having just one allows to stop/restart the machine and etcd still will be in tact.
volumes have been created to point to host paths of "/data/deis/some-component" - as we currently have no other persistent option implement I used host volumes there
workflow is accessible from port 8000 on the host - just to make easier to access workflow for now

I already was looking to helm templates/generate  which should allow to stay deis-lite stay in line with deis releases, and to have no duplication of the manifests :)
When we have tackled persistent storage for Deis charts, which of course is some challenge for as we need to support GCE, GKE, AWS, Azure, DO and other cloud and bare-metal Kubernetes setups, then Deis-Lite should work there too.

@arschles updated PR with app for selectors

Going to hold off on this one until post beta. Should have a better idea of what we want and need.
Refs deis/deis#4852

Closing this PR, till we have beta version chart


feat: add flag that checks whether any of the plans have been deactivated

Checklist:

[ ] Have you added Release Notes in the docs repositories?
[x] Have you followed the Conventional Commits specification?

Thank you very much @blgm for your help


Error handling for missing requires

Right now, gaston stops when there is an unresolved require(<this-is-missing>). We need to handle this in a way, that we don't need to restart gaston.
This should work with both .css (/.less) and .js files

Fixed in version 0.9.2


Confusing documentation

I find the the documentation on how to install libusb on windows very confusing.
faq
From the text I can't figure out if I should install libusb myself or if the library is enough to get going.

On Windows, pyocd/libusb-package_ is a convenient [1] [2] way to provide the necessary libusb 1.0 DLL

The pyocd/libusb-package_ is just referencing the faq itself
[1] [2]  is linking to the following in the faq

Linux and BSD are typically set up in a way in which root permissions are needed for low level/generic access to USB devices.

This is confusing, when the documentation speaks about a Windows issue but linking to an unrelevante Linux problem

The pyocd/libusb-package_ is just referencing the faq itself

That link is indeed broken. I'll fix it ASAP.

[1] [2] is linking to the following in the faq [...]

That's not accurate, they both point to the corresponding footnotes.

Fixed the link, but it seems that GitHub rendering of reStructuredText is broken right now: clicking the correct link results in an error, instead of opening the libusb-package project page (which exists).

Hopefully this will get sorted out by itself, soon. Else, I'll try to remember to report it to GitHub (but feel free to do it before me, if you can).


Passing pointers into extension type constructor

In some cases it can be useful to wrap up some C level details into a Python object. This can be handy for Python users to pass around without needing to be concerned about the C level details. Also it can be useful for different C libraries that need to interact at this lower level.
For example memoryviews are a nice, common demonstration of this use case. Though not all use cases map to a memoryview. Sometimes we need to roll our own solution for this problem.
Take for instance the use case of sharing a pointer between two libraries. Python need not be concerned with this pointer. However C libraries will definitely need access to the pointer. In these cases it would be handy to build a Python object that can be passed around in Python code. At the C level libraries can access this pointer to facilitate operations that may require it.
In the interest of solving this use case, it would be nice to write some code that looks roughly like this. However today this code won't compile as a pointer cannot be passed to __cinit__.
cdef class hdl:
    cdef void* ptr

    def __cinit__(self, void* new_ptr):
        self.ptr = new_ptr

This is also the subject of at least a few StackOverflow questions and some discussion on the Python mailing list.

https://stackoverflow.com/q/18695402/3877089
https://stackoverflow.com/q/31701550/3877089
https://stackoverflow.com/q/35088883/3877089

One could work around this by changing the input to size_t. However this is a bit kludgy. It also may lose any type checking we might have had (supposing we want a specific pointer type).
diff --git a/code.pyx b/code.pyx
index 339d4cb..2c5573b 100644
--- a/code.pyx
+++ b/code.pyx
@@ -1,5 +1,5 @@
 cdef class hdl:
     cdef void* ptr

-    def __cinit__(self, void* new_ptr):
-        self.ptr = new_ptr
+    def __cinit__(self, size_t new_ptr):
+        self.ptr = <void*>new_ptr

Alternatively one can eschew the constructor and pass in the pointer after the object is made. Though this is even more kludgy than the workaround above and shifts more of the burden to users of this hand rolled object.
It would be nice to have a solution for this use case. Would be curious to hear thoughts on how best to proceed. 🙂

The problem is that the constructor arguments are passed around to a number of methods through Python's object code in rather specific ways - the magic methods always receive them in a tuple and dict. So the arguments must be passed in as Python objects to be storeable in those safely. Specifically type.__call__() -> Cython-generated __new__() -> __init__(). All three of those are C-slots which have to have the (PyTupleObject *args, PyDictObject *kwargs)  signature to be stored in the type struct.
The docs actually has a section on this - what it recommends is creating a cdefed factory function (staticmethod or module-level) that accepts the pointer, creates your object and then returns it. You'll need to then make the class itself init with a null pointer, and make sure you handle that case safely. Good idea to do that anyway though.
Actually though, there is a good solution for your original problem - PyCapsule  objects. These are a builtin type which wrap a single void * pointer, letting you safely pass those through Python code. Their main purpose is to allow cross-library API use - you can store a struct of function pointers in one, then import it from a different extension module to be able to access and call those easily.

I think the best solution is really to make the initialisation explicit using a factory function. Cython shouldn't do any magic here to (try to) make this appear to work.


Crash when placing Mekanism cardboard box

When placing the cardboard box on any object, including an air block, an error occurs from AlechemyEvents occurs resulting in a game crash. Not sure if the issue is with Jobs+ or Mekanism.
crash-2022-05-29_14.51.57-client.txt

Fixed in next update.


Command D case sensitive option

From @xmattstrongx on September 16, 2017 14:50
Command D - Add Next Occurrence
I have found this shortcut to be a nice substitute for a refactor command that you may find in other IDEs. Unfortunately there does not seem to be an option to do this in a case sensitive manner.

It would be nice if this option could either be configurable to be case sensitive or perhaps to have another shortcut that could function the same as Command D but in a case sensitive manner.
Copied from original issue: Microsoft/vscode-go#1217

In fact when you hit Ctrl + D, there is a little toolbar appears at the top-right of the editor, to let you toggle search options.
Shortcuts are Alt + C for case sensitive, Alt + W for match whole word (although it doesn't work for me), and Alt + R for using regular expressions (is it meaningful to use regular expressions to find occurrences?).
The shortcuts only work when the search panel is not shown, or it will apply to the search panel.

I believe this is resolved with PR #36682 . When starting with a collapsed selection, Command+D will now search with wholeWords: true and caseSensitive: true.


[Bug]: size of image is not expand on all screen when I want to edit a picture taken by the camera

Package Version
5.4.2
Flutter Version
3.24.2
Platforms
Android, iOS
How to reproduce?
when I use a photo made by the camera of the laptop the proImageEditor.file does not display the image in the whole view it is centered but only takes the width
Logs (optional)
No response
Example code (optional)
No response
Device Model (optional)
No response

I'm not sure exactly what you mean. Could you post an image showing how it looks like?

A video would be more explanatory. Here, the image doesn't take up the entire screen, maybe you have a simple solution.
So on the video I take a photo and I send it to another page the path of the photo
https://github.com/user-attachments/assets/8cc6871b-1aa4-4bc2-ad6d-3260e896ecf7

Thank you for sharing the video. I understand what you mean now.
The issue doesn’t appear to come from the image editor itself. As you can see, the editor displays more content than is visible at the time of capture. It seems the camera widget isn’t properly fitted to the screen, resulting in a difference between what it shows and what it captures. The image editor correctly fits the full image to the screen, so that part is working as expected. You may need to adjust the camera widget to fit the screen and, if needed, set an aspect ratio to stretch it to the screen size.

Do you have a solution? I've been searching, but I can't seem to find one.

``

I send you the code it is very simplistic and an image that the camera makes maybe juste resize the image
This function is made to take the photo I imagine that this is the problem, the image saved is too big
Future<void> _prendrePhoto() async {
  // pour le faire en background
  //initialiseControllerFuture.then((value) => null);

  try {
    await initialiseControllerFuture;

    String cheminVersImage = join(
      (await getApplicationDocumentsDirectory()).path,
      '${DateTime.now().millisecondsSinceEpoch}.jpg',
    );

    final XFile file = await _cameraController.takePicture();
    await file.saveTo(cheminVersImage);

      setState(() {
        _lastImage = cheminVersImage;
      });
    }

  } catch (e) {
    print('Erreur lors de la capture de la photo : $e');
  }
}

Below is the widget
  Widget cameraWidget() {
    return SizedBox(
      width: double.infinity,
      height: double.infinity,
      child: FittedBox(
        fit: BoxFit.cover,
        child: SizedBox(
          width: _cameraController.value.previewSize?.height,
          height: _cameraController.value.previewSize?.width,
          child: CameraPreview(

            _cameraController,
            child: LayoutBuilder(
              builder: (BuildContext context, BoxConstraints constraints) {
                return GestureDetector(
                  onTap: () => hideAdditionnalButtons(),
                  onTapDown: (details) => onViewFinderTap(details, constraints),
                  onDoubleTap: () {
                    _cameraToggle();
                  },
                  onVerticalDragStart: (details) {
                    _startZoom = details.globalPosition.dy;
                  },
                  onVerticalDragUpdate: (details) async {
                    double zoomLevel = (_startZoom - details.globalPosition.dy) / 20;
                    zoomLevel = zoomLevel.clamp(_minAvailableZoom, _maxAvailableZoom); // Limiter le zoom dans les bornes
                    await _cameraController.setZoomLevel(zoomLevel); // Mettre à jour le niveau de zoom
                  },
                );
              },
            ),
          ),
        ),
      ),
    );
  }

Thank you for your super quick response.

It seems that you only need to handle the image cropping. The camera widget returns the picture in the original size it was captured, so you will need to crop it manually. Below is a simple way to implement the cropping functionality in your code with the package image. Keep in mind that it’s best to run this process in an isolated environment to avoid performance issues.

  var img = decodeImage(capturedImgBytes)!;

  int oldWidth = img.width;
  int oldHeight = img.height;

  /// Bug-Fix: Camera has a wrong orientation when the flash is activated
  if (oldHeight / oldWidth == cameraRatio) {
    img = copyRotate(img, angle: 90);
    oldWidth = img.width;
    oldHeight = img.height;
  }

  double newWidth = oldWidth.toDouble();
  double newHeight = oldHeight.toDouble();

  double x = 0;
  double y = 0;

  if (aspectRatio <= cameraRatio) {
    newWidth = oldHeight * aspectRatio;
    x = (oldWidth - newWidth) / 2;
  } else {
    newHeight = oldWidth / aspectRatio;
    y = (oldHeight - newHeight) / 2;
  }
  img = copyCrop(
    img,
    x: x.toInt(),
    y: y.toInt(),
    width: newWidth.toInt(),
    height: newHeight.toInt(),
  );
  img = bakeOrientation(img);

I  found another way to do that today, but it's slow. Yours might be faster thanks for the code.
// Fonction pour recadrer l'image selon la taille de l'écran
  Future<File?> _cropImageToScreenSize(XFile imageFile, BuildContext context) async {
    // Lire l'image en bytes
    final imageBytes = await imageFile.readAsBytes();
    IMG.Image? originalImage = IMG.decodeImage(imageBytes);

    if (originalImage != null) {
      // Obtenir les dimensions de l'écran
      final screenSize = MediaQuery.of(context).size;
      final screenWidth = screenSize.width + 45;
      final screenHeight = screenSize.height;

      // Calculer le ratio d'aspect de l'écran (width/height)
      double screenAspectRatio = screenWidth / screenHeight;

      // Ratio d'aspect de l'image capturée (width/height)
      double imageAspectRatio = originalImage.width / originalImage.height;

      int cropWidth, cropHeight;

      // Si le ratio d'aspect de l'image est plus large que l'écran
      if (imageAspectRatio > screenAspectRatio) {
        cropHeight = originalImage.height;
        cropWidth = (cropHeight * screenAspectRatio).toInt();
      } else {
        cropWidth = originalImage.width;
        cropHeight = (cropWidth / screenAspectRatio).toInt();
      }

      // Calcul du décalage pour centrer l'image recadrée
      int xOffset = (originalImage.width - cropWidth) ~/ 2;
      int yOffset = (originalImage.height - cropHeight) ~/ 2;

      // Recadrer l'image selon le ratio d'aspect
      IMG.Image croppedImage = IMG.copyCrop(
        originalImage,
        x: xOffset,
        y: yOffset,
        width: cropWidth,
        height: cropHeight,
      );

      // Enregistrer l'image recadrée
      final croppedImageFile = await File(imageFile.path).writeAsBytes(IMG.encodeJpg(croppedImage));
      return croppedImageFile;
    }
    return null;
  }


Find supported JVMs for remote agent attachment

eg https://discuss.elastic.co/t/automatic-setup-problem/169789
We need to test at least each major distribution of each major version.

Add tests relying on base JDK docker images. Since each image probably has only single JDK installed, testing self attachment (attach API) is practically the same as testing remote attachment.
Additional testing would include different OSs and remote attachment where attaching JVM is different than attached JVM


test: Junk forked PR to see if secrets get skipped

See if secrets get skipped (but not failed) on forked PR
The Issue

#

How This PR Solves The Issue
Manual Testing Instructions
Automated Testing Overview

Release/Deployment Notes

This one worked.