$addToSet with an array as param

Hi,
maybe I ran into a bug but I am not sure, please confirm - doesnt work for me right now (v2.5.0)
MyColl.attachSchema({
    fieldName: {
        type: [ String ],
        optional: true
    }
});

MyColl.update(
    { _id: 'existingIdGoesHere' },
    { $addToSet: { fieldName: [ 'foo', 'bar' ] } },
    ( err )=> console.log( err )
);

// output: 'Error: fieldName must be a string'

Are you missing $each? If fieldName items are strings, you can't push an array into the array.


feat: vertex attribute validation for Material

Objective
Fixes #6128. (Original suggestion from https://github.com/bevyengine/bevy/pull/6127#pullrequestreview-1125960865).
Solution
This PR adds a new trait method, Material::required_vertex_attributes, which allows implementors to specify a list of vertex attributes that are required for the Material to function.
A new system has been added to MaterialPlugin which emits an error message when an entity is found to have a Mesh that lacks required vertex attributes for its Material.

Changelog
Added

Added Material::required_vertex_attributes trait method, allowing implementors to specify the vertex attributes required for a Material.
Added verify_material_mesh_attributes() system to MaterialPlugin. Errors are now emitted if a Material is applied to a Mesh missing required attributes.
Added name() and id() methods on MeshVertexAttribute to retrieve the name and unique ID.

@dataphract Cool idea! Do you think one of the examples (maybe shader_material.rs) should implement required_vertex_attributes() to show the feature?

Cool idea! Do you think one of the examples (maybe shader_material.rs) should implement required_vertex_attributes() to show the feature?

Definitely a good idea, just want to get consensus on how the interface should look before updating examples. Those could be in one or more follow-up PRs.

This ended up being a surprisingly difficult system to write due to the distinction @superdump pointed out -- it needs to detect changes to the mesh assets themselves and not just the handles. This requires a lot of bookkeeping (did this entity's mesh change? did it change its mesh? has this mesh already been validated?) but ultimately it still runs linearly in the number of entities and doesn't require new allocations on every invocation.
The new error message looks like this:
ERROR bevy_pbr::material: Entity 1v0: mesh with ID `Id(8ecbac0f-f545-4473-ad43-e1f4243af51e,<PHONE_NUMBER>721330913)` is missing vertex attribute `Vertex_Normal`, which is required by `bevy_pbr::pbr_material::StandardMaterial`

Backlog cleanup: closing due to inactivity, noting existing tracking issue #6128.


Cosmos 0.47.3

Slay the barberry? 😄

@jtieri @agouin tagging you folks again as I can't assign reviewers :)

Thanks @vitsalis! if you pull in main we should be able to get this merged.
FYI, this repo is not being actively developed on or maintained anymore : /

Thanks @vitsalis! if you pull in main we should be able to get this merged. FYI, this repo is not being actively developed on or maintained anymore : /

Ah I see, that's unfortunate :/ Thanks for your hard work with this package though!
Updates pushed.


Ignore FS errors from stat() in some cases.

(for #9901)
The earlier FS code ignored errors in a couple of situations. Recent changes inadvertently stopped ignoring them. This change restores the earlier behavior (and adds logging of the errors).
This is a backport of #10021.

Codecov Report

Merging #10032 into release-2020.02 will increase coverage by <.01%.
The diff coverage is 100%.

@@                 Coverage Diff                 @@
##           release-2020.02   #10032      +/-   ##
===================================================
+ Coverage             61.2%    61.2%   +<.01%
===================================================
  Files                  564      564
  Lines                30083    30088       +5
  Branches              4551     4551
===================================================
+ Hits                 18411    18415       +4
+ Misses               10642    10640       -2
- Partials              1030     1033       +3

Impacted Files
Coverage Δ

src/client/common/platform/fileSystem.ts
77.87% <100%> (+1.78%)
:arrow_up:

src/client/common/utils/platform.ts
64.7% <0%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0%> (-0.73%)
:arrow_down:

src/client/sourceMapSupport.ts
80.43% <0%> (+2.17%)
:arrow_up:

Continue to review full report at Codecov.

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


Travis CI setup - help please!

I have taken the initial steps to set up Travis, but have not managed to get it working yet. If you know how to get it working, please PR :)
https://travis-ci.org/jsonmodel/jsonmodel/builds/143750604

I think that the repo still features the original xcode project - if you're setting CI I guess it's best to create a new xcode demo app with a proper test target, etc. Just an idea :)

I did recreate the entire project from scratch actually - it tests nicely on my computer. Seems that there is something wrong with the scheme file though.


Run e2e tests locally with one command

Description
It was mentioned at retro that it is difficult to run the e2e tests locally, some team members have lost whole days trying to do this. To reduce the friction and improve developer experience, minimise the amount of manual set up work that needs to be done.
Acceptance criteria

[ ] Set up and launch the end to end tests locally with minimal steps, ideally with one command
[x] Review existing README instructions and ensure they are up to date

@kathaypacific will be covered in #2277!

thanks @MuckT ! i pulled this into the sprint, it'd be great if you could put an estimate on :)

Running the e2e tests takes two commands as seen in e2e/README.md.


I can´t configure server :(

Hello! the app run in my phone not problem but y can´t configure server for search pokemons.
Just show me my location.
Sorry for my English :)

Have you installed the V2 of the server ? (https://github.com/AHAAAAAAA/PokemonGo-Map/tree/V2.0)

Yes and i configure the server of this form.
http://<IP_ADDRESS>:5000
But not load nothing..

http://<IP_ADDRESS>:5000 is your computer in local not in network.
Do you launch your server with "-H <IP_ADDRESS>" and set you local ip address like "http://<IP_ADDRESS>:5000" ?

Strangely, -H <IP_ADDRESS> and ip settings "http://<IP_ADDRESS>:5000" does not work from home.
but my office IP worked....

Could it be an ISP restriction? I had a similar problem earlier, but ended up using ngrok (https://ngrok.com/) to open a tunnel from my local host. I plugged the new ngrok url in the app and it worked like a charm.

 Thanks a lot! ngrok works great~


Fix the periodic builds, add a non-mcp to presubmit

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

.circleci/OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm, duderino
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

.circleci/OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
a6a980f0f5ffdf4a21aeb357e48107ad0b3ee591
link
/test istio-integ-k8s-tests

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

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
a6a980f0f5ffdf4a21aeb357e48107ad0b3ee591
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
a6a980f0f5ffdf4a21aeb357e48107ad0b3ee591
link
/test istio-pilot-multicluster-e2e

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

I think the e2e failures are flakes.
istio-integ-k8s-test usually fails:  https://k8s-gubernator.appspot.com/builds/istio-prow/pr-logs/directory/istio-integ-k8s-tests
istio-pilot-multicluster-e2e almost always fails:  https://k8s-gubernator.appspot.com/builds/istio-prow/pr-logs/directory/istio-pilot-multicluster-e2e


Bump poison and httpoison versions

maybe lets remove fix-versions altogether from httpoison?
change {:httpoison, "~> 0.8.1"}] to {:httpoison, "~> 0.8"}]?

Yeah that sounds good, I'll fix


Dropbox supports Google Authenticator, which means it supports Yubico Authenticator

Yubico Authenticator is a workalike for the Google Authenticator app which adds a feature to securely store the keys used for HOTP/TOTP generation in the smartcard chip of the Yubikey NEO devices (instead of directly on the user device). There's a desktop version, which accesses the smartcard chip via USB and an android version which access the chip via NFC.
Looking at the Dropbox two-factor instructions here, Google Authenticator support is mentioned as supported, which means that Yubikey NEO hardware devices are therefore supported.
https://www.dropbox.com/en/help/363
I therefore suggest adding a checkmark for Hardware Token.
This is one example that jumped out at me, there may be others.
Thanks.
Brendan

Closing for house keeping.


Numbered lists do not correctly add the next number for next list item

Here's a pen from another person who submitted another issue for a test: http://codepen.io/greenido/pen/BKomNv
If you type "list" as an example multiple times with a line break, then select the numbered list option, it just adds "1." to each of them, not correctly going to 2,3,4, etc.
Here's a screencast of the bug for clarification: http://d.pr/v/cPO6
The desired outcome should be shown as:
1. List
2. List
3. List

etc.

I added a PR to fix this here: https://github.com/toopay/bootstrap-markdown/pull/257

@webdevbrian Appreciated!


Restructure servlet to return JSON, and change JS accordingly.

