don't depend on rails meta gem to avoid installing the whole stack.

Just noticed something - when you add solid_cache, it ends up adding in the whole Rails stack.
This is kind of causing a bit of a mix-up because some monitoring and debug tools get activated when the gemlock has the unused gems (ex actioncable)

Thanks for the PR @seuros!
There are some merge conflicts here, but there's also https://github.com/rails/solid_cache/pull/115 to be merged. Once the conflicts are resolved and that's merged can I get you to rebase this?

@djmb done


refactor states sol

Codecov Report

Merging #297 (86406d9) into main (75f0a37) will decrease coverage by 0.02%.
The diff coverage is n/a.

: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.
@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
- Coverage   79.94%   79.93%   -0.02%
==========================================
  Files          41       41
  Lines        1436     1435       -1
==========================================
- Hits         1148     1147       -1
  Misses        288      288

Impacted Files
Coverage Δ

src/ONSAS.jl
100.00% <ø> (ø)

src/StructuralAnalyses/LinearStaticAnalyses.jl
87.50% <ø> (ø)

src/StructuralAnalyses/NonLinearStaticAnalyses.jl
86.84% <ø> (ø)

src/StructuralAnalyses/StaticAnalyses.jl
100.00% <ø> (ø)

src/StructuralAnalyses/StructuralAnalyses.jl
77.77% <ø> (ø)

src/StructuralSolvers/Solutions.jl
57.14% <ø> (ø)

src/StructuralSolvers/StructuralSolvers.jl
77.94% <ø> (-0.32%)
:arrow_down:

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


Broke inverts by adding typo to some site names in bio_fish.csv

Just to confirm. This happened when you:

Introduced a typo in fish database
Loaded that dataset
Selected the third objective

Right?

This was fixed in 22810993ed3e74bf2482a1664b0e44767f093606


Is this repository still maintained?

This repository hasn't been updated for more than one year.
I am looking for support to ES proposal, such as proposal-class-fields.
For example, this stage-3 proposal is not supported:
class A{
    #aPrivateProperty=1;
    constructor(){}
}

@h13i32maru

Obviously...


g:metals_status breaks statusline because of unescaped characters

Describe the bug
g:metals_status sometimes contains unescaped % symbols that breaks the status line evaluation (vim.api.nvim_eval_statusline) because those are special characters.
Expected behavior
% and any other posible special characters according to the statusline definition should be escaped
Operating system
macOS
Version of Metals
v0.11.8
Commit of nvim-metals
1284bbf8d79fe010909e65abdd849f047ff51914

Hey @caenrique thanks for the report! I never noticed or thought of this before. Do you have any examples of when this was the case for you? An example of the message specifically?
I guess we could scan the string on the nvim-metals side and replace any occurrence of % with %% and that should do the trick.

Yes! one example is: Compiling subscriptions 5s (0%).
I'm using feline.nvim for the statusline and I also created an issue there before I found the exact problem.
Replacing % with %% is exactly what I'm doing now to fix it, as suggested in the issue:
string.gsub(vim.g['metals_status'], '[%%]', '%%%1')


Update CHANGES.markdown

Update CHANGES.markdown for changes since 0.3.0.
Should we cut 0.3.1? Seems like we have enough miscellanea here.

I'm happy to merge this as it seems that  I probably should have been updating the CHANGELOG as I was merging PRs lately.
@dshusta have you been using head of PCK lately? None of my projects are currently pinned to head of PCK, and it would be nice to get some projects trying it out before cutting a release. Even seemingly innocuous changes can break users of PCK that weren't expecting changes. This feels like a patch release to me, but I'd feel more confident having more people try it out before we commit to a version number.

@tjarratt Sure I'll try it out on head for a while. Will let you know.

Yes I would like us to cut a new version soon.  Thanks for taking care of
the CHANGES @dshusta !
On Thu, May 14, 2015 at 10:02 AM, Daniel Shusta<EMAIL_ADDRESS>wrote:

@tjarratt https://github.com/tjarratt Sure I'll try it out on head for
a while. Will let you know.
—
Reply to this email directly or view it on GitHub
https://github.com/pivotal/PivotalCoreKit/pull/144#issuecomment-102103506
.


Added support to unmarshal json.RawMessage fields

Problem
Our graphql schema contains json scalars. It's mainly used for fields that require a bit more flexibility. Currently, the only way to use gqlgenc with json scalars is to pretend that all json scalars map to a specific struct and write a un/marshaller for that type. It works ok if you have 1 json scalar in your schema, but that's not our case.
A better way of approaching that issue would be to use the json.RawMessage type. That way, you are pushing the unmarshalling logic down the consumer of the gqlgenc client. Unfortunately, this solution wasn't supported out of the box because the graphql decoder in graphqljson/graphql.go didn't handle the json.RawMessage type and it would result in an error.
Solution
Modify the decode function of the Decoder to handle the json.RawMessage type.
Consideration
In the decode function, when the code is at a point where it's in an object, read the key and found a matching field in the referred struct, the tie breaker for the matchingFieldValue is the position in the stacks (last matching one in d.vs). It's to reflect more or less what's happening when the value is actually processed (line 189-198).

Can't you implement Scala types in config.models ?
https://gqlgen.com/config/

Yeah, that's more or less the point of this PR. To be able to define a custom scalar that maps to the json.RawMessage type, the graphql decoder needs to understand this type.
Here's a small example:
schema.graphql
scalar json

type object {
  id: Int!
  metadata: json!
}

type Query {
  objects: [object!]!
}

query.graphql
query Objects {
  objects {
    id
    metadata
  }
}

scalars/json.go
package scalars

import "encoding/json"

type JSON json.RawMessage

.gqlgenc.yml
model:
  filename: ./gen/models_gen.go
client:
  filename: ./gen/client.go
schema:
  - "./schema.graphql"
query:
  - "./query/*.graphql"
models:
  json:
    model: "github.com/Yamashou/gqlgenc/example/annict/scalars.JSON"

Will generate the correct models and client
models.go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.

package gen

import (
	"github.com/Yamashou/gqlgenc/example/annict/scalars"
)

type Object struct {
	ID       int          `json:"id"`
	Metadata scalars.JSON `json:"metadata"`
}

However, if you use the client client.Objects(context.Background()), it will always result with an error.
In this case, it will be something like
Error failed to decode data into response {"data":{"objects":[{"id":1,"metadata":{"created":"2021-05-03T21:27:28+00:00"}},{"id":2,"metadata":{"created":"2021-05-03T21:27:28+00:00","lastUpdated":"2021-05-04T21:27:28+00:00"}}]}} : : : struct field for "created" doesn't exist in any of 1 places to unmarshal
As you can see, the json decoder goes too far.
The created field is in the metadata object which  a json.RawMessage. It shouldn't try to decode it.
Why is it doing that? The custom decoder in graphqljson/graphql.go doesn't understand json.RawMessage. It will see a json delimiter ({), will proceed as if it had a nested struct and will fail cause it's not finding any field matching created.
The point of this PR is to change that behaviour to be able to have a scalar mapping to the json.RawMessage type.
I hope it makes more sense now.

@Yamashou Did I provide everything you needed to properly understand the problem and the solution to it?

@jpgauthier
so sorry, I found now your message now. I understand your problem and I want to merge this PR.


Enhancement: OAuth2TokenProvider for Authentication Against Self-Hosted Camunda Stack (503)

Hey! 👋 I've just introduced an OAuth2TokenProvider to facilitate authentication against a self-hosted zeebe stack. I'd love to hear your thoughts and feedback on this addition.
Changelog:
OAuth2TokenProvider:

Introduced OAuth2TokenProvider for seamless authentication.
Implemented OAuth2TokenProviderBuilder for flexibility in configuration.
Moved AccessToken to the Misc Namespace and Folder for better organization.
Extracted duplicated code from OAuth2TokenProvider and CamundaCloudTokenProvider into a common base class for improved maintainability.

Integration Tests:

Enabled the initiation of integration tests with an identity zeebe stack.
Added integration test to authenticate against the identity zeebe stack

Unit Tests:

Implemented thorough unit tests for both OAuth2TokenProvider and OAuth2TokenProviderBuilder to ensure robust functionality.

Looking forward to your valuable feedback!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lennart Kleymann seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I try to review asap but zeebe project and other thing keep me busy :)
@fabianschurz maybe you want to give feedback from the user perspective if this would be something you would like to see and use like it is rjght now already.

I reviewed the code, i don't have any improvements or additions. LGTM, it's implemented the same way the cloud provider is implemented at the moment. So for me this PR would be suitable and would exactly fit for my use case.

I would love to see this PR accepted. After upgrading my local camunda-stack it was a nightmare to get authentication done right (before I made unauthorized requests). Thanks to this PR I have a workaround for token retrieval.

Hey, thanks all for your interest in this PR and especially to @LennartKleymann for contributing. I reiterated over it and created https://github.com/camunda-community-hub/zeebe-client-csharp/pull/625 (which is merged now). I will release a new version soon.


Add an immutable Graph::node_weights() iterator

This adds a new helper function to Graph that allows users to
immutably iterate through all node weights.
This is similar to the existing Graph::node_weights_mut() function.
This fills a tiny gap in the API - in most cases, every mutable accessor is
accompanied by an immutable accessor of the same name. This is so callers from
immutable contexts can use the same API as the corresponding logic but in
an mutable context..

This is covered generically by https://docs.rs/petgraph/0.4.13/petgraph/visit/trait.IntoNodeReferences.html#tymethod.node_references which gives you a combination of node id and weight for each node.

We don't want a new trait just for the convenience (we have some organizational "overhead" due to each trait we define in petgraph's visit module, just look at how they are defined and implemented) but other ways to solve it could be approached


Looking for a way to skip the Ultracart hosted page while checkout

We are working on custom ordering sequences on our website. The
simplest one is where customers can order a free sample, but we are also
building out a 5 step checkout process, so undoubtedly, this question will come
up again.
In our free sample order process , at last step we call finalizeOrder function of your REST api and then we redirect to received URL. Then for few seconds seconds user are displayed with a redirection page which is hosted on Ultracart adn then they come to our custom Thank you page.
We do not want our users to see Ultracart hosted pages and complete the process without redirection.
Is there a way to accomplish this in REST API or SOAP API?
FYI, Credit card information is not involved in this case as its a free sample amount to zero cost.
Thanks & Regards
HIM

