Use GitHub Actions for multi-arch Docker images

You can see an example of this in action here and the resulting images here.
With the current configuration images are build for the following architectures: linux/amd64, linux/386, linux/arm/v7, linux/arm64. This will allow people to run Galactus on their Raspberry Pis. More architectures can be added, but they will increase build times (and are probably not really useful).
To use this you need to configure threesecrets in your repository:

DOCKERHUB_REPOSITORY: The repository name to push to, e.g. automuteus/galactus
DOCKERHUB_USERNAME: Username of your Docker Hub account
DOCKERHUB_TOKEN: Docker Hub access token (can be generated here)

If this gets approved I plan to give the AutoMuteUs bot itself the same treatment so that the whole stack is built for ARM devices.

Nice, looks good! Appreciate it!


Lobby System with Godot 2.2

Windows 7 x64 - Godot version: v2.2
I'm working on a lobby system so I need all peers to know the name and ID of all other peers. I loosely followed this guide: http://docs.godotengine.org/en/latest/learning/features/networking/high_level_multiplayer.html
Issue description:
rpc("register_player", get_tree().get_network_unique_id(), player_name) was expected to run for every peer on the network, therefore adding the the new player's id and name to all already connected peers but instead it only ran on the server and locally.
Lobby.zip
to test this project file just export the project, then run a single instance of the game and click "Host". Then 2 or 3 instances and click "Join" for each. It is configured to join the server on "<IP_ADDRESS>"

Can anyone still reproduce this on 3.2beta or later? If so, please upload a reproduction project and link it here.

I think this issue can be closed. RPCs work correctly in 3.1.


Flow not perfectly invertible

Hi, given an input image tensor x and extracting the glow model i tried the following:
latent = glow(x)[2]
x_reconstructed = glow.reverse(latent)
Since it is a normalizing flow one would expect, that x_reconstructed is very similar to x, since the only source of errors should be rounding errors. However, I observe very big differences. Does anybody has an explanation for that?

Glow has a downsample layer which just throws away a half of data (along channel). In the reverse process, the threw-away part is sampled from a prior. You can modify the codes to keep those threw-away parts and replace them with the sampling process, then you can get a perfectly inverted results.

Hi, do you have solved this problem? could you share that? thanks a lot!

Hi, given an input image tensor x and extracting the glow model i tried the following:
latent = glow(x)[2] x_reconstructed = glow.reverse(latent)
Since it is a normalizing flow one would expect, that x_reconstructed is very similar to x, since the only source of errors should be rounding errors. However, I observe very big differences. Does anybody has an explanation for that?

Hi, I once suspect that there is something wrong with this code, but I re-read the code carefully and notice this line:
https://github.com/rosinality/glow-pytorch/blob/master/model.py#L301
So your code can be modified to the following:
latent = glow(x)[2]
x_rec = glow.reverse(latent, reconstruct=True)


fix(steps): fix the steps component to render custom content

Component Name: Describe what kind of issues you've done. [pr#xxx](pr url)，[issue#xxx](issue url)，[your github name](your github homepage)

修复steps组件自定义内容
brefore

after

关联issue:#164

https://github.com/Tencent/tdesign-vue/pull/105 中已处理 extra 问题，待发布


wchar.h file does not exists and while compilling for Mac it generates error

In file included from simple.c:1:
In file included from ../../godot_headers\gdnative_api_struct.gen.h:5:
In file included from ../../godot_headers\gdnative/gdnative.h:141:
../../godot_headers\gdnative/string.h:39:10: fatal error: 'wchar.h' file not found
#include <wchar.h>
^
1 error generated
Command, i used:
clang -std=c11 -fPIC -c -I../../godot_headers simple.c -o simple.os
clang -dynamiclib simple.os -o ../bin/libsimple.dylib
I am using the newest version of Godot Headers and Godot 3.2

I have wchar.h located in  /usr/include/wchar.h.
You may need to install XCode or CommandLineTools which contain an SDK in order to obtain the file.

Is this still an issue? Sounds indeed like an SDK installation problem.

Indeed, wchar.h should be in the default include path with a properly configured build environment. That's not Godot specific, there are likely many StackOverflow or forum topics covering how to debug and fix this for macOS.


Failed to start addon (<IP_ADDRESS>)

zigbee2mqtt add-on version (if edge, please report commit hash):
Upgrading from 1.16.x to <IP_ADDRESS>
Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
Home Assistant 2020.12.1
Description of problem:
Failed to start addon
404 Client Error for http+docker://localhost/v1.40/containers/create?name=addon_7ad98f9c_zigbee2mqtt: Not Found ("No such image: dwelch2101/zigbee2mqtt-armv7:<IP_ADDRESS>")
I've just upgraded to the latest version, don't remember whether there was an error message or not during the upgrade but the addon failed to start. After a reboot the situation is the same, manual add-on start throws the error message above.

It's published. If you get the error above just do a
docker pull dwelch2101/zigbee2mqtt-armv7:<IP_ADDRESS> and then start the addon from the supervisor. You do need to adjust armv7 to your platform!

It's published. If you get the error above just do a
docker pull dwelch2101/zigbee2mqtt-armv7:<IP_ADDRESS> and then start the addon from the supervisor. You do need to adjust armv7 to your platform!

Thanks, issue is solved.

Thanks, issue is solved.


Updated the FIPS cryptographic algorithms tests

There are a few changes to the FIPS tests with this update:

the CheckAlgorithms.java file is now JDK8 compatible, the compilation shouldn't be a problem anymore
now, the FIPS tests are all skipped by default unless a OTOOL_CONTAINERQA_RUNCRYPTO variable is set to true
deleted the tests that were setting update-crypto-policies --set FIPS in the container as, after discussion, they were deemed unnecessary
added isHostAndContainerCryptoIdentical test, which for now just prints crypto policies on the host system and in the container
added doesManuallySettingFipsCrash test, which for now just prints the container's exit code when trying to set update-crypto-policies --set FIPS inside (it returns zero everywhere, except on FIPS-enabled RHELs)

As for the testing, I tried to run them in a VM on all of these combinations, and the tests passed everywhere (there was no crash):

Host OS
FIPS?
Container

RHEL 8
no
ubi8-jdk8

ubi8-jdk21

yes
ubi8-jdk8

ubi8-jdk21

Fedora 40
no
ubi8-jdk21

yes
ubi8-jdk21

All of the new FIPS tests just "print" the results, no real testing is done. In the future, I can edit them to make some actual assertions.

I updated the new test names to better match what they do. I also updated the echos to do some more complex logging (with if statements). When properly tested, I thinks that the logging can be changed to asserting.
I tried it in a VM on all of these variants and the results were as expected:

Host OS
FIPS?
Container

RHEL 8
no
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11

yes
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11

RHEL 9
no
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11

yes
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11

Fedora 41
no
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11

yes
ubi8-jdk8

ubi8-jdk21

ubi9-jdk11


Requesting access to AzureDevOpsDemoGenerator

Hi, I'm looking to get access to this demo generator to generate a baseline adoption plan for multiple Azure Engineering investment program customers.  Thank you!

Hi @Shgunter - I'm curious what you need? The code is available open source in this repo.  It is hosted for your use today including the ability to generate and use custom templates.  And we're looking into making a Docker container for self-hosting.  Can you provide more context on the request?

I am lacking permissions to Create New Projects in Azure DevOps Demo Generator when trying to create a new project (Cloud Adoption Plan) .  I’ve outlined below, the path to repro the error and a SS of the error details itself.   Thanks for the prompt reply<EMAIL_ADDRESS>
Aks.ms/caf https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/#:~:text=The Cloud Adoption Framework is a full lifecycle,how enterprises procure%2C use%2C and secure technology resources.  -->  Tools & Templateshttps://docs.microsoft.com/en-us/azure/cloud-adoption-framework/reference/tools-templates --> Cloud Adoption Plan Generatorhttps://docs.microsoft.com/en-us/azure/cloud-adoption-framework/plan/template --> Sign-in / Create Projecthttps://azuredevopsdemogenerator.azurewebsites.net/environment/createproject
*   Add Project Name
*   Select organization (AzureFastTrack selected)
*   Select Template (Cloud Adoption Plan selected)
*   Click “Create project”
*   ERROR!  (SS below)

<EMAIL_ADDRESS>