(The name of this branch is HideComments; however, that was the old intention of this branch. Now, it is used to restructure the code to return JSON from the servlet, instead of HTML. This will allow me to more easily complete the following tasks; most notably, determining the user's logged-in status in a clean and structured manner.

This is the first CL I am merging without requesting revisions. I am merging this CL automatically because I am merging it into another branch (that is not master), and I have essentially removed / restructured all of the work on that old branch.
Ideally, this would be in the form of additional commits on the original branch, but I had already made this branch.


Primal web not filtering posts on mute list

Describe the bug
The primal web app no longer honors user mute list. Posts appear via repost or in trending tab as well.
Steps to reproduce
Visit primal.net, use site.
Expected behavior
I should not see posts or recommendations from users in my mute list.
Environment
Tested in Firefox and Chromium

I've also noticed reposts of accounts I've muted in Primal Web - This is really annoying, I hope this is fixed soon.


feat: init command add guide

📝 Description

1、Add guide after init
https://github.com/nextui-org/nextui-cli/assets/96854855/91debe2a-a24b-448f-aea0-50ee36beb203
✅ Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improve a current implementation without adding a new feature or fixing a bug)
[ ] Improvement (non-breaking change which improves an existing feature)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

@winchesHe feel free to merge this after committing my suggestion


Use media breakpoint

Hello!
Can I use AOS with breakpoint? I use bootstrap.
Example:
@include media-breakpoint-only(md) { data-aos="fade-up" }
@include media-breakpoint-only(lg) { data-aos="fade-down" }

Hey @Mesiek1000 You can but you'd have to create your own animation.
E.g.:
@include media-breakpoint-only(md) {
  [data-aos="example-anim"] {
    transform: skewX(45deg);
    opacity: 0;
    transition-property: transform, opacity;
    &.aos-animate {
      transform: skewX(0);
      opacity: 1;
    }
  }
}

@include media-breakpoint-only(lg) {
  [data-aos="example-anim"] {
    opacity: 0;
    transition-property: opacity;
    &.aos-animate {
      opacity: 1;
    }
  }
}

And use it like this:

But can I use a default animation for the desktop and a custom animation for the mobile for the same element?


Rationale for measurement of Fortran 'write' statement.

Dear Jacob
Can you explain what is the rationale or reason for measuring the performance of the 'write' statement?
Secondly, what is the reason for measuring the zero filling (a memset call) and allocate (a memcpy call(s))
statements, which will directly skew the expected results by addition of large amount of unpredictable
machine code activity spanning across at least two executables.
Thirdly, I completely ignore the issue of single measurement, which is totally unpredictable from the statistical point of view.
The link to aforementioned case.
https://github.com/jacobwilliams/minnorm_test/blob/master/src/minnorm_module.f90#L118

the reason is that I made this example very quickly. :)
the write statement was just for debuging. it can be removed. but it takes minutes to run this, so the write statement isn't doing much.
The intent is to time how long it takes to get a solution, starting from the sparse matrix, so all that stuff needs to be there since you have to do that to get the solution. Now that I look at it, I should move the a_dense stuff into the timing too.
yep, it's just a single example for testing.

the reason is that I made this example very quickly. :)
the write statement was just for debuging. it can be removed. but it takes minutes to run this, so the write statement isn't doing much.
The intent is to time how long it takes to get a solution, starting from the sparse matrix, so all that stuff needs to be there since you have to do that to get the solution. Now that I look at it, I should move the a_dense stuff into the timing too.
yep, it's just a single example for testing.

Dear Jacob
Thank you for the answer.
Here is an example (albeit at advanced level) of performance measurement test.
A performance single standalone WRF module was measured by means of reading CPU performance counters (essentially a few lines of inline assembly routines called by the corresponding Fortran wrappers).
https://github.com/bgin/Radar_ElectroOptical_Simulation/blob/master/Atmosphere_model/GMS_wsm6_driver.f90#L380
Best regards
Bernard


Issue with local image: mcr.microsoft.com/azure-cognitive-services/speechservices/speech-to-text:latest

I recently signed up at https://customervoice.microsoft.com/, to be able to run container or docker from the mcr.microsoft.com/azure-cognitive-services/speechservices/speech-to-text:latest image locally.
After a long wait, I received an email with the release to use the image.
After downloading the image, I tried to run the docker as instructed at: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-container-howto
I have the following error, would anyone know what the workaround solution is?
Unhandled Exception: System.Exception: Model configuration /usr/local/models/properties.json not found.    at Microsoft.CloudAI.Containers.Common.EnvironmentVariants.IsCustomContainer()    at Microsoft.CloudAI.Containers.Startup.ConfigureServices(IServiceCollection services) --- End of stack trace from previous location where exception was thrown ---    at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)    at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()    at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()    at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()    at Microsoft.CloudAI.Containers.Program.Main(String[] args) ./run-host: line 75:    54 Aborted                 (core dumped) "$@" ./run-host: line 82: kill: (54) - No such process Process start failed for: dotnet Microsoft.CloudAI.Containers.SpeechToText.dll Eula=accept Billing=https://brazilsouth.api.cognitive.microsoft.com/sts/v1.0/issuetoken ApiKey=********* /onprem_start grep: /usr/local/models/properties.json: No such file or directory /dpp /onprem_start /onprem_start /mts /onprem_start /onprem_start /diarizer /onprem_start /onprem_start /textclassifier/app /onprem_start /onprem_start
Version of the Cognitive Services Speech SDK
mcr.microsoft.com/azure-cognitive-services/speechservices/speech-to-text:latest
Platform, Operating System, and Programming Language

OS: Linux Ubuntu 20
Hardware - x64,
Programming language: C#

Additional context

The command shows you are using cutom-speect-to-text not speech-to-text. This container requires a custom model id to be supplied. Please update the command and it should work.
If you are looking to create a custom speech to text model you can check the portal https://speech.microsoft.com/

Closing the issue, let us know if there is more information needed.

The command shows you are using cutom-speect-to-text not speech-to-text. This container requires a custom model id to be supplied. Please update the command and it should work.
If you are looking to create a custom speech to text model you can check the portal https://speech.microsoft.com/

In fact, I forgot about the model. Thank you!


fix the navbar hide on scroll down, show on scroll up with dark mode and responsive menu

This PR fixes #358

Restored navbar scroll behavior (hide on scroll down, show on scroll up).
Simplified navbar layout to reduce clutter.
Improved mobile menu responsiveness.

this looks diistorted, please keep the design professional
like this 👇

 this looks diistorted, please keep the design professional like this 👇

oh let me see !

 this looks diistorted, please keep the design professional like this 👇

Please check now

Hi @Luson045, can you please review now the changes?

There's still a gap in the preview and idk why the deployment is getting cancelled again and again give a new pr, if the gap issue is fixed.

There's still a gap in the preview and idk why the deployment is getting cancelled again and again give a new pr, if the gap issue is fixed.

Okay I'll update soon.

There's still a gap in the preview and idk why the deployment is getting cancelled again and again give a new pr, if the gap issue is fixed.

Hi @Luson045, I just noticed that the screenshot you have shared in not of localhost?
And without merging this pull request how are the changes that I made are reflecting in the main branch?
Please merge the changes I have share you the mobile view responsiveness it working fine.

well vercel provides a preview of the changes, why should i merge something that works only on localhost..

@Suraj-kumar00 and even this issue is already fixed, I just didn't wanted your work to go to waste, but okay this issue have taken too long, I'm closing it. You can work on other issues..


deviceUnknown event

How can i debug the logs or the database content in order to discover what kind of alarm the device sent to the server, and with this information try to give a correct name or create a new attribute to translate this deviceUnknown event in a known device event?

This event means that device moved to "unknown" (yellow) state.

Oh great. Seems that the server has not yet decided if the device is online or offline...

It usually happens when device doesn't send data for some time (by default 10 minutes).


Problem with reading Navpt

Hi,
I'm using the Ublox 7m module. I'm using this library and it has no problem. But every time I power up the module I need to upload Auto-configuration-mega.ino first and then I am able to upload Navpt example and receive the coordinates, But when I restart the module the gps.read() has no value and I should re-upload config sample again. Is there any fix for this?
Thanks.

Hi, @masoudr!
Unfortunatelly, these ublox modules are configured from the factory to reset its settings when the power off. That's why there is a battery on the breakout board, it should be charged. You can find more about it in the docs here (section 8 Receiver Configuration).
I faced with the issue and it took a while to find how to deal with it, but the only thing we can do is to connect the module to the power supply. I created the auto configuration sketch to ease the process. So if you want to make autonomous device, you can integrate the auto configuration to the setup process of your microcontroller.


Automatic Retention not working? Manual Trigger?