HIM,
Hello.  That doesn't sound correct.  finalizeOrder is a server side call that returns back a FinalizeOrderResult.  That object contains (optionally) errors and the order text if successful.    There is no redirect url contained within the FinalizeOrderResult.
https://ultracart.atlassian.net/wiki/display/ucdoc/UltraCart+REST+Checkout+API#UltraCartRESTCheckoutAPI-FinalizeOrderResult
The /rest/cart/checkout calls sounds like what you're using.  It is a browser only solution which returns the redirect url.  If you wish to eliminate StoreFronts completely, you should be using the finalizeOrder call from within your server side script.  If it returns with the successful=true property, you may then proceed to whatever receipt page you desire to display.
Regards,
Perry

Hello Perry,
Yes, you were right we were calling /rest/cart/checkout  as our last call and then redirecting user to received URL. (as blue arrow on REST API doc suggested.)
Now using the FinalizeOrder function and it does the work for us.
Thank you very much for your prompt response and info.
Thanks & Regards
HIM


Allow multiple requests in parallel

Right now, when tinydns is waiting for the response from an upstream server, it's simply waiting for data and now handling other requests during that wait.
To increase performance (a lot), we should track a list of waiting requests and handle others while the upstream server is working on a response.

Implemented by #21


Eigen fix bug 1644

ENH: included fix for bug 1644 from upstream eigen repository
See  http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1644

ping @seanm

The failing test is unrelated. Let's give @phcerdan some more time to do a more comprehensive update of Eigen (including this fix) before merging this PR.

Any approx ETA?  We're trying to get our dashboards green, and the eigen -Wcast-qual warnings are some of the only ones left:
https://open.cdash.org/viewBuildError.php?type=1&buildid=6142838

We could merge today if you are eager, and then @phcerdan could obliterate these changes with a more comprehensive update. Otherwise we could give him time until Monday.

I'm eager, but if we're talking days, I'm not that impatient. :)

sure, let's update internal itk eigen to the top of 3.3 branch: https://bitbucket.org/eigen/eigen/commits/branch/3.3, commit 1553e26d9ce84


Hello, may I ask why the index has decreased significantly after adding -- filter3d -- dense?

What's the effect of only adding the 3D filter?


finishing behavioral extraction

Opening as draft just to get it rolling. But all questions have been answered, just in the process of copying name fields over from the .mat files and debugging. It's essentially a very rich trials table (there is a lot that can happen during these experiments).

To-do: adding vector data to trials table.


Enable simulation of MIMO systems

Until now lsim2 was unable to simulate MIMO systems because lti tried to create tf and zpk representations. Those cannot be created for multiple input systems. The transformation is now skipped if there is more than one input.
Additionally the fprime function used a transposed version of the input. This is fixed now.
I added a test to test_ltisys.py testing the simulation of a two-input-two-output system, where the output is simply a copy of the input. All previous tests still pass. Behaviour for single input systems has not changed, so no working existing code should break.

There's something not quite right with this fix though it looks like after some testing - the two issues at gh-2669 aren't fixed by this. Don't quite understand why so quickly, needs looking into.

The issue https://github.com/scipy/scipy/issues/2669 has been closed by https://github.com/scipy/scipy/pull/3862. Should this PR be closed?

@argriffing not sure if we should close this. There's something useful here, but it's incomplete. Getting MIMO systems to work in ltisys functions would be useful. Maybe the new lti subclasses in gh-4576 will also move this in the right direction.


theme/color: Add selector class names for the current mat colors. (like "mat-app-background")

Feature Description
I would be great if Angular Material implements class-names for the active theme colors.
There is already a class mat-app-background to get the background color. Very helpful if you use the dark theme. https://material.angular.io/guide/theming (search for "mat-app-background")
Theming is a challenging job for non-mat elements like div. I found a solution for me (see below). But Angular Material should simplify this by build in these features. mat-app-background already exists - why not for colors too?
Ok, there are two cases for styling:

Background and text contrast. (use class-name e.g. mat-color-primary)
Text only with the background color. (use class-name e.g. mat-color-primary-text)

Use Case
Style every element by simply adding the color class name into the html element. No hassle. No own / custom implementation.
My Current Solution
This is the complete file for light and dark theme. Simply add dark-theme class to the body.
NOTE: Also add the class mat-app-background to the body element. (or a level deeper.)
@import "~@angular/material/theming";

@include mat-core();

// LIGHT
$custom-app-light-primary: mat-palette($my-blue);
$custom-app-light-accent: mat-palette($my-green);
$custom-app-light-warn: mat-palette($mat-red);

$custom-app-light-theme: mat-light-theme(
  $custom-app-light-primary,
  $custom-app-light-accent,
  $custom-app-light-warn
);
@include angular-material-theme($custom-app-light-theme);

// DARK
$custom-app-dark-primary: mat-palette($my-blue);
$custom-app-dark-accent: mat-palette($my-green-light);
$custom-app-dark-warn: mat-palette($mat-red);

$custom-app-dark-theme: mat-dark-theme(
  $custom-app-dark-primary,
  $custom-app-dark-accent,
  $custom-app-dark-warn
);

.color-primary {
  background-color: mat-color($custom-app-light-primary);
  color: mat-color($custom-app-light-primary, default-contrast);
}

.color-accent {
  background-color: mat-color($custom-app-light-accent);
  color: mat-color($custom-app-light-accent, default-contrast);
}

.color-warn {
  background-color: mat-color($custom-app-light-warn);
  color: mat-color($custom-app-light-warn, default-contrast);
}

.dark-theme {
  @include angular-material-theme($custom-app-dark-theme);

  .color-primary {
    background-color: mat-color($custom-app-dark-primary);
    color: mat-color($custom-app-dark-primary, default-contrast);
  }

  .color-accent {
    background-color: mat-color($custom-app-dark-accent);
    color: mat-color($custom-app-dark-accent, default-contrast);
  }

  .color-warn {
    background-color: mat-color($custom-app-dark-warn);
    color: mat-color($custom-app-dark-warn, default-contrast);
  }
}

Btw. my proposal with the text color is about creating class names with -text suffix. Like:
.color-primary-text {
  color: mat-color($custom-app-dark-warn);
}

So with my solution you have solved the color styling for both cases. Backgroud with contrast for text color and text color only.

Awesome!

Awesome!

This is something we've considered, but probably won't ultimately add. We wouldn't want to add these classes to the default output, since it would be adding CSS output that may go unused. If the classes are optional behind some mixin, it makes the theming API more complicated, and it's probably complicated enough as it is.
Since this is something you can accomplish with the Sass functions we already have, it's far enough down on the priority list that it's realistically unlikely to happen.


Python 3

The current code isn't compatible with Python 3 at all, which is annoying. I run Python 3 and this causes any project that imports Platoon somewhere to fail immediately.
In general, even if the lab still develops on Python 2, we should at least make sure that the tools don't crash for people who run Python 3. We're going to have to switch someday (sooner rather than later) and legacy Python compatibility is pretty trivial with six most of the time.

#54 fixes the print statements in the platoon-launcher script. For ZMQ we need to either use the send_string and recv_string methods instead of send and recv, or explicitly send bytes. We also need to use memoryview instead of buffer in Python 3 (see fuel.utils).

Can I add an exasperated "why??!" The largest hurdle, single codebase Theano support, is gone, thanks to myself and @abergeron. Python 3 is better in almost every way, it makes it easier to develop bug free code, and conda makes it trivial to deploy. New projects should not be using legacy Python...

:+1:

You are both right about this, thanks for the reminder and the PR.


High CPU load

For some reason I'm getting unusually high CPU usage with nocode, it's causing my CPU temps to rise to about 90C. Any possible way to fix this?

Buy a new computer.

This is a $3000 computer, it should have no problem running nocode.

Reinstall computer to defragment nocode

I'll try a different flavor, I think nocode isn't compatible with arch

UPDATE:
Got it running on my raspberry pi 3 toaster. So I think it's an issue with Arch

You need noCPU acceleration to run nocode.

@FM1337, I just ran nocode on my odroid-c2 cluster. So far so good - all nodes running steady at 45C.

@vassilvk yeah it looks like a problem with Arch, the kernel needs to have noCPU accleration support added before it will work correctly.

you just need some more ram https://downloadmoreram.com/

Have you tried turning it on and off?

rm -rf /


feat: check for gstreamer or pipewire libraries before setting them

This PR allows snaps to use their own set of pipewire or gstreamer libraries.

@soumyaDghosh What is the problem that this patch fixes? In which cases can those variables be previously defined?

In cases when the snap is building gstreamer or pipewire from and shipping within the snap, for eg, firefox, chromium, clapper

@kenvandine I don't think I am the right person to review this

This needs to be merged to fix https://launchpad.net/bugs/2074358. @jhenstridge or @sergio-costas, can you help reviewing this?

+1, thank you!

@nteodosio I was doing some maintenance checks and found this awaiting for my approval... Is this still required?

I'd say yes. I worked around it in Chromium, but this is sure to bite someone, somewhen.


After Burning on BSC I arrived no DFI

Hello,
I used the BSC Bridge from BSC to defichain as usual, but this time I did not receive any DFI in my Wallet. The DFI Burn on BSC was successful.

Funds are safe! And the funniest part comes at the end :-)
The bridge is now stronger than ever.
Over the last three days, we have had a very powerful entity trying to compromise the bridge.

The attacker rented dozens of servers from Hetzner and was constantly DDOSing the bridge with 10Gb/s of junk traffic.
The attacker somehow managed to get the bridge nodes banned from the Ocean API
With the team at MyDefichain we have fought off the attacker, we created an entire new IPTables ruleset to detect such attacks early on and automatically ban the corresponding IP addresses, we introduced rate limiting on all public API nodes, and made a few more parts of the bridge more resilient.
From now on the bridge should be more stable than ever
In the coming days, I will create and release a new, modern UI that gives users an even better, more streramlined experience!!!
Impact on the funds: for some reason we have more than before looool.

All funds are safe, always were, and always will be.
Please try the recovery function again, it should all work now!!


[BUG] showAvatar attribute does not exist in options

Describe the bug
"connectkit": "^1.7.2"
"node": "v18.17.0"
import { ConnectKitProvider } from 'connectkit'

 <ConnectKitProvider options={{ showAvatar: false }}>
   {children}
 </ConnectKitProvider>

Prompt "showAvatar" attribute does not exist.
I've tried repeatedly uninstalling and installing "connectkit", to no real effect.