Thank you,
Shawn Gunter
M:<PHONE_NUMBER>
Sr. Program Manager, FastTrack for Azure
Azure Engineering | Customer Experience (CXP)
[Image result for microsoft logo]
From: Dave McKinstry<EMAIL_ADDRESS>Sent: Tuesday, July 28, 2020 7:05 PM
To: microsoft/AzureDevOpsDemoGenerator<EMAIL_ADDRESS>Cc: Shawn Gunter<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureDevOpsDemoGenerator] Requesting access to AzureDevOpsDemoGenerator (#308)
Hi @Shgunterhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShgunter&data=02|01|Shawn.P.Gunter%40microsoft.com|fad9fc08042340631ed008d8334a9a3d|72f988bf86f141af91ab2d7cd011db47|1|0|637315742793646287&sdata=m4JSbThKdMlAY0hRKCE2gWXPBVK%2BRv6zHY1VZGxUoR8%3D&reserved=0 - I'm curious what you need? The code is available open source in this repo. It is hosted for your usehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fazuredevopsdemogenerator.azurewebsites.net%2Fenvironment%2Fcreateproject&data=02|01|Shawn.P.Gunter%40microsoft.com|fad9fc08042340631ed008d8334a9a3d|72f988bf86f141af91ab2d7cd011db47|1|0|637315742793656283&sdata=IAtm%2Bcwoor84qwGDv7GF4STSZxiTILDb6%2F3Jw5dCTR0%3D&reserved=0 today including the ability to generate and use custom templates. And we're looking into making a Docker container for self-hosting. Can you provide more context on the request?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FAzureDevOpsDemoGenerator%2Fissues%2F308%23issuecomment-665338164&data=02|01|Shawn.P.Gunter%40microsoft.com|fad9fc08042340631ed008d8334a9a3d|72f988bf86f141af91ab2d7cd011db47|1|0|637315742793656283&sdata=1JzDHCHW6I3BycD1jzkIIBv7JsLHN9y1%2FyTLey1fzVE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKZUGDDQYOGNSY7UESSPLHLR55KQLANCNFSM4PK4WYWQ&data=02|01|Shawn.P.Gunter%40microsoft.com|fad9fc08042340631ed008d8334a9a3d|72f988bf86f141af91ab2d7cd011db47|1|0|637315742793666280&sdata=CAPnF0tcCAMIFFDNmnXl1MWu46%2FUzDilGaMoDFs6Clo%3D&reserved=0.

Hi @Shgunter - That error is generally because of your permissions in the target Azure DevOps org.  That is, you likely don't have permissions to create a project, so the generator will fail when trying to make one on your behalf.  @aksh-h has a FAQ and may have more guidance to help.

Hi @@Shgunter, you can find FAQ here

We assume you are able to provision the project. Hence closing the issue.


Grove Stone disappering when you use it with Carry On mod.

In my opinion, this should be reported to Carry On so the dev can add it to the default block blacklist

Ok,thank

Ok,thank

Yeah, just break it and re-cast Grove Supplication.


No .unique method

$ rails db:seed
rails aborted!
NoMethodError: undefined method unique' for FFaker::Internet:Module /Users/mstashev/Documents/IronYard/GaleríaDeFotos/db/seeds.rb:14:in block in <top (required)>'
/Users/mstashev/Documents/IronYard/GaleríaDeFotos/db/seeds.rb:11:in times' /Users/mstashev/Documents/IronYard/GaleríaDeFotos/db/seeds.rb:11:in <top (required)>'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in load' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in block in load'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in load_dependency' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:287:in load'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/engine.rb:549:in load_seed' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activerecord-5.0.2/lib/active_record/tasks/database_tasks.rb:268:in load_seed'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/activerecord-5.0.2/lib/active_record/railties/databases.rake:196:in block (2 levels) in <top (required)>' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/rake_proxy.rb:14:in block in run_rake_task'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/rake_proxy.rb:11:in run_rake_task' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:51:in run_command!'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in <top (required)>' /Users/mstashev/Documents/IronYard/GaleríaDeFotos/bin/rails:9:in require'
/Users/mstashev/Documents/IronYard/GaleríaDeFotos/bin/rails:9:in <top (required)>' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in load'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/client/rails.rb:28:in call' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/client/command.rb:7:in call'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/client.rb:30:in run' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/bin/spring:49:in <top (required)>'
/Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in load' /Users/mstashev/.rvm/gems/ruby-2.4.0/gems/spring-2.0.1/lib/spring/binstub.rb:31:in <top (required)>'
/Users/mstashev/Documents/IronYard/GaleríaDeFotos/bin/spring:15:in require' /Users/mstashev/Documents/IronYard/GaleríaDeFotos/bin/spring:15:in <top (required)>'
bin/rails:3:in load' bin/rails:3:in '
Tasks: TOP => db:seed
(See full trace by running task with --trace)

https://github.com/ffaker/ffaker/pull/333

released as v2.7.0

I think this issue can be closed.


map: Make Eq comparisons ordering-aware.

This is a breaking change. Not sure if you really want to take this but
I think it's the right thing to do.

This is a breaking change.

I've added it to #135 to consider for 2.0.
In the meantime, we could add a method for ordered_eq, but it's just:
map1.len() == map2.len() && map1.iter().eq(&map2)

Yup, agree, ordered_eq is probably not quite worth it.
That seems reasonable, thank you!

Do you want to leave this PR open? Or should I close it?

Let's close -- it will be here when we're ready for 2.0, but that's not really happening yet.

Thanks for filing. Not a bug since it's the intentional design, but worth discussing for sure. I think a method for ordered eq would be worth it.


solution in ruby for Challenge #261

Add solution in ruby.

This looks like a pretty good solution to me! Thanks for sending a PR. Hopefully someone else will benefit from taking a look at your approach 👍

I just took a look on the sub reddit and it seems that Magic Squares are calculated by the formula M = [n(n^2 + 1)] / 2
My code works for nxn but checks for a fixed value of 15 instead of using the above formula.
Are you able to change it or do you want me to submit another PR for it?

@causztic You can submit another PR if you want


*: fix batch-client wait too long and add some metrics

close #974
Do same test in issue #974, the related metric in this PR is following:
The QPS is much more stable

Test this PR with bug-fix code in #969, the QPS is more stable and higher, QPS from 25k increase to 31k. related metrics are following:


Update release responsible schedule

How to categorize this PR?
/area documentation
/kind enhancement
What this PR does / why we need it:
Update release responsible schedule for v1.31 and v1.32
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:
NONE

/invite @vpnachev


Duplicate some #defines and structs, enums

Description
Duplicate some #define and structs, enums in to file: ntmisc.h and ntwmi.h.
For struct/enum:

ETW_REF_CLOCK struct
TRACE_ENABLE_FLAG_EXTENSION struct
TRACE_ENABLE_FLAG_EXT_HEADER struct
TRACE_ENABLE_FLAG_EXT_ITEM struct
ETW_STACK_CACHING_CONFIG struct
PERFINFO_GROUPMASK struct
ETW_UMGL_KEY struct
ETW_KERNEL_HEADER_EXTENSION struct
ETW_NOTIFICATION_TYPE enum
ETW_NOTIFICATION_HEADER struct
ETW_SESSION_NOTIFICATION_TYPE enum
ETW_SESSION_NOTIFICATION_PACKET struct
ETW_TRACE_PROVIDER_INSTANCE_INFO struct
ETW_TRACE_GUID_INFO enum
ETWTRACECONTROLCODE enum
TELEMETRY_COVERAGE_POINT struct

For #define (macro):

PERFINFO_OR_GROUP_WITH_GROUPMASK
PERF_PFSECTION
PERF_CLUSTER_OFF
PERF_MEMORY_CONTROL

Proposed implementation details
Can we delete duplicates defines/structs/enums in one of two files: ntmisc.h or ntwmi.h?
Or should we use #ifndef/#endif to still keep those duplicates defines/structs/enums in both files?
Best regards,

Can we delete duplicates defines/structs/enums in one of two files: ntmisc.h or ntwmi.h?

ntwmi.h was just added yesterday. The duplicate definitions will be resolved once it's stable/linked with the build tools 👍


B2B-1212 migrate example from expo to RN cli

fixes: https://front-finance.atlassian.net/browse/B2B-1212
I removed the start:ex script due to high possibilities of inconsistency and ambiguity between room npm install and npm install in example folder, and pods outdate warnings.

Closing this one in favour to #31


Configuration quickstart for C# does not always unsubscribe

Expected Behavior
Configuration quickstart for C# shows the unsubscribe message:
== APP == App unsubscribed from config changes
Actual Behavior
Sometimes it fails: https://github.com/dapr/quickstarts/actions/runs/4129504957/jobs/7135175825
Steps to Reproduce the Problem
Run the quickstart for configuration multiple times

This issue is the universal thorn in my side.
See #869


Improve component preview in the side panel

We may need to place the rendered component into an iframe and then scale it.

I was thinking about this when doing viewports. Thoughts on an equally sized box with a small preview similar to FramerX? I love that it's actual code in the sidebar, but maybe using generated screenshots might be better for performance?

Yeah, the tricky part with generated screenshots is we'd have to send along the entire scope and code on the fly somehow (since we're on the client), so if we could figure out a way to make the code work that'd be super rad.

Ah yeah, that adds way more complexity. If perf becomes an issue, windowing might be a nice way to offload loading too many components. I'll play around with this after viewports if no-one gets to it before then.

I've also noticed that if you change the the Theme to something with a dark background, the component previews don't open. I think some  things in the component preview update (like text color and font family) but not all

@johno What is the expected behaviour? Should the component preview inherit all of the properties of the active theme?

Yeah, I'd expect the component preview to inherit all properties from the active theme so that it's representative of what will be rendered on the canvas if drag and dropped.

As per scaling, you can try using css zoom property. Here is how it looks with 0.5:

Saw it here.


Step-down undorvoltage threshold

Step-down undorvoltage threshold is set to 13.75 V (by R14 and R15). Is it correct?

Is it correct?
What voltage you would recommended.

Fixed


fixed text-icon alignment in success notification

fixes issue #411

Hey @moki298 what's your account number?

@angle943, my account number893c0079f86c4bb1f732b796694c818b790af460caf4682a28790592d2d30a1f


Fix 2i Stats (AZ1038)

When we moved the responsibilities of riak_index_backend into riak_kv_vnode and riak_kv_eleveldb_backend, the 2i stats code got lost. This pull request adds it back.
Testing
Make sure you have configured the system to use riak_kv_eleveldb_backend.
Remember to test with legacy_stats set to true and false.
Verify the stats using http://localhost:8098/stats.
 The system wrote 3 copies of each object.
Verify that vnode_index_writes_postings stat is 18. The system wrote 3 objects * 3 copies of each object * 2 index entries per object.
Step 2
Update an object:
curl -v -X PUT \
-d 'data1' \
-H "x-riak-index-field1_bin: val0" \
-H "x-riak-index-field2_int: 1000" \
http://<IP_ADDRESS>:8098/riak/mybucket/mykey1