Describe the bug
It appears that the Retention is not working over here.
We have 26GB Space used, but the Retention set to 14 days and space usage now limited to 2GB, see screenshots, also from MySQL raw-tables.
Can it be triggered by a CLI command or job to be run "manually"?
Can we do the retention manually to reclaim space, e.g. by deleting tables?
To Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behaviour
Retention is reducing MySQL Usage to the configured value (as slightly above)
Screenshots

Environment details

OS: Ubuntu
Postal Version 3.3.4
Type [e.g. desktop, mobile etc...]

Additional information/context
Where are the logs of the "retention job"? is it in the "worker container" or somewhere else?
Thanks very much.

Are you definitely running Postal 3.3.4? That was released specifically to fix this problem.
I believe the logs would be mixed in with the web if there were any so you would need to postal logs web to confirm either way.

@willpower232 yes, at least, the image is there and postal identifies itself as 3.3.4:

In fact, I updated it 2 hours before to make sure, that If have the recent version in place.
Is the cleanup happening only once per day?

Yeah I think its overnight sometime, check back tomorrow I guess :sweat_smile:

Thanks @willpower232 - it worked and was automatically cleaned up through the night at 05:00 o'clock.
not sure, if that could be configured somewhere, maybe it helps.
Closing and thanks again @willpower232

Good to know its all still working!


✨ Sequin.Logs for consumer messages

#295  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


Add endpoint to list Execution History

@vlebourl this can be used so that users don't need to struggle with Chrome Developer Panel. And it can be used by non TaHoma users.

@vlebourl this can be used so that users don't need to struggle with Chrome Developer Panel. And it can be used by non TaHoma users.


Recommended quality settings

Thanks a lot for the great summary and insights.
I wonder what kind of quality settings you would recommend for the different file formats and sizes when it comes to "acceptable web quality".

I'd use JPEG 50-60 as a baseline.


How to debug, like see println ?

Who has a solution how to see  Serial.println in USB-MIDI mode ?

Hi
You could do it by SW serial


Fix #1599, documentation for FS APIs that return OSAL codes

Describe the contribution
Some FS API calls will pass through failure/status codes directly from OSAL without remapping to CFE Status code values.
Note this behavior in the documentation and that it will likely change in a future version of CFE.
Fixes #1599
Testing performed
Build and sanity check CFE, build docs
Expected behavior changes
None (docs only)
System(s) tested on
Ubuntu
Additional context
This just documents the pass through - Behavior should be fixed in #1676 to return a proper CFE status.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

CCB:2021-07-21 APPROVED


feat: parallelism the hash aggregation

For tpch 10gb q1 , which has a lot of aggregation.
1:10 -> 40s
It's not a pull request indeed.
I think we need a paralleism executor.

Good experiment! But I think the final solution should be building the same executors for each core. The executor itself should focus on processing data in a sequential manner.


Unlisted boxes should not show on your own profile when logged in

Boxes that are unlisted should probably never be shown on the user's profile, so that the user can easily verify which boxes are listed publicly.
Right now, all of the boxes I have display on my own profile when logged in.

Is this a bug? I thought this was supposed to happen -- otherwise, a user would have no way to find their unlisted boxes.
A better way to distinguish them might be to add an icon indicating that they're unlisted, similar to how github has an icon next to secret gists.

The unlisted boxes should display on the homepage, but not on the profile.
We could do an icon if we figure out what looks good and isn't already taken by Pokémon privacy settings.


Login field support for commit author

When fetching a commit, the commit author struct does not populate the login field as expected. It looks like the Login field is populated under the username json key only for webhooks: https://github.com/google/go-github/blob/master/github/git_commits.go#L53
The inconsistent naming is referred to in: https://github.com/google/go-github/issues/605#issuecomment-323763728
What do you guys think of adding a new field in the CommitAuthor struct called Username which populates from username, and change the Login field to use the login field?

I'm confused.  I'm trying to find examples in the GitHub documentation to support the addition of the login field to the CommitAuthor struct.
I'm looking here:
https://developer.github.com/v3/activity/events/types/
and searching for "author" and get 11 hits.
Hits 7 and 8 show:
      "author": {
        "name": "baxterthehacker",
        "email"<EMAIL_ADDRESS>        "username": "baxterthehacker"
      },

Hits 9 and 11 are not a CommitAuthor ... but are part of ReleaseEvent and StatusEvent, respectively.
Hit 10 is:
      "author": {
        "name": "baxterthehacker",
        "email"<EMAIL_ADDRESS>        "date": "2015-05-05T23:40:12Z"
      },

So I'm having troubles understanding this issue.
Can you please point me to examples in the GitHub API docs that justify these changes?

The login field I am trying to populate is under the author entry inside the commits API: https://developer.github.com/v3/repos/commits/
The original Login field was added as part of a larger change to support the username field in webhooks. I'm not sure why Github uses username in webhooks but login in their commit APIs, but that's the inconsistency I'm trying to resolve.

The login field I am trying to populate is under the author entry inside the commits API: https://developer.github.com/v3/repos/commits/

That would map to RepositoryCommit, which has Author *User field, and User has Login string field.

When I do a GetCommit, the return type is a *Commit: https://github.com/google/go-github/blob/master/github/git_commits.go#L63
Does that mean I need to cast to a RepositoryCommit?

I need to use Repositories.GetCommit instead of Git.GetCommit.

It sounds like you're confusing Git Service (https://godoc.org/github.com/google/go-github/github#GitService) with Repository Service (https://godoc.org/github.com/google/go-github/github#RepositoryService).
Earlier, you said:

The login field I am trying to populate is under the author entry inside the commits API: https://developer.github.com/v3/repos/commits/

That maps to https://godoc.org/github.com/google/go-github/github#RepositoriesService.GetCommit method, not https://godoc.org/github.com/google/go-github/github#GitService.GetCommit method.

Thanks for the help!

No problem.


Thirdparty update protobuf from 3.14.0 to 3.15.0

Proposed changes
Issue Number: close #xxx
Problem summary
This is a bugfix version of protobuf.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[x] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.77 seconds
load time: 437 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221213160233_clickbench_pr_62858.html


Allows Node.js Buffer objects to be persisted to storage as a Uint8Arrays that they subclass

Fixes #138

So after much digging around, i have come to the conclusion that Node.js can sometimes use native Buffer objects interchangeably with Uint8Arrays, which they subclass, and this seems to work except for serialization.  I don't know why that is.
The Buffer class provides a custom toJSON method which is used for serialization, you can see this here:
https://nodejs.org/api/buffer.html#buftojson
as well as:
https://github.com/nodejs/node/blob/c55aa01e4873152ea6a0dbff98d55d403b6b97bb/lib/buffer.js#L1135
Hence the issue with storage.
I have this fix,  and can now resume my session again and again.  There does not seem to be any other issues so far as i guess as Buffer objects subclass Uint8Arrays and are largely interchangeable ?
This seems kinda kludgy , but i also still don't understand why sometimes Uint8Arrays are used vs Buffer objects.


mabe a bug in version 2.1.0

I upgrade mmdetection from 2.0.0 to 2.1.0, but I can't train with this error:ValueError: need at least one array to concatenate.
So I use version 2.0.0 and all work well, so I think maybe there is a bug in version 2.1.0

Hi @heboyong
What command did you run?
Could you please fill the error-template?

same problem...T.T

same problem

It seems that it is related to #2396.
I will open a PR to fix it.

I tried to build the version v1.2.0 by performing a checkout to that tag and then doing a build using python setup.py develop but in the logs it shows:
MMCV: 0.5.9                                                                                │
MMDetection: 2.1.0+bf9638a                                                                                │
MMDetection Compiler: GCC 5.5                                                                                │
MMDetection CUDA Compiler: 10.2

Is there a procedure to build older versions?

mmdetection sucks, detectron2 is the best

mmdetection sucks, detectron2 is the best

Please mind your words. Do NOT be offensive.


Update SOCKS proxy example to use latest stable clue/reactphp-socks

Note to self: A SOCKS proxy is not a SOAP proxy :-) https://github.com/clue/reactphp-soap#proxy


compose: Fix display of topic resolve warning for non-empty compose-box.

Description:
Currently the compose topic resolve warning appears directly while
composing inside a resolved topic, even when it is empty. This commit checks whether the
compose textarea is non-empty, and displays the warning only when the
compose-box has some content.
Fixes: #21155

Testing plan:
Manual
GIFs or screenshots:

@timabbott Could you please review this?

@timabbott I've made some changes. Please review.

I did effectively a rewrite of this pull request to be probably overly careful about the potential issue of performance problems with doing something on every keypress; I also added various comments as part of this to help ensure we don't accidentally regress that situation in the future.
Thanks for your work on this @somesh202!  It did help me get started on this to have the code path already traced.


Unable to get body from axios response