Sorry this is due to misguided documentation. showAvatar is supported on the ConnectButton rather than on the provider itself. The docs have now been updated to reflect this.
Thanks for letting us know about this issue!


Add ignore_max_files_warnings (#279)

Allow user to disable puppet warnings related to max_files exceeding default of 1000 if they choose to

Codecov Report

Merging #280 (8622ae8) into master (ba7e3d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #280   +/-   ##
=======================================
  Coverage   40.81%   40.81%
=======================================
  Files           4        4
  Lines          49       49
=======================================
  Hits           20       20
  Misses         29       29

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 ba7e3d8...8622ae8. Read the comment docs.

I cannot say why the puppet5 tests are failing.

@earthgecko Looks like this max_files option was not present in Puppet v5 ... but as this version is EOL since beginning of this year, I'll remove those tests now. When done I'll trigger you and then please merge that ...

Tests changed, please merge latest changes into your branch and retry

@mcgege thanks, merged, hopefully that should do it.

Looks good, many thanks for your PR!

@mcgege no thanks needed.   Thank you for maintaining the module.


Feature/translation it

Hi Zen Team,
The Italian translation is ready and the language selection option also from the language menu.
Hope more italians will join Zencash!!
Cheers!
Armand

Basic tests are OK. Pull request will be merged.
Some improvements to the Italian version could still be made. For instance the amounts of the main balance label are misaligned (by one position: Saldo/Transparente/Privato/Totale). In addition when sending cash some parts of a message are missing:

English version is not affected by these minor problems (need to be fixed in src/resources/messages/zencash_it.properties).


Short flags should be combined

Describe what you want
Short flags should be able to be joined in one group
Why is it necessary
Very common practice for short args to be grouped, saves a lot of typing when doing multiple flags
Test case examples [Optional]
If the Flags -s and -t are added, then you should be able to call the binary with -st to specify that both the s and t flags are set.  This can get tricky if you want to support non-flags (most likely in the trailing position) so you could do something like -stn10 or maybe -stn 10 if -n was an Int argument.

It's an idea, but it would confuse user a lot. When I start the project, I wondered if I should do so.
but since there's no length limit on short args, -stn is just one short args
parser.Int("stn", "", nil)  // it will accept '-stn 10'

I guess I'll wonder a little more to complete this feature


ninja-vs-12-2013-win64 toolchain uses GCC

When using the ninja-vs-12-2013-win64 toolchain, CMake uses GCC rather than MSVC.  Looking at build.py, it seems like it tries to use the vs envinronment
vs_ninja = toolchain_entry.is_ninja and toolchain_entry.vs_version
if toolchain_entry.is_nmake or vs_ninja:
  os.environ = detail.get_nmake_environment.get(
      toolchain_entry.arch, toolchain_entry.vs_version
  )

but I don't know if that's intended to get Ninja to use the correct compiler.
Here is the head of the log:
Execute command: [
  `where`
  `cmake`
]
[c:\Users\alex\Projects\swish]> "where" "cmake"
C:\ProgramData\chocolatey\bin\cmake.exe
Execute command: [
  `cmake`
  `--version`
]
[c:\Users\alex\Projects\swish]> "cmake" "--version"
cmake version 3.5.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Execute command: [
  `cmake`
  `-HC:/Users/alex/Projects/swish/`
  `-Bc:\Users\alex\Projects\swish\_builds\ninja-vs-12-2013-win64`
  `-GNinja`
  `-DCMAKE_TOOLCHAIN_FILE=C:\Users\alex\Projects\polly\ninja-vs-12-2013-win64.cmake`
  `-DCMAKE_VERBOSE_MAKEFILE=ON`
  `-DPOLLY_STATUS_DEBUG=ON`
  `-DHUNTER_STATUS_DEBUG=ON`
  `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
]
[c:\Users\alex\Projects\swish]> "cmake" "-HC:/Users/alex/Projects/swish/" "-Bc:\Users\alex\Projects\swish\_builds\ninja-vs-12-2013-win64" "-GNinja" "-DCMAKE_TOOLCHAIN_FILE=C:\Users\alex\Projects\polly\ninja-vs-12-2013-win64.cmake" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DPOLLY_STATUS_DEBUG=ON" "-DHUNTER_STATUS_DEBUG=ON" "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
-- [hunter *** DEBUG *** 2016-04-16T17:02:59] HUNTER_ROOT set using HOME environment variable
-- [hunter *** DEBUG *** 2016-04-16T17:02:59] HUNTER_ROOT: C:/Users/alex/.hunter
-- [hunter *** DEBUG *** 2016-04-16T17:02:59] Settings (initialize):
-- [hunter *** DEBUG *** 2016-04-16T17:02:59]   HunterGate done (NO)
-- [hunter *** DEBUG *** 2016-04-16T17:02:59]   Cache init (NO)
-- [polly] Used toolchain: Ninja / Visual Studio 2013 / x64
-- [polly *** DEBUG ***] Used tag: ninja-vs-12-2013-win64
-- [polly *** DEBUG ***] CMAKE_DEBUG_POSTFIX is empty
-- [polly *** DEBUG ***] CMAKE_DEBUG_POSTFIX set to 'd'
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter *** DEBUG *** 2016-04-16T17:03:06] List of cache servers:
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   * https://github.com/ingenue/hunter-cache
-- [hunter *** DEBUG *** 2016-04-16T17:03:06] Settings (finalize):
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   HunterGate done (NO)
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   Cache init (NO)
-- [hunter *** DEBUG *** 2016-04-16T17:03:06] Variables from HunterGate:
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   HUNTER_GATE_ROOT: C:/Users/alex/.hunter
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   HUNTER_GATE_VERSION: 0.14.12
-- [hunter *** DEBUG *** 2016-04-16T17:03:06]   HUNTER_GATE_SHA1: 2d444140db0d53393b5490604006bb4f4896a444
-- [hunter] Calculating Config-SHA1
-- [hunter] Calculating Toolchain-SHA1
-- [hunter *** DEBUG *** 2016-04-16T17:03:07] [C:/Users/alex/Projects/swish/_builds/ninja-vs-12-2013-win64/_3rdParty/hunter/toolchain] > "C:/ProgramData/chocolatey/lib/cmake.portable/tools/cmake-3.5.1-win32-x86/bin/cmake.exe" "-DTOOLCHAIN_INFO_FILE=C:/Users/alex/Projects/swish/_builds/ninja-vs-12-2013-win64/_3rdParty/hunter/toolchain/toolchain.info" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/alex/Projects/polly/ninja-vs-12-2013-win64.cmake" "-DHUNTER_SELF=C:/Users/alex/.hunter/_Base/Download/Hunter/0.14.12/2d44414/Unpacked" "-GNinja" "-HC:/Users/alex/Projects/swish/_builds/ninja-vs-12-2013-win64/_3rdParty/hunter/toolchain" "-BC:/Users/alex/Projects/swish/_builds/ninja-vs-12-2013-win64/_3rdParty/hunter/toolchain/_builds" "-DCMAKE_RELEASE_POSTFIX=" "-DCMAKE_DEBUG_POSTFIX=d"
-- [polly] Used toolchain: Ninja / Visual Studio 2013 / x64
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done

I've commited fix to branch develop, please try it.

Thanks for the fix.  I've tested it and it solves the problem.  The correct compiler is now picked up by CMake.  I'm encountering other problems, but I think they are unrelated.


Meteor package

This pull request includes a

[ ] Bug fix
[ ] New feature
[ ] Translation

The following changes were made

If this is related to an existing ticket, include a link to it as well.

Thank you for contributing to Select2!
If there are no changes required for Select2 to work with Meteor, we would rather not release another package just for Meteor. Note that we do it for Bower and a few other managers because of historical reasons.
If there are changes required to make Select2 work with Meteor, we recommend creating a separate third-party package that contains that code and links to Select2. You can see a few examples of that in the integrations section of the README.


Help - Where can I add reducers?

Should I configure the reducers in this place?
export default function createReducer(asyncReducers) {
  return combineReducers({
    route: routeReducer,
    language: languageProviderReducer,
    ...asyncReducers,
  });
}

There is any sample for asyncReducers?

If you explicitly add a reducer in combineReducers, it will be loaded synchronously. asyncReducers are injected when the corresponding container is loaded (i.e. navigating to a route).
Injecting a reducer asynchronously would be a tedious job, mainly because you have to pass your redux store to getAsyncInjectors().

@KarandikarMihir  trying to wrap my head arount this async reducer generator .
What store.replaceReducer does exactly?
I am taking a look at the asyncInjectors.js and at a giving route only the current route reducer is listening for actions, is that it?

@drFabio  Yup you got that right!

Closing due to inactivity


Automatically Creating Superuser - Issue #3430

Added method to create default superuser if not specified or created before.
Also added codes to delete and check all users present for simiplicity and debugging purposes

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[x] I have created a changelog fragment
[x] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] I have linked related issues (see GitHub docs)
[x] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Added method to create default superuser if no superuser is created
I have added the changes to manage.py, the relevant code will execute only if runserver argument is present.
If present, it then checks if any superuser exists, if no one exists then it will create a default one.
Added check and delete users code to increase convenience while developing


New version: Microsoft.MSIXCore version <IP_ADDRESS>

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115159&drop=dogfoodAlpha

@wingetbot run


Deku Guard vision particles visible at night

[x] I have checked the known issues and searched Github to ensure this issue has not already been reported.
[x] This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:
The deku guards from the palace's vision particles are visible during the night
Can you reproduce? If so please list the steps:

[ ] No, I cannot reproduce this bug
[x] Yes, here are the steps to reproduce the bug:

Go to the deku palace rooms with the guards (left or right after the deku scrubs that block the entrance)
use the song of double time or sun's song (from the enhancements->songs menu) to change the time to night (or just walk in at night in the first place)
See vision particles coming from the guards

Expected behavior:
Deku guard vision particles should always be invisible
Screenshots or videos:
During the day (expected behavior):

During the night (bug):

System Information:

OS: Windows
GFX Backend: OpenGL and DirectX
Game Version: 1.1.1
Rom Version: US N64

Hi, this is not an issue. This is how the game originally works. The dots will only display at night.

I wasn't aware that it was in the original game, but it seems like it was (at least considered by the 3D dev team as) a bug that was removed in the remake (which is probably why I thought it was a bug)
It would make sense to add the option to disable it as a fix/restoration type thing (but obviously much lower priority than an actual bug)
3DS version footage of it "fixed":
https://youtu.be/2ohiw4Xj_mA?feature=shared&t=628

Ah I didn't realize 3ds version changed that. I could see adding an option for that.

I put up a pull request to address this. I thought 3 options would make sense for this: never show them, only show them at night, and always show them.


Paragraphs produce garbled formatted_body

This is about sending messages from an iOS device and how these messages render on iOS devices.
Affects Riot 0.5.3, but I've noticed it on earlier versions as well.
OK case
Sending the following message:
line 1
line 2

correctly produces the following event content:
  "content": {
    "body": "line 1\nline 2",
    "msgtype": "m.text",
    "formatted_body": "line 1
\nline 2",
    "format": "org.matrix.custom.html"
  },

Garbled case
Sending the following message (notice the 2 new lines in-between the text):
line 1

line 2

incorrectly produces the following event content:
  "content": {
    "body": "line 1\n\nline 2",
    "msgtype": "m.text",
    "formatted_body": "line 1
\n
line 2",
    "format": "org.matrix.custom.html"
  },

Notice how the formatted_body is syntactically incorrect.
This message renders on an iOS device like this (paragraphs are lost, which kills its intended effect):
line 1
line 2

#355 fixes the wrong syntax in "formatted_body" (like ) but not the rendering of the message on iOS devices.

@giomfo, thanks for merging matrix-org/matrix-ios-kit#355!
In my testing, I haven't noticed a rendering change introduced as a result of this patch.
Could you elaborate more on that? Maybe it should be its own separate issue?

closed accidentally

By the way, it seems that starting with riot-web 0.12.7, when sending org.matrix.custom.html messages, riot-web no longer turns paragraphs into
 tags, but uses
 paragraphs (same as what the iOS version does).
This means that even "messages sent from web" (which probably tend to be longer and contain paragraphs) don't render well on the iOS app anymore.
Thankfully this is now fixed (just in time) and hopefully we'll see it in a release soon.


Added GeneralPhpdocAnnotationRemoveFixer, GeneralPhpdocAnnotationRenameFixer

I really like to remove annotations of my choice without creating custom fixer each time

Nice idea. This is missing integration tests/priority testing?

for now test are keep for used, specific fixers

what happend @keradus ?


upgrade v2

Closes: #XXX
What is the purpose of the change

Add a description of the overall background and high level changes that this PR introduces

(E.g.: This pull request improves documation of area A by adding ....
Brief Changelog
(for example:)

The metadata is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
Daemons retrieve the RPC data from the blob cache

Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added unit test that validates ...
Added integration tests for end-to-end deployment with ...
Extended integration test for ...
Manually verified the change by ...

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
How is the feature or change documented? (not applicable   /   specification (x/<module>/spec/)  / README.md  /   not documented)
Does this pull request update existing proto field values (and require a backend and frontend migration)? (yes / no)
Does this pull request change existing proto field names (and require a frontend migration)? (yes / no)

We also need to register the upgrade handler in app/upgrades.go
func (app *StrideApp) setupUpgradeHandlers() {
	// v2 upgrade handler
	app.UpgradeKeeper.SetUpgradeHandler(
		v2.UpgradeName,
		v2.CreateUpgradeHandler(app.mm, app.configurator),
	)

And update the version in cmd/strided/main.go


FR: Support optional dependencies

Currently, we skip optional dependencies in transitive closure resolution.

Note that this missing feature leads to some weird brokenness, when some package has an optional dependency which in turn brings more dependencies.


add a ?? to string reader for php8.1 in /src/Utils/StringReader.php

https://github.com/php-gettext/Gettext/blob/3f7bc5ef23302a9059e64934f3d59e454516bec0/src/Utils/StringReader.php#L31
could we get this substr call edited to stop the depreciation errors for php8.1?
public function read($bytes)
    {
        $data = substr($this->str, $this->pos ?? 0, $bytes);

        $this->seekto($this->pos + $bytes);

        return $data;
    }

Or maybe just set it on construct?
    public function __construct($str)
    {
        $this->str = $str;
        $this->strlen = strlen($this->str);
        $this->pos = 0;
    }

The errors for translations on php8.1 are insanely loud when translating on php8.1
[Error] substr(): Passing null to parameter #2 ($offset) of type int is deprecated in file /var/www/music/vendor/gettext/gettext/src/Utils/StringReader.php(31)

I will be looking at moving to gettext5 but i don't really understand the code enough yet to do this for ampache

Can you create a PR with this fix? Thanks!

merged with #287


TTS file length/metadata is faulty for AAC

First of all, great job with this package, it's really easy to use!
I've found an issue with the audio files returned from the createSpeech method using responseFormat: OpenAIAudioSpeechResponseFormat.aac: the duration of the file seems to be incorrect. I noticed this when the Duration of the audio file did not match with the final progress value of playing the audio in the app. Playing the file in firefox shows the progress bar jumping to the end when the audio file stops about 5 seconds before the end and a similar thing happens in the OS X previewer.
However, this does not seem to happen for the OpenAIAudioSpeechResponseFormat.mp3 response type. I've tried using both 'tts-1-hd' and 'tts-1' with the same result.
See these example files:
TTS.zip

Seems like this is an issue with OpenAI, closing this. Reference thread for others interested: https://community.openai.com/t/aac-files-have-wrong-duration/719744


How to train on data from NeRF-Art like fangzhou_nature?

Hi! Thanks for your great work! I tried to process fungzhou_nature data from NeRF-Art to your provided fangzhou-small data format. But I couldn't find the correct data-parser to use. I met the same problem with this issue.
Could you please provide your data process code of fangzhou_nature?

The data is in this folder, called fangzhou-small. I already resized it to 512 so it works well with InstructPix2Pix.

Thanks for your reply.


Character move transition

This tries to implement transitions between two characters states. There may be a better way to do this.
This uses a simple syntax, a move class that could be applied with the with keyword.
Example
show character <character_id> <sprite_id> // The character spawns in the middle
show character <character_id> <sprite_id> at right with move // The character is smoothly moved to the right

How it works
To do this, we apply a transition css property to animate the css properties that are changing when we apply the right class.
For the animation to work properly, all the position classes have to use the same properties for positioning. I chose to use the left and transform properties for this.
Discussion points

To let the user chose the transition duration he wants, I've duplicated the keyword duration logic into a new transition keyword (ex: show character r normal left with move transition 0.5s), but maybe we could simply make the duration keyword apply both animation-duration and transition-duration properties
Maybe we should restrict the transition to the position properties ? Using something like

&.move {
	transition-property:left, transform;
	transition-duration: 0.2s;
	transition-timing-function: ease;
}

It would be great if we provided a way to change the transition-timing-function easily ? For now it uses ease, the default  one :)

Oh, I love the approach you took here! It plays incredibly nice with the other animations, I like having the transition and duration as separate keywords since that allows mixing them with the transition applying to movement and the duration to any other animation.
The only issue I see if we restricted the move class to the position properties is that if a custom, position was created, they would have to copy and paste the move code, and if it's allowed to be with any class, they can simply use it.
The transition-timing-function can be changed with the proper CSS selector on the main.css so I'm guessing that won't really be a problem :)
Thank you so much for this! I will merge it as it is but if you want to keep discussing anything related to this, we can create either an Issue or talk over discord.


Remove ActsAsTaggable mixin from EmsFolder

@miq-bot assign @gtanzillo
@miq-bot add_label rbac, core
There is no use of ActsAsTaggable mixin for EmsFolder model
EmsFolder class is also skipped from RBAC to applying tag filters:
https://github.com/ManageIQ/manageiq/blob/master/lib/rbac/filterer.rb#L54
based on these facts I believe that  ActsAsTaggable is unused here.
Not sure who can confirm it.

we decided not to remove it, for now, there is 100 % way how to prove that is it not needed.


Speeding up twice image position finding

Speeding up twice FastPath, and using stop boolean to avoid passing thru useless loops

This increase performance of 130% !!!


Add demo QUIC blocking server

Adds a new demo blocking QUIC server for use with the existing demo QUIC clients. Also removes util/quicserver.c
Resolves https://github.com/openssl/project/issues/722
QUIC Server API Design Document: https://github.com/openssl/openssl/pull/21795
Key details

Echoes request contents back to client
Serially accepts clients
Blocks for all operations
Uses HTTP/1.0 to minimize clutter from other protocols like HTTP/3. Only accepts http/1.0 and hq-interop ALPN's

Example usage
Tested to work with quic-client-block and quic-client-nonblock
Demo QUIC Server:
$ ./quic-server-block
quic-server-block: usage: ./quic-server-block <port> <server.crt> <server.key>
$ ./quic-server-block 4443 ./chain.pem pkey.pem
Waiting for connection
Accepted new connection
Waiting for connection
^C

Demo QUIC Client:
$ SSL_CERT_FILE=chain.pem ./quic-client-non-block localhost 4443
GET / HTTP/1.0
Connection: close
Host: localhost

[x] documentation is added or updated

I think we need a rebase of the feature branch to clear up the CI failure

@nhorman added the build directives: https://github.com/openssl/openssl/pull/25317/commits/64498c3f024c7181b529872613cbb9c1d9900f30
@Sashan I did it this way was because I based it off the TLS server demo, which generates and uses those files already. The certificate is almost the same, except I added 'localhost' as a valid domain name for the certificate.
If we want to keep the Makefile the same as what's on ToT master, I can disable peer validation for the demo QUIC clients.
https://github.com/openssl/openssl/pull/24505/files#diff-7ac1052efbef17a09c3fa7c46e55c166876147331e0278ccd0f9a833b054bbb9
These are the differences between my branch and master
$ git diff --no-color openssl/master -- Makefile
iff --git a/demos/guide/Makefile b/demos/guide/Makefile
index 943d2f3ee7..c36794748c 100644
--- a/demos/guide/Makefile
+++ b/demos/guide/Makefile
@@ -5,10 +5,10 @@
#    LD_LIBRARY_PATH=../.. ./tls-client-block www.example.com 443

TESTS = tls-client-block \
-        tls-server-block \
quic-client-block \
quic-multi-stream \
tls-client-non-block \
+        quic-server-block \
quic-client-non-block

CFLAGS  = -I../../include -g -Wall
@@ -18,17 +18,17 @@ LDLIBS  = -lcrypto -lssl
all: $(TESTS) chain

tls-client-block: tls-client-block.o
-tls-server-block: tls-server-block.o
quic-client-block: quic-client-block.o
quic-multi-stream: quic-multi-stream.o
tls-client-non-block: tls-client-non-block.o
+quic-server-block: quic-server-block.o
quic-client-non-block: quic-client-non-block.o

chain: chain.pem
pkey.pem:
openssl genpkey -algorithm rsa -out pkey.pem -pkeyopt rsa_keygen_bits:2048
chain.pem: pkey.pem
-       openssl req -x509 -new -key pkey.pem -days 36500 -subj / -out chain.pem
+       openssl req -x509 -new -key pkey.pem -days 36500 -subj '/CN=localhost' -out chain.pem

$(TESTS):
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)

@andrewkdinh correct, you don't need to do the rebase (at least not specifically you).  Someone will have to update the feature/quic-server branch will have to do that, after which you can do a rebase of your branch to the newly rebased feature branch to solve the CI
As for passing CI, speaking only for myself I'd like to see them fixed before we move ahead.  They don't seem related to your code, but 19 failing jobs is bad.  especially since I think every job that enables demos isn't passing, so we need to get that sorted to see your code build and pass here.
I'm sure a rebase of the feature branch will fix most of that

I fixed the build errors (including on Windows). the one failing CI job looks like it would be fixed with a rebase

This pull request is ready to merge


Shuffle performance regression on group_size = 20

Config:
export LD_PRELOAD=/opt/intel/compilers_and_libraries/linux/lib/intel64_lin/libiomp5.so
export OMP_NUM_THREADS=4
export KMP_AFFINITY=granularity=fine,compact,1,0

MKLDNN v0.20.5 (commit 0125f28c61c1f822fd48570b4c1066f96fcb9b2e)
mkldnn_verbose,exec,shuffle,ref:any,forward_training,dt:f32 fmt:nChw4c,axis:1 group_size:20,1x60x28x28,0.0178223
mkldnn_verbose,exec,shuffle,ref:any,forward_training,dt:f32 fmt:nChw4c,axis:1 group_size:20,1x60x28x28,0.0180664
mkldnn_verbose,exec,shuffle,ref:any,forward_training,dt:f32 fmt:nChw4c,axis:1 group_size:20,1x60x28x28,0.0180664
mkldnn_verbose,exec,shuffle,ref:any,forward_training,dt:f32 fmt:nChw4c,axis:1 group_size:20,1x60x28x28,0.0180664

DNNL v1.1.0 (commit 95d7487b51305c83a326b7dea0a2910fb4c85606)
dnnl_verbose,exec,cpu,shuffle,ref:any,forward_training,data_f32::blocked:aBcd4b:f0,,axis:1 group:20,1x60x28x28,0.154053
dnnl_verbose,exec,cpu,shuffle,ref:any,forward_training,data_f32::blocked:aBcd4b:f0,,axis:1 group:20,1x60x28x28,0.154053
dnnl_verbose,exec,cpu,shuffle,ref:any,forward_training,data_f32::blocked:aBcd4b:f0,,axis:1 group:20,1x60x28x28,0.149902
dnnl_verbose,exec,cpu,shuffle,ref:any,forward_training,data_f32::blocked:aBcd4b:f0,,axis:1 group:20,1x60x28x28,0.169922

Note: These ops are from the shufflenet topology.

Hi @pinzhenx , thank you for your report.
We will take a look at it!

Reproduced. The fix is under review. The issue is that DNNL 1.1 does not dispatch to an optimized version.


Added README.md to time series client

Added some information about how to access agent codes even if links break in commit 2184df8ff53f57b089d313f8503f573b25d30bab


Pi not being infinite

Added note on how pi is irrational but not infinite.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@absentMindedDeveloper


Item Tracking Using Camera Entity

Closes #14
Changes the item tracking logic to use the current camera entity rather than the player. This fixes an edge case when the player's position doesn't update because the tracking entity in spectator mode is moving.
Apologies for the duplicate, commit history used incorrect account.

We've pulled this in as part of another PR - apologies for letting it get so stale!


AttributeError: module 'snntorch' has no attribute 'spikegen'

snntorch version:     0.5.1
Python version:      3.7
Operating System:   Windows

Description
When I try to reproduce one of the example, e.g.
import snntorch as snn

a = torch.Tensor([1, 2, 2.9, 3, 3.9])
snn.spikegen.delta(a, threshold=1)

I get the error module 'snntorch' has no attribute 'spikegen'. Where do I find the module?

Have you imported spikegen?
from snntorch import spikegen


fix: Ensure vpc-cni is installed before adding nodes to the cluster (Manag…

Ensure vpc-cni is installed before adding nodes to the cluster (Managed nodegroup)
Description
The aws_eks_node_group resource must wait for vpc-cni or add-on to be added before adding the node group to the cluster.
Add depend_on to aws_eks_node_group resource (modules/eks-managed-node-group) with variable module_depends_on. On main module, set aws_eks_addon.before_compute as depend
Motivation and Context
Resolves Add depends_on for the 'resource "aws_eks_addon" "before_compute"' #3114

Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

Usedata of the EKS node group

we already have this supported today https://github.com/terraform-aws-modules/terraform-aws-eks/blob/5fe865e860c4cc8506c639f2e63bc25e21a31b37/main.tf#L527-L531

we already have this supported today
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/5fe865e860c4cc8506c639f2e63bc25e21a31b37/main.tf#L527-L531

This "depdens_on" ensures the EKS node group is created before the add-ons. But with this resource, there is no "depends_on" that ensures no EKS node group has been created beforeeks/blob/5fe865e860c4cc8506c639f2e63bc25e21a31b37/main.tf#L536


Added Playground for Dijkstra's Algorithm

Project URL

https://github.com/theindiandev1065/Djikastra-s-Algorithm
Description

I have added a playground which links to how to implement Dijkstra's Algorithm in Swift. This is an important algorithm for finding the shortest path!
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 3 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

521
301
https://github.com/bwide/BWCollectionView redirects tohttps://github.com/bwide/CollectionNode

2764
301
http://www.coreint.org/ redirects tohttp://coreint.org/

2778
Error
https://www.mikeash.com/book.html  Cannot assign requested address - connect(2) for "www.mikeash.com" port 443

  Generated by :no_entry_sign: Danger

@dkhamsing @vsouza What do you guys think? I've read his blog posts [1] [2] and it is pretty interesting, but it is still not a library

True but according to the description of awesome-ios, it’s a collection of tutorials, libraries, and more
On Oct 10, 2017, 7:04 AM -0700, Lucas Farah<EMAIL_ADDRESS>wrote:

@dkhamsing @vsouza What do you guys think? I've read his blog posts [1] [2] and it is pretty interesting, but it is still not a library
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@theindiandev1065 when we talk about tutorials, we mostly talk about resources that have many tutorials(Check Getting Started section for example), and not a single one. I understand the value of what you made and I think it's awesome, but if we accept single tutorials, this list would be too big

I see what you mean. I just thought I should add it since the category is lacking a lot so I thought I could add Dijkstra’s Algorithm. But it’s all up to you! 🤗
On Oct 10, 2017, 7:25 AM -0700, Lucas Farah<EMAIL_ADDRESS>wrote:

@theindiandev1065 when we talk about tutorials, we mostly talk about resources that have many tutorials(Check Getting Started section for example), and not a single one. I understand the value of what you made and I think it's awesome, but if we accept single tutorials, this list would be too big
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing on recommendation from @lfarah
Thanks


Fix flake in integration test for NamespacedCloudProfile.

How to categorize this PR?

/area testing
/kind flake
What this PR does / why we need it:
Fix flake in integration tests.
Which issue(s) this PR fixes:
Special notes for your reviewer:
/cc @oliver-goetz
Release note:

NONE

Thanks 👍
/lgtm
/approve


Fixed typo - changed leftover pandevice to panos

Description
Changed a leftover pandevice reference to panos
Motivation and Context
Fixes a NameError: pandevice is not defined exception when calling panorama.refresh_devices method.
How Has This Been Tested?
Instead of said NameError we actually get back the list of device groups :)
Types of changes

Bug fix (non-breaking change which fixes an issue)

I think the same problem also exists here:  https://github.com/PaloAltoNetworks/pan-os-python/blob/617d9a88b35666cd94a53519ddb91ef58a47be5f/panos/network.py#L500
Should I fix it as well?

@DeepSpace2 You are completely correct, on both accounts. Thank you for catching this oversight!
Yes, if you wouldn't mind fixing the convert_if_int issue too and add it to this PR, that would be amazing. Then we'll get this merged into a bug fix release quickly.

@btorresgil Done :) thanks for merging.


how to use in swift 4.0 ?

can not  use in swift 4.0
When's the new version?

Add the dependency in CocoaPods and then change the Swift version just for the FlatButton target (config.build_settings['SWIFT_VERSION'] = '3.4').

I successfully got it to work on Swift 4.2:
Steps I did:
replace NSOnState with .on
replace NSOffState with .off
in this Line specify the variable to:
let nextState: NSControl.StateValue = isOn ? .on : .off
For all other changes, Xcode will give you the right suggestion anyway.
The when building, at least for me, Xcode showed an error in the buildscript:
What you need to do is go to the affected script (framework.sh)
And change one Line:
EXPANDED_CODE_SIGN_IDENTITY to EXPANDED_CODE_SIGN_IDENTITY:-
See this Link


fix: Updated contributing branch name

Don't want the hassle of maintaining the dev branch for such little benefit

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How can I access the processed files in FilePond using React?

Is there an existing issue for this?

[X] I have searched the existing issues

Have you updated FilePond and its plugins?

[X] I have updated FilePond and its plugins

Describe the bug
I'm sorry I know this isn't a bug but a question, but I would really appreciate help solving this,
I'm using FilePond to upload files manually in react but the uploaded files are the unprocessed ones (without the watermark) which is visible in the preview,
the FilePond component :
`<FilePond
ref={ref}
files={imageFiles}
onupdatefiles={setImageFiles}
allowMultiple={true}
maxFiles={15}
allowReorder
dropValidation
name="files" /* sets the file input name, it's filepond by default /
labelIdle='Drag & Drop your files or Browse'
//FileTypeValidation plugin
allowFileTypeValidation
labelFileTypeNotAllowed="File of invalid type"
imagePreviewMaxFileSize="6MB"
acceptedFileTypes={["image/"]}
//FileSizeValidation plugin
allowFileSizeValidation
minFileSize="100KB"
maxFileSize="6MB"
labelMaxFileSizeExceeded="File is too large"
labelMaxFileSize="Maximum file size is {filesize}"
//
allowFileMetadata
//
allowImageTransform
imageTransformClientTransforms
imageTransformCanvasMemoryLimit
fileMetadataObject={{
markup: [
[
"rect",
{
left: 0,
right: 0,
bottom: 0,
height: "100px",
backgroundColor: "rgba(0,0,0,.5)",
},
],
[
"image",
{
right: "10px",
top: "10px",
width: "60px",
height: "60px",
src: logo,
fit: "contain",
},
],
],
onpreparefile: (file, output) => {
console.log(output);
// nothing is logged
},
}}
/>
`
in the upload function I access the files using:
       for (let i = 0; i < numberOfPics; i++) {       let file = await ref.current.getFile(i).file }
so how can i access the processed files?
thanks in advance.
Reproduction
i can create a reproduction if you need.
Environment
- Device:laptop
- OS:windows
- Browser:Edge

Hi as requested in the issue template please ask questions on Stack Overflow

Hi as requested in the issue template please ask questions on Stack Overflow

I'm sorry for this but a already asked this on stack overflow and didn't get a reply.


How to get list of built artifacts to build rust full stack projects?

Question
Is it possible to get a list/map of built artifacts with their hash values to statically include them in a rust backend?
Motivation
I need to include the webapp in my backend service to be able to produce a single executable that has all batteries included (I don't want to require a folder with assets).
Currently (with webpack & build.rs) what I can do in the backend is this:
const JS: &str = include_str!("webapp/pkg/app.js");
const WASM: &[u8] = include_bytes!("webapp/pkg/app_bg.wasm");

With warp I can serve the files like this:
pub fn get_js() -> BoxedFilter<(impl Reply,)> {
    warp::get()
        .and(warp::path!("pkg" / "app.js"))
        .and(warp::path::end())
        .map(|| warp::reply::with_header(JS, http::header::CONTENT_TYPE, "application/javascript"))
        .boxed()
}

And I really want a simple build process without further complicated steps, e.g. this should just work:
git clone https://a-nice-hosting.service/some-full-stack-project.git
cd some-full-stack-project/
cargo run

Possible solution
I could imagine that trunk produces a artifacts.json (or TOML file) like this
{
  "app.js": {
      "path": "dist/index-7eeee8fa37b7636a.js",
      "mime": "application/javascript"
  },
  "app.wasm": {
      "path": "dist/index-7eeee8fa37b7636a_bg.wasm",
      "mime": "application/wasm"
  },
  "style.scss": {
      "path": "dist/index-c920ca43256fdcb9.css",
      "mime": "text/css"
  }
}

So that I can use this in a macro or so in the backend:
const APP_JS: Artifact = my_app_include_macro!("webapp/artifacts.json", "app.js");
// ...
pub fn get_js() -> BoxedFilter<(impl Reply,)> {
    warp::get()
        .and(warp::path!(APP_JS.path)
        .and(warp::path::end())
        .map(|| warp::reply::with_header(JS, http::header::CONTENT_TYPE, APP_JS.mime))
        .boxed()
}

Alternatives
Probably I could parse the dist/ folder within the build.rs to get the required information.

Hey there @flosse. Thanks for opening the issue. Right now, the best/only way to do this would be to simply list out the contents of the dist dir. Pretty simple to do programmatically and mime types can be easily derived via file ext.
Long-term, we are planning on introducing a build manifest which will be used by all of the built-in pipeline types as well as the plugin system, and the "frontend lib" which we are planning on creating (which would allow folks to "import" assets directly from their Rust code, which would then update the manifest file for Trunk to process).

@flosse, rust_embed might be what you're looking for.

@flosse, rust_embed might be what you're looking for.

Thank you, I'll have a look at it.
@thedodd thanks for your reply. I'll do some experiments and if some of them are successful I'll share the solution/workaround :)


Need "Contact Us" page.

We need a Contact Us page for the website.
The common details like Name, Email-ID, Contact Number, Message and a reCAPTCHA are needed.
The UI should be as good as possible.
Contribution in any kind is accepted :D
NOTE: Work on a separate branch.
Filename could be contact.html.

I would like to work on this!

Sure, @udit-001.
Please raise a PR at the earliest on the develop branch ;)

Is it done? I want to do it too!

Isn't done yet.
You may proceed, @rb007123.

Isn't done yet.
You may proceed, @rb007123.

It's done. Please have a look.


How can I rename the input and output layers?

Hi, all. I want to export my model with specifying each name of the input and output layers, but I have no idea how I can do it.

The above is my simple model. How can I rename from data_0 and softmax_0 to something I want, say input and output?
Thanks!

Hi,
The input can easily be named by providing it when saving, like this:
model = Chain(
       Dense(784, 32, sigmoid),
       Dense(32, 10),
       softmax)

save("model_inputname.onnx", model, "input" => (784,:Batch)

The outputs don't have a convenient API for naming, so you have to resort to the not as easy to use namestrat argument which takes a function which returns the name for each layer. Beware that you have to make sure each name is unique or else the ONNX file is invalid. Also note that it is not fully consistent what you get as input to it so you might want to print out the input argument just to see what it is.
Here are two examples
namestrat1 = function(layer)
           layer == "softmax" && return "output"
           i = findfirst(==(layer), model.layers)
           return "Layer_$i"
        end

save("model_namestrat1.onnx", model, "input" => (784,:Batch); namestrat=namestrat1)

# This lets ONNXNaiveNASflux ensure names are unique, but you'll always get a running number appended to the name
namestrat2 = ONNXNaiveNASflux.name_runningnr() do layer
           layer == "softmax" && return "output"
           ONNXNaiveNASflux.genname(layer)
     end

save("model_namestrat2.onnx", model, "input" => (784,:Batch); namestrat=namestrat2)

If you make use of the CompGraph format from NaiveNASflux it will use the names used for the layers
modelgraph = let
           input = denseinputvertex("input", 748)
           layer1 = fluxvertex("layer_1", Dense(nout(input) => 32, sigmoid), input)
           layer2 = fluxvertex("layer_2", Dense(nout(layer1) => 10), layer1)
           output = invariantvertex("output", sigmoid, layer2)
           CompGraph(input, output)
     end

save("model_graph.onnx", modelgraph)

Great, let's keep this open for now as it at least serves as extra documentation.
Do you have any suggestions for the naming API?
One must be a little bit careful since the names are used for defining the model and therefore must be unique, so there is so users can't use any names they want. Afaik onnx does not have any special treatment of output nodes, they are just like any other node.
I suppose one could do something similar to e.g. DataFrames and have some makeunique flag combined with some more relaxed naming API.

I think that since specifying the name of layers is available upon Flux.Chain, keeping its name into the ONNX model is reasonable.
You can refer the code snippet to implement such feature:
julia> model = Chain(input = Dense(784 => 32), layer1 = Dense(32 => 32), layer2 = Dense(32 => 32), output = Dense(32 => 10))
julia> fieldnames(typeof(model.layers))
(:input, :layer1, :layer2, :output)

Note that although omitting the layer name partially in Flux.Chain should occur some errors, omitting all names works well as specifying all names works too, so the API might not be broken.
If someone is hesitating to specify all layer names, sub-chain the internal layers is possible:
julia> model = Chain(input = Chain(Dense(784 => 32), Dense(32 => 32), Dense(32 => 32)), output = Dense(32 => 10))
julia> fieldnames(typeof(model.layers))
(:input, :output)

Ah, the naming capability of Flux is newer than this package and I had completely forgot about it.
It makes sense to use those names when creating the onnx model. I will look into it when time permits.


Release of Bio-Formats 5.6.0

This PR includes:

a new post with the release details and the links to the docs and downloads
the bump of the release version in the top-level _config.yml
the addition of the release announcement link to the Bio-Formats downloads page

Merging for deployment.


Remove temp HttpAbstractions for conneg from MVC.

Please refer pr #813

@Tratcher I believe this is part of your PR, can you resolve when you are done?

#1801


Add some help with updating the registry in offline mode.

This includes the following:

Move offline tests to a dedicated file.

If an index has never been downloaded, and -Z offline is used, provide a suggestion to run without -Z offline.

If an index needs to be updated, and the network appears to be down, suggest running with -Z offline.

The offline_resolve_optional_fail test is added to show that resolver errors are still possible (though hopefully rare!).

This is an attempt to improve some error message, but I'm on the fence if it actually does that, so I figured I'd post this for comments.
I think repo.is_empty() should be a reliable way to determine if the repository has never been fetched, but I'm not certain.
I'm not sure if the offline && is_empty() check might give a false positive for the error. I can't think of any, though.
The maybe_spurious check may have false positives.
I'm not sure if the wording is clear.

r? @nrc
(rust_highfive has picked a reviewer for you, use r? to override)

OK, I reverted the spurious error, and tweaked the text of the other one.

@bors: r+

:pushpin: Commit c6fad3af85b0cf284c9c19b0acbe91fcfa004529 has been approved by alexcrichton

:hourglass: Testing commit c6fad3af85b0cf284c9c19b0acbe91fcfa004529 with merge 2de6c3ef2b813d0f57e987c5827394688f60d9cd...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: alexcrichton
Pushing 2de6c3ef2b813d0f57e987c5827394688f60d9cd to master...


Match equations not allowed in simp only theorem list

Prerequisites

[X] Check that your issue is not already filed:
https://github.com/leanprover/lean4/issues
[X] Reduce the issue to a minimal, self-contained, reproducible test case.
Avoid dependencies to Mathlib or Batteries.
[X] Test your test case against the latest nightly release, for example on
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)

Description
In the following example, a simp only list suggested by simp? fails:
-- works
theorem foo₁ (a : Nat) (ha : a = 37) :
    (match h : a with | 42 => by simp_all | n => n) = 37 := by
  simp? [ha]
  -- Try this: simp only [ha, Nat.reduceEqDiff, imp_self, foo₁.match_1.eq_2]

-- fails
theorem foo₂ (a : Nat) (ha : a = 37) :
    (match h : a with | 42 => by simp_all | n => n) = 37 := by
  simp only [ha, Nat.reduceEqDiff, imp_self, foo₂.match_1.eq_2]
  -- invalid field notation, type is not of the form (C ...) where C is a constant
  --   foo₂

The issue might be that on-demand generation of match equations is not triggered by simp only.
Versions
nightly-2024-05-22
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

I think your analysis is correct. So either match equations become public API, and should take part in the lazy definition generation, or there needs to be a way to say “equations for this match” like with functions. Or both. The former is probably easier.


Feature request: include non-crates dependencies

I'm investigating using cargo-local-registry to help with our Rust PCI compliance story.
Unfortunately - because of immutable and insurmountable restrictions in our build network - cargo can't connect to the PCI compliant git repo that holds some dependencies.
What would (I think) work perfectly for us is if cargo-local-registry copied all dependencies, not just the ones from crates.io.
Is this a possibility?
Thanks!
Edit: we're looking into creating our own PCI compliant version of crates.io that we run internally that:

reads in updates from crates.io
integrates with our PCI compliant git repo so corporate developers can push their crates to a corporate crates.io that will be available to our PCI compliant build systems.

It's a lot of work and we were hoping cargo-local-registry could somehow be made to work to tide us over.
We'd be happy to do most of the work with some guidance/mentoring - if you think it's feasible.
Thanks again.

In general this crate is intended for vendoring crates, not arbitrary dependencies. This sounds like a problem for the relevant build scripts, not for cargo-local-registry?


SettingsEngine.DetachDataChannels() makes attached data channels unusable.

I'm not sure if this is intended or not but when you set .DetachDataChannels() in the SettingsEngine you must detach the data channel for it to be usable at all.
What did you expect?
webrtc.SettingsEngine{}.DetachDataChannels() would still allow attached data channels to function
What happened?
webrtc.SettingsEngine{}.DetachDataChannels() means that you must detach the datachannel to interact with it.

This is by design, but we should probably add some logging/assertion if we don't detach!
DetachDataChannels enables detaching data channels. When enabled data channels have to be detached in the OnOpen callback using the DataChannel.Detach method.

After the OnOpen we should check if it was properly detached and throw an error message if it wasn't. Super easy PR if someone wants to grab that!


KAFKA-4750: RocksDBStore always deletes null values

@guozhangwang @mjsax

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5696/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5682/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5697/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5683/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5700/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5714/
Test PASSed (JDK 7 and Scala 2.11).

@evis @mjsax I have some more thoughts commented on the ticket itself: I'm wondering if we should just not using put(key, null) to implement delete(key) since our java doc doe not enforce that a null value (note this value is null object, not underlying null byte arrays) indicates deletion.

I'm closing this PR and continue working on https://github.com/apache/kafka/pull/4508.


Could littlego merge a stronger GTP bot, e.g. KataGo?

After AlphaGo & Lee Sedol event 2016, many free, open-source and strong bots, e.g. KataGo, LeelaZero, SAI, etc, were created and can be used on desktops. But they can't be used on mobile devices until BadukAI, one free Android app. Until now, there is no free IOS app to play with strong bots.

In theory it is possible. Exchanging the Go engine that provides the computer player was a design goal from the beginning, so the code is structured in a way that decouples the main application from the Go engine. The two things communicate with each other via GTP protocol over in-memory pipes.
In practice it would still mean substantial work, notably

Verify that the new Go engine has a license that lets it be distributed via Apple‘s App Store. GPL is out, for instance. LGPL is borderline and needs permission to use from the authors (Fuego uses the LGPL). Apache 2.0 and BSD licenses should be ok.
Verify that the new Go engine can run inside a host process. iOS apps cannot launch operating system processes, so the new engine must be able to run as a set of threads within the Little Go app process.
Verify that the new Go engine can be compiled into a static library. iOS apps cannot dynamically load libraries, so it must be possible to statically link the new engine’s code into the Little Go executable.
Find a way how to communicate with the new Go engine via GTP. Even Fuego had to be patched to allow this, so I doubt that another Go engine would support the same mechanism out of the box.
Find substitutes in the new Go engine for a number of Fuego-specific GTP commands that Little Go uses to achieve its functionality.
Extensive research has gone into how Fuego performs on iOS devices, specifically how much memory it consumes. This research woukd need to be repeated to some extent for a new Go engine.
Configuration of the computer player is geared towards Fuego and the configuration options it provides. The corresponding parts of the UI and the in-game manual would need to be rewritten.

These are just the things that pop into my head immediately. There may be other stuff to do as well, which I can’t think of right now.

Thanks for open & further.

Actually, strong bots after 2016 supply not only strength but also analytic features, e.g.
suggesting moves series instead of single moves.
On the other hand, the strength can be adjusted widely by changing "models" or "visits".
And from my experience, there is a "painted egg" if you play with a weak model of a strong bot: players could fairly understand the bots' aims through their moves.
For developers, one could write less codes with strong bots, e.g. ready-made rulesets from engines' GTP extend commands instead of writing rulesets from zero.

Thanks for this information. I'm currently busy adding features to display/edit more SGF data, so a new Go engine certainly won't be on the menu for the next release. Maybe I'll spend some time on research after the next release, but no promise :-).
Meanwhile here's a bit of information about the engines you mentioned. This is just from a quick research, if you have more information feel free to add further comments.

KataGo: Website link, GitHub link, written in C++ (requires C++14), the license (document link) for the main code seems to be MIT. Excellent :-)
LeelaZero: Website link, GitHub link, written in C++ (requires C++14), the license according to the GitHub README is GPLv3, so this engine unfortunately has to be ruled out.
SAI (forked from LeelaZero): Website link, GitHub link, written in C++, the license according to the GitHub README is GPLv3, so this engine unfortunately has to be ruled out.

KataGo notes, after installing it via Homebrew on my macOS machine:

Command line to start after installing v1.10.0: katago gtp -config /usr/local/Cellar/katago/1.10.0/share/katago/configs/gtp_example.cfg -model /usr/local/Cellar/katago/1.10.0/share/katago/g170-b30c320x2-s4824661760-d1229536699.bin.gz
Launching the program for the first time takes substantial time during which some tuning is done to match the local graphics hardware. The result is saved to a file in the user's home directory (~/.katago/opencltuning/tune8_gpuAMDRadeonPro560ComputeEngine_x19_y19_c320_mv8.txt). When the program is started the next time it automatically finds the saved tuning parameters.

In iOS, saving tuning parameters to the user's home directory is not allowed because this is outside the app sandbox. A way must be found to specify to KataGo a custom location where to save/load the tuning file.
The app needs to encapsulate the tuning process into a nice UI.

It looks like you are not familiar with "the Go in the post-AlphaGo era". Roughly for short:

bot
milestone
year

AlphaGo
defeat human
2016

LeelaZero
make "AlphaGo" available
2018

KataGo
make "LeelaZero" adjustable
2020

These advances not only make sense in science and Go itself but also in every Go player's daily games. In my view, an app is a set of features. If one wants to develop a new GUI or undate an old GUI, he or she will choose KataGo for more adjustable features for sure.

For someone, who has experience in developing GoTextProtocol and SmartGameFormat, wants to develop KataGo, here are required documents:

Run KataGo GTP Mode: path/to/katago.exe gtp -model path/to/<NEURALNET>.bin.gz -config path/to/gtp_custom.cfg
KataGo GTP Mode Configuration
KataGo GTP Commands Extension

Issue #401 is an incentive to switch from Fuego to KataGo (assuming that KataGo supports the SGF feature of board setup on a non-empty board).


update build, fix compile issue, rename file walt.yml to walt.yaml

Rename walt.yml to walt.yaml (code in NFTKit uses walt.yaml)
Update build gradle:
++ Remove redundant import nftkit package
++ Update ssikit package version to the latest
Minor update code in NFTManager to use completely VerificationService.verifyNftOwnershipWithinCollection
Fix 1 compile issue in OIDCManager

More over, I found that some unittests failed, because I don't have much experience in unittest, please help to review and fix, thanks.

This also solves issue https://github.com/walt-id/waltid-idpkit/issues/50


Rework Bonsai on Ethereum docs

Users are often confused about the current status of the Bonsai Relay. In particular, users get confused as to whether they need to deploy the relay themselves, and if there are alternatives to using it.
This PR reworks the Bonsai on Ethereum doc to clarify the current status. Users must currently deploy them relay themselves. It also provides a high-level description of how to use Bonsai and the verifier contract directly, aiming to give enough context for an advanced engineer/team to implement that flow.
This PR additionally deletes the example code that was embedded in this doc. The example code appears to have been copied from the Foundry template, but does not provide enough context to work independently from the template. Instead, this PR has a link to the example in context. This also helps mitigate potential version mismatch between the template and the docs. We plan to overhaul the template soon, so this will be important.

Before merging, these changes should also be applied to 0.19. None of the text modified depends on 0.20 and we should ensure users see the new version.


Request for render prop support

It'd be nice to allow a prop (either called render or just use children) that would be a function called during rendering with true if the query matches or false if it does not. The return value would be used as the element's children. This would allow the following pattern:
<MediaQuery query="(max-width: 600px)" render={(match) => (

        ...content

)}/>

instead of
<MediaQuery query="(max-width: 600px)">

        ...content

</MediaQuery>
<MediaQuery query="(min-width: 601px)">

        ...content

</MediaQuery>

@contra maybe we can fusionate this project with: https://github.com/bySabi/react-mediaquery-props
and build MediaQuery on top of a HOC.
This will cover @jakepusateri case.
Tell me what you think.

Closed by #64


Installation issues

Running the scripts using sh results in an error, under Debian, saying:

source not found

bash program has to be used instead of sh.
Moreover, there is installation issues fixed concerning both front-end and back-end.

@kaisbe Thanks for your PR! I like the changes, however could you tell me what is requiring node >=12.x ? I tried a fresh install with your changes using node 8.11.1 and it seemed to work fine. I would like to keep the version requirement lower if possible.

Hi @JKHeadley. OK, that's fine, you can ignore the version change if it works.


Enhanced Swift compatibility

This exposes more core Blindside functionality to Swift clients. In particular, it allows for NSObject-derived classes defined in Swift to declare their dependencies using bsInitializer and bsProperties methods.
I expect some additional rough edges will be discovered once this starts getting used in real projects, but it should get things started.
CC @joemasilotti, #37

I'm having trouble instantiating Swift objects with this PR. Is there something I'm missing?
import Blindside

@objc class AppleSearchIndexer: NSObject, SearchIndexer {
    let activityProvider: UserActivityProviderProtocol
    var activity: UserActivityProtocol!

    init(userActivityProvider: UserActivityProviderProtocol) {
        activityProvider = userActivityProvider
    }

    func indexBeer(beer: Beer) {
        activity = activityProvider.beerActivity()
        activity.becomeCurrent()
    }

    func indexPlace(place: FoursquarePlace) {
        activity = activityProvider.placeActivity()
        activity.becomeCurrent()
    }

    static override func bsInitializer() -> BSInitializer {
        let keys = [UserActivityProvider.self]
        return BSInitializer(withClass: self, selector: "initWithUserActivityProvider:", argumentKeysArray: keys)
    }
}

Running this raises a BSInvalidInitializerException exception stating:

selector initWithUserActivityProvider: not found on class <App Name>.AppleSearchIndexer

Hey @jmasilotti, I think I know what is going on. Is your UserActivityProviderProtocol also marked as @objc? If not, your Swift init method won't be exposed to the Obj-C runtime, leading to the error you're seeing. I was able to reproduce your issue and fix it by making that change. Yes, that does restrict what types you are able to reference in your injected interfaces. Welcome to the quirky world of Swift bridging!
To help understanding what is going on in these sorts of situations, take a look at the <YourAppName>-Swift.h bridging header that Xcode generates while building your Swift files (this is the same header that you'll want to import in any Objective-C files that need to reference symbols defined in Swift code). It will show you exactly what classes and methods are exposed to the Obj-C runtime and how they are named.

That's exactly what was going on. After I marked everything relevant with @objc Blindside worked! Thanks for the help, @briancroom.

Great! I'm glad it worked for you.
@jbsf @akitchen do you have any concerns about the changes made here?

I don’t have any major concerns.  These look like useful changes.
Could you take a moment to resolve merge conflicts vs. newer changes on master?  Then let’s merge!
Great! I'm glad it worked for you.
@jbsf @akitchen do you have any concerns about the changes made here?
—
Reply to this email directly or view it on GitHub.

No concerns thanks very much!
On Tue, Sep 15, 2015 at 11:27 PM, Andrew Kitchen<EMAIL_ADDRESS>wrote:

I don’t have any major concerns.  These look like useful changes.
Could you take a moment to resolve merge conflicts vs. newer changes on
master?  Then let’s merge!
Great! I'm glad it worked for you.
@jbsf @akitchen do you have any concerns about the changes made here?
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/jbsf/blindside/pull/39#issuecomment-140551873.

I've just now rebased (hope this doesn't cause you trouble @joemasilotti!) this branch onto master. I also discovered one behavior that doesn't work properly under Xcode 6 and disabled the spec for it when building in that environment.

Thanks Brian!  This is super helpful

Everything still works for me, this is a huge help @briancroom!


airflow: support Airflow 2.4

During testing we've found that OpenLineage integration on new Airflow 2.4 is broken due to AIP-45 changes.
We've discussed the issue and unfortunately reverting this is not really possible, nor making non-breaking changes for Airflow that would return previous behavior. We plan to fix that by 2.5 release, tracked separetely from this.
For the 2.4 release we'll get around this problem by using Airflow's task policy settings.

Closing - 2.4.2 will be supported back again.


Minor Changes in Makefile and README

Update Makefile to create different output file for each subfolder
Add usage instructions in README

@Asc91 please sync your main branch with this repo's main branch
then Pull it in your local repo, and make the commit, then issue a new PR, as it your fork is 4 commits behind this repo's main branch.


Support for promises in alias actions

I've found checking for and fulfilling promises in alias actions very useful. It makes it much simpler to dispatch requests for information only available to the background process. Any reason not to do this?

Hmm the only thing I could think of for not doing this is that you can easily introduce redux-promise or redux-thunk to get the async support. It makes for a slimmer lib here that's easier to test IMO, but I'll defer to @tshaddix


No service when player isn't running

Is your feature request related to a problem? Please describe.
When I finish listening to music and close my music player app, every time I want to adjust the sound, the app does its thing.
Describe the solution you'd like
The app detects if a player is active, and if it's true, then it will do its thing. I don't mean close and open, I mean: if a player isn't running, I can long press my volume as much as I want, and the app won't interfere. But if a player is running, then it will.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Okay, I see what's going on here, thanks for the feedback! I'll try to fix that quickly (it was already a feature haha)

Should be fixed in 1.1.4 :)


We can't register through the AWS Game Kit?

We can't register a new user through the Aws Game Kit?
First I set up all environnements correctly, including Cognito deployment.
Then I simply did a Register from the blueprints.
Here are the logs that I get:
LogAwsGameKit: Display: UAwsGameKitIdentityBlueprintFunctionLibrary::Register()
LogAwsGameKit: Error: [@22752]~ Guest Registration not yet implemented

Does it mean we can't register through your plugin?
Thanks

One precision: This registration was handled as a Guest Registration because the UserId or UserIdHash field was not left blank.
However I am still having an issue with Registration:
LogAwsGameKit: Display: UAwsGameKitIdentityBlueprintFunctionLibrary::Register()
LogAwsGameKit: Display: AwsGameKitLibraryWrapper::Initialize()
LogAwsGameKit: Display: AwsGameKitLibraryWrapper::loadDll(); DLL Loaded: aws-gamekit-identity.dll
LogAwsGameKit: Display: AwsGameKitIdentityWrapper::importFunctions()
LogAwsGameKit: Display: [@41236]~ GameKitIdentityInstanceCreateWithSessionManager()
LogAwsGameKit: Display: [@41236]~ Identity::Identity()
LogAwsGameKit: Display: [00000284A933D070@41236]~ AwsApiInitializer::Initialize(): Already initialized (count: 4)

LogAwsGameKit: Error: [@41236]~ Error: Identity::Register: InvalidParameterException: 2 validation errors detected: Value '' at 'clientId' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w+]+; Value '' at 'clientId' failed to satisfy constraint: Member must have length greater than or equal to 1

Can you help me on this? It seems that the clientId is not valid but I'm not the one setting it...

FYI: I found the solution to this problem:
In AwsGameKitSessionManagerWrapper.cpp at line 47:
Replace
FString src = FPaths::ConvertRelativePathToFull(FPaths::GameSourceDir().Replace(TEXT("source/"), ToCStr(subfolder + ClientConfigFile), ESearchCase::IgnoreCase));
by
FString src = FPaths::ConvertRelativePathToFull(FPaths::ProjectDir().Append(ToCStr(subfolder + ClientConfigFile)));

Hey DevGarou,
Thanks for calling out this issue and thank you for the suggested fix. We will look into reproducing this issue and applying your solution. To help us with reproducing this issue on our end would please add the following information?

Unreal Editor Version [e.g. 4.27.2]
IDE and Version [e.g. Visual Studio 2019 16.11.7]
OS and Version that you are developing on: [e.g. Windows 10]
OS and Version that you are running the blueprints on: [e.g. Windows 10]

No rpoblem, an easy test for this is to have the Unreal project containing this plugin in a folder containing the word source already like so: C:\UEProjects\source\MyProject
Here are the informations you required:

Unreal Editor Version : 4.27.2
IDE and Version : Visual Studio 2019 16.11.10
OS and Version that you are developing on: Windows 10
OS and Version that you are running the blueprints on: Windows 10
Repro steps:

Create a project in a folder containing the word source like:  C:\UEProjects\source\MyProject
Add this plugin
Configure everything following your documentation
See that config is never loaded because the word source in the path is replaced twice


KeyError: 'ConvWS is already registered in conv layer'

can you help me? thank you

Please refer to the documentation: https://github.com/open-mmlab/mmdetection/blob/master/docs/install.md#common-issues


Add a DynamicOptions setting item

It subclasses SettingOptions, with a modification that enables the
options to be dynamic. Instead of defining the options statically as a
list, a function path is given (attribute function_path) so that
function is called each time the user clicks on the drop-down list to
see the options.
It was developed for the case where an options setting was needed to
let a user choose between the currently available serial ports.

Maybe should be closed, ref https://github.com/kivy/kivy/issues/4452#issuecomment-267651778 .


[5.9] [Changelog] Add changelog entry for SE-0380

5.9 cherry-pick of https://github.com/apple/swift/pull/65887
SE-0380

@swift-ci please smoke test

@swift-ci please test

@swift-ci please test Windows

Hi @hamishknight , i am facing an issue with SE-0380 and latest xcode Beta. Now Return have unexpected behavior in case if if or switch used after it.
Compilable
func test() {
          print('1')
          return /// expect the end of progamm here

          if true {
               print('2') /// still will be executable, bcs if now is equal to ()
          } else {
               print('3')
          }

          return
}

Result:
1
2

2 is unexpected
I believe Swift update should complement rather than break the existing one. Is it a known issue?

@altairdeark This is expected, see https://github.com/apple/swift-evolution/blob/main/proposals/0380-if-switch-expressions.md#source-compatibility:

As proposed, this addition has one source incompatibility, related to unreachable code. The following currently compiles, albeit with a warning that the if statement is unreachable (and the values in the branches unused):
func foo() {
  return
  if .random() { 0 } else { 0 }
}

The code provided produces the following warning:
func test() {
  print("1")
  return

  if true { // warning: expression following 'return' is treated as an argument of the 'return'
    print("2")
  } else {
    print("3")
  }

  return
}

@hamishknight ,
Still it is breaks the old code, and not everyone will recheck whole code base to fix this warning, since in older project i have 1000+ warnings. In my case in if i was having an unexpected server API calls which was a total surprise for me since i was not aware of SE-0380. I believe it could also breaks others project, libs and else.
Do we have any option to solve it? like: when after return we have a new line or \r, so it should not treat If as an argument for return and just behave as it was.

@altairdeark You can add a ; to the end of the return to avoid treating the following expression as part of the return


development dead end?

I really like what this project was doing. I strongly dislike having to deal with the Android SDK outside of Bazel, and feel it should just be a dependency of the build. Did it run into problems beyond lack of interest or time? Are you aware of any other efforts that carried on from it, or were trying similar things in parallel?

Aw, thanks. I too was annoyed that you need to do stuff outside of Bazel. That felt wrong ideologically so I did what I could to pull it into the build to simplify getting set up locally as well as CI.
I believe that I heard something like this was being built into the Android Gradle Plugin a few years ago but that would be part of official tooling.
I dropped development on this project for a bunch of reasons but it mainly comes down to my stopping usage of Bazel altogether. It worked fine, but Bazel was moving so fast and breaking starlark so often that I gave up maintaining against an evolving target. No reason I known of that it couldn't be revived though.
I'm not aware of any alternatives, forks or spiritual successors.