Verify that vnode_index_writes stat is 12. It was 9, then the system wrote to 3 vnodes.
Verify that vnode_index_writes_postings stat is 24. It was 18, then the system wrote 2 postings each to 3 vnodes.
Verify that vnoed_index_deletes_postings stat is 6. It was 0, then the system removed 2 old postings from each of 3 vnodes.
Step 3
Run a query:
curl http://localhost:8098/buckets/mybucket/index/field1_bin/val2/val3

Verify that vnode_index_reads stat is 22. We performed a covering read on the system, which hits 1/3 of all nodes.
Step 4
Delete an object:
curl -X DELETE http://<IP_ADDRESS>:8098/riak/mybucket/mykey1

Verify that vnode_index_deletes stat is 3. The system removed an object from 3 vnodes. Note that due to the tombstone reaping process, this stat may take a few seconds to fully update. Keep refreshing.
Verify that vnode_index_deletes_postings stat is 6. The system removed 2 old postings from each of 3 vnodes.

+1 to merge


Inconsistent GitHub login profile in home page and category/rule pages

Figure: GitHub login profile in home page

Figure: Github login profile in category/rule pages
AB#59821

Hi @hoangphan84,
This was fixed in issue https://github.com/SSWConsulting/SSW.Rules/issues/257
Thanks,
-Brady


Error During PowerTools Run

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
Activated PowerTools Run via keyboard shortcut, Alt = Spacebar.
✔ Expected Behavior
PowerTools Run launches.
❌ Actual Behavior
Error window pops-up with the following message:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 2023-03-20 09:55:52
Exception:
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
No response

/dup #18166


Build failure on MacOS

A fresh check out of briolette with a new install of CMake does not build.

For MacOS the use of getrandom() needs to change.
The other breakage is global and caused by newer versions of CMake and the xaptum dependencies.
Fix is staged in my personal repo and I'll pull once fully tested.


As a Developer, I need statemachine architecture suitable for development, so I can easily understand and modify the node's implementation

Definition of DONE:

Rust library updated with more utilities for statemachine programming
Semi-formal rules for statemachine elements (actions, state, etc)
Automated checks for these rules ^

Currently there are lots of complaints about the way statemachine is implemented currently (should be sorted by severity, then subitem created for each item):

[ ] Enabling condition semantics should be more strict
[ ] Actions can be referenced differently (action type/enclosing enum variant) that makes navigation difficult
[ ] Single action requires too many routine work (type conversion, enabling conditions)
[ ] Enabling conditions are split across codebase (e.g. p2p/node for timeout)
[ ] State initialization actions
[ ] Action logging can be improved, to make it less work but better traceability
[ ] Reducers/effects should return Result, so it would be hard to miss the case when enabling condition passes but the state update/effect does not happen because of incorrect code
[ ] State type guidelines should be developed, to make it more clear with respect of possible states and transitions between them (even without actions available)

Enabling condition semantics should be more strict

@akoptelov can you expand on this? My issue with enabling conditions is different, I just don't find think that the current approach of having effect handlers dispatching all potentially useful actions that then get filtered by enabling conditions a good idea (to me, they make the code much harder to follow and reason about)

can you expand on this?
Well, this is mostly what I meant. If we have a violated enabling condition in runtime, this means program error that should be reported and fixed eventually. For testing/fuzzing this might be different though.

If we have a violated enabling condition in runtime, this means program error that should be reported and fixed eventually. For testing/fuzzing this might be different though.

@akoptelov We could add dispatch_opt for optional dispatch (to use enabling condition for filtering). Otherwise by default dispatch would cause error log, or whatever the new error handler passed to the redux::Store does. Any thoughts?

@akoptelov We could add dispatch_opt for optional dispatch (to use enabling condition for filtering). Otherwise by default dispatch would cause error log, or whatever the new error handler passed to the redux::Store does. Any thoughts?

Yes, that might be an option. But I think this should be done case-by-case: sometimes we should be more explicit about effects.
E.g. for long-short forks, would it be better to have that dispatch_opt() || dispatch() expression, or explicit if is_short_range() ...?
But yeah, this solution firstly makes it obvious that the action might not be dispatched, and otherwise logs an error (and might be panic in debug).

E.g. for long-short forks, would it be better to have that dispatch_opt() || dispatch() expression, or explicit if is_short_range() ...?

Personally, for situations where concurrency is not much of an issue and clear flow is more important (case in point, the transition frontier) I would very much rather have the later.

This is preliminar and not complete, but here is @dkuehr's doc on his implementation: https://gist.github.com/dkuehr/6a0292036becdddd3a5853a18ebf08c2

This is preliminar and not complete, but here is @dkuehr's doc on his implementation: https://gist.github.com/dkuehr/6a0292036becdddd3a5853a18ebf08c2

Added that to the top comment as well.


[MINOR]Optimize hudi-cli module

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
Optimize hudi-cli module code, including simplifing lamada expression, fixed spelling mistake, removing unused variable.
Brief change log

Simplify lamada expression.
Fixed spelling mistake.
Remove unused variable.

Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

hudi-cli as it is is weak on unit tests.. Do you want to first take up that task on the current master branch.. that way we would know how/if large changes like these affect the functionality..
Your changes may be fine. but I am just saying it would be good to first add some tests to the module.. (again not a problem of this PR, but something that affects it)

My original thought was that optimizing the code of hudi-cli, never consider the unit tests.  I would like to first take up that task on the current master branch.

@SteNicholas Okay fair. Could you rebase the branch? for future changes here, I think its better to first add some unit-tests anyway..

@SteNicholas Okay fair. Could you rebase the branch? for future changes here, I think its better to first add some unit-tests anyway..

I have already rebase the branch.


Remove warning

Can we just add a simple #ifdef in order to remove a warning such as:

#ifndef _WIN32
struct tm *gmtime_r(const time_t *timep, struct tm *result);
#ifdef CRON_USE_LOCAL_TIME    <-------- THIS ONE
struct tm *localtime_r(const time_t *timep, struct tm *result);
#endif
#endif

I'm compiling it using SystemWorkbench for STM32
Thank you

Hi, to declare localtime_r only if we are actually going to use it - looks like a good idea. Will accept a PR, or can add it myself in a day or two.

Thanks, no hurry.
On Sun, Feb 25, 2018 at 12:33 PM, staticlibs<EMAIL_ADDRESS>wrote:

Hi, to declare localtime_r only if we are actually going to use it -
looks like a good idea. Will accept a PR, or can add it myself in a day or
two.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/staticlibs/ccronexpr/issues/7#issuecomment-368302042,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBHxBLGc_HpHRHo-fWRwO1ft7CFb4u4ks5tYUUhgaJpZM4SRxpV
.

--
Merci beaucoup, Muito obrigado, Thanks
Carlos TangerinoMobile: +33 6 82 05 55 18


Remove ExceptionIDs.ThreadAbort

ExceptionIDs represents contract between runtime and CoreLib. It does not make sense to have ExceptionIDs.ThreadAbort in it since it is never used in this contract. It was just used as a convenient internal implementation detail that can be done differently.

Looks good to me


Client UI breaks when moving between monitors with different resolution.

Describe the bug
The Client UI becomes nearly unusable when I move the window from my 1920x1080 monitor to my 3440x1440 monitor. It also refuses to open on my main monitor, choosing to only open on the secondary one (the 1080p one).
To Reproduce
Steps to reproduce the behavior:
(1.?) Have multiple monitors with differing resolutions?
2. Open client on 1080p monitor
3. Drag client to other monitor
Unsure if reproducible going from higher res to lower, as I cant seem to have it start on the other monitor.
Expected behavior
The UI doesn't break
Screenshots

Screenshot is of the full window after moving between monitors
Version and platform:

OS: Windows 10 64 bit
Syncplay version and build type: Syncplay 1.7.0 Portable
Media player and version:  N/A

Additional context
N/A

I only have one monitor so I'm not in a good position to fix this issue. Hopefully someone wish two monitors will figure out a way of fixing it without stuff.


Correct formatting

PR for issue #420
Prior PR #451
I reviewed this in light of the new style guide @rinkug put together and this should match better.
Notes:

@jarrah42 should look at/review the two sentence intro in the top deck
It was not clear that the Decks info on Category/Topic would be populated from the meta-data rather than needing to be directly present.
Publication date is not as clear as it could be. Is this date of publication of the content being curated or date of publication to BSSw.

Overall very nice to have something to reference.
Paul

The file name does not match the article name and the article name should be the link not IEEE Computer.

Missed that title - thanks. Not sure what you mean about the file name vs. article name. I see
Title: Lack of Evidence In Software Engineering
File Name: LackOfEvidenceInSoftwareEngineering.md
Which is only different in capitalization and removing spaces.  I did not see this in the style guide either - did I miss it?

I added the proposed changes to the file but not through this PR. So, I am closing this.


add dataset to Flow

can we add this dataset in power automate flow? if yes then please share the steps

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b915f0b3-9522-c54f-99a1-a5b4e3e9b3fa
Version Independent ID: ab0ec929-ce56-b9f1-90a7-623b2ead4119
Content: Analyze Teams usage in the Power BI app for Teams - Power BI
Content Source: powerbi-docs/collaborate-share/service-teams-analytics.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @rahulsawant01. This issue has been assigned to the doc author for review.

Hi @rahulsawant01, interesting question. However, you've reached the channel for docs feedback for the content writers. I am not sure about whether the dataset can be added in the power automate flow. I suggest you try the Power BI Community. Someone there might be able to answer your question and provide the steps. Thanks for reaching out!


[$250] Web - Email Mention Displays Number Instead of Email When Edited

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.13-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Go to self DM
Write an email with a mention (e.g<EMAIL_ADDRESS>).
Use the up arrow to edit the message