#### Summary
I am sending a post request to my from my local to another domain. ( I am using Chrome in dev mode to bypass the Cors issue)
This is my code:
axios('https://..../signup', {
    method: 'POST',
    data: {
    email<EMAIL_ADDRESS>    password: 'fdsfds',
    confirmPassword: 'fdsfds'
  }

}).then(function(response) {
  console.log('response::', response.data);
})
  .catch(function(error) {
  console.log('ERROR::', error.data);
});

The problem is that I only get the status 400 (Bad Request) as response, whereas if I was to send a the same request via curl cli/postman I would get the status plus a body like:
[
    {
        "param": "email",
        "msg": "Email is not valid"
    },
    {
        "param": "password",
        "msg": "Password must be at least 4 characters long"
    },
    {
        "param": "confirmPassword",
        "msg": "Passwords do not match"
    }
]

But not with axios. This can't be a Cors issue, because I can make a get/post queries fine, I just can't seem to get the body that gets returned with the status.
#### Context

axios version: "^0.16.2",*
Environment: *node v6.9.4, chrome 54, windows 7

Never mind  console.log('ERROR::', error.response.data); did the job, I hope this will be documented clearly.

@samayo Thank you for answering this. It was driving me nuts, using the simple XHR request worked fine as far as getting error responses back, but when using axiosI was wondering why I couldn't get the responses back on error, which you answered perfectly. Agreed it should easier to find in the documentation.

When i send post request using async await syntax if res status is 200 it sends back response body but when response status is 400 it does not send response body. How to get error using async await syntax?


fix: check the value of the annotation to actually create the sidecar

Reason for Change:

#1210
Ensures annotation values are respected

Requirements

[ ] squashed commits
[ ] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Please answer the following questions with yes/no:
Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

[ ] yes
[x] no

Notes for Reviewers:

This is a breaking change since the existing behavior only requires that the annotation be set at all, not the specific value it has.  At most, we can update the documentation to describe the behavior.

hi @enj, thanks for coming back on this.
Sure that makes sense and a doc update would be good (happy to PR that, if you could send me the link to the source repo)
Though, the object validation would fail if there is no (string) value for a given key on apply, right?
Possibly, adding an empty "" to the positiveAnnotationVal slice to cover this scenario.
Again I totally see where you are coming from about the breaking change - it's just that I can't see many people setting that value to false and actually expect a sidecar to be injected 😄.


Fix Interaction eating Use input

Ghosts can't trigger Use hotkeys currently because the Interaction callback always returns true. This fixes it by returning false when the entity has no hands.

Solution is to use BindBefore(KeyFunction, Function, typeof(InteractionSystem)).


[0.8.0Beta14] Issues

The latest BETA release of 0.8.0 is Beta 14. This issue is for reporting issues with this specific version of MeerK40t.
Please do all further testing on this release. Please do not report any further bugs with previous beta releases. Do give any other types of feedback, questions, concerns or comments.

This comment is a holding place for the team to consolidate issues from previous betas that remain unresolved in Beta 14.

[ ] I previously reported an issue with zooming not working. The issue is actually that the modifiers are not checked in the event method in /meerk40t/gui/scene/scenespacewidget.py at around line 109

[ ]  I previously reported an issue with zooming not working. The issue is actually that the modifiers are not checked in the event method in /meerk40t/gui/scene/scenespacewidget.py at around line 109

We never really fully figured out what you were saying that you wanted Ctrl-mouse wheel doesn't zoom the scene. But, holding control and moving the mouse wheel did actually zoom. We also added Ctrl+middle mouse button to do normal pull down zoom which was previously part of right+alt only.
Mouse wheel still zooms so I'm going to need additional information as to what you're talking about to address this. that line doesn't check the modifiers which is true but wheelup has always been zoom, and still is zoom, regardless of whether the control key is pressed or not.

It depends whether you have checked the Preferences/Gui/MouseWheel Pan checkbox or not. With it checked, Ctrl-Wheel does not zoom. With it not checked, Ctrl has no effect and it Zooms unless you have Shift pressed - and you cannot scroll vertically using the MouseWheel at all (I would suggest that Ctrl-Wheel should do vertical scroll when this Pan checkbox is not checked).

Closing as current beta is now 15. I will not be testing further betas until all (or most) of previously reported bugs are fixed.

Thank you for testing efforts


[💡Feature Request]Monitor options price

Describe the feature
it is good to monitor options price for a particular strike price, so based on that we can sell or trigger stop/take profit.

This can be done by using get_option_market_data and get_chain_data. See this example: https://github.com/tfukaza/harvest/blob/8234a8bcfa7f70ac5f3eb3a337b0d2bd1da34aae/examples/options.py#L22-L39

In dummy broker orders, can we query last sale and confirm order. Just an idea to be more accurate 😜

That's an interesting idea... I'll add it to the TODO.

This issue is now part of #95


Update stream dependency to 0.7

Do we need to set upper bound of react/stream to 0.5?

Currently working on updating streams usage and #30 which also bumps the stream package


Typo error in Jenna location and Ahmed's Image 💀

There's a little mistake in the location and Ahmed's image is rotated

Good spot! If you would like to fix it, please go ahead


scss: suggestions-bg deep-sky-blue for light & dark themes, fix #158 contd.

@nim65s I have created this PR after rebasing on main and adding another class handling. I have created this PR on top of your PR.
Fixes #158

Thanks !

Is this already available in the latest version? Or should we use the workaround in #144.


[Feature]: Use exteranl postgres sql

Contact Details(optional)
No response
What feature are you requesting?
Currently we use postgresql docker as our rds.  We should able to use external postgresql db also. Update make file and have rds connections string configurable.

close issue since we use internal lancedb as database system


Could this work on a Mac?

I'm guessing it would need a Mac version of libnyumaya.so, how are they made?

They are compiled from a closed source repository. I will try to compile a lib for Mac, but this might take a few days.

That would be terrific, thank you so much.

Hello @yodakohl , just wondered if you'd manage to get anywhere with the Mac compile yet?

Compiling for MAC without a MAC seems pretty hard.  I decided to open source the library code so people will be able to compile the library themselves. I will have to do some minor cleanups and there might be some other work to do. Mainly providing a cross-platform interface for audio capturing (python-sounddevice) and I expect some hiccups with the python bindings.

Nov 2018 09:30 von<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hello > @yodakohl https://github.com/yodakohl>  , just wondered if you'd manage to get anywhere with the Mac compile yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, > view it on GitHub https://github.com/nyumaya/nyumaya_audio_recognition/issues/1#issuecomment-435306644> , or > mute the thread https://github.com/notifications/unsubscribe-auth/AAx_S3d-dUOk_lrMGO9ZEuh3ehgVQEzRks5urAKjgaJpZM4YCFhv> .

Tremendous. I'd be happy to help you with that if there is anything you think I could do.


always re-installs on reboot of host

Hi, have installed on Trueness Scale, works fine, and I can reboot the DSM OK, but if I stop the App, or restart the host, it simply reinstalls DSM every time, this destroys all data, and config within Virtual DSM - is there any way around this please? Am I doing anything wrong please?

It seems to generate a new pod each time?  Is this it perhaps? What to do please?

Thanks very much for the quick response ! Very much appreciated.  The hint is good, have added '/storage' as below, and it all seems to persist.  Many thanks for the tip.  Steve


Error uploading UWP zip file

When I try to upload a build i get this error:
https://www.dropbox.com/s/56ltovc2p0txscg/Screenshot 2019-09-05 14.48.54.png?dl=0
previously on hockeyapp, i would 'create a version' and then upload a zip file for it, but in AppCenter, there is only an option to upload the zipfile, and then when the upload completes, I get the error in the screenshot.

Hi! We use this repo to report docs issues. For your issue, do you mind reaching out to us via support (blue chat button in the app center portal)?
Thanks!


For some inputs, polygons covering the entire plot are returned

I discovered this while writing a toy program to learn Rust, https://github.com/ctrlcctrlv/interactive-voronoi
For some inputs, strange results are returned, for example:

Creating Voronoi plot for points: [(177.0, 289.0), (195.0, 290.0), (210.0, 293.0), (224.0, 293.0)]
Drawing polygon: [(179.5, 406.5), (156.0, 600.0), (0.0, 600.0), (0.0, 0.0), (202.1, 0.0)]
Drawing polygon: [(239.7, 0.0), (217.0, 0.0), (202.1, 0.0), (0.0, 0.0), (0.0, 600.0), (156.0, 600.0), (600.0, 600.0), (600.0, 0.0)]

You can see if I add one more point, the strange polygon that covers the entire screen goes away:

Creating Voronoi plot for points: [(177.0, 289.0), (195.0, 290.0), (210.0, 293.0), (224.0, 293.0), (328.0, 409.0)]
Drawing polygon: [(217.0, 403.9), (174.6, 447.0), (179.5, 406.5), (217.0, 219.0)]
Drawing polygon: [(217.0, 219.0), (179.5, 406.5), (202.1, 0.0), (239.7, 0.0)]
Drawing polygon: [(174.6, 447.0), (217.0, 403.9), (600.0, 60.5), (600.0, 600.0), (53.0, 600.0)]
Drawing polygon: [(217.0, 403.9), (217.0, 219.0), (239.7, 0.0), (600.0, 0.0), (600.0, 60.5)]
Drawing polygon: [(179.5, 406.5), (174.6, 447.0), (53.0, 600.0), (0.0, 600.0), (0.0, 0.0), (202.1, 0.0)]

Looks like there's something wrong with the library in these cases. 😞

I am unsure if this is a separate issue or not, but it's also possible to receive glitchy self-intersecting polygons from the library if you try hard enough.
 I think that the first bug is exercising a known edge case for Fortune's algorithm that comes up when there are two points with the same y-coordinate that have larger y-coordinate than any other points. I'll figure out a workaround.
The second bug is most likely running into some kind of geometric degeneracy caused by some points having the same x or y coordinate, but I'll have to look at it more closely.

I fully agree with the first bug.
The second bug is probably appearing when there are two dots on the exactly same spot. (same x AND same y coordinate)

In a pull request to  #https://github.com/ctrlcctrlv/interactive-voronoi/pull/1 there is a workaround for both cases. I am not sure, if there are more degeneracies. Would be better, if these two edge cases are fixed in  #rust_voronoi though.

Had some similar issues, for certain set of points the DCEL generated is incorrect, and it happens quite frequently, I randomly generate like 10 sites with certain distance in between to make sure they are sort of evenly distributed, and compute the voronoi and test result, 3 out of 10 times it's generating only 9 faces.
And if I do 1000 sites, it always gonna generate 1006 faces.

found the bug regarding my issue, in the extend_edges function at lines 302, 303 in voronoi.rs, the value should not be a fixed '-1000', but a variable number according to your world size, otherwise it's not gonna extend the edge correctly and you will get error result.
I replaced the -1000 with 'max_world_size * 2.0' fixed my issue


Update Met thumbnails

@aldenstpage the updated thumbnails are available upstream. Let me know if you have any questions.


[Suggestion]

Hey Can You Add Custom Spark Adding wat if People Want Them 0 :+1:

Sadly, sparks are set on the Beam app strictly. If you'd like, you have the ability to create your own app with 16 buttons, where you can change the names and sparks yourself. I wish I could do this programmatically but it's currently not possible!

Totally is possible @Leviathan5 Let's get together and discuss it.


Connection returning different results

package XXX;
import org.postgresql.PGConnection;
import java.sql.*;
public class NotificationTest {
public static void main(String args[]) throws Exception {
Class.forName("org.postgresql.Driver");
String url = "jdbc:postgresql://localhost:5432/TAHITIAN_APP_DB";
//un-comment the next line and comment the line following next. Run to see 2 different results.
// Connection lConn = DriverManager.getConnection(url,"tahitianuser","tahitian");
Connection lConn = DaoUtil.getDBConnection().unwrap(Connection.class);
System.out.println("lConn: " +lConn.toString());

// Create two threads, one to issue notifications and
// the other to receive them.
Listener listener = new Listener(lConn);
Notifier notifier = new Notifier(lConn);
listener.start();
notifier.start();

}
}
class Listener extends Thread {
private Connection conn;
private org.postgresql.PGConnection pgconn;
Listener(Connection conn) throws SQLException {
this.conn = conn;
this.pgconn = conn.unwrap(PGConnection.class);
Statement stmt = conn.createStatement();
stmt.execute("LISTEN new_facility_added");
stmt.close();
}
public void run() {
while (true) {
try {
// issue a dummy query to contact the backend
// and receive any pending notifications.
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT 1");
rs.close();
stmt.close();
        org.postgresql.PGNotification notifications[] = pgconn.getNotifications();
        if (notifications == null) {
            System.out.println("Got no notification");
        } else {
            for (int i=0; i<notifications.length; i++) {
                System.out.println("Got notification: " + notifications[i].getName());
            }
        }

        // wait a while before checking again for new
        // notifications
        Thread.sleep(1000);
    } catch (SQLException sqle) {
        sqle.printStackTrace();
    } catch (InterruptedException ie) {
        ie.printStackTrace();
    }
}

}
}
class Notifier extends Thread {
private Connection conn;
public Notifier(Connection conn) {
this.conn = conn;
}
public void run() {
while (true) {
try {
Statement stmt = conn.createStatement();
stmt.execute("NOTIFY new_facility_added");
stmt.close();
Thread.sleep(2000);
} catch (SQLException sqle) {
sqle.printStackTrace();
} catch (Exception ie) {
ie.printStackTrace();
}
}
}
}
DaoUtil.getDBConnection() basically returns the following
    Sql2o sql2o = new Sql2o(aDataSource, new PostgresQuirks());
    return (sql2o.open().getJdbcConnection());

and the DataSource is -----HikariDataSource aDataSource
Results using -- Connection lConn = DriverManager.getConnection(url,"tahitianuser","tahitian");
lConn: org.postgresql.jdbc4.Jdbc4Connection@6d21714
Got notification: new_facility_added
Got no notification
Got notification: new_facility_added
Got no notification
Got notification: new_facility_added
Got no notification
Got notification: new_facility_added
Got no notification
Got notification: new_facility_added
Got no notification
Got notification: new_facility_added
Results using -- Connection lConn = DaoUtil.getDBConnection().unwrap(Connection.class);
or Connection lConn = DaoUtil.getDBConnection();
2017-02-22 16:09:50,198 [main] INFO com.zaxxer.hikari.HikariDataSource - TahitianConnectionPool_1 - Started.
2017-02-22 16:09:50,352 [main] INFO com.zaxxer.hikari.pool.PoolBase - TahitianConnectionPool_1 - Driver does not support get/set network timeout for connections.
DD

    <dependency>
        <groupId>org.sql2o</groupId>
        <artifactId>sql2o</artifactId>
        <version>1.5.4</version>
    </dependency>

Reported the same issue under HikariCP.
Please see the tests Brettwooldridge and I went through.
https://github.com/brettwooldridge/HikariCP/issues/828

Finally figured out the issue.
I have hikariConfig.setAutoCommit(false);


Custom parquet name

https://github.com/awslabs/aws-data-wrangler/blob/main/awswrangler/s3/_write_parquet.py#L508
It would be nice to have a flag that we can pass in so that we can just use our filename without the hex added while calling wr.s3.to_parquet()

This is a duplicate of https://github.com/awslabs/aws-data-wrangler/issues/617
If you are writing a single file you can specify the full name. But when dataset=True, more than a single file could be written and a random hex is added (see issue)


Remove images after they slide out

I've noticed that after an image slides out, it is still there but just hidden in some way. Is there a way to remove them so that they aren't there? I am using a magnify plugin on the same slideshow and it shows the images that slid out.
Here's an example. The image in the square on the left slid out of slick but the magnifier still finds it:

@keithslater Did you get Slick and Elevate zoom working well together?

No, I ended up using flexslider.

Ahh.. kk. Thanks @keithslater. I guess the dream of using an image hover with Slick is still just a dream :p. @kenwheeler anything you could do to make hover zoom on slick-active would be really valuable :)

Hello @keithslater and @Cam
I just came across the same issue when applying both slick and elevateZoom on my project this morning.
Tried various hacks found on the Internet but still no luck.
After spending almost the evening digging my head into the issue, I finally came up with my own hack:
// Here is the trick, written in LESS:
// In real code, this should be scoped further
//  to the slick instance that you want to apply this trick on.

.slick-slide {
  img {
    display: none;
  }
}

.slick-current, .slick-active {
  img {
    display: block;
  }
}

The basic idea is to have all slick slides that are inactive to have display: none;, so that a mouse hover over it doesn't activate the elevateZoom.
I don't really know why, when applying elevateZoom on slick then we can mouse over out-of-view slides - normally with a slick-only setup this issue doesn't occur.
The current active slick slide will have display:block; as normal, and everything works well.
Here is the demo
I also posted this answer on SO: https://stackoverflow.com/questions/41979734/elevatezoom-with-slick-slider-issues/46548687#46548687
Hope people find it useful somehow. :smiley:

Hi @vuongdothanhhuy. Thanks for your tip. We actually ended up reinitialising the zoom script each time the slide changes using the wonderful events provided with Slick. That works wonderfully.