Expected Result:
The email should be displayed when attempting to edit the mentioned email
Actual Result:
When trying to edit the mentioned email, a number with the mention is displayed instead of the email
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/cdbb4518-478e-4108-873b-1452c123b3cf
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015d8db50900d91088
Upwork Job ID:<PHONE_NUMBER>146391970
Last Price Increase: 2024-07-30

Issue OwnerCurrent Issue Owner: @DylanDylann

Proposal
Please re-state the problem that we are trying to solve in this issue.
When edit a mentioned user, the user name turns into account number.
What is the root cause of that problem?
In the following code
https://github.com/Expensify/App/blob/881c5482facc08af709f047025c863ad67b6d5b3/src/libs/Parser.ts#L18
the account id is saved into accountIDToNameMap
While editing a message, the parser in the following code
https://github.com/Expensify/App/blob/881c5482facc08af709f047025c863ad67b6d5b3/src/libs/Parser.ts#L34
would use String(personalDetails.accountID) to parse the mentioned user.
What changes do you think we should make in order to solve the problem?
use accountIDToNameMap[personalDetails.accountID] = personalDetails.login ?? personalDetails.displayName;
What alternative solutions did you explore? (Optional)
Add login attribute in the payload of personalDetialsList

This issue is fixed by this PR
@lschurr Let's close this issue


Generate remaining CRDs based on vendored APIs

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
Generate remaining CRDs based on vendored APIs instead of copying them again and again from other repositories.
Special notes for your reviewer:
The machine.sapcloud.io CRDs are handled as part of #8559.
Release note:

The `hack/generate-crds.sh` script now receives the file name prefix via the `-p` option (previously, the prefix was the first argument to the script).

/approve


Allow extending/replacing BlogPage

Is there plans to update the wagtail_blog to have a SteamField for the body of the BlogPage instead of the RichTextField?
If I forked this repo and made the changes is that some that is likely to be accepted?

This is a use case of mine too. Since the project intends to mimic wordpress I don't think it should include steamfield by default. I'm thinking I will make the body field blank=True so that it's easier to extend. That's what I'm doing already. The body field can just not be placed on a panel.
Another approach we could do (later) would be to make an abstract blog page model that could be subclassed and used instead of BlogPage. If you are willing to put in some work supporting this I would gladly accept it. So it should:

Work exactly as it does now if users don't change anything. No streamfields by default.
Lots of unit tests
Simple instructions on how to override the BlogPage model by subclassing the abstract base model.

I'm going to make a small release to make the body field optional today though.

A big +1 to this, we're going to have to fork the repo as well for this functionality, as it's very difficult for us to do some advanced custom styling in the blog page without having a streamfield. Maybe in the future we can move back to the main fork if this goes live.
I could find some time to help in this functionality, but don't think I'll find the time to do it completely myself.

@chescales of the methods I described do you have a preferred one? I think a abstract base model would be the best approach. We'd have to ensure backwards compatibility. If you take a first stab at it I could review.
Then for your app you could just define the blog model instead of having to fork the upstream app.

Unfortunately I will not be able to help. At least not now. If this is still on the table and not finished when I am ready to help, I'll be more than happy/willing to help get this done.

Yes, an abstract base sounds harmless, could be implemented
Apart from that, sounds like BlogPage should be a swappable model. AFAIK, there's no documentation about this? But if you look at django.contrib.auth.models.User, you'll get the idea.


[Power BI Service] Custom Connector Data Sources Credentials Fail Login