Hi @Cam , good to hear that you solved the issue. Yeah that's also one workaround for anybody facing the same issue like us. Cheers!

Hi everyone,
$('.product-hero-slider img').on('hover', function(){
           $(this).ezPlus();
});

This working fine for me as of now, are there any performance downsides for this??


coordinates shape

hi, i come up with a problem as below:
the coordinates first generated by:
"voxels, coordinates, num_points = self.voxel_generator.generate" with size (N,3),
but feed into the VoxelNet here:"coordinates = example["coordinates"]" the size come to (N,4)
what's happend to this?

check the email reply


Proposal for extract() fix

I think I've found a fix. Thanks for this project!

@Tomtomgo can you please verify it?

Yes this will work, you will just need to build the project as well with gulp @ackushiw.

@ackushiw tell us if you need help with that

Hey, sorry for the late reply. I've created a build. Do I need to write any tests for it? I'm still fairly new to angular and haven't wrapped my head around writing tests yet.


Fixes testimonials Dark Mode color bug #583

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

This is not a fix. This is a request to add login and signup pages to the site.
Summarize what this PR fixes:-
Fixes #
Checklist
(Add an x between the brackets to check the items)

[ ] I have summarize what this PR fixes above
[ ] I have provided the issue ID/URL above
[ ] I have not added Bootstrap or jQuery and used correct styling guide.
[x ] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ ] I was the first one to claim the issue or I created the issue - I created the issue

@cessycode these areas need to be filled in and an issue should be linked with the pr.


[Task] Optimize some code style for shenyu-loadbalance plugin

Description
Optimize some code style for shenyu-loadbalance plugin

comment style from /** * */ to // in method
/**               * weight changed.               */
variable definition like selectedWRR
some other code warn

Task List
No response

please assign to me


feat: support templates

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Nitro supports vfs option for virtual templates have you tried it? what missing features would new templates add?

Nitro supports vfs option for virtual templates have you tried it? what missing features would new templates add?

I'm trying to augment some Nitro types.
Here a Nitro plugin:
export default defineNitroPlugin((nitro) => {
  nitro.log = console.log;
});

And I want to use it into a route:
export default eventHandler(async (event) => {
  const nitroApp = useNitroApp();
  nitroApp.log("Hello from NitroPack!");
  return 'hello';
});

My main issue is how to type correctly the new log. In a Nuxt application, adding more types to the NuxtApp is pretty easy by writing a new file into the buildDir but with Nitro, I do not know how to do it.
In the same time, I want to be able to do it from a Nitro module in order to add this new type to developer that use the module.
With a template, I can generate do:
import { defineNitroConfig } from "nitropack/config";

export default defineNitroConfig({
  modules: [
    (nitro) => {
      nitro.options.templates ||= [];
      nitro.options.templates.push({
        filename: "data.mjs",
        getContents: () => {
          return `export default { hello: 'coucou' }`;
        },
      });
      nitro.options.templates.push({
        filename: "types/log.d.ts",
        getContents: () => {
          return `
declare module "nitropack/types" {
  interface NitroApp {
    log: typeof console.log;
  }
}

export {};
`;
        },
      });
    },
  ],
});

With #2505, I can add log.d.ts to the references to make everything works.

Thanks for the explanation. I think we need to make the API more relevant to generated types then, not confusing with virtual source files.

not planned for now and can be done in userland for actually writing custom files to the filesystem.
Two core functions:

VFS to extend virtual importable files
Typegen (to be extendable) to auto-generate types


App logs are not showed when running cf logs $APP --recent if the message is larger than GRPC maximum message size

[*] I found a bug - here are some steps to reproduce it.

Loggregator version: 103.0 (also, v101.4)
Loggregator-agent version: 2.0
Here is how to reproduce it.
mkdir -p /tmp/testlog &&  cd /tmp/testlog && touch .testlog && cf push -i 1 testlog-2 -u process -c 'data=$(seq -s " " 1 20000); while true; do echo "$data"; done' -b https://github.com/cloudfoundry/binary-buildpack

App logs are not showed when running cf logs $APP --recent, but could be got from syslog-drain and from running cf logs $APP.
$ cf logs testlog-2  --recent
Retrieving logs for app testlog-2 in org $org / space $space as $someone ...

Here are related logs:
Error: Received message larger than max (6374240 vs. 4194304)
When the "recent logs" exceeds the GRPC maximum message size 4M, we expect a friendly way to handle it.

Hi @XuejiaoZhang, we have restructured how recent logs and metrics come from the loggregator-trafficcontroller as of version 103.2. That may solve your issue


support controlnet use sd1.5 img2img

if I want to contronet support sd img2img , in difusser I only make pipe_sd.unet = pipe_control.unet ? is right ?

No. @kelisiya
You can directly use our uploaded pipeline (StableDiffusionControlNetInpaintImg2ImgPipeline).
pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(control_model_path) is all you need, why you want to replace the unet?

No. @kelisiya
You can directly use our uploaded pipeline (StableDiffusionControlNetInpaintImg2ImgPipeline).
pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(control_model_path) is all you need, why you want to replace the unet?

When I load my diffuser pretrain pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(".mypath/ControlNet/diffusers/control_canny",torch_dtype=torch.float16).to('cuda')    there is a error Cannot load <class 'diffusers.models.unet_2d_condition.UNet2DConditionModel'> from .mtpath/ControlNet/diffusers/control_canny/controlnet because the following keys are missing: up_blocks.xxxx

Oh, my mistake!
You need to modify the pipeline a bit. This pipeline is for inpainting!

Oh, my mistake!
You need to modify the pipeline a bit. This pipeline is for inpainting!

Of course, I'm trying to try this model for inpainting, but the same error occurs. Should I convert a diffuser model from .pth again?

Below is what I have done. The inpaint_model_path is from here, only sd-1.5 is supported now. The control_model_path is converted from controlnet .pth using our tutorial.
pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(control_model_path, torch_dtype=torch.float16).to('cuda')

pipe_inpaint = StableDiffusionInpaintPipeline.from_pretrained(inpaint_model_path, torch_dtype=torch.float16).to('cuda')

pipe_control.unet = pipe_inpaint.unet
pipe_control.unet.in_channels = 4

If it still cannot work, please provide more info here so that I can help you.

Below is what I have done. The inpaint_model_path is from here, only sd-1.5 is supported now. The control_model_path is converted from controlnet .pth using our tutorial.
pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(control_model_path, torch_dtype=torch.float16).to('cuda')

pipe_inpaint = StableDiffusionInpaintPipeline.from_pretrained(inpaint_model_path, torch_dtype=torch.float16).to('cuda')

pipe_control.unet = pipe_inpaint.unet
pipe_control.unet.in_channels = 4

If it still cannot work, please provide more info here so that I can help you.

can you give me your email adress and I want to ask you to give me your WeChat ~~~?

Below is what I have done. The inpaint_model_path is from here, only sd-1.5 is supported now. The control_model_path is converted from controlnet .pth using our tutorial.
pipe_control = StableDiffusionControlNetInpaintImg2ImgPipeline.from_pretrained(control_model_path, torch_dtype=torch.float16).to('cuda')

pipe_inpaint = StableDiffusionInpaintPipeline.from_pretrained(inpaint_model_path, torch_dtype=torch.float16).to('cuda')

pipe_control.unet = pipe_inpaint.unet
pipe_control.unet.in_channels = 4

If it still cannot work, please provide more info here so that I can help you.
this  is  a diffuser version  error  , In the previous version your model use diffusers-0.14.0.dev0 , bug I'm 0.13.0dev0 . Thank you ~

I'm going to try img2img controlnet


SQL database

Introduction

Storing player information in a yaml file is a bad idea when you have a large number of players playing on a server, because the yaml format is designed for config, not for storing player data, so it is very slow and increases file size.

Solution

Use a better database format like MySQL or SQLite.

How can we hide important data to connect to mysql

How can we hide important data to connect to mysql

Bruh what's ur iMporTant data ?


[BUG] Bloxstrap sends and error while the game is running

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
2.8.1
What problem did you encounter?
Hello, Bloxstrap team.
I'm having an issue that's similar to the ones addressed in the FAQs, but it's not exactly the same.
When I launch Bloxstrap, I get an error saying that Roblox failed to launch, but if I wait a little longer, the game launches normally, keep in mind that I'm not using any fast flags or changed any settings, I only increased the frame rate limit and have a custom cursor in the mods folder.

Bloxstrap Log
N/A

Update.

Update.

As previously mentioned, the launcher is updated and it has auto-update enabled.
I tried again now, but it's still the same problem.