Created an OAuth 2.0 based custom dataset connector that is operating as expected on Power BI Desktop. After publishing and connecting via the gateway to access online, the Dataset complains that the credentials are invalid.
When then attempting to signin on the online Power BI the process cuts off (closes the popup window) during redirect_uri (https://oauth.powerbi.com/views/oauthredirect.html) that come with the authentication code and the credentials remain invalid.
Main goal is to get connected and able to utilize the scheduled refresh feature.

Were you able to solve this jonsoncw? We are still having this issue after todays gateway-release (October) with official Oauth2 support for Custom Connectors.

Did anyone find a solution for this? I'm encountering the same issue with refreshing an Oath2 Custom Connector through the Gateway. Works perfectly fine in Desktop. TestConnection was properly configured.

I am facing same issue too, i was trying to sniff the traffic I think the FinishLogin function in powerBI web service is not working

Hey!
For questions related to the Power Query SDK, Power BI Custom Connectors, or Power Query in general, we recommend posting those questions in the official Power Query forum inside the Power BI Community site. You can find more information about this from the last section of the readme file of this repo.
Thank you!
Miguel Escobar
Product Manager @ Microsoft


Adding image data uri support and npm package.json

Added support for data image uri
Added package.json for consumption from node/npm

+Updated jsZip library to newer version

Great work, thanks!
I'm moving the new demo html file to demo_edge so the main demo.html page will work IE and Safari.


[llama.cpp] Update llama.cpp to latest release b2581 (2024-03-30)

In order to get support for BERT based sentence embedding models like BAAI/bge-base-en-v1.5, mixedbread-ai/mxbai-embed-large-v1, or others, update llama.cpp from b1696 (2023-12-12) to the current latest release b2581 (2024-03-30).
BERT support was added to llama.cpp in February 2024: https://github.com/ggerganov/llama.cpp/pull/5423
This change has not yet been tested. Maybe updating the Gradle property llamacpp_version is not enough and ai_djl_llama.cpp needs to be adapted as well. If so, please do so.

I see. Thanks for taking the time to try it.
The native libraries are built for all platforms with  Native S3 llama.cpp, right? I can't find the log of the failed build. Could you please share it?


CLDC-1524 buyer 2 gender

Adds changes for buyer 2 gender and associated tests.
My last PR on this project 🙂

@dushan-madetech Thank you!


NETOBSERV-1619: use dedicated metrics ports for netobserv to avoid conflicts

Description
use dedicated metrics ports for netobserv
Dependencies
https://github.com/openshift/enhancements/pull/1612
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[X] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[X] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

/ok-to-test

/approve

Codecov Report
Attention: Patch coverage is 75.00000% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 66.34%. Comparing base (bcf6017) to head (9a76710).

Files
Patch %
Lines

...pis/flowcollector/v1beta1/zz_generated.deepcopy.go
0.00%
4 Missing :warning:

controllers/ebpf/agent-metrics-test.go
0.00%
2 Missing :warning:

pkg/helper/flowcollector.go
80.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #628   +/-   ##
=======================================
  Coverage   66.33%   66.34%
=======================================
  Files          67       67
  Lines        7429     7449   +20
=======================================
+ Hits         4928     4942   +14
- Misses       2144     2149    +5
- Partials      357      358    +1

Flag
Coverage Δ

unittests
66.34% <75.00%> (+<0.01%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fastlane on Jenkins always fails

I have lane which runs ok locally on my build machine. But when I run this lane on the same machine with Jenkins, it always ends with this error:
...
[16:59:42]: --------------------------------------
[16:59:42]: --- Step: Switch to ios build lane ---
[16:59:42]: --------------------------------------
[16:59:42]: Cruising over to lane 'ios build' 🚖
[16:59:42]: -----------------
[16:59:42]: --- Step: gym ---
[16:59:42]: -----------------
[16:59:44]: xcrun xcodebuild -list -project './Business.xcodeproj'
[16:59:47]: xcrun xcodebuild -showBuildSettings -scheme 'Business Sit1-Release' -project './Business.xcodeproj'

+----------------------+------------------------------------------------------------+
|                               Summary for gym 1.1.6                               |
+----------------------+------------------------------------------------------------+
| project              | ./Business.xcodeproj                                       |
| scheme               | Business Sit1-Release                                      |
| clean                | false                                                      |
| output_directory     | .                                                          |
| output_name          | kbb_1.1.0_Sit1-Release                                     |
| silent               | true                                                       |
| codesigning_identity | iPhone Distribution: Some Company                          |
| include_symbols      | true                                                       |
| include_bitcode      | true                                                       |
| use_legacy_build_api | false                                                      |
| export_method        | enterprise                                                 |
| buildlog_path        | ~/Library/Logs/gym                                         |
| destination          | generic/platform=iOS                                       |
+----------------------+------------------------------------------------------------+

sh: xcpretty: command not found
sh: xcpretty: command not found
[17:07:36]: Exit status: 127
[17:07:36]: Variable Dump:
[17:07:36]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios business_jenkins", :GIT_REPO_WAS_CLEAN_ON_START=>true, :VERSION_NUMBER=>"1.1.0"}
[17:07:36]: Error building the application - see the log above

+------+--------------------------------------------------+-------------+
|                           fastlane summary                            |
+------+--------------------------------------------------+-------------+
| Step | Action                                           | Time (in s) |
+------+--------------------------------------------------+-------------+
| 1    | Verifying required fastlane version              | 0           |
| 2    | default_platform                                 | 0           |
| 3    | ensure_git_status_clean                          | 0           |
| 4    | rm -rf ../Carthage                               | 0           |
| 5    | /usr/local/bin/carthage update .. --platform ios | 352         |
| 6    | Switch to ios release_server lane                | 0           |
| 7    | increment_version_number                         | 3           |
| 8    | Switch to ios build lane                         | 0           |
| 9    | gym                                              | 474         |
+------+--------------------------------------------------+-------------+

[17:07:37]: fastlane finished with errors
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: 'e6fea6a787740f6702a74f36793e6216'
The crash report has been stored locally '/tmp/sentry_e6fea6a787740f6702a74f36793e6216.json'
Build step 'Execute shell' marked build as failure
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE

Here is the issue number: "e6fea6a787740f6702a74f36793e6216"

It's not a relevant issue I think.

I solved it with EnvInject Plugin which injects path for xcpretty to $PATH and everything is ok now. Sorry for creating invalid issue.

I don't believe this is an invalid issue, I am experiencing the same thing. I can try the work around use the EnvInject Plugin too, but that defeats the purpose of ease-of-use fastlane is supposed to offer

Thanks for the report! We'll take a look.


Install additional packages / task runner

What do I have to do to install for example bootstrap and put it (automatically) into the dist folder?
The project doesn't use a task runner as gulp or grunt? It uses it's own type of taskrunner (ember-cli)?
Is it possible (recommended) to use gulp with this project?

I installed different packages via npm and via jspm. How can I use them in my project?

Hey @doczoidberg did you find a way or a doc about that problem ?
Thank you,
Peekmo

I copied them in my dist folder. You can look here for a more clean solution:
https://github.com/angular/angular-cli/pull/62

Thank you :+1:

The 3rd party packages story is pretty weak right now, but I understand that this is a must.
ember-cli solves this in various ways. I want to avoid wrapper packages for existing packages that provide metadata or integration with the cli. I'd rather use package.json as the source of truth.

Integrating grunt or gulp into the current setup doesn't make sense. The whole point of broccoli build pipeline is that the build pipeline is unified, but flexible enough that addons can plug into it.

Achieved this will the following ember-cli-build.js:
/* global require, module */

var Angular2App = require('angular-cli/lib/broccoli/angular2-app');
var Funnel = require('broccoli-funnel');
var mergeTrees = require('broccoli-merge-trees');

module.exports = function(defaults) {
    var app = new Angular2App(defaults);

    var myTree = new Funnel('node_modules', {
        files: [
            'bootstrap/dist/css/bootstrap.css'
        ],
        destDir: 'vendor'
    });
    var appTree = app.toTree();
    return mergeTrees([myTree, appTree], { overwrite: true });
}

Now I just need to figure out how to inject my other build processes in there, like SASS compilation

@intellix Thanks for this workaround


go get doesn't work

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
install failed

What version of Go are you using? (go version)?
go version go1.9.2 windows/386

What operating system and processor architecture are you using?
win10 x64 with Intel64 Family 6 Model 142 Stepping 9 GenuineIntel ~400 Mhz

What did you do?
go get -u github.com/derekparker/delve/cmd/dlv

What did you expect to see?
install success

What did you see instead?
It hint
`C:\Users\ronac\Documents\program\GOPATH\src>go get -u github.com/derekparker/delve/cmd/dlv

#github.com/derekparker/delve/pkg/proc
github.com\derekparker\delve\pkg\proc\disasm.go:9:14: undefined: ArchInst`

Try using this in console
env GOARCH=amd64 go get -u github.com/derekparker/delve/cmd/dlv

it's better to use the Go for amd64 than 386 on an amd64 platform.


Type agnostic tab name and easy startup layout modification for editor_tabs

Part of #267
This PR allows you to:

use any type to set the name of the editor panel.
allows to support several types specifying the name at the same time
It is more convenient to specify the panels displayed when the editor is launched

Major changes:

EditorTabName is no longer part of editor_tabs, but part of editor_ui
Introduced the TabName trait, which should be released by the types that are used to name editor panels

trait TabName: Debug + Any {
    fn clear_background(&self) -> bool;
    fn title(&self) -> String;
}

EditorTabName now implement TabName trait
The api for registering new tabs has been changed accordingly

Was
app.editor_tab_by_trait(EditorTabName::GameView, GameViewTab::default());
Became
app.editor_tab_by_trait(GameViewTab::default());

Was
app.editor_tab(EditorTabName::Hierarchy, "Hierarchy".into(), show_hierarchy);
Bacame
app.editor_tab(EditorTabName::Hierarchy, show_hierarchy);

Added api for setting the start layout of the editor
Usage:

/// Create layout group, which hide hard logic of egui_dock tree
app.init_layout_group::<DoublePanelGroup, _>();

/// Push tabs to group of layout
app.layout_push::<DoublePanelGroup, _, _>(DoublePanel::MainPanel, EditorTabName::GameView);
app.layout_push::<DoublePanelGroup, _, _>(DoublePanel::TopPanel, EditorTabName::Hierarchy);
app.layout_push::<DoublePanelGroup, _, _>(
    DoublePanel::BottomPanel,
    EditorTabName::Inspector,
);

/// We can push showed tab on front of list if we want
app.layout_push_front::<DoublePanelGroup, _, _>(
    DoublePanel::MainPanel,
    EditorTabName::Resource,
);

Added useful example about how add new editor tabs

use bevy::prelude::*;
use space_editor::prelude::*;

/// This example shows how to create custom editor tabs
/// space_editor allows to create tabs by implementing trait EditorTab
/// or by using system based tabs

fn main() {
    App::default()
        .add_plugins(DefaultPlugins)
        .add_plugins(SpaceEditorPlugin)
        .add_systems(Startup, simple_editor_setup)
        // Add trait based tab
        .editor_tab_by_trait(TraitEditorTab)
        // Add system based tab
        .editor_tab(CustomTabName::SystemBased, system_tab)
        // Add trait based tab as first tab in Bottom panel
        .layout_push_front::<DoublePanelGroup, _, _>(
            DoublePanel::BottomPanel,
            CustomTabName::TraitBased,
        )
        // Add system based tab as first tab in Main panel
        .layout_push_front::<DoublePanelGroup, _, _>(
            DoublePanel::MainPanel,
            CustomTabName::SystemBased,
        )
        .run();
}

#[derive(Debug)]
/// A custom tab name
enum CustomTabName {
    /// A trait based tab
    TraitBased,
    /// A system based tab
    SystemBased,
}

impl TabName for CustomTabName {
    /// Set clear_background to true to clear background of the panel
    fn clear_background(&self) -> bool {
        true
    }

    /// Return title of the tab
    fn title(&self) -> String {
        match self {
            CustomTabName::TraitBased => String::from("Trait Based"),
            CustomTabName::SystemBased => String::from("System Based"),
        }
    }
}

#[derive(Resource)]
/// A struct that implements EditorTab trait
/// which allows to create custom tabs in the editor
struct TraitEditorTab;

impl EditorTab for TraitEditorTab {
    /// This function is called when tab needs to be rendered
    /// ui is bevy_egui::egui::Ui and it allows to build ui inside the tab
    fn ui(
        &mut self,
        ui: &mut space_prefab::prelude::ext::bevy_inspector_egui::egui::Ui,
        _commands: &mut Commands,
        _world: &mut World,
    ) {
        ui.label("Trait Based");
    }

    /// Return name of the tab
    fn tab_name(&self) -> TabNameHolder {
        CustomTabName::TraitBased.into()
    }
}

/// This function is a system that will be called every frame and will construct tab ui
fn system_tab(mut commands: Commands, mut ui: NonSendMut<EditorUiRef>) {
    let ui = &mut ui.0;

    ui.label("System Based");

    // If button is clicked spawn a new entity with
    // SpatialBundle and Name components
    if ui.button("Add").clicked() {
        commands.spawn((
            SpatialBundle::default(),
            PrefabMarker,
            Name::new("New Entity".to_string()),
        ));
    }
}

Next steps in next PRs:

Move colors and sizing modules out of editor_tabs crate

Test without features CI failed with this error, weird.....

 Test without features CI failed with this error, weird.....

Might be a linker problem on CI. Maybe we could run CI on windows or be sure to have it correctly setup for linux https://github.com/bevyengine/bevy/blob/main/docs/linux_dependencies.md
But I see this is passing now

I would always recommend adding UI screenshots when changing stuff that touch the UI, besides that, this is a pretty good change and clearly documented. Nice work

UI shouldn't have changed, just the api


STAC algorithm

The STAC algorithm would be very useful as it deals with exploration as one of the meta-gradients, which is often a hard to tune hyperparameter at RL : https://arxiv.org/pdf/2002.12928.pdf

Thank you for the suggestion. Labeled for later lookup.


Could not transfer artifact org.springframework.cloud:spring-cloud-function-adapter-openwhisk:pom:3.1.2

Hello Spring Cloud Team,
Many thanks for this great project, hope you are safe and sound.
I would like to report the following issue:
Could not transfer artifact org.springframework.cloud:spring-cloud-function-adapter-openwhisk:pom:3.1.2 from/to rsocket-snapshots (https://oss.jfrog.org/oss-snapshot-local): Transfer failed for https://oss.jfrog.org/oss-snapshot-local/org/springframework/cloud/spring-cloud-function-adapter-openwhisk/3.1.2/spring-cloud-function-adapter-openwhisk-3.1.2.pom 409

This is 100% reproducible on a very basic mvn clean site
I am currently using Spring boot 2.5.0-M3, with latest Ilford.
Could you please help fix this http 409 please?
Thank you

So maybe we should remove it from dependencies?
https://github.com/spring-cloud/spring-cloud-function/blob/main/spring-cloud-function-dependencies/pom.xml#L65

Hello Team,
Just bumping this up.
I am now facing this from the latest SpringBoot 2.6.7 + Jubilee 2021.0.2 (both released very recently)
Could not find artifact org.springframework.cloud:spring-cloud-function-adapter-openwhisk:pom:3.2.4 in spring-milestones (https://repo.spring.io/milestone)

It seems from something that is "no longer supported", which is perfectly fine, this things keep being bumped up.
Is there a way we could remove it entirely as suggested?
Thank you


Exp float 0e-3 not parsing

This is with Julia v1.6.0
using TOML
TOML.parse("a=0e-3")

gives
ERROR: TOML Parser error:
none:1:3 error: leading zero in integer not allowed
  a=0e-3
    ^
Stacktrace:
 [1] parse
   @ .\toml_parser.jl:441 [inlined]
 [2] parse(str::String)
   @ TOML C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\TOML\src\TOML.jl:71
 [3] top-level scope
   @ REPL[14]:1

This works
TOML.parse("a=1e-3")

Dict{String, Any} with 1 entry:
  "a" => 0.001

https://toml.io/en/v1.0.0#float does not say 0e-3 should not work.
Online https://toml-parser.com/ parser reads a=0e-3 just fine.
Julia parses parse(Float64, "0e-3") fine as well.

The spec says that for float, leading zeros are not allowed, for example:
a = 03.14

errors in https://toml-parser.com/ (but parse(Float64, "03.14")) works. So leading zeros are not allowed in 03.14 but allowed in 0e-3?

https://toml-parser.com/  says for a=00e-3

Error while parsing floating-point: leading zeroes are prohibited (error occurred at line 1, column 4)

Okay, the part before the . or the exponential part parses as an integer. So 0 is fine before e-3 because the integer 0 is valid integer. 03 is not fine before .14 because 03 is not a valid integer.


User fails to create after SAML auth

I have an App, which is using its own User model.
After adding all required settings to get SAML auth working, I get the following error:
ERROR 2018-10-15 16:52:50,569 django.request log Internal Server Error: /saml2/acs/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 486, in get_or_create
    return self.get(**lookup), False
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 399, in get
    self.model._meta.object_name
pretalx.person.models.user.User.DoesNotExist: User matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/views/decorators/http.py", line 40, in inner
    return func(request, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/djangosaml2/views.py", line 313, in assertion_consumer_service
    create_unknown_user=create_unknown_user)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/__init__.py", line 73, in authenticate
    user = backend.authenticate(request, **credentials)
  File "/usr/local/lib/python3.6/site-packages/djangosaml2/backends.py", line 107, in authenticate
    create_unknown_user, main_attribute, attributes, attribute_mapping)
  File "/usr/local/lib/python3.6/site-packages/djangosaml2/backends.py", line 152, in get_saml2_user
    return self._get_or_create_saml2_user(main_attribute, attributes, attribute_mapping)
  File "/usr/local/lib/python3.6/site-packages/djangosaml2/backends.py", line 166, in _get_or_create_saml2_user
    defaults=user_create_defaults, **user_query_args)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 488, in get_or_create
    return self._create_object_from_params(lookup, params)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 522, in _create_object_from_params
    obj = self.create(**params)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 413, in create
    obj.save(force_insert=True, using=self.db)
  File "/pretalx/pretalx/person/models/user.py", line 119, in save
    return super().save(args, kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/base_user.py", line 73, in save
    super().save(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 718, in save
    force_update=force_update, update_fields=update_fields)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 748, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 803, in _save_table
    raise ValueError("Cannot force an update in save() with no primary key.")
ValueError: Cannot force an update in save() with no primary key.

This User model is using email as username field, which I already send as Name_ID
I have set debug log on to try to understand where it is failing exactly, but could not find out.
What I discovered is that it only happens when trying to create a new user.
When I register locally in the App with same username = email, and try to do the SAML auth again, it is finding the user, and is also updating the fields as per attribute mapping:
SAML_ATTRIBUTE_MAPPING = {
     'uid': ('username', ),
     'uid': ('email', ),
     'givenName': ('nick', ),
     'sn': ('name', ),
     'dc': ('is_staff', ),
 }

Do you use a custom User?
Django message is quite eloquent "ValueError: Cannot force an update in save() with no primary key."
This would be related to Django model and not to djangosaml2's ACS.
I'm going to clear all the old issues, if you still have troubles please open a new thread with renewed information, I'm sure that time passed and you got it fixed


Adding margin to slides throws off centering

Issue description:
I'm trying to add a slight margin between my slides so the light grey background appears between them. I have the centering mode on, however, once I had the left and right margins, the slide centering is off. I tried using the gutter setting, but that adds padding, and not margin.
Is there a way I can account for that? Or use a different setting?
Demo link/slider setting:
The issue is occurring on the second slider on this page.
staging site: http://geneva-trading.brightbrightgreat.com/careers/technology/
slider settings
`// Text Slider
var slider = tns({
container: '.slider-container',
slideBy: 'page',
navPosition:'bottom',
controls:'false',
center:'true',
loop:'true',
mouseDrag:'true',
swipeAngle: 'false',
speed: '3000',
items: 1,
edgePadding:20,
responsive: {
640: {
items: 1,
},
700: {
items:1
},
900: {
items: 1,
edgePadding:200
}
}
});`
Tiny-slider version:   2.9.2
Browser name && version:
OS name && version:

I'm facing a similar issue.
I think the real problem to note here is that the "gutter" option adds right padding instead of margin. From the docs I understood it to add margins but it doesn't, which is kinda annoying coz I added a background colour for each of my items (they're basically cards) & if there's an image header it has a padding next to it lol. When manually adding margins it throws off a bunch of things about the slider:

positioning is off (?)
"mouseDrag" doesn't seem to work (on PC)
navigation is broken (the "prev next" buttons vanish & I can't navigate)

my settings for the slider are as follows:
var slider = tns({
        container: '.slider',
        slideBy: 1,
	autoWidth: true,
	loop: true,
	mouseDrag: true,
	swipeAngle: false,
});

I decided to add another invisible wrapper around each item for now, and it's working fine like that (so the gutter acts like margins lol)

I had the same problem. I solved it by creating a div inside the element so that the gutter doesn't padding the content.


Expand Tests to check all options

Expand project tests to validate against --debug (evaluate results on console)

This will be exposed by checking result of debug output


Bad Gateway Error

Used Docker Stack
The Used Docker-Stack was the Docker-Compose from the Website at https://nginxproxymanager.com/guide/#quick-setup
Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug

I'm getting an Bad Gateway Error when trying to setup an Proxy-Host for External Websites (specifically when using HTTPS)
Nginx Proxy Manager Version

v2.2.3
To Reproduce
Steps to reproduce the behavior:

See Pictures at Screenshots

Expected behavior

I can successfully reverse-proxy the given Website
Screenshots

Here is an Example where i tried to setup an Proxy-Host for https://nginxproxymanager.com:443:

To test if the Container can access the Website, i did an Curl of the Exact URL inside of the Container, which is successful:

Operating System

Debian Server
Additional Information

This is an interesting problem. I haven't really tried forwarding to hosts outside of my own network, until now.
I inspected the nginx logs for the proxy host, and it looks like this is a Nginx problem not one to do with the configuration of this host.
2021/08/19 22:56:13 [crit] 90998#90998: *27749 connect() to [2600:9000:20ec:1800:2:8434:1380:93a1]:443 failed (99: Cannot assign requested address) while connecting to upstream, client: <IP_ADDRESS>, server: example.jc21.supernerd.pro, request: "GET /favicon.ico HTTP/1.1", upstream: "https://[2600:9000:20ec:1800:2:8434:1380:93a1]:443/favicon.ico", host: "example.jc21.supernerd.pro", referrer: "http://example.jc21.supernerd.pro/"

2021/08/19 22:56:13 [warn] 90998#90998: *27749 upstream server temporarily disabled while connecting to upstream, client: <IP_ADDRESS>, server: example.jc21.supernerd.pro, request: "GET /favicon.ico HTTP/1.1", upstream: "https://[2600:9000:20ec:1800:2:8434:1380:93a1]:443/favicon.ico", host: "example.jc21.supernerd.pro", referrer: "http://example.jc21.supernerd.pro/"

so it appears that nginx is trying to access the host on the ipv6 address directly instead of a hostname? 🤷
The proxy host config is essentially this:
server {
  set $forward_scheme https;
  set $server         "nginxproxymanager.com";
  set $port           443;

  listen 80;
  listen [::]:80;

  server_name example.jc21.supernerd.pro;

  access_log /data/logs/proxy-host-121_access.log proxy;
  error_log /data/logs/proxy-host-121_error.log warn;

  location / {
    add_header       X-Served-By $host;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Scheme $scheme;
    proxy_set_header X-Forwarded-Proto  $scheme;
    proxy_set_header X-Forwarded-For    $remote_addr;
    proxy_set_header X-Real-IP          $remote_addr;
    proxy_pass       $forward_scheme://$server:$port;
  }
}

and I don't see any problems with the configuration.
I found this problem related to the error, and tried to apply the solution but has not worked for me.

I just tried a different upstream host that does not have an ipv6 address and I don't get any errors in the logs, but the upstream server is returning 501 not implemented so it's probably the upstream server not happy with the proxied request.

I got same error : [ipv6 address]:443 failed (99: Cannot assign requested address), when the target host that only have a public ipv6 address.
So I wonder if the container don't support ipv6.
After I add option network_mode: host in docker compose file, I didn't get the error.
Hope it will be helpful!


[ENH] Remove use of Py_TPFLAGS_HAVE_FINALIZE

Describe the solution you'd like.
Py_TPFLAGS_HAVE_FINALIZE is now deprecated and is now represented by the PyTypeObject.tp_finalize member. In other words, this macro has actually lost its functionality.
I'm not sure what version of Python Cython is built with, but I think upgrading to 3.8 or above will give you a better experience.
If this request is approved, I will issue a PR (Because I'm implementing removing Py_TPFLAGS_HAVE_FINALIZE in cpython).
Describe alternatives you've considered.
No response
Additional context
No response

I've responded to the issue on the Python project (https://github.com/python/cpython/issues/125447), but: Cython still supports Python 3.7 so does use this constant. Removing it now at short notice it's pointless churn so let's not do that.

FYI: We decided to close the issue on CPython side, so we do not plan to remove Py_TPFLAGS_HAVE_FINALIZE for now.

I'll leave this open in Cython tagged with "Cython 3.2". It's a little bit of clean to that we can do when we drop Python 3.7 I think

Thank you for your attention. I'll continue to track the issue until I help you solve it.


Thanks

just wanted to say thanks to all of you!
❤

This is not the place to thank :)
Issues should only be used for bugs.

sorry. What would be a the right platform?


[DOC] - Notes on occupancy related documentation

compute_bin_counts_assgn & compute_bin_counts_pos should have the same top level description, and have a clearer output description (can be counts, if not normalized, or rates, if normalize)

In the docstring example for compute_occupancy, it is a little confusing that if you read through the values, it's not intuitive that it seems like it drops the last position sample (of 5):
position = np.array([1.0, 1.5, 2.5, 3.5, 5])
timestamps = np.linspace(0, 1, position.shape[0])
compute_occupancy(position, timestamps, bins=[4])
array([0.5 , 0.25, 0.25, 0.  ])

This is ultimately expected (we compute 'time in location' as the diffs of the timestamps, and so there is one last time-value than pos/timestamp value, and the last location is effectively sampled for 0 time (which shouldn't matter in any real data), but is a little unclear it being visible in the example with no note or context given to explain this.

The description of time_threshold in compute_place_bins doesn't seem to be correct (describes accumulated time threshold, not the time distance threshold for selecting values)

Passing in a min_speed to compute_occupancy, without passing in speed silently does nothing. Should raise a warning / error for inconsistent set of inputs.

Docstring could be clearer on difference between min_time / max_time & minimum in compute occupancy functions.

In compute_trial_occupancy, it will accept and pass through the minimum occupancy parameter, but since, compute_occupancy gets applied every trial, this is a minimum total time per traversal, not overall per bin (across trials). In the case of a fixed path, this means that minimum and min_time parameters are effectively the same. Note that in an open field (with multiple possible traversals per bin within a trial) this is not the case. In both situations, there is not a direct way to threshold based on total time in bin (across trials). This could be added as a posthoc check (which would help align measures of total occupancy vs. trial by trial). Also: consider adding doc notes / warnings about the fixed track situation.


use new feature gate for cu depletion

Problem
Firedancer prefers to have a separate feature gate for each SIMD, so rather than reusing and rekeying the existing replay cost tracker feature, we should create a new feature gate for https://github.com/solana-foundation/solana-improvement-documents/pull/182.
Summary of Changes

Revert feature id change for the replay cost tracker feature
Add new feature gate for cu depletion

Fixes #
Feature Gate Issue: https://github.com/anza-xyz/agave/issues/3993

@Lichtso - Any concerns or can we merge?

merged on behalf of @jstarry while he's out


Lic expiration not reported Windows

Host operating system:
Windows 10
flexlm_exporter version:
From source c861cf6 ( flexlm_exporter --version produces blank version output, running make before gives an error File not found - *~ make: *** [Makefile:58: clean] Error 2)
flexlm_exporter command line flags and relevant YAML configuration file information
flexlm_exporter.exe --path.lmutil="C:\flexlm\lmutil.exe" --log.level=debug --web.disable-exporter-metrics
Are you running flexlm_exporter in Docker?
No
What did you do that produced an error?
Starting it normally
What did you expect to see?
Expiration dates in prometheus
What did you see instead?
Nothing
It seems like my issue is the same as in #28. Checking the code, it seems like only the code in lmstat_feature_exp_linux.go got updated, while the code in lmstat_feature_exp_windows.go still only supports the old method.
lmstat -i output
lmutil - Copyright (c) 1989-2019 Flexera. All Rights Reserved.
Mon 12/13/2021 13:35

NOTE: lmstat -i does not give information from the server,
      but only reads the license file.  For this reason,
      lmstat -a is recommended instead.

Feature                         Version     #licenses    Vendor        Expires
_______                         _________   _________    ______        ________
ACTEL_SUMMIT                    9.1          2           actlmgrd      24-jan-2022
microsemimsim                   2022.11      2           mgcld         24-jan-2022
microsemimsim                   2022.12      1           mgcld         2-dec-2022
actelmsimvhdl                   2022.11      2           mgcld         24-jan-2022
actelmsimvhdl                   2022.12      1           mgcld         2-dec-2022

flexlm_exporter output :
flexlm_exporter.exe --path.lmutil="C:\flexlm\lmutil.exe" --log.level=debug --web.disable-exporter-metrics
level=info ts=2021-12-13T12:15:14.559Z caller=flexlm_exporter.go:201 msg="Starting flexlm_exporter" version="(version=, branch=, revision=)"
level=info ts=2021-12-13T12:15:14.560Z caller=flexlm_exporter.go:202 msg="Build context" build_context="(go=go1.17.5, user=, date=)"
level=info ts=2021-12-13T12:15:15.152Z caller=flexlm_exporter.go:118 msg="Enabled collectors"
level=info ts=2021-12-13T12:15:15.153Z caller=flexlm_exporter.go:129 collector=lmstat
level=info ts=2021-12-13T12:15:15.155Z caller=flexlm_exporter.go:129 collector=lmstat_feature_exp
level=info ts=2021-12-13T12:15:15.155Z caller=config.go:48 msg="Loading license config file:"
level=info ts=2021-12-13T12:15:15.156Z caller=config.go:49 -=licenses.yml
level=info ts=2021-12-13T12:15:15.160Z caller=flexlm_exporter.go:220 msg="Listening on" address=:9319
level=info ts=2021-12-13T12:15:15.162Z caller=tls_config.go:191 msg="TLS is disabled." http2=false
level=debug ts=2021-12-13T12:15:19.450Z caller=flexlm_exporter.go:83 msg="collect query:" filters="unsupported value type"
level=debug ts=2021-12-13T12:15:21.152Z caller=collector.go:177 OK:=lmstat_feature_exp collectorsucceededafter:=1.7012057
level=debug ts=2021-12-13T12:15:35.378Z caller=collector.go:177 OK:=lmstat collectorsucceededafter:=15.9270528

Hi @avelure,
thanks for reporting. I will be checking the windows cases, and let you know if I need more information.

As @SuperSonicFlea confirmed, this issue is now resolved.


chore: capital letters

Thanks but actually it's intentional as I treat them as a part of the whole sentence.


Check status code before retrying request

Signed-off-by: Cenk Alti<EMAIL_ADDRESS>
What this PR does / why we need it:
Fixes the issue described in #11721
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[x] this PR has been tested for backwards compatibility

Merging as this is an XS.


Improve automated Postgkyl testing

All the critical components of postgkyl need to be tested. Here is a rough list
Loading

[x] Loading frames
[x] Loading dyn-vectors
[x] Loading metadata
[x] Partial loading
[x] Loading with c2p

Interpolation

[x] Baseline interpolation
[x] Interpolation with c2p

Plotting

[x] 1D plotting
[x] 2D plotting
[x] Contours

Commands

[x] load
[x] interpolate
[x] ev
[x] select
[x] plot
[x] animate

In addition, the automated tests here on GitHub need to run for all the supported versions of Python:

[ ] Python 3.11
[x] Python 3.12

I am switching from in many instances from using assert to numpy.testing; e.g., assert np.array_equal(values.shape, (192, 96, 1)) -> np.testing.assert_array_equal(values.shape, (192, 96, 1)). The reason for this is that numpy.testing provides more information when the assertion is failed.

animate is also tested by creating a short mp4 video file; I'm adding ffmpeg setup to the GitHub actions.

Removing conda from the ecosystem and relying just on pip fixed the issue with GitHub action where it used Python 3.12 packages even though it was supposed to run with 3.11.


No console logs

Is there a way to make NPS run silently? Without any logs to the console?

Set debugMsg: false 😄
let ps = new shell({     executionPolicy: 'Bypass',     debugMsg: false });

Hey @MystK,
@Maxvien offered an excellent solution ... try to use it. 💯
Let me know if you need further help :)


Deserializing json generated by GetJson method

Hi,
Thanks for the updated binaries in Nuget <IP_ADDRESS>.
Now I've found a deserialization exception when trying to create Transfer or MassPayment transaction from using GetJson method output. These tests will fail:
[TestMethod]
        public void TestTransferTransactionFromJson()
        {
            var tx = new TransferTransaction(Accounts.Alice.PublicKey, Accounts.Bob.Address, Assets.WAVES, 0.1m);
            var jsonDict = tx.GetJson();

            var deserializedTx = Transaction.FromJson(jsonDict);
        }

[TestMethod]
        public void TestTransferTransactionJsonConstructor()
        {
            var tx = new TransferTransaction(Accounts.Alice.PublicKey, Accounts.Bob.Address, Assets.WAVES, 0.1m);
            var jsonDict = tx.GetJson();

            var deserializedTx = new TransferTransaction(jsonDict);
        }

Since GetJson method does not add "sender" value which is now required by deserializing constructor.

We've fixed the problem. The Nuget package will be updated soon.


elm-spa build doesn't work

% elm-spa build
! elm-spa failed to understand an error
Please report the output below to https://github.com/ryannhg/elm-spa/issues
{}
! elm-spa failed to understand an error
Please send the output above to https://github.com/ryannhg/elm-spa/issues
I asked for help at the slack, but nothing has worked so far.
https://elmlang.slack.com/archives/C192T0Q1E/p1629297057122200
I'm not sure why.
I used the beta for 6.0.0 for a while, then didn't update until today. So maybe it is because of that for some reason?
elm-spa server works fine!

Following antew's advice I added an error log in the build.js file and got this message:
Error Error: Compilation failed {"type":"error","path":null,"title":"DEBUG REMNANTS","message":["There are uses of the Debugmodule in the following modules:\n\n    ",{"bold":false,"underline":false,"color":"RED","string":"Pages.Home_"},"\n\nBut the --optimize flag only works if allDebugfunctions are removed!\n\n",{"bold":false,"underline":true,"color":null,"string":"Note"},": The issue is that --optimize strips out info needed byDebugfunctions.\nHere are two examples:\n\n    (1) It shortens record field names. This makes the generated JavaScript is\n    smaller, butDebug.toStringcannot know the real field names anymore.\n\n    (2) Values liketype Height = Height Floatare unboxed. This reduces\n    allocation, but it also means thatDebug.toStringcannot tell if it is\n    looking at aHeightorFloatvalue.\n\nThere are a few other cases like that, and it will be much worse once we start\ninlining code. That optimization could moveDebug.logandDebug.todo calls,\nresulting in unpredictable behavior. I hope that clarifies why this restriction\nexists!"]}     at ChildProcess.<anonymous> (/opt/homebrew/lib/node_modules/elm-spa/node_modules/node-elm-compiler/dist/index.js:131:35)     at ChildProcess.emit (node:events:369:20)     at maybeClose (node:internal/child_process:1067:16)     at Socket.<anonymous> (node:internal/child_process:453:11)     at Socket.emit (node:events:369:20)     at Pipe.<anonymous> (node:net:665:12)
Turns out I forgot a "Element.explain Debug.todo" from Elm-ui.
Would be nice if the elm-spa CLI could understand that and warn! :)


⚠ Processors has degraded performance

In efb39b1, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: Processors performance has improved in 363165b.


User - search topic - efficiently find topics of interest

I want to search for topics by keywords, with additional A-Z and # quick navigation options, so that I can efficiently find topics of interest.

Estimate: 16 Hours
Acceptance Criteria:

[x] Users can input keywords into the search bar to find topics related to their interests.
[x] Except for keyword search, an A-Z and # navigation feature is available, allowing users to quickly jump to topics starting with a specific letter or # (numbers and special symbolsincluded)
[x] Ensure search results are relevant to the user's query, accurately reflecting the keywords or letter & # navigation.
[x] Implement filters in the search function, allowing users to refine search results by criteria such as category, popularity, date, and user ratings.

commit SHA: d0bd22ebefa8bd8dcb19baa567525b6012905a55

commit 08277fa3f531fdbca1e0291f257b08ba56b64ba8


⚠ Bofrost.fr has degraded performance

In 5308349, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1042 ms

Resolved: Bofrost.fr performance has improved in 7797359 after 23 minutes.


error in multi machine ong gpu training

hi,
when i was use torch.ddp on 8 a10 gpu machines(and machine has one gpu.) i came across such error:
Traceback (most recent call last):
  File "./tools/train.py", line 172, in <module>
    main()
  File "./tools/train.py", line 167, in main
    logger=logger,
  File "/centerpoint/centerpoint/det3d/torchie/apis/train.py", line 364, in train_detector
    trainer.run(data_loaders, cfg.workflow, cfg.total_epochs, local_rank=cfg.local_rank)
  File "/centerpoint/centerpoint/det3d/torchie/trainer/trainer.py", line 542, in run
    epoch_runner(data_loaders[i], self.epoch, **kwargs)
  File "/centerpoint/centerpoint/det3d/torchie/trainer/trainer.py", line 409, in train
    self.model, data_batch, train_mode=True, **kwargs
  File "/centerpoint/centerpoint/det3d/torchie/trainer/trainer.py", line 367, in batch_processor_inline
    losses = model(example, return_loss=True)
  File "/home/pai/lib/python3.6/site-packages/torch/nn/modules/module.py", line 903, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/pai/lib/python3.6/site-packages/torch/nn/parallel/distributed.py", line 735, in forward
    assert(self.find_unused_parameters == False)
AssertionError
Killing subprocess 1230

my running command is
python -m torch.distributed.launch --nnodes=$WORLD_SIZE --node_rank=$RANK --nproc_per_node=1 --master_addr=$MASTER_ADDR --master_port=$MASTER_PORT ./tools/train.py ./configs/nusc/pp/nusc_centerpoint_pp_02voxel_two_pfn_10sweep.py

I have not changed any code, only the running command.
why this bug happen?
Could you tell me which module of the model output does not participate in the calculation of the loss, so I can check the cause of the error
thanks!

you can set find_unused_parameters  to false

https://github.com/tianweiy/CenterPoint/blob/47d61adacb75ba6ccb49ae666dc257d04e323a2c/det3d/torchie/apis/train.py#L289

when i set false, i came across such error
Traceback (most recent call last):
  File "./tools/train.py", line 181, in <module>
    main()
  File "./tools/train.py", line 176, in main
    logger=logger,
  File "/centerpoint/centerpoint/det3d/torchie/apis/train.py", line 326, in train_detector
    trainer.run(data_loaders, cfg.workflow, cfg.total_epochs, local_rank=cfg.local_rank)
  File "/centerpoint/centerpoint/det3d/torchie/trainer/trainer.py", line 545, in run
    epoch_runner(data_loaders[i], self.epoch, **kwargs)
  File "/centerpoint/centerpoint//det3d/torchie/trainer/trainer.py", line 412, in train
    self.model, data_batch, train_mode=True, **kwargs
  File "/centerpoint/centerpoint/det3d/torchie/trainer/trainer.py", line 367, in batch_processor_inline
    losses = model(example, return_loss=True)
  File "/home/pai/lib/python3.6/site-packages/torch/nn/modules/module.py", line 903, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/pai/lib/python3.6/site-packages/torch/nn/parallel/distributed.py", line 714, in forward
    if self.reducer._rebuild_buckets():
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by (1) passing the keyword argument `find_unused_parameters=True` to `torch.nn.parallel.DistributedDataParallel`; (2) making sure all `forward` function outputs participate in calculating loss. If you already have done the above two steps, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's `forward` function. Please include the loss function and the structure of the return value of `forward` of your module when reporting this issue (e.g. list, dict, iterable).

torch cuda version  ?

i can't find this line in my torch
File "/home/pai/lib/python3.6/site-packages/torch/nn/parallel/distributed.py", line 735, in forward
assert(self.find_unused_parameters == False)

my torch version is 1.8 and my cuda version is 11.0
thanks:)

i get multiple phd interviews this week and won't be able to check until next monday. Maybe you can first debug it a bit

Maybe you need to use slurm runner ? Multimachine is a bit complicated. The original command may not work. Sorry I don't any experience with this. I can ask around if you haven't fixed the issue


Added descriptions, slight cleanup, one new link

+Added description to ACM TechNews
+Added Library Genesis to "Free Books" sections
+Added descriptions to "Bored of CS" section
-Changed broken URL of Barcroft TV to the correct URL
-Moved nayuki.io to "Blogs" section, as it doesn't really give practice problems, it just walks through the author's solutions

Resolve conflicts before the merge.

Conflicts resolved, should be good to go.


Update README for FS => FX Rename

Summary

Updated readme file and matched its format with the provided sample readme file.
Removed all occurrences of full stack with Optimizely Feature Experimentation
Refactor required due to rename of Full Stack product to Feature Experimentation.

Issues
FSSDK-8960

@russell-loube-optimizely - ready for review.
Unrelated, but also noticed there's no review requirements for this repository.


Incompatible library version: libgdal.dylib requires version 10.0.0 or later, but libgeos_c.1.dylib provides version 9.0.0

Hi there;
I know it might be a repeated question.
But the above error appears when I try to run this command:

from django.contrib.gis import goal

The error:
Referenced from: /usr/local/lib/libgdal.dylib
Reason: Incompatible library version: libgdal.dylib requires version 10.0.0 or later, but libgeos_c.1.dylib provides version 9.0.0
Am using Mac OS X El Capitan (10.11)
Help will be appreciated.
Peter

I can see you are using geojson, in python. But this repo is about mapnik via node.js. So I'm going to close this ticket as it seems like you must have created this issue in the wrong place?


Docker Environment Variables not fetched by Svelte

Describe the bug
svelte build works fine when starting from command line with environment variable, but when placed in a docker container it can't fetch the environment variable
Reproduction
const region = import.meta.env.VITE_REGION || process.env['REGION'] || 'None'
gets the appropriate REGION variable
In docker container it's always None
File is index.svelte of demo counter
Logs
No response
System Info
System:
    OS: Linux 5.15 NixOS 22.11 (Raccoon) 22.11 (Raccoon)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
    Memory: 23.01 GB / 31.32 GB
    Container: Yes
    Shell: 5.1.16 - /nix/store/pxfxgmas6iyqb6dq7d7d7kvv1vld4r89-bash-interactive-5.1-p16/bin/bash
  Binaries:
    Node: 18.3.0 - /nix/store/njq5flksyp6aplbp1r1gqpvajch7fyrb-nodejs-18.3.0/bin/node
    Yarn: 1.22.18 - /nix/store/8lajm4glg9v9f7lzpz4r4gm02rqwgnkl-yarn-1.22.18/bin/yarn
    npm: 8.11.0 - /nix/store/njq5flksyp6aplbp1r1gqpvajch7fyrb-nodejs-18.3.0/bin/npm
  Browsers:
    Firefox: 101.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.57
    @sveltejs/adapter-node: ^1.0.0-next.81 => 1.0.0-next.81
    @sveltejs/kit: next => 1.0.0-next.371
    svelte: ^3.46.0 => 3.49.0
    vite: ^2.9.13 => 2.9.14

Severity
blocking all usage of SvelteKit
Additional Information
No response

Environment variables aren't automatically carried from the host system into Docker containers.
If that's not all that's happening, please provide a proper (complete, minimal) reproduction.

When I'm using following code snippet instead of sveltekit, it works fine.
const Koa = require('koa');
const app = new Koa();

app.use(async ctx => {
  ctx.body = 'Hello World, from ' + (process.env['REGION'] || 'the world') + '!';
});

app.listen(3000);

But when I use this here:
const region = import.meta.env.VITE_REGION || process.env['REGION'] || 'None'

the environment variable is not getting picked up inside the container.
When I don't use docker and run sveltekit on, the env variable gets picked up.