For clarification: When the error pops up, the game launches normally and I can play it.

Duplicate of #3559

Duplicate of #3559

are we still going to wait till there's a huge pile of this same issue?


Can't start vscode from the debug configurations

I'm on debian artful
commit 465c3ed79335a971cbce040f003d205a4c141e15
I get this error when I try to debug vscode from the Launch VS Code configuration or the Debug VS Code Main and Renderer configuration
Cannot connect to runtime process, timeout after 10000 ms - (reason: Got a response from the target app, but no target pages found).

Just a note that I had this working fine before I  did git pull ffonly on master and scripts/npm.sh install --arch=x64

This works fine for me on my mac. Please note that we have updated the electron we use and you might need to do a workaround in order to make this work
https://github.com/Microsoft/vscode/issues/33490#issuecomment-325929670
@QwertyZW Can you please see if that workaround helps?
Assigning to @roblourens as he might have more details as the Launch VS Code configuration is using the chrome debugger under the hood.

The workaround shouldn't be necessary, you might have something using the port, like a zombie instance of Code-OSS. You can see if something else responds on http://localhost:9222/json, or kill any leftover instances of Code-OSS, or set port to something else in the "Launch VS Code" config.

@roblourens  I'd usually do pkill -f vscode and sometimes just pkill -f code when I get desperate.
netstat -nap | grep -E "LISTEN\s yields no results
khishman@khishman-desktop:~/dev/vscode$ netstat -nap | grep -E "LISTEN\s"
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 <IP_ADDRESS>:3306          <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:631           <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      -
tcp6       0      0 :::80                   :::*                    LISTEN      -
tcp6       0      0 ::1:631                 :::*                    LISTEN      -
tcp6       0      0 ::1:25                  :::*                    LISTEN      -

But I'm noticing this error being thrown in the debug console
null: Object {errorCode: "load", moduleId: "vs/code/electron-main/main", neededBy: Array(1), detail: Error: ENOENT: no such file or directory, open '/h…}
detail: Error: ENOENT: no such file or directory, open '/home/khishman/dev/vscode/out/vs/code/electron-main/main.js'
code: "ENOENT"
errno: -2
message: "ENOENT: no such file or directory, open '/home/khishman/dev/vscode/out/vs/code/electron-main/main.js'"
path: "/home/khishman/dev/vscode/out/vs/code/electron-main/main.js"
stack: "Error: ENOENT: no such file or directory, open '/home/khishman/dev/vscode/out/vs/code/electron-main/main.js'"
syscall: "open"
__proto__: Object {name: "Error", message: "", constructor: , …}
errorCode: "load"
moduleId: "vs/code/electron-main/main"
neededBy: Array(1) ["===anonymous1==="]
__proto__: Object {__defineGetter__: , __defineSetter__: , hasOwnProperty: , …}

npm run watch yields
hishman@khishman-desktop:~/dev/vscode$ npm run watch

><EMAIL_ADDRESS>watch /home/khishman/dev/vscode
> gulp watch --max_old_space_size=4096

[16:11:15] Node flags detected: --max_old_space_size=4096
[16:11:15] Respawned to PID: 16264
Could not load our cross platform file watcher: Error: The module '/home/khishman/dev/vscode/build/lib/watch/node_modules/nsfw/build/Release/nsfw.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
Falling back to our platform specific watcher...

and so I'd  try
./scripts/npm.sh rebuild
with which I finally arrive at
Downloading ripgrep failed: Error: Missing ./_node_modules...

npm ERR! Linux 4.9.0-3-amd64
npm ERR! argv "/home/khishman/.nvm/versions/node/v7.4.0/bin/node" "/home/khishman/.nvm/versions/node/v7.4.0/bin/npm" "rebuild"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: `node ./dist/postinstall.js`
npm ERR! Exit status 1

I'm a bit at a loss here

Just try a git clean -xfd and start over with ./scripts/npm.sh install and npm run watch. You might have npm installed across an electron update, which often requires you to clean everything out.

that worked, I didn't know about git clean -xdf I manually rm -rfed everything but .git and followed by a git checkout followed by the setup commands
thanks @roblourens !

Great!


ATP v3 update

Changes introduced with this PR
This update adds the changes that correspond to the go SDK ATP v3 update: https://github.com/arcalot/arcaflow-plugin-sdk-go/pull/57
The error reporting in this version is massively improved. Now errors in the ATP and the plugin are properly reported to the ATP client, which is then reported by the engine.
Some of the suggestions by Webb were also addressed in this branch.

By contributing to this repository, I agree to the contribution guidelines.

Fix that build error real quick should be good to go


Create file structure to add images

Create file structure to add images into. Will add a sample image in current directory to show what I mean.

Example image for the Public Key Cryptography component of Chapter 1

Hey, still a bit new to gibhub so I am not sure which way we are setup. I learned there are two ways. First where you upload to an issue or comment. And then you just use that link.  Apparently, this link breaks when cloned. I also learned that you could have an image folder with images then just link to their paths in markdown.   This is to get around that issue.
Maybe we could place the images in the book folder to make it easier? So like /book/images/image.1 something like that?

@DaGitNah yeah exactly. But for the image folder with images, we would need Carl or someone with rights to create the structure for us to do so.

:)  Awesome. For this pull request, the directory for images is website/assets/images/chapters/01/.  I was thinking to close this pull request and opening one where the directory is website/book/images.  Unless that would interfere with the website somehow.  Then if @karlfloersch  likes it, he can merge  :D


java patterns and somme js progarams

Your code is really perfect but  kindly follow rules to contribute!!!

Rules? You repo is "EXCLUDED"😁


Fix some typos

About the lists.
About how to write jQuery.
About how to write JavaScript.

Thanks! ;)


The z value of 3D human pose estimation ? The pose is fixed. CaN we change it to the real depth value?

Please make sure that this is a solution issue.
System information (Please provide as much relevant information as possible)

Have I written custom code (as opposed to using a stock example script provided in Mediapipe):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04, Android 11, iOS 14.4):
MediaPipe version:
Bazel version:
Solution (e.g. FaceMesh, Pose, Holistic):Pose
Programming Language and version ( e.g. C++, Python, Java):

Describe the expected behavior:
Standalone code you may have used to try to get what you need :
If there is a problem, provide a reproducible test case that is the bare minimum necessary to generate the problem. If possible, please share a link to Colab/repo link /any notebook:
Other info / Complete Logs :
Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached:

Hi @chaytonmin, Could you please elaborate your query with complete information and use case details, Thanks!


Rewrite the FX2 firmware to be understandable

The FX2 firmware is currently really hard to understand. We should rewrite it to make it easier to understand an extend.
This has been started by @mithro at https://github.com/mithro/HDMI2USB-misoc-firmware/tree/fx2-refactor
The big changes so far are;

Using the Linux headers for ch9 and uvc constants.
Using the Linux headers to build the descriptors.

See https://github.com/mithro/fx2lib-linux-headers

Actually using comments and links to the spec documentation.
Using C99 rather then C89.
Start for actually support the UVC control commands.

Need to figure out a way to communicate the information to the FPGA.

This will fix https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/148

This issue was moved to timvideos/HDMI2USB-fx2-firmware#8


missing dependency on zlib

Both minisat and KLEE use zlib, but there's no check in our scripts for that, so the build fails with errors.
P.S. compiling zlib is easy (if we would go that way when zlib is missing) and then can be added to scripts as follows:
to minisat:
change CPPFLAGS to CXXFLAGS and set correct PKG_CONFIG_PATH so that pkg-config find it
to klee (smth like):
+   -DZLIB_LIBRARY="-L/home/xchalup4/symbiotic/install/lib -lz"\
+   -DZLIB_INCLUDE_DIR="/home/xchalup4/symbiotic/install/include" \

fixed with 'with-zlib' options for build.sh


implemented see-hands command and player's identifiers on broadcast

Closes #11

Implemented see-hands command
Changed Output of stats api, so it can satisfy both see-hands and stats
Updated stats output

@Abhay-2811 You'll also have to show the player hands along with the community cards which are already revealed. Then only other players could cross check that you are not bluffing and raise a dispute.

Let's merge it now, Will keep track of issues.


Custom variables

fetch custom fields on referent message from ontime
add config option to dissable custom fields
add variables for all custom fields to Now, Next and Prev
add feedback for custom field value

@cpvalente this is ready


Ingest newly created topics into topic registry over Gateway

We support ingesting data Quick with gateways over GraphQL mutations. The idea is to use this functionality to ingest topic data into the topic registry with a special topic-registry-gateway.

The manager should deploy this Gateway at the start and use it as its default ingest service.
The Gateway has a predefined schema for mutation.
The schema can evolve into querying the topic registry over the Gateway.

Closing this because we can do the ingestion directly through the manger over Kafka


Address preset is using the wrong values for Australia.

In Australia street addresses are addr:suburb not addr:city and addr:state not addr:province. So for example:
https://api.openstreetmap.org/api/0.6/node/5621132293/1
Moorabbin is a suburb in the city of Melbourne and Victoria is a state not a province.

Hey @FrakGart  - the address formats are defined in this file:
https://github.com/openstreetmap/iD/blob/master/data/address-formats.json
It looks like Australia is currently set to use the same format as Canada.
https://github.com/openstreetmap/iD/blob/837d4b7b32daa9e4ac8e9d31d58c6968eb2751bf/data/address-formats.json#L71-L75

https://auspost.com.au/content/dam/auspost_corp/media/documents/australia-post-addressing-standards-1999.pdf
is a great guide but I am no coder maybe this as the most basic form
"countryCodes": ["au"],
"format": [
["unit", "housenumber", "street",],
["suburb", "state", "postcode"]
]

Thanks @tastrax and @FrakGart  - I've added the format to the list.
It shows like this when editing in Australia:

@bhousel Thanks for that. Looks much better.

Thanks for catching that @FrakGart! Agreed it's much better now @bhousel with your commit.

Overpass query (http://overpass-turbo.eu/s/zCX) reveals 5500 nodes and ways with addr:suburb in Perth area and 54000 for addr:city tag.
For Melbourne area I got 37000 addr:suburbs and 70000 addr:city, however over 36000 addr:suburbs has also addr:city. Example: https://www.openstreetmap.org/way/44222946
It looks for me that addr:city is widely used in Australia, as addition to addr:suburb or sometimes instead.  The stats show it prevails over addr:suburb.
I would like to suggest to restore addr:city in format address in Australia as it is either used/necessary or needs to be cleaned/moved to suburb field.
Btw, what is rationale for "Address preset is using the wrong values for Australia."?
The wiki page https://wiki.openstreetmap.org/wiki/Australian_Tagging_Guidelines doesn't contain any information regarding addr: tags.

It looks for me that addr:city is widely used in Australia, as addition to addr:suburb or sometimes instead. The stats show it prevails over addr:suburb.

@tastrax Linked to the Australia Post reference in https://github.com/openstreetmap/iD/issues/5039#issuecomment-389831953. The postal address must always contain the "Placename/suburb/locality", not the city. So the addr:city usage in Australia is technically wrong, but to be honest I don't see it as a big issue since they can all be treated interchangeably as placename/suburb/locality and any data consumers should treat the addr:city value as a placename/suburb/locality not a city.
Looking forward though, it's probably not a good idea to say in Australia addr:city isn't actually the city, so best we start migrating to addr:suburb (valid point that now we're overflowing addr:suburb with placename/locality).
It's likely the prevailing tag because addr:suburb was only created in 2012 and it's too easy to mistakenly use addr:city.
I've used addr:city myself, but I've always been tagging the suburb, not the city, so it should have been addr:suburb.

I would like to suggest to restore addr:city in format address in Australia as it is either used/necessary or needs to be cleaned/moved to suburb field.

I think we should leave it as is per this PR, with addr:suburb and not addr:city for the reasons above.

The wikki entry https://wiki.openstreetmap.org/wiki/Key:addr#For_countries_using_hamlet.2C_subdistrict.2C_district.2C_province.2C_state has had a note abut the definition of suburb for Australia for a while now.


Rectangle logic is wrong for default java coordinate scheme

Rectangle intersects logic is wrong as follows:
First check of Y checks if rec1 top right y is less than rec2 bottom left y. In Java, because the coordinate system works from top-left (0,0), this doesn't work. A rectangle's top right can be above anothers bottom left and be intersecting.
Instead:
if (topRight.getY() > oBottomLeft.getY() || bottomLeft.getY() < otherTopRight.getY()) return false;

Hi @ritcat14,
I've verified the article and the code and to be honest it all looks correct.
Could you please add a new unit test that shows a case in which our code is wrong? You can simply add it to the RectangleUnitTest and issue a PR.

Here is a basic diagram explaining. It is the simple logic that the top-right Y coordinate of rec2 can be less than the bottom left y coordinate of rec 1 and the rectangles can still be intersecting. Your code does not allow for this in Java with a coordinate system shown in the image above (the default java coordinate system)

You can find a working example here: https://github.com/ritcat14/CINDER-ENGINE/blob/master/src/main/java/core/objects/Rectangle.java

@ritcat14 Are you saying that in the above diagram the top-right Y coordinate of rec2 is less than the bottom left y coordinate of rec 1??

Yes if you pay attention to the fact this is based on the default java coordinate system (with the top left of the screen being 0,0), then it is obvious rec 2 top y is less than rec1 bottom left y

Let's then assume that the top-right Y coordinate of rec2 is (x=5, y=-1) and the bottom left y coordinate of rec 1 is (x=1, y=-6).
Does it mean -1 is less than -6?

Why would it be that at round? The top of the screen is y=0, with positive values of Y going down. E.g on a standard 1080p screen, the top left coordinate is (0,0), top right (1920,0), bottom left (0, 1080) and bottom right (1920,1080). If you wanted some example values, take the bottom left of rec1 as (x=1, y=6) and too right of rec2 as (x=6, y=1). In which case rec2y < rec1y as per the diagram and the default java coordinate system

I think we have a fundamental misunderstanding here. Our article, as well as the implementation, assume we use a "default math model" - Cartesian coordinate system.
So yeah, I agree, if you change the environment to anything other than that, the outcome might be unpredictable.


Update Docker casks

Add cask for Docker Engine Client.
Add cask for Parallels driver for Docker Machine.
Update cask for Docker Machine to depends on created Docker cask.
Update cask for Docker Compose to depends on created Docker cask.

Could you please clean your commits?

Done. :)

Something happened, here.

Rebooted the builds.

Thank you for the contribution. It was merged directly as 153d96ff4b89f94853bb8edfea444f4a0e650ae9 to keep commit history cleaner. Your contribution is still credited to you.

Thank you for the contribution. It was merged directly as fb31ab9481046af15da8b4e32b0abc67ca1f6741 to keep commit history cleaner. Your contribution is still credited to you.


⚠ Jurnal has degraded performance

In 035faf8, Jurnal (https://jurnal.unmer.ac.id) experienced degraded performance:

HTTP code: 200
Response time: 18179 ms

Resolved: Jurnal performance has improved in 3711b24.


UI fixes

Codecov Report

Merging #1247 (2c5dadf) into master (672c88f) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1247      +/-   ##
==========================================
- Coverage   36.25%   36.20%   -0.06%
==========================================
  Files         428      416      -12
  Lines       10112     9903     -209
  Branches     1857     1840      -17
==========================================
- Hits         3666     3585      -81
+ Misses       6144     6024     -120
+ Partials      302      294       -8

Impacted Files
Coverage Δ

src/icons/Back.tsx
80.00% <0.00%> (-20.00%)
:arrow_down:

...ts/common/PasswordInput/ConfirmedPasswordInput.tsx
35.00% <0.00%> (-7.86%)
:arrow_down:

.../components/common/ChainSelector/ChainSelector.tsx
25.00% <0.00%> (-5.44%)
:arrow_down:

src/components/common/Input/Input.tsx
72.72% <0.00%> (-4.55%)
:arrow_down:

src/components/common/Page/Page.tsx
91.30% <0.00%> (-4.35%)
:arrow_down:

...rc/components/accounts/NewMnemonic/NewMnemonic.tsx
46.47% <0.00%> (-2.21%)
:arrow_down:

...ansaction/CreateTx/GasLimitField/GasLimitField.tsx
70.58% <0.00%> (-1.64%)
:arrow_down:

src/transaction/CreateTx/CreateTx.tsx
52.32% <0.00%> (-1.09%)
:arrow_down:

src/transaction/CreateTx/ToField/ToField.tsx
60.86% <0.00%> (-0.84%)
:arrow_down:

src/accounts/actions.ts
32.55% <0.00%> (-0.78%)
:arrow_down:

... and 58 more

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


Add support for Bootstrap4

I couldn't get the test-suite working in cli for bs4. Tested via browser.
[common] 8. container's title and placement from json options failed because css for bootstrap is not being loaded for some reason.
Other than that it's alright. Some units related to datepicker and select2 failing, but they fail for bs3 aswell, so.. ¯_(ツ)_/¯.
#1043 #950

Any news on this? 😄

Bootstrap 4 is worked for me. Check https://github.com/vitalets/x-editable/issues/1189#issue-2472436889