Reorder episodes

From:
motivation
start-existing-repo
basics
undoing
break
branches
remotes
break
conflicts
staging-area
under-the-hood
interrupted
aliases

To:
motivation
start-existing-repo
basics
break
undoing
staging-area
break
aliases
branches
conflicts
remotes
interrupted
under-the-hood

+1
undoing and staging-area may be a bit short to be the only thing
between two breaks, depending on what final contents is.

I agree that it is too little. We will later readjust. Step two will be to set realistic times for each episode and then see how it fits with breaks.


other dialogs now too big

https://github.com/twosigma/beaker-notebook/commit/97a82145d20380418d4f8ded916ccf8cbbe59540 was too general.
it should apply only to the file dialog.

reverted the fix gone wrong that caused this.


GROOVY-7675 - Fix compilerCustomizationBuilder withConfig secureAst resolution

I found this bug some moths ago, I forgot to create Jira. Maybe can happen in other config builders.

Thanks for the pull request,
could you please also create a Jira issue?
Thanks!

Sure, I have created Jira: https://issues.apache.org/jira/browse/GROOVY-7675

+1

Thanks!


Role mensions display as number on irc

When you @ mention a role on discord, It displays on IRC as numbers.
For example
discord : @sysadmin  ==> irc : @&233558485999...
Could you give me some pointers to where the problem lies and we will fix it ourselves.

parseText is responsible for translating user and channel highlights to a readable format.
Something like the one for channels should do the trick: https://github.com/reactiflux/discord-irc/blob/master/lib/bot.js#L140-L143
Pull request welcome!

Fixed in #203.


Generate uf2 from ESP-IDF

I’m trying to generate uf2 from an ESP-IDF project and I observe some weird behavior. When I use the uf2_conv.py to generate, a 595kb file is generated; however, when I do a certain action, a stack overflow happens. When I tried the idf.py build uf2, a 337kb file is generated. But when I uploaded it, it doesn't run at all.
I initially thought something wrong with my code is causing the overflow so I connected a Jtag debugger and tried to debug; then the stack overflow no longer occurs.
The platform I'm using is Windows 10 + ESP32 s2/s3 (only tested Jtag on s2 because I don't want to burn my fuse on s3 just yet)

this is not really issue of this bootloader, you could check out makefile of update-tinyuf2 app for how to generate one. If there is further issue, please post it in forum support


Admin - Flag specific user as priority

Description
Admins (Talent Cloud Concierge) should have the ability to flag an applicant (Identifiable by name and/or email) as a Priority. Priorities are treated differently in the application process, so they need to be made visible to managers. The intent is to have them displayed separately on the Review Applicants page #687.
Down the road we will try and build something that allows priorities to self-identify, but for now, they have to contact Talent Cloud and our concierge service will upgrade their user profile through the admin portal.
For now users are either priorities or they are not, but in the future we might want to allow for various types (levels) of priorities. It's not of interest right now, but we might put a time limit on how long a person is a priority for (since priority status normally expires at some point).
This issue is a dependency of #690.

[ ] Users can be flagged as priority on the admin portal
[ ] Priority users appear in their own section of the Application Review page

@tristan-orourke I pushed up what I have working so far on feature/add-priority-to-applicants. I've hit a bit of a wall around assigning the checkbox value to the applicant priority field, as it doesn't seem to work the way I thought it could.
It seems that in the index view, you can specify a property of a relationship with dot notation, but you can't do the same for a field:
https://github.com/GCTC-NTGC/TalentCloud/blob/task/add-priority-to-applicants/app/Http/Controllers/Admin/UserCrudController.php#L77-L81
We might have to hijack the update method and set/unset the value manually.
I also grabbed the toggle control from this PR that hasn't been merged.

After discussion with @gobyrne we opted to add a boolean field to the User model instead.
PR can be found here.

Resolved by #783


Allow mark HTML tag

This tiny commit adds the <mark> tag to the whitelist.
<mark> is part of HTML5 and used to highlight a text passage marker-style. I find it very useful in wikis and since you can't really do anything evil or dangerous with it, why not whitelisting it?

:+1:

Please, anyone, let's merge this tiny improvement and then have some 🍨 – thanks!!

Thanks a branch :wink:

😄 NP.


Add Groovy DSL shugar to make kotlin.jvm.functions.Function[x] cleaner

TL;DR
If I have an extension type typeOf<() -> Unit>() I add to the Project ExtensionContainer, in the Kotlin I can access nicely but in Groovy DSL I can not.
Kotlin DSL:
someAddedExtension()

Groovy DSL:
someAddedExtension.invoke()

Detail Dive
In kotlin these are the various functional interface types.
If you do typeOf<() -> Unit>() the type becomes kotlin.jvm.functions.Function0<Unit>
Thes are some of the functions and how they are implemented in Kotlin.
package kotlin.jvm.functions

/** A function that takes 0 arguments. */
public interface Function0<out R> : Function<R> {
    /** Invokes the function. */
    public operator fun invoke(): R
}
/** A function that takes 1 argument. */
public interface Function1<in P1, out R> : Function<R> {
    /** Invokes the function with the specified argument. */
    public operator fun invoke(p1: P1): R
}
/** A function that takes 2 arguments. */
public interface Function2<in P1, in P2, out R> : Function<R> {
    /** Invokes the function with the specified arguments. */
    public operator fun invoke(p1: P1, p2: P2): R
}
...

In groovy, if you have a function of type Function0 you must invoke it using the invoke method.
I propose that Gradle offer some sugar on all of the Kotlin functional types to allow those functional types to be invoked like this:
someAddedExtension()

This sort of mechanism is already available if your extension is of type java.util.concurrent.Callable<*>. I'm not sure if this is a feature of Groovy or the Groovy Gradle DSL.
Benefit
This will provide a mechanism for Kotlin DSL plugin authors to add functions to the ExtensionContainer and allow consumers to call them consistently in both Groovy and Kotlin.

@oehme Do you know of any way that this could be done without adding a requirement in Gradle Core on the Kotlin standard library?

@JLLeitschuh do you have an example of why you'd want to have a standalone method vs packaging this into an extension class?  You're going to be able to put javadoc on the extension class, call the method in a "normal" way from Groovy/Kotlin/Java and not worry about colliding with other methods that may be added later to Gradle's API.
e.g., instead of:
someAddedExtension()

You have:
extension {
   someAdded()
}
// or
extension.someAdded()

Origin
This whole thing spun off of this discussion:
https://gradle-community.slack.com/archives/CA7UM03V3/p1539784299000100
Use Case
Yes, the use case is for this plugin:
https://github.com/wpilibsuite/GradleRIO/issues/136
(It's currently written in Groovy but there's a goal to convert it to the Kotlin DSL for next year).
That plugin adds an extension closure on the DependencyHandler.
This is where it is added:
https://github.com/wpilibsuite/GradleRIO/blob/03ce5bcddfb7d9fe98fcf9b17d2da44d1e0f353f/src/main/groovy/edu/wpi/first/gradlerio/wpi/dependencies/WPIJavaDeps.groovy#L43-L68
The API that these extensions enable in Groovy looks like this:
dependencies {
    compile wpilib()
}

This is the same syntax that has been normalized by the DependencyHandler API.
Eg:
dependencies {
    compile gradleApi()
    testCompile gradleTestKit()
}

Plugins should be able to add these sort of extension functions to DependencyHandler and the API should look the same in Kotlin or in Groovy.
Current state for Kotlin based Gradle Plugins
The simplest way to expose these sorts of extension aware extension functions when writing a Kotlin Plugin is to do something like this:
val somethingUsefulImpl = fun() {
    println("Hello world project ${project.name}!")
}
project
    .extensions
    .add(
        typeOf<() -> Unit>(),
        "doSomethingUseful",
        somethingUsefulImpl
   )

If you do this in a plugin you end up with the following extension being generated by the Kotlin DSL:
/**
 * Retrieves the [doSomethingUseful][kotlin.jvm.functions.Function0<kotlin.Unit>] extension.
 */
val org.gradle.api.Project.`doSomethingUseful`: kotlin.jvm.functions.Function0<kotlin.Unit> get() =
    (this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("doSomethingUseful") as kotlin.jvm.functions.Function0<kotlin.Unit>

This is awesome because then in the Kotlin DSL you can just do this:
somethingUseful()

But in the Groovy DSL (currently) you still have to do this:
somethingUseful.invoke()

If we want this, it should be based on core JVM types like Callable. Making it look pretty is part of each DSL.

@oehme The problem with that is that the Kotlin functions go up to 22 arguments:
This is an example of Function17
/** A function that takes 17 arguments. */
public interface Function17<in P1, in P2, in P3, in P4, in P5, in P6, in P7, in P8, in P9, in P10, in P11, in P12, in P13, in P14, in P15, in P16, in P17, out R> : Function<R> {
    /** Invokes the function with the specified arguments. */
    public operator fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17): R
}

There is no equivalent to Function[4-22] in the java standard library.

Let's worry about that when someone actually needs it. I wouldn't want 4-22 arg function calls in my build scripts. We generally do callbacks with builder style APIs

Is there something in some of the new platform/alignment dependency management work that would be a better replacement for wpilib()?
The localGroovy(), gradleApi(), gradleTestKit() aren't a great pattern to emulate and I think using normal dependency notations would be better here.

Currently, Callable is the best replacement for our use case, but there is no replacement if there is a need for 3 or more args.
For Java 8: 1 arg could be covered by java.util.function.Function<T, R>, 2 args could be covered by java.util.function.BiFunction<T, U, R>.
I'm not certain ow does the Groovy/Kotlin DSL handles these types.


Dead-Lock in BlockingCache

The current implementation in BlockingCache are as follows:
public Object getObject(Object key) {
acquireLock(key);
Object value = delegate.getObject(key);
if (value != null) {
releaseLock(key);
}
return value;
}
If getObject() is invoked by multi-threads and delegate is empty, the lock won't release. Is it dangerous?

I have just commented on #1410 .
getObject() should always be followed by putObject().


Error Loading main page

Environment
Docker
Version
No response
Describe the problem
After deploy container work ok but saddlery stop working.
Use this yaml
version: '3'
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /run/podman/podman.sock:/var/run/docker.sock # Necesario solo si deseas integración con Docker
- ./homarr/configs:/app/data/configs
- ./homarr/icons:/app/public/icons
- ./homarr/data:/data
labels:
- "traefik.enable=true"  # Exponer el servicio a Traefik
# - "traefik.http.routers.homarr.rule=PathPrefix(/dashboard)"
- "traefik.http.routers.homarr.rule= Host(dashboard.skyones.co)"
- "traefik.http.routers.homarr.entrypoints=web"  # Enrutar a través del entrypoint 'web' (puerto 80)
- "traefik.http.services.homarr.loadbalancer.server.port=7575"  # Puerto del contenedor Homarr
networks:
- traefik_net  # Conexión a la red externa
networks:
traefik_net:
external: true
Logs
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ tsx ./migrate.ts
Done in 1.41s.
Starting production server...
Listening on port 7575 url: http://d9e568fecb6f:7575
TypeError: fetch failed
at Object.fetch (/app/node_modules/next/dist/compiled/undici/index.js:1:26669)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getServerSideProps (/app/.next/server/pages/manage/about.js:828:26) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (/app/node_modules/next/dist/compiled/undici/index.js:1:82152)
at /app/node_modules/next/dist/compiled/undici/index.js:1:81644
at Immediate._onImmediate (/app/node_modules/next/dist/compiled/undici/index.js:1:82034)
at process.processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
Context

Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

ERROR  Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'UnPkg': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'GitHub': TypeError: fetch failed
ℹ Local icons repository directory exists and contains 0 icons
ERROR  Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'JsDelivr': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'UnPkg': TypeError: fetch failed
ERROR  Failed to fetch icons from repository 'GitHub': TypeError: fetch failed


TypeError: nil can't be coerced into Float

I get this error when I run Polylines::Decoder.decode_polyline(encoded_points).
But, the same points works fine in Google's interactive decoder.
E.g. encoded_points = "epnyHvtb@DuAfAl@t@nDzAnAnm@mq@yi@iqBdn@w_Bas@mUi[i[TcCfAq@B\qBe@r@_@aGbJ"
Any idea why this could be happening?

Would also like to confirm this bug when attempting to decode the polyline:
kbdoH{ioqCoF_j@Lwc@lC{BhNoMzCuJbEm]?wKkBaQmD}EqM_GwFiBfCge@zE_K~SaTdT`L|Da\\\\xJsX|EyJtQgPpXuRjKAtJqBfM[pn@g^nF}G??

Happens here:  https://github.com/joshuaclayton/polylines/blob/master/lib/polylines/decoder.rb#L13

@donkey-hotei it looks like this works well with FastPolylines at least! However, to debug such issue, we should also have the array of locations once decode.
@joshuaclayton I have more information on the issue, transform_to_array_of_lat_lng_and_deltas is returning an array of 55 elements, which should not be possible. And it seems like there should be 54 of those, hence a quick and dirty fix would be:
diff --git a/lib/polylines/decoder.rb b/lib/polylines/decoder.rb
index f8479a4..eda432c 100644
--- a/lib/polylines/decoder.rb
+++ b/lib/polylines/decoder.rb
@@ -7,7 +7,7 @@ module Polylines
       [].tap do |points|
         points << [points_with_deltas.shift, points_with_deltas.shift]

-        while points_with_deltas.any?
+        while points_with_deltas.size > 1
           points << [
             points.last[0] + points_with_deltas.shift,
             points.last[1] + points_with_deltas.shift

@BuonOmo thanks for pointing out the fix, and @sridharraman @donkey-hotei for highlighting the issue! I was able to capture the failure in a test, apply the change, and I've just published 0.4.0.


Add epeg

Motivation for this change
epeg (library and application) allows for very fast jpeg downscaling.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build epeg

Success on x86_64-linux (full log)
Attempted: epeg
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>
shrinking /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>/lib/libepeg.so.0.9.1
shrinking /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>/bin/epeg
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>/lib  /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>
checking for references to /build in /nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>...
/nix/store/az6mgbqwydakqjr7flhpqgkfryf08w4i-epeg-<IP_ADDRESS>

Success on x86_64-darwin (full log)
Attempted: epeg
Partial log (click to expand)
make[2]: Nothing to be done for 'install-exec-am'.
 /nix/store/5lkrw9dnsgy62qm1ampvww1c5n1pdm4b-coreutils-8.29/bin/mkdir -p '/nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>/lib/pkgconfig'
 /nix/store/5lkrw9dnsgy62qm1ampvww1c5n1pdm4b-coreutils-8.29/bin/install -c -m 644 epeg.pc '/nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>/lib/pkgconfig'
make[2]: Leaving directory '/private/tmp/nix-build-epeg-<IP_ADDRESS>.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-epeg-<IP_ADDRESS>.drv-0/source'
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>/lib  /nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>
/nix/store/9vyq5saahy424r70afvkf8yj8liag795-epeg-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: epeg
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>
shrinking /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>/bin/epeg
shrinking /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>/lib/libepeg.so.0.9.1
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>/lib  /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>
checking for references to /build in /nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>...
/nix/store/1nhdsrn10nq7ndv44li0h9pb003ih6r0-epeg-<IP_ADDRESS>


Build error on Cygwin/MinGW-w64

I have following error during building mbedtls 2.2.1 on Cygwin/MinGW-w64 (x86 platform)
[ 15%] Building C object library/CMakeFiles/mbedcrypto.dir/threading.c.obj
[ 15%] Building C object library/CMakeFiles/mbedcrypto.dir/timing.c.obj
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/winsock.h:36:0,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h:92,
                 from /home/user/Development/mbedtls-bfafadb45daf8d2114e3109e2f9021fc72ee36bb/library/timing.c:49:
/usr/i686-w64-mingw32/sys-root/mingw/include/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types.
      This can cause runtime problems with W32 sockets" [-Wcpp]
 #warning "fd_set and associated macros have been defined in sys/types.  \
  ^
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h:92:0,
                 from /home/user/Development/mbedtls-bfafadb45daf8d2114e3109e2f9021fc72ee36bb/library/timing.c:49:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock.h:299:34: error: conflicting types for ‘select’
   WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
                                  ^
In file included from /usr/include/sys/types.h:68:0,
                 from /usr/include/stdio.h:48,
                 from /home/user/Development/mbedtls-bfafadb45daf8d2114e3109e2f9021fc72ee36bb/include/mbedtls/platform.h:47,
                 from /home/user/Development/mbedtls-bfafadb45daf8d2114e3109e2f9021fc72ee36bb/library/timing.c:31:
/usr/include/sys/select.h:73:5: note: previous declaration of ‘select’ was here
 int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
     ^

cmake configuration:
cmake /home/user/Development/mbedtls-bfafadb45daf8d2114e3109e2f9021fc72ee36bb/ \
-DCMAKE_INSTALL_PREFIX:PATH=/home/user/usr \
-DCMAKE_C_COMPILER="i686-w64-mingw32-gcc" -DCMAKE_C_COMPILER_ARG1="-m32 " \
-DCMAKE_CXX_COMPILER="i686-w64-mingw32-g++" -DCMAKE_CXX_COMPILER_ARG1="-m32 " \
-DCMAKE_SYSTEM_NAME=Windows -DCMAKE_RC_COMPILER=`which i686-w64-mingw32-windres` \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON -DENABLE_PROGRAMS=OFF \
-DENABLE_ZLIB_SUPPORT=ON -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/home/user/usr -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE

$ i686-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=i686-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/5.3.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: /cygdrive/i/szsz/tmpp/cygwin64/mingw64-i686/mingw64-i686-gcc-5.3.0-1.i686/src/gcc-5.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/cygwin64/mingw64-i686/mingw64-i686-gcc-5.3.0-1.i686/src/gcc-5.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/mingw64-i686-gcc --htmldir=/usr/share/doc/mingw64-i686-gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-w64-mingw32 --without-libiconv-prefix --without-libintl-prefix --with-sysroot=/usr/i686-w64-mingw32/sys-root --with-build-sysroot=/usr/i686-w64-mingw32/sys-root --disable-multilib --disable-win32-registry --enable-languages=c,ada,c++,fortran,lto,objc,obj-c++ --enable-fully-dynamic-string --enable-graphite --enable-libgomp --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-version-specific-runtime-libs --with-dwarf2 --with-gnu-ld --with-gnu-as --with-tune=generic --with-cloog-include=/usr/include/cloog-isl --with-system-zlib --libexecdir=/usr/lib
Thread model: win32
gcc version 5.3.0 (GCC)

Update: Same error when building version 2.3.0

When I disabled zlib support, it was built without errors.


Plate & Handwireing

The plates are probably not meant to be used in handwired keyboard?

Yeah, the plates were not made for handwired keyboards.

I remixed the one without support an added some cylinders for screws. It's not perfect but it will do. Just need to drill the holes in the bottom parts. Will have some issues to align the keyboard but I think I will manage :)


Generate Debug Binaries in CI

Change Description
From AUTO-363, Blockchain asked that we publish a Debian package produced by a debug build in the EOSIO pipeline. Having both a debug and release build, both of which are built in the same environment, will allow them to swap between debug and release builds during debugging without having to wait around for two local builds.
See Also

Pull Request 9940 -- eos:develop
Pull Request 9943 -- eos:release/2.1.x
Pull Request 9944 -- eos:release/2.0.x
Pull Request 9945 -- eos:release/1.8.x

Change Type
Select ONE:

[ ] Documentation
[ ] Stability bug fix
[x] Other
[ ] Other - special case

Testing Changes
Select ANY that apply:

[ ] New Tests
[ ] Existing Tests
[ ] Test Framework
[x] CI System
[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

I don't have access to AUTO-363 so I can't see the reasoning for this. But does it make any sense to do a RelWithDebInfo instead?

I don't have access to AUTO-363 so I can't see the reasoning for this. But does it make any sense to do a RelWithDebInfo instead?

I don't have access to AUTO-363 so I can't see the reasoning for this.

I always copy the JIRA ticket description to my pull request body so that community contributors have visibility into my changes, so the ticket just says the same thing. The link is for traceability. Is the pull request body description unclear? I can expand on what I have written.

But does it make any sense to do a RelWithDebInfo instead?

That's up to you guys, whatever would be most useful for you trying to debug errors. I did some reading on the differences and it looks like debug binaries contain a bit more tooling than release with debugging info binaries. I don't want you to end up in a situation where the binary provided is insufficient for what you are trying to do.
However, from my reading, it looks like there are situations where bugs appear in release and release with debugging info binaries, but not debugging binaries. So should we just build all three?

I don't have access to AUTO-363 so I can't see the reasoning for this.

I always copy the JIRA ticket description to my pull request body so that community contributors have visibility into my changes, so the ticket just says the same thing. The link is for traceability. Is the pull request body description unclear? I can expand on what I have written.

But does it make any sense to do a RelWithDebInfo instead?

That's up to you guys, whatever would be most useful for you trying to debug errors. I did some reading on the differences and it looks like debug binaries contain a bit more tooling than release with debugging info binaries. I don't want you to end up in a situation where the binary provided is insufficient for what you are trying to do.
However, from my reading, it looks like there are situations where bugs appear in release and release with debugging info binaries, but not debugging binaries. So should we just build all three?


New version of Rainmaker not working (MEGH-5906)

Answers checklist.

[X] I have read the Rainmaker documentation and the issue is not addressed there.
[X] I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
[X] I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

General issue report
Hello,
iam facing issue when i updated ESP Rainmaker app on IOS from V3.2.0 to  V3.2.1 , app now stuck in "confirming Node association" and receive error below , device not added to app but the esp32 appears to be already connected to wifi .
i made the steps on Android app and it's working fine . ???

here is a brief of my setup

Iphone 11 , 17.5.1 ios
Arduino IDE 2.3.2
ESP32 core 3.0.4
ESP RainMaker App V3.2.1
code "RMakerSwitch" sample without single change on it .  RMakerSwitch.ino

below is serial Monitor log
21:19:02.527 -> [  6331][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:19:02.571 -> [  6346][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:19:02.571 -> [  6353][I][WiFiProv.cpp:143] beginProvision(): Starting AP using BLE. service_name : PROV_1234, pop : abcd1234
21:19:03.021 ->
21:19:03.021 -> Provisioning Started with name "PROV_1234" and PoP "abcd1234" on BLE
21:19:03.068 -> Scan this QR code from the ESP RainMaker phone app.

21:19:03.199 ->   █ ▀▀▀ █ ▄▄▀▀▄ ▄▀  █▀█▀▀███▄▀█ █▄█
21:19:03.199 ->   ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀  ▀▀▀▀▀▀▀

21:19:03.239 -> If QR code is not visible, copy paste the below URL in a browser.
21:19:03.239 -> https://rainmaker.espressif.com/qrcode.html?data={"ver":"v1","name":"PROV_1234","pop":"abcd1234","transport":"ble"}
21:19:40.145 -> E (52540) esp_rmaker_core: Node connected to Wi-Fi without Assisted claiming. Cannot proceed to MQTT connection.
21:19:40.203 -> E (52540) esp_rmaker_core: Please update your phone apps and repeat Wi-Fi provisioning with BLE transport.
21:19:51.253 -> E (63647) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259

and after i restart the ESP32
21:33:22.094 -> [   112][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:33:22.139 -> [   126][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:33:22.139 -> [   133][I][WiFiProv.cpp:159] beginProvision(): Already Provisioned
21:33:22.139 -> [   139][I][WiFiProv.cpp:163] beginProvision(): Attempting connect to AP: xxxxxxx
21:33:22.139 ->
21:33:22.233 -> E (220) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259
21:33:23.245 -> [  1224][E][STA.cpp:302] begin(): NETIF_STARTED_BIT not set! try to connect anyway...

Could someone please advise how to correct this, and whether the issue from the app or not .
.
.

also i'll be thankful if someone could advice how to add in custom device the value ? see below

and one last thing i want the app to send notification when value reach a certain number , i used ( updateAndNotifyParam ) but it's not working and i got

Compilation error: 'class Device' has no member named 'updateAndNotifyParam'; did you mean 'updateAndReportParam'?

how can i do this .
thanks alot
.

i'll be happy for any suggestion

Hi @fmb787 couple of questions:

Have you also tried with Android App and face same issue?
Can you perform a factory reset (Press and hold boot button for ~10seconds) and then try provisioning again?

Hello @vikramdattu  thanks for your reply ,

yes i tried with Android App and it's working fine ( i mentioned this in my discretion )
yes i have perform a factory reset (10seconds) and WiFi reset (3seconds) with same issue .

is there any workaround way ! i can use/fix then will build app by myself .

Hi @fmb787 we are able to reproduce the issue and are looking into this.

Hello @vikramdattu thanks for your reply ,

yes i tried with Android App and it's working fine ( i mentioned this in my description)
yes i have perform a factory reset (10seconds) and WiFi reset (3seconds) with same issue .

Just ran into the same issue here. Same details.

Same Exact error for me as well. with the led_ight and switch example. I just built it, flashed it and it didn't work.

iOS app with fix for assisted claiming is now available on the app store (v3.2.2)


autojoinServer is not defined

Hmm , you might need to "import config" and then do config.autojoinServer
because now it is like from config import *


Bug with programmatically dragging content controller

1/ I don't understand why we need "animation" private property? It does not contain any information after user dragged manually content (this property is not resetted anywhere).
2/ How I can programmatically drag content? If I set contentOffset for contentView, then I see next:  if user dragged content already, then it works, but if user did not drag yet, then it does not work. It happens because "animation" property is false

I use animation to differentiate scroll action between dragging and tap menuview. (for some reason i dont want it call  menuView?.slideMenuAtProgress(rate) in scrollViewDidScroll when user tapped the item)
I don't konw whether the property selectedIndex can meet your needs? For example, if you want show the second page, just set pageController.selectedIndex = 1, hope that helps.

Unfortunately, no. It will not help me. I need scroll contentView and myView together. So, I observe "contentOffset" of contentView and when it is changed, I change contentOffset of myView. But when myView contentOffset is changed, I need change contentOffset of contentView, and it works properly when animate property is true.

On 31 Mar 2016, at 18:21, Wang Ming<EMAIL_ADDRESS>wrote:
I use animation to differentiate scroll action between dragging and tap menuview. (for some reason i dont want it call menuView?.slideMenuAtProgress(rate) in scrollViewDidScroll when user tapped the item)
I don't konw whether the property selectedIndex can meet your needs? For example, if you want show the second page, just set pageController.selectedIndex = 1, hope that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/wangmchn/WMPageController-Swift/issues/6#issuecomment-203960404

Mmmm..if you dont want pageAnimation = true, just delete animation property, it's no use if pageAnimation = false.

Problem is that I use Pods, but animate property is private. I cannot remove it or set true value
--
Alex

31 марта 2016 г., в 19:42, Wang Ming<EMAIL_ADDRESS>написал(а):
Mmmm..if you dont want pageAnimation = true, just delete animation property, it's no use if pageAnimation = false.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

If I make animate property public, will it be fine for you to set true before programmatically dragging it?

I have made it public and changed the name from animate to startDragging. Tell me whether it works - -

Problem was not animate property only. For solution this issue I implemented scroll view delegate methods for my scroll view and called these methods for pageController.
For example(I have iCarousel, but it will work with another scrollView):
func carouselWillBeginDragging(carousel: iCarousel) {
guard let page = self.pageMenuView?.pageController else { return }
guard let contentView = page.contentView else { return }
page.scrollViewWillBeginDragging(contentView)
}
func carouselDidEndDecelerating(carousel: iCarousel) {
guard let page = self.pageMenuView?.pageController else { return }
guard let contentView = page.contentView else { return }
page.scrollViewDidEndDecelerating(contentView)
}
func carouselDidEndScrollingAnimation(carousel: iCarousel) {
guard let page = self.pageMenuView?.pageController else { return }
guard let contentView = page.contentView else { return }
page.scrollViewDidEndScrollingAnimation(contentView)
}
func carouselDidEndDragging(carousel: iCarousel, willDecelerate decelerate: Bool) {
guard let page = self.pageMenuView?.pageController else { return }
guard let contentView = page.contentView else { return }
var point = calculateTargetContentOffsetFrom(carousel)
let p = withUnsafeMutablePointer(&point) { $0 }
page.scrollViewWillEndDragging(contentView, withVelocity: CGPointZero, targetContentOffset: p)
page.scrollViewDidEndDragging(contentView, willDecelerate: true)
}

Hey, @AlexIzh
Sorry for replying late.
I have made a demo, is that what you want? (scroll the top view and contentview scroll togather)
In your code, I dont understand what is pageMenuView? And why it has a pageController.
Here is the Example:
Example.zip


Avoid invalid node moves

If you try to move a user group under one of its child groups (logically incorrect), the site may become unavailable.
Let's avoid this.

Excellent, thank you.


Standalone cross compilation toolchain

Hi @vladimiroltean ,
Just a question concerning your example of standalone toolchain. I am actually working on LS1021ATSN and I need to cross compile some libraries. For this I would prefer to have some static libraries, and so having a standalone toolchain too for cross compilation. But with your methods, CMake is not compatible. Do you have any clean solution to pass from buildroot to a standalone toolchain ?

But with your methods, CMake is not compatible.

Have you tried setting
export CMAKE_PREFIX_PATH="${SYSROOT_PATH}/usr"

Do you have any clean solution to pass from buildroot to a standalone toolchain ?

I don't understand what it means to "pass from buildroot to a standalone toolchain"/

You were right, this env variable was the issue. Thanx for your quick answer !


of and /

when you view a course, some people have their activities displayed as x of y while others have x / y

@ngmhprogramming hi ngm, when users submit/update progress from their own session by "Update Path Progress", the activities will be displayed as "x of x".
When course instructors refresh the course page (from instructor view, there is a "Refresh" button), the activities will be displayed as "x/x".
In a way, this "bug" has allowed us to see how many users choose to update their path progress on their own :)


Mention the text length in the about me section and the work experience section.

As I faced an issue in #333
I think it would be nice if the max text length is mentioned in the about me and work experience sections.

Fixed


Fix for File Upload filter type parameter.

I made a small change in reference to this issue, I explain my findings in there: (https://github.com/zfcampus/zf-apigility-admin/issues/287)
It seems that when checking a field's "File Upload" checkbox and saving the type parameter sent was bool(true). But the backend was waiting on a class string.
In files apigility-ui/modal/new-field.html and apigility-ui/modal/edit-field.html there was this input
<input type=\"checkbox\" ng-model=\"vm.field.type\" value=\"Zend\\InputFilter\\FileInput\" class=\"col-sm-2 control-label\">
It seems that the intent was to send value Zend\InputFilter\FileInput when checked but angular sends in bool(true) instead. In reference to this: (https://docs.angularjs.org/api/ng/input/input[checkbox])
When wanting to send a string value when checked the attribute ng-true-value needs to be set.
I changed that input to this in both those files
<input type=\"checkbox\" ng-model=\"vm.field.type\"ng-true-value=\"Zend\\InputFilter\\FileInput\" class=\"col-sm-2 control-label\">
I then ran "grunt build" and it fixed the problem for me. The save was successful.
It seems I wasn't the only one that hit this issue so I thought I'd share my findings.

@krawlr thanks for this PR! I just checked and we also need to be sure to remove the type field if we uncheck the File Upload checkbox. I close this PR in favor of #61.


[Event Request] codeunit 5751 "Get Source Doc. Inbound" - Event for procedure OpenWarehouseReceiptPage

Can we get the following events for the "Get Source Doc. Inbound" Codeunit: OnOpenWarehouseReceiptPage
   local procedure OpenWarehouseReceiptPage()
    var
        WarehouseReceiptHeader: Record "Warehouse Receipt Header";
        ///
        IsHandled: Boolean; ///NEW
    ///
    begin
        GetSourceDocuments.GetLastReceiptHeader(WarehouseReceiptHeader);
        ///
        IsHandled := false; ///NEW
        OnOpenWarehouseReceiptPage(WarehouseReceiptHeader, IsHandled, ServVendDocNo); ///NEW
        if IsHandled then ///NEW
            exit; ///NEW
        ///
        PAGE.Run(PAGE::"Warehouse Receipt", WarehouseReceiptHeader);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnOpenWarehouseReceiptPage(WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var IsHandled: Boolean; ServVendDocNo: Code[20])
    begin
    end;

There is no local or global variable ServVendDocNo.
Shall I add this event without ServVendDocNo?

We need this as global variable for a few Events in Codeunit "
codeunit 5751 "Get Source Doc. Inbound"
{

    trigger OnRun()
    begin
    end;

    var
        GetSourceDocuments: Report "Get Source Documents";
        ///
        ServVendDocNo: Code[20]; ///NEW
    ///-

The same for Event Request 7979
I will update it there as well

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Sunburst usability improvements

Sunburst usability improvements:

[ ] reduce free space around (comparing with e.g. Pie Chart)
[ ] sorting is not reflected on the fly

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16758


Missing class after navigation

Hello,
There is a behavior that is not consistent between the first page load and after hydration.
Starting from a template like:
cargo leptos new --git leptos-rs/start-axum

Adjust the App code to something like:
#[component]
pub fn Home(cx: Scope) -> impl IntoView {
    view! { cx,

            "Home is green uppercase"

    }
}

#[component]
pub fn Other(cx: Scope) -> impl IntoView {
    view! { cx,

            "Other is red underline"

    }
}

#[component]
pub fn App(cx: Scope) -> impl IntoView {
    view! { cx,
        <Router>

                Home
                Other

                <Routes>
                    <Route path="" view=Home/>
                    <Route path="other" view=Other/>
                </Routes>

        </Router>
    }
}

Repro steps:

Load the page, all fine

Home is green uppercase

Click on Other to navigate, the underline class is missing

Other is red underline

Refresh the page, all fine again

Other is red underline

The workaround is to combine all classes in a single class=format!("everything {}", and_more) but that's a bit limiting.
Thank you :)

This should use the second value you provide in both cases; the inconsistency between the SSR version and the client-rendered version is unfortunate but the client-rendered version which only uses the second of the two values is the correct behavior. This is expected to behave like HTML: providing multiple of the same attribute overrides the previous value.

Fair enough :)
From the documentation, because we can also write dynamic classes like:

It felt that multiple class= would be combined.

The intended form for this is

The class=("something", true) syntax is solely a workaround for very complicated class names that our view macro parser can't handle properly like class:some-crazy-tailwind-[var(--something-200)]

Alright, thanks for the explanations :)


[Feature Request] Limit by total attributes value (scrapbook)

I'd like to have a limiter on the attributes of the enemies.
Generally this is what I'm using to choose either to fight someone or not.
It would be nice to have an input field to limit the enemies that the program is adding to fight

same request 🙏


fix: ng generate on default project

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions
Angular CLI: 7.0.1
Node: 10.10.0
OS: darwin x64
Angular: 7.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.10.1
@angular-devkit/build-angular      0.10.1
@angular-devkit/build-ng-packagr   0.10.1
@angular-devkit/build-optimizer    0.10.1
@angular-devkit/build-webpack      0.10.1
@angular-devkit/core               7.0.1
@angular-devkit/schematics         7.0.1
@angular/cli                       7.0.1
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.0.1
@schematics/angular                7.0.1
@schematics/update                 0.10.1
ng-packagr                         4.3.1
rxjs                               6.3.3
typescript                         3.1.3
webpack                            4.19.1

Repro steps

Create a workspace, generate a library and set it as the default project. Now generate a component without supplying a project. It will generate the component at src/app.

Create a workspace without an application (--create-application false), generate a library and an application, and set the library as the default project. Now generate a component without supplying a project. It will generate the component at projects/my-lib.

Desired functionality
I think it would be better if it always used the default project.

Duplicate of: https://github.com/angular/angular-cli/issues/11111


chore(orchestrator): updates the orchestratorclient

https://issues.redhat.com/browse/FLPATH-761
This is still WIP, I'm sending this PR in order to prevent sending a large PR later.
Changes:

Lazy loads the baseUrl
Adds a method for calling GET /workflows/overview
Renames the components displaying the content inside the tabs

Let's try to use the "Squash and Merge" option next time. It will help with the cherry-picks later.


Fixed a typo in the Report title

before

after

@gtanzillo do we need a data migration for this typo fix in OOTB Teport title?

Jansa backport details:
$ git log -1
commit 6625bb67c9246a23daddf1e0419b1e71d7a8728a
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Sun May 31 10:07:55 2020 -0400

    Merge pull request #20227 from h-kataria/typo_fix

    Fixed a typo in the Report title

    (cherry picked from commit af9ee0f6d79fc78037652e37e6b9a18ea59f7ffd)


Shape errors occur after compiling keras model with tf.keras.losses.CategoricalCrossentropy

System information

OS Platform and Distribution:  Linux Ubuntu 18.04
TensorFlow installed from (source or binary): binary
TensorFlow version: 1.13.1
Python version: 3.6.3

Describe the current behavior
If I want to specify, for example, a reduction method of the loss function, I will need to explicitly create an instance of tf.keras.losses.CategoricalCrossentropy and pass it to model.compile() instead of passing the "categorical_crossentropy" keyword. However, compiling a model with an instance of tf.keras.losses.CategoricalCrossentropy results in the following shape error when calling model.fit() afterwards:
InvalidArgumentError: logits and labels must have the same first dimension, got logits shape [1000,10] and labels shape [10000]
	 [[{{node loss_18/dense_37_loss/CategoricalCrossentropy/SparseSoftmaxCrossEntropyWithLogits/SparseSoftmaxCrossEntropyWithLogits}}]]

Describe the expected behavior
I was expecting similar behavior for both "categorical_crossentropy" and tf.keras.losses.CategoricalCrossentropy.
Code to reproduce the issue
A short MNIST example. I realized that removing the to_categorical transformation resolves the shape errors but the model does not learn properly anymore.
from tensorflow.python.keras.datasets import mnist
from tensorflow.python.keras.utils import to_categorical

import tensorflow as tf
import numpy as np

(X_train, y_train), (X_test, y_test) = mnist.load_data()

X_train, X_test = X_train.astype(float)/255, X_test.astype(float)/255
X_train, X_test = X_train.reshape(len(X_train),28,28,1), X_test.reshape(len(X_test),28,28,1)
y_train, y_test = to_categorical(y_train), to_categorical(y_test)

# model definition
model = tf.keras.Sequential([
      tf.keras.layers.Conv2D(16, 8,
                             strides=2,
                             padding='same',
                             activation='relu',
                             input_shape=(28, 28, 1)),
      tf.keras.layers.MaxPool2D(2, 1),
      tf.keras.layers.Conv2D(32, 4,
                             strides=2,
                             padding='valid',
                             activation='relu'),
      tf.keras.layers.MaxPool2D(2, 1),
      tf.keras.layers.Flatten(),
      tf.keras.layers.Dense(32, activation='relu'),
      tf.keras.layers.Dense(10, activation="softmax")
  ])

optimizer = tf.train.GradientDescentOptimizer(learning_rate=0.1)

# this causes errors
loss = tf.keras.losses.CategoricalCrossentropy(from_logits=False)

# using the keyword, everything works
# loss = "categorical_crossentropy"

# Compile model with Keras
model.compile(optimizer=optimizer, loss=loss, metrics=['categorical_accuracy'])

# Train model with Keras
model.fit(X_train, y_train, epochs=5, batch_size=1000,
          validation_data=(X_test, y_test), verbose=2)

Thank you!

@philgras  : I was able to replicate the output with the code snippet provided on Colab (TensorFlow version 1.13.1).

@philgras I think this is intended behavior. loss = "categorical_crossentropy"  expects targets to be binary matrices (1s and 0s) of shape (samples, classes). If you use loss = tf.keras.losses.CategoricalCrossentropy(from_logits=False) , it was expecting integer classes for targets. Thanks!

@philgras I tried running the sample code snippet in TF 1.13.1 and was not able to repro the difference in behavior between using tf.keras.losses.CategoricalCrossentropy(from_logits=False) and "categorical_crossentropy".

@pavithrasv Here is the Github gist that works without any issue. Here is the gist that throws an error. Between the two gists, there was only one line change. In the second gist, tf.keras.losses.CategoricalCrossentropy is expecting integer classes as input but categorical classes were given as input. Thanks!

Thank you @jvishnuvardhan. I see the issue now. Looks like it has been fixed already as it does not repro in TF 2.0 alpha or the nightly release.

Thank you @jvishnuvardhan. I see the issue now. Looks like it has been fixed already as it does not repro in TF 2.0 alpha or the nightly release.

Thank you @jvishnuvardhan. I see the issue now. Looks like it has been fixed already as it does not repro in TF 2.0 alpha or the nightly release.

Closing the PR now, please feel free to re-open if you see that the issue is not fixed.


How to build hiredis on windows (Visual studio 2010)

Is there any guidelines for this?
Thanks

the full hiredis project does not support Windows. The parser part can be used on Windows (and is used in several other libraries now), but the rest is not Windows compatible at all.

Okay in the case that I would like to create the redis client (dll) on windows is there any recommended library?

You can't. Hiredis simply does not work on Windows. There might be a fork around that works (see #52) or you can look for another client.

Thanks, for the clarification.
One last question, I see that some of the files below are working with WIN32 what are they used for?
https://github.com/redis/hiredis/commit/ec229678c22e673e8d48070593f7b028a514882a

It's in the commit message:

Added support for compiling the parser code with Microsoft Visual C compiler.
For hiredis-py and others support on windows.

You can try building this: https://github.com/kylejan/hiredis-msvc.git

You can try building this: https://github.com/kylejan/hiredis-msvc.git
Does it uses latest hiredis? Will it work on Win64? I can compile it however how to use it, are there any dependencies?


Allow building with Roslyn compilers

Add a dependency on the Roslyn compilers NuGet. Copy binaries to the output
directory and load props file that overrides the compiler tasks parameter so
that they use the new compilers (controled by a property).

Hi @ValMenn, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

LGTM


Code - Insiders Helper taking up 100% of CPU even after VSCode is closed

Versions

VSCode Version: 1.24.0-insider
OS Version: macOS High Sierra 10.13.4

Steps to Reproduce
Don't really have a reliable way to reproduce this. I've noticed my computer's fan being on a lot more in the past couple of days. It still happens with all my extensions disabled, and even if I quit VSCode altogether.
If I force quit the process, it stops for the time being, but it usually comes back after a while
Does this issue occur when all extensions are disabled?
Yes

Update: This may have something to do with cpu-intensive terminal tasks in the integrated terminal

Was running into this earlier today as well.

Haven't had a repeat of this particular issue over the past two days since I commented about experiencing it as well.

Can you run code --status in a terminal when this occurs? That should reveal which process the problem is occurring on. I suspect it's tsserver as I also saw this.

Don't know if this was another occurrence or something to do with a plugin.
Version:          Code - Insiders 1.25.0-insider (28d5806f24f99c2c6ad633e4e08ed5ea00169c83, 2018-06-11T05:11:22.150Z)
OS Version:       Darwin x64 17.6.0
CPUs:             Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)
Memory (System):  16.00GB (0.39GB free)
Load (avg):       4, 3, 2
VM:               0%
Screen Reader:    no
Process Argv:     /Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron
GPU Status:       2d_canvas:                    enabled
                  checker_imaging:              disabled_off
                  flash_3d:                     enabled
                  flash_stage3d:                enabled
                  flash_stage3d_baseline:       enabled
                  gpu_compositing:              enabled
                  multiple_raster_threads:      enabled_on
                  native_gpu_memory_buffers:    enabled
                  rasterization:                enabled
                  video_decode:                 enabled
                  video_encode:                 enabled
                  webgl:                        enabled
                  webgl2:                       enabled

CPU %   Mem MB     PID  Process
    0      115   90138  code-insiders main
    0      197   90139     gpu-process
    0       98   90141     shared-process
    0      311   91676     window (readme.md — ducks)
   99      131   91677       extensionHost
    0        0   92395         (Python)
    0       49   92412         electron_node jsonServerMain.js
    0       49   91678       watcherService
    0       33   91679       terminal
    0        0   91680         /usr/local/bin/zsh -l

Workspace Stats:
|  Window (readme.md — ducks)
|    Folder (ducks): 3 files
|      File types: json(1) md(1) js(1)
|      Conf files: package.json(1)

[10131:0616/195305.737461:WARNING:dns_config_service_posix.cc(156)] dns_config has unhandled options!

Version:          Code - Insiders 1.25.0-insider (7dc9539a421c9c33e57e2ce0b718f183bb44c756, 2018-06-15T05:12:05.222Z)
OS Version:       Darwin x64 17.6.0
CPUs:             Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz (8 x 3100)
Memory (System):  16.00GB (0.18GB free)
Load (avg):       3, 3, 2
VM:               0%
Screen Reader:    no
Process Argv:     /Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_745654
GPU Status:       2d_canvas:                    enabled
                  checker_imaging:              disabled_off
                  flash_3d:                     enabled
                  flash_stage3d:                enabled
                  flash_stage3d_baseline:       enabled
                  gpu_compositing:              enabled
                  multiple_raster_threads:      enabled_on
                  native_gpu_memory_buffers:    enabled
                  rasterization:                enabled
                  video_decode:                 enabled
                  video_encode:                 enabled
                  webgl:                        enabled
                  webgl2:                       enabled

CPU %   Mem MB     PID  Process
    4      131    7647  code-insiders main
    6      147    7648     gpu-process
    0      197    7649     window (webpack.config.js — git-it)
    0       66    7931       extensionHost
    0      197    7933         electron_node electronForkStart.js tsserver.js
    0       66    7934           electron_node typingsInstaller.js tsserver.js typesMap.js
    0       49    7932       watcherService
    0       98    7935     shared-process
   23      377    8434     window (index.js — webpack-babel-test)
    0       98    8437       extensionHost
   99      213    8439         electron_node electronForkStart.js tsserver.js
    0       82    8440           electron_node typingsInstaller.js tsserver.js typesMap.js
    0       66    8729         electron_node jsonServerMain.js
    0       49    8438       watcherService
    0       49    8444       terminal
    0        0    8445         /bin/bash -l
    0        0   10120           bash /usr/local/bin/code-insiders --status
   16       33   10130             electron_node cli.js
    0       49    8724       searchService

In my case, looks like tsserver.js is causing the high CPU usage. This is the first time I've tried code --status, so not sure if this is always the case. Will run it next time it happens to see if it's the same thing causing it

@chrisdothtml Thanks. Is the CPU usage constantly high or just when you first open the folder or perform some operation in the editor?
Can you also upgrading upgrading your workspace to use typescript@next by following these instructions


kill display_top_tabs()

Reminder to remove all remaining instances, should be in the menu or otherwise refactored.

Can't kill those easily, needs #508


Added known issue around Maven 3.9

The issue is fixed as part of https://github.com/Azure/reliable-web-app-pattern-java/issues/35


Adding Magic Leap 2 Controller Interaction Profile

This MR adds the Magic Leap 2 Controller Interaction Profile.

@BastiaanOlij here is the Magic Leap 2 OpenXR interaction profile.

Note that the commits should be squashed. See PR workflow for instructions.
But might be worth for waiting first for Bastiaan to update OpenXR.

I'll update it tomorrow, today just totally got away from me, too much to do :)

@akien-mga I've squashed the MR. Ready to go now.

Thanks!


Failed to import Component Diagram from EA XMI 1.1 export

I have tried with several EA XMI 1.1 and 2.1 exports of a Component Diagram but in the end it failed with:
Uncaught TypeError: Cannot read properties of undefined (reading 'geometry')
Input file:
Export.zip

In that component diagram, you seem to be using realization and interfaces. These two features are not yet supported.
I am attaching a simple component diagram exported from EA that works. Rename it to .XML.
[component_diagram_exported_from_ea.txt](https://github.com/jmcklondonuk/drawio_enterprise_architect_integration/files/14517962/component_diagram_exported_from_ea.txt)

@Marius-U Thanks for submitting your pull request. I reviewed it and made a few comments. Once you handle them. I will merge it with master.


cicd-catalog updates

Generalize deploy-go-tests with additional parameters so that the pipeline using this task can be used in different environment (node names, interface names,..)
Make task and pipeline catalog able to be created from argoCD appset
catalog created in ns vse-cicd-catalog to be consumed from managed cluster ns

Looks good, although we should think about a README here with instructions / context at some point for this, just to aid the user / reader.

will open branch for adding instructions. It will be a good idea to do it for every repo.


Decorate README.md file

I have updated the readme file at #18, and have changed our repo name.

Include the testing and installation instructions accordingly. Please review at #32

I have also added the usage part at #44


./main/main.c:11:10: fatal error: rcl/rcl.h: No such file or directory

I have followed your instructions, but I am obviously doing something wrong. Can you help?

I cloned this repo into /esp/esp-idf/components
I copied /esp/esp-idf/components/micro_ros_espidf_component/examples/int32_publisher to /esp/int32_publisher
cd /esp
. $IDF_PATH/export.sh
cd /esp/int32_publisher
idf.py menuconfig (setup wifi network)
idf.py build

I get the following error
../main/main.c:11:10: fatal error: rcl/rcl.h: No such file or directory
 #include <rcl/rcl.h>
          ^~~~~~~~~~~

I think I understand why i was getting this error. I was using this repo in the wrong place in my code.

I think I understand why i was getting this error. I was using this repo in the wrong place in my code.


rebuild bundle

I rebuild the bundle, because I got a lot of extraneous conclusions in the console:

thx, its ok

thx, its ok


Fix usage of hasOwnProperty

Fixes #247.
This is the correct fix regardless of what query-string does upstream.
We need to merge this and release a new v2.0.2 unless query-string cuts a new release.

Looks like we don't need to cut a new release though because query-string cut a 3.0.3 that fixes this issue.

Yup, thanks!


Don't issue oauth token for unauthorised users

Check that user has a role for the application they are logging into before issuing an oauth code to the consuming application
Will redirect the user to the auth/failure url on the consuming app (assumes /auth/failure https://github.com/intridea/omniauth/blob/master/lib/omniauth/failure_endpoint.rb)
Finishes https://www.pivotaltracker.com/story/show/89526616
Don't merge until the below pull requests have been merged:

https://github.com/ministryofjustice/defence-request-service/pull/143
https://github.com/ministryofjustice/defence-request-service-rota/pull/35

LGTM :+1: :shipit:


Data xrefs behave strangely on thumb2

Binary Ninja Version
2.4.3076-dev
Describe the bug
Data xrefs to thumb2 functions are not displayed when the name of the function is highlighted in the UI.
To Reproduce
Acquire a thumb2 binary. Find a function with a function pointer pointing to it. In linear view, look at the function and highlight its name.
The function pointer will not be shown as a data xref.
Now highlight the first instruction of the function. The function pointer should now appear as an xref.
Expected behavior
When I highlight the name of a function, I should see all xrefs, code and data, to it.
Version and Platform (required):

Binary Ninja: 2.4.3076-dev
OS: NixOS
Version: 21.05

More details
This seems to be the result of annoying emergent behavior from the interaction of 3 features and 1 property of thumb2:
In BN, thumb2 functions are considered to start at, well, the address of their first instruction (not their address+1), e.g. FunctionSymbols point to the actual address with LSB=0. thus, highlighting a function's name (e.g. in the "header" of linearview) displays xrefs to the address with LSB=0 (and here also points to LSB=0)
data xrefs seem to point to whatever the value of the actual pointer is. for pointers to thumb2 functions, thus they point to address+1, LSB=1
code xrefs point to the address of the function, i.e. they point to LSB=0
and
thumb2 instructions are all at least 2 bytes long
thus, highlighting the name of a thumb2 function generally doesn't show data xrefs to it, but does show code xrefs (which can be quite misleading!)
while, confusingly, because thumb2 instructions are all at least 2 bytes long, when you highlight the first instruction in a function, you see both data and code xrefs (because you've selected the entire instruction, which is at least two bytes, thus xrefs to both LSB=0 and LSB=1 show up)

This may be relevant to #1617 as allowing xrefs to refer to higher-level things than just addresses seems necessary to fix both of these properly, because there's no inverse of Architecture.get_associated_arch_by_address- you can't ask "given that there's a function of this architecture at this address, what pointer values could possibly point to it?" (e.g. "given a thumb2 function at 0x8001234, what pointer values could point to it" (in this case, the answer being [0x8001235])), you can't generically fix this when querying for xrefs. Seems you'd currently need to fix it when creating xrefs (when creating a data xref, you'd have to look at the new address returned by get_associated_arch_by_address... but you'd have to treat function and data pointers differently, because a pointer to data at 0x8001235 doesn't point to 0x8001234. Quickly, this becomes a big mess...)


Add NoUnneededImportAliasFixer

Hi
First fixer, try to implement #4492

Look good to me now but I don't understand red build

Hi @JakeFr !
First of all, thanks for your contribution!
I did not had a chance yet to look into your PR, but I take my chances to understand why Travis is red - I can now confirm that it's not related to changes on your PR, but to Travis unattended update of some libraries. I tried to fix it here: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4516

LGTM now

Is this PR still relevant? It's a feature I'd very much like to see in a future release. If there is some work remaining, I'd be happy to contribute

Hi,
I almost forget this PR.
I didn't success to fully support multiple use with group
use some\namespace\{ClassA, ClassB as ClassB, ClassC as C};
=>
use some\namespace\{ClassA, ClassB, ClassC as C};

And as it was mentioned the scope is very limited, this poc was used in a big legacy project with php 5 and "old generation" IDE.
I didnt find those erroneous use in other project since.

replaced by https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/6267 , closing as such, thanks @JakeFr for initial work and others for the reviews :+1:


about cotrain?

i saw the comment '--cotrain' and  the function 'train_one_epoch_calvin_cotrain'
But I didn't find where the call was made，are there any problems？
thanks for your reply

Cotrain codes have not been public as it was not cleaned. But they are in the next public plan.


refactor: custom app no embedding function error raised

🐛 Describe the bug
Currently, this error is raised if you don't provide an embedding function to a custom app:
embedding_function = None, model = None

    @staticmethod
    def embedding_function(embedding_function: EmbeddingFunctions, model: str = None):
        if not isinstance(embedding_function, EmbeddingFunctions):
>           raise ValueError(
                f"Invalid option: '{embedding_function}'. Expecting one of the following options: {list(map(lambda x: x.value, EmbeddingFunctions))}"  # noqa: E501
            )
E           ValueError: Invalid option: 'None'. Expecting one of the following options: ['OPENAI', 'HUGGING_FACE', 'VERTEX_AI', 'GPT4ALL']

embedchain/config/apps/CustomAppConfig.py:75: ValueError

While I like how descriptive it is and that it lists what could actually be used as values, I think raise ValueError("CustomApp must have a provider assigned.") does better at pointing the user where the error is. I think we should use a mix between both. Possibly link to the documentation.

so my problem is that it should point the user in the right direction:
You must assign an embeding function to use a CustomApp. Please choose one by importing `from embedchain.models import Providers` and then assigning a Provider value to `embedding_function`.

or alternatively, probably better, link to the documentation
You must assign an embedding function to use a CustomApp. Please refer to the embedchain documentation: https://docs.embedchain.ai/advanced/app_types#customapp


fix: better display effect on transparent background

renderings:

bufferline  offset_separator:

Invited you to become a collaborator
Feel free to merge in these pull request yourself


Typo's in scientific names?

I wonder if the following scientific names are wrong due to typo's and should be corrected?

Elaphe quatuorlineata (Lacépède, 1987) to Elaphe quattuorlineata Buseke, 1982
Sternothernus carinatus (Gray, 1856) to Sternotherus carinatus (Gray, 1856)

I'm quite sure the following scientific names can be corrected to:

Pogona Henrylawsoni (Wells and Wellington, 1985) to Pogona henrylawsoni (Wells and Wellington, 1985)
Gekko Gecko to Gekko gecko

(Last two scientific names are already corrected)

Ok, thx for the input!


Citations to add

Re: future spectroscopic follow-up of long-P planets:
http://adsabs.harvard.edu/abs/2015ApJ...814..154D
http://adsabs.harvard.edu/abs/2016ApJ...826L...7D

Also perhaps http://arxiv.org/abs/1607.06892
These are later type stars & much longer period, but nevertheless constrain the long-period giant planet frequency as well.


version tagging of CMOR tables

As described in  https://goo.gl/86C4ZB we need to tag the CMOR tables.  I'll copy the text here, so that it can be implemented.  I think the agreed approach is as follows:
These tables are based on the reference CVs, the DREQ, some CF-mandated information about vertical coordinate formulas and grids, and some additional information (in CMIP6_CVs.json) mandated by the CMIP6 data specifications.
The version number consists of 3 integers separated by “.” (e.g., 6.1.21)

The first digit indicates that the tables are for CMIP6.
The second integer is incremented whenever either the 2nd and/or 3rd integer in the CV version number changes
The last integer must be consistent with the last integer in the DREQ version number.

The github repository will be updated daily (by running a cron job) to ensure that the tables remain consistent with updates and additions to “source” and “institution”, which are expected to occur frequently.  These intermediate updates will not be tagged in the git repository and only a group that changes/adds a source or institution will need to obtain an untagged new version of the CMOR tables.
If anything changes in the CMOR tables other than an update or addition to “source” and “institution”, a tag will be used to indicate that this represents an important new version.
The annotation should include the versions of the DREQ and CMIP6 CV collection on which it is based (even though the DREQ version is implied by the third integer of the CMOR table version), and the latest version of CMOR that exists at the time the CMOR tables were generated.  A tag would look something like
5c4bbac517cb2053c6d43957d552cd435809055a refs/tags/6.1.22 (CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.22/CMOR-3.3.1)

Done
git tag -n
6.0.11          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.11/CMOR-3.2.4
6.0.12          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.12/CMOR-3.2.4
6.0.13          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.13/CMOR-3.2.5
6.0.14          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.14/CMOR-3.2.5
6.0.15          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.15/CMOR-3.2.7/CMOR-3.2.6
6.0.16          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.16/CMOR-3.2.8
6.0.17          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.16/CMOR-3.2.8
6.0.18          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.16/CMOR-3.2.8
6.0.19          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.19/CMOR-3.3.0
6.0.19a         CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.19a/CMOR-3.3.0
6.0.20          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.20/CMOR-3.3.0
6.0.21          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.21/CMOR-3.3.1
6.1.22          CMIP6_CVs-<IP_ADDRESS>/DREQ-01.00.22/CMOR-3.3.1

git describe
6.1.22

Excellent!


Adding support for RockBand USB drumkit

From my searching through the Dolphin wiki and from what I can glean from various forums, I understand that the DriverKit based driver would be the best way to add support for the Rock Band USB drumkit (which I have), and then possibly some other USB HID Wii peripherals (thinking of getting one of the keyboard controllers too).
From a quick look through the source, it looks to me like the GCN adapter product/vendor ids are in the Info.plist, and that's about the only thing that is specific to the GCN as opposed to other USB devices... so are you open to adding some of these other Wii peripherals?

I actually do have an update I have to push for the Skylanders Portal or whatever, so if people can provide me a list to just add... I'm not opposed. I just don't own these devices to test, is all, so it would be ideal if people could test on their own (even via a codeless kext, if they're comfortable).

Good day Ryan! I have a Skylanders Portal of Power and would be willing to test for any solution to get this to work on my Mac if given instructions. I'm only a user and am not that techsmart when it comes to emulation, but I will test whatever you need for this. It's a win win for me! Thank you so much.
P.S I'm open to many forms of communication, messages, discord etc, just say the word.

I have the wireless keyboard receiver and I would love to use it. The USB VID is 1bad and the PID is 3330.

@ryanmcgrath apologies, I didn't see your reply to me at the time... I will test as soon as I next get the chance. What stopped me was the whole disabling SIP issue... but I'm pretty sure I should be able to test in a macOS VM.
I have since bought and started using the RockBand Wii Pro adapter which allows the use of drums (bought an e-kit!), keyboards and guitar, so I will test and provide VID/PIDs for that as well.

I actually do have an update I have to push for the Skylanders Portal or whatever, so if people can provide me a list to just add... I'm not opposed. I just don't own these devices to test, is all, so it would be ideal if people could test on their own (even via a codeless kext, if they're comfortable).

Any News about the Skylanders Portal Support? For Windows and Linux there are workarounds to make it works with the Dolphin Emulator and fix the "blink issue"  There is currently no solution for macOS.
https://wiki.dolphin-emu.org/index.php?title=USB_Passthrough say perhaps there will be a solution with the GCAdapterDriver.

IIRC Dolphin merged a software solution for this so you don't need a real portal - or am I misremembering?

IIRC Dolphin merged a software solution for this so you don't need a real portal - or am I misremembering?

Yes, your are right, but some hardcore fans would like to use their portals, and yeah if I plugged the portal to my Mac (user a ps4 portal for Skylanders Trap Team) it is recorgnized by the Mac and listed on the device list in the Dolphin USB Passthrough menu. If it is connected to the game, the game reacting to it like it is connected and disconnected in a loop. You can see it here.
https://youtube.com/clip/UgkxiMCKY4hyhJV05JfU5Ia8JqYnQ8cH1ub6?si=CDnghVF-KbQKIh8W
The workaround of this under Windows is Zadig and for Linux its /etc/udev/rules.d/52-dolphin.rules descripted here:
https://wiki.dolphin-emu.org/index.php?title=USB_Passthrough


Error while deploying bicep module to container registry with GitHub actions

Bicep version
latest as running on GitHub host agent
Describe the bug
When I try to register a bicep module to ACR I get error as shown below.
To Reproduce
My GitHub actions
      - name: Push Bicep modules to ACR
        id: BicepTemplatesDeploy
        uses: azure/CLI@v1
        with:
          inlineScript: |
            ls -R
            az bicep publish -f ${{ env.BUILD_OUTPUT_PATH }}/modules/AzureKeyvault.bicep -t ${{steps.ACRDeploy.outputs.loginServer}}/bicepmodules/keyvault:v1

Additional context
The error I get is:
ERROR: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /root/.azure/bin/bicep)
Error relocating /root/.azure/bin/bicep: __strdup: symbol not found
Error relocating /root/.azure/bin/bicep: __isnan: symbol not found
Error relocating /root/.azure/bin/bicep: __isnanf: symbol not found
Error: Error: az cli script failed.
cleaning up container...
MICROSOFT_AZURE_CLI_1657048[35](https://github.com/PinakiMSFT/DAI-bicep-privateregistry/runs/7202652229?check_suite_focus=true#step:5:36)0200_CONTAINER
(node:1657) UnhandledPromiseRejectionWarning: Error: az cli script failed.
    at /home/runner/work/_actions/azure/CLI/v1/dist/index.js:1:23964
    at Generator.throw (<anonymous>)
    at rejected (/home/runner/work/_actions/azure/CLI/v1/dist/index.js:1:204[36](https://github.com/PinakiMSFT/DAI-bicep-privateregistry/runs/7202652229?check_suite_focus=true#step:5:37))
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1657) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1657) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@shenglol Any ideas? Seems possibly related to the Alpine Linux detection?

@shenglol can you take a look?

That's odd. I wasn't able to reproduce it in a test CI run: https://github.com/shenglol/test-az-cli-bicep/runs/7436600909?check_suite_focus=true.
@pinakighatak is the issue still happening?

That's odd. I wasn't able to reproduce it in a test CI run: https://github.com/shenglol/test-az-cli-bicep/runs/7436600909?check_suite_focus=true.
@pinakighatak is the issue still happening?

Yes. What I found is that this error occurs when using the azure/cli action but works fine if you just use the plain bash actions.
It seems the Azure cli container image has the problem

What is the OS type of the runner? Also, is the job running inside a container using the Azure CLI image?

What is the OS type of the runner? Also, is the job running inside a container using the Azure CLI image?

I'm using Ubuntu-latest and the azure/cli action.
but it works, if I use the straight bash action.

Bash actions works because Bicep CLI is installed on GitHub workflow runners. I don't know why the azure/cli action doesn't work since I cannot reproduce the issue, but one workaround is to run one of the following install commands with --target-platform before running bicep publish and see which one works:

bicep install --target-platform linux-x64
bicep install --target-platform linux-musl-x64


fix missing indent

Looks good to me.  I'll update contracts.json so Travis is happy.

Ah damn. Forgot to do that. Sorry! And thanks!


[BUG] < Packaging app for deployment✘ [ERROR] Cannot convert undefined or null to object [plugin deno-loader]>

Hello,
basically, I am developing a trigger, and with slack run, it runs smoothly, but with slack deploy, I have the following error:
 ⠼ Packaging app for deployment✘ [ERROR] Cannot convert undefined or null to object [plugin deno-loader] Error bundling function file "function" with esbuild error: Uncaught (in promise) Error: Build failed with 1 error: error: Cannot convert undefined or null to object   let error = new Error(text);               ^     at failureErrorWithLog (https://deno.land/x/esbuild@v0.19.4/mod.js:1626:15)     at https://deno.land/x/esbuild@v0.19.4/mod.js:1035:25     at runOnEndCallbacks (https://deno.land/x/esbuild@v0.19.4/mod.js:1461:45)     at buildResponseToResult (https://deno.land/x/esbuild@v0.19.4/mod.js:1033:7)     at https://deno.land/x/esbuild@v0.19.4/mod.js:1062:16     at responseCallbacks.<computed> (https://deno.land/x/esbuild@v0.19.4/mod.js:679:9)     at handleIncomingPacket (https://deno.land/x/esbuild@v0.19.4/mod.js:739:9)     at readFromStdout (https://deno.land/x/esbuild@v0.19.4/mod.js:655:7)     at https://deno.land/x/esbuild@v0.19.4/mod.js:1924:11     at eventLoopTick (ext:core/01_core.js:175:7) Packaging app for deployment
I'm Using:
slack v2.30.1
deno 2.0.4 (stable, release, aarch64-apple-darwin)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2
Actually, I have this error even with empty functions basically, what could it be?
Thanks a lot!
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Can you try downgrading deno to 1.x? E.g. 1.46.3 is the last deno 1.x version. I think you can do that with deno upgrade --version 1.46.3.
For context, here is what's happening:

As part of slack deploy, we "bundle" your app into a single .js file.
This bundling uses esbuild under the hood (as native bundling tools in deno have been deprecated / removed).
esbuild has not been great for us here, there are many situations where it fails 😢 (see e.g #316 and https://github.com/slackapi/deno-slack-hooks/issues/89). It regularly fails to bundle when using more complex npm dependencies, or on Windows, for example.

I updated it, I changed the import_map.json, I followed this guide for the environment variables (https://api.slack.com/automation/environment-variables#access-function)
Now I have this error
Uncaught (in promise) TypeError: Requires net access to "esm.sh:443", run again with the --allow-net flag
Here
import { authenticate } from '@google-cloud/local-auth';
So with the newer version of Deno, I can deploy, but then it does not work, with the older version of Deno, I can deploy, but then when the function is running, it gives the specified error.
Thanks for the support!

import_map.json
{   "imports": {     "deno-slack-sdk/"<EMAIL_ADDRESS>    "deno-slack-api/"<EMAIL_ADDRESS>    "microsoft-graph-client": "https://esm.sh/<EMAIL_ADDRESS>    "microsoft-graph-types": "https://esm.sh/<EMAIL_ADDRESS>    "std/"<EMAIL_ADDRESS>    "@google-cloud/local-auth": "https://esm.sh/<EMAIL_ADDRESS>    "googleapis"<EMAIL_ADDRESS> } }
Slack.json
{   "hooks": {     "get-hooks": "deno run --allow-all https://deno.land/x/deno_slack_hooks/mod.ts"   } }

Thanks.

So with the newer version of Deno, I can deploy, but then it does not work, with the older version of Deno, I can deploy, but then when the function is running, it gives the specified error.

In the sentence above you say "I can deploy" in both cases - I think one of these is supposed to be "cannot", yes?
Try adding esm.sh to your manifest.ts' outgoingDomains array; that should fix the issue when running locally, which I believe is where you are seeing the issue right now.
In general, if/until the deployed environment supports deno 2 (it currently runs on 1.46.2 which you can always check by looking at the deno-runtime property in https://api.slack.com/slackcli/metadata.json), we recommend using the same version of deno locally as Slack runs in the cloud when running your app, to ensure identical behaviour.

What u mean 'adding adding esm.sh to your manifest.ts' outgoingDomains array'?
Exactly, I can deploy but not running locally with 1.46.3, and I can t deploy but running locally with the newer version

See the outgoingDomains field documentation of your App Manifest. Here is a sample with an example. Add esm.sh to this field.

In general, if/until the deployed environment supports deno 2 (it currently runs on 1.46.2 which you can always check by looking at the deno-runtime property in api.slack.com/slackcli/metadata.json), we recommend using the same version of deno locally as Slack runs in the cloud when running your app, to ensure identical behaviour.

I installed the slack CLI like this:
brew install slack-cli

This automatically installed Deno 2.x. If this is not supported it may be a good idea to update the Homebrew recipe to reflect a supported setup.


Inconsistent SNAT of UDP traffic for pods behind Services

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I have a pod which is behind Service and there is a Server eqx-sjc-sbci1-staging.
flowchart LR
A["Service UDP
<IP_ADDRESS>:7160"] --> B["Pod
<IP_ADDRESS>:7160"]
C["eqx-sjc-sbci1-staging
<IP_ADDRESS>:5060"]

There is a iptables rule on the node to SNAT egress traffic (to a publicly routable IP) for pod
root@eqx-chi-kubenode-staging:~# iptables -L -t nat
...
Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  <IP_ADDRESS>           anywhere             to:<IP_ADDRESS>

There are times when instead of iptables SNAT, the traffic is SNATed to the Service IP
Good case

Description of the 4 lines

INVITE request sent from <IP_ADDRESS> to <IP_ADDRESS> is captured at <IP_ADDRESS>
INVITE request sent from <IP_ADDRESS> to <IP_ADDRESS> is captured at <IP_ADDRESS>
100 sent from <IP_ADDRESS> to <IP_ADDRESS> is captured at <IP_ADDRESS>
100 sent from <IP_ADDRESS> to <IP_ADDRESS> is captured at <IP_ADDRESS>

Bad case

In this case same INVITE sent from <IP_ADDRESS> to <IP_ADDRESS> gets SNATed to the service IP <IP_ADDRESS> !
I would expect the egress in this case to happen like in Good case. But why is this happening?
Cilium Version
v1.13.3
Kernel Version
5.10.0-25-amd64
Kubernetes Version
v1.27.9
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I have seen this happening mostly after when Server eqx-sjc-sbci1-staging sends  a request to the Service <IP_ADDRESS>  from the same source port to the same destination port

Description of the 4 lines

BYE sent from eqx-sjc-sbci1-staging to Service is captured on eqx-sjc-sbci1-staging
BYE sent from eqx-sjc-sbci1-staging to Service is captured on the pod
200 sent from the pod to eqx-sjc-sbci1-staging is captured on the pod
200 sent from the pod to eqx-sjc-sbci1-staging is captured on eqx-sjc-sbci1-staging which gets SNATed to the Service IP

Thanks for this report @anupamdialpad.
Before anyone can help though, we'll need more information about how your cluster was installed, where it's running, and about the deployments involved. The easiest way to supply this information is with a sysdump (see https://docs.cilium.io/en/stable/operations/troubleshooting/#reporting-a-problem for the details).
Basically, we need enough information to be able to reproduce the issue to look into it. I'll mark this as need-more-info for now, thanks!

Hi @youngnick, thanks for looking at it. Here is the sysdump
cilium-sysdump-20240213-064452.zip

Thanks for that @anupamdialpad, I'm marking this for the datapath team to take a look at.

if you can point me to the code where SNAT for egress happens I can take a look at it in the meantime before somebody from the datapath team looks at it.

commenting to remove stale label


Fix to not require anti-captcha config.

This also allows downloading today's item using -gd without anti-captcha if it has already been claimed.  Fixes #154

Commit message summary is a title (as pull request title is), it shouldn't end with a period.

Resolved by #160.

This wasn't actually resolved by #160.  The script still fails to proceed to download if there is no anti-captcha configuration.

It has been resolved, but they started to require ReCaptcha solution also for login request.


Bit Manipulation : Bitwise operator

Note :
Changes should be made inside the Open_Source/ directory & Opensource branch.
Issue only for GWOC'21 contributors.
For Contributor please don't create the same issue again, before creating any issue do visit OpenSource Milestone
Doc name should same as the issue title
Must-Follow : Contributing Guidelines & Code of Conduct before start Contributing.
Happy Contributing

Can I try to work on this issue, please?

please assign this issue to me i have well defined notes with questions on this topic which can be turned into a document for contribution.
DSA batch-4 Akshita sharma

I can work on this issue. Can you assign this to me?

I can work on the issue. Can you assign this to me?

I would love to work on this issue.(doc)
pls assign this issue to me

/assign


Test: Add extensive UnitTest for Exists operation.

The codes has been checked in to the master branch.


pprint.PPrint[T] not working with Java 8

Hello, I ran into a bug while inputting the following code into the Ammonite repl.
Seq[Seq[_]](Seq[Int](1),Seq[String]("a"))

But when I run this exact line in the Scala repl it doesn't fail compilation like the former.

The line of code will work with Ammonite in Java 7.

Seems to work in 0.4.8, Java 8
haoyi-mbp:~ haoyi$ ~/amm
Loading...
Welcome to the Ammonite Repl 0.4.8
(Scala 2.11.7 Java 1.8.0_25)
haoyi-haoyi@ Seq[Seq[_]](Seq[Int](1),Seq[String]("a"))
res0: Seq[Seq[_]] = List(List(1), List(a))
haoyi-haoyi@

Thanks for the response.
I guess it's not working on a specific minor version of Java. In this case minor version 60.

Java minor version seems like a vanishingly unlikely explanation. Here it is working on 1.8.0_66.
 @Petesta could you try installing a different version of Java and see if that helps?

Closing due to inactivity; feel free to re-open if new insights come to light


Show buttons in MS Teams

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

I put 5 because that's the number of buttons that MS Teams shows per message.
It's kind of annoying for users to mention the bot and then type yes or no each time a dialog uses a Confirm prompt, having yes/no buttons will make that UX much better IMO.

Any news here? Our bot is using this change in prod and so far is working good.

Any ideas if this can be merged?

Any update?

I'll ping someone today on the node side

Sorry for the delay


Run shell-executor jobs isolated, just like the real gitlab runner

First of all thanks for this great tool, it's awesome :)
I wish there would be a way to let the pipeline run in another isolated directory so that changes done by the pipeline don't affect the repository itself.
For example the command could look like this:
gitlab-ci-local --dir build

This would then create a directory called build, copy the project's content into it and run the pipeline in that directory.

Shouldn't be to hard to make.
Only problem being the duration of the copy operation if the project gets too "big".
Gimme a few days, and you will have it.

I think even without rsync this will probably be faster than the cloning Gitlab does when the pipeline is run so it probably isn't that much of a problem.

May I ask, what you aren't trying to achieve by using such an option? Are your pipelines changing "tracked" files?

I use this tool for debugging and currently my pipeline clones some other dependencies which then are cloned into the project's working directory, so I have to manually delete them after testing the pipeline (which is a bit annoying). With the proposed switch you could just create a new folder and add it to gitignore.
Also, pipelines might rename files or change their content which can be cumbersome to reverse by hand.

That's what I thought.
I think, we would have to recreate what an actual runner does, and that is to create a folder for each job, when they are run simultaneously.

4.9.5 contains job isolation via /build/ folders for docker-executor.
Are you using shell-executor in your use-case @MoritzBrueckner

Thanks! Yes, I think I was using shell-executor. Now I'm using docker but I guess that such feature should be available for all executor types.

Yes, job isolation must be possible in shell-executor as well


Add live demo for portfolio project.

https://github.com/yodit93/My-portfolio/issues/8

https://github.com/yodit93/My-portfolio/issues/8


Revert "Revert "Remove pyutilib.enum""

Reapplying #104

Coverage increased (+0.5%) to 62.377% when pulling c3e1d3ba51bf40ca74bc7053008fbabfb720795c on revert-104-revert-101-remove_enum into 9dec0ac707757dfa9f2b91fa098652acaa01e984 on master.


[Device Support Request] Avatto 1/2-ch dimmer. TS0601 _TZE204_o9gyszw2/_TZE204_5cuocqty

Problem description
I bought a couple of devices from AliEexpress (https://www.aliexpress.com/item/1005006524716136.html)
Devices were added to Home Assistance server without issues, but didn't expose any controls. After reading documentation, I have madew a custom quirk and devices are working fine now.
Solution description
ZHA logs suggest to contribute changes into the main branch.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
[Paste the device signature here]

Diagnostic information
Diagnostic information
[Paste the diagnostic information here]

Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk1
class TuyaSingleSwitchDimmerGP(TuyaDimmerSwitch):
    """Tuya touch switch device."""
signature = {
    MODELS_INFO: [
        ("_TZE200_3p5ydos3", "TS0601"),
        ("_TZE200_ip2akl4w", "TS0601"),
        ("_TZE200_vucankjx", "TS0601"),  # Loratap
        ("_TZE200_y8yjulon", "TS0601"),
        ("_TZE204_n9ctkb6j", "TS0601"),  # For BSEED switch
        ("_TZE204_5cuocqty", "TS0601"), #Avattto ZDMS16-1
    ],

Custom quirk2
class TuyaDoubleSwitchDimmerGP(TuyaDimmerSwitch):
    """Tuya double channel dimmer device."""
signature = {
    MODELS_INFO: [
        ("_TZE200_fjjbhx9d", "TS0601"),
        ("_TZE200_gwkapsoq", "TS0601"),  # Loratap
        ("_TZE204_zenj4lxv", "TS0601"),
        ("_TZE204_o9gyszw2", "TS0601"), #Avattto ZDMS16-2
    ],

Additional information
No response

@gruzzy  are custom quirks complete?
seem to miss information? can you send me files or give full code ?

Sorry, I am not good in creating proper tickets yet :)
I found that extending the MODELS_INFO lists in tthe class signatures made devices working in HA.
One switch works as a TuyaSingleSwitchDimmerGP devices, another one is running as TuyaDoubleSwitchDimmerGP.
So, there are the only changes in the file zhaquirks/tuya/ts0601_dimmer.py:

class TuyaSingleSwitchDimmerGP(TuyaDimmerSwitch): """Tuya touch switch device."""
signature = {
MODELS_INFO: [
("_TZE200_3p5ydos3", "TS0601"),
("_TZE200_ip2akl4w", "TS0601"),
("_TZE200_vucankjx", "TS0601"),  # Loratap
("_TZE200_y8yjulon", "TS0601"),
("_TZE204_n9ctkb6j", "TS0601"),  # For BSEED switch
("_TZE204_5cuocqty", "TS0601"), #Avattto ZDMS16-1
],

class TuyaDoubleSwitchDimmerGP(TuyaDimmerSwitch): """Tuya double channel dimmer device."""
signature = {
MODELS_INFO: [
("_TZE200_fjjbhx9d", "TS0601"),
("_TZE200_gwkapsoq", "TS0601"),  # Loratap
("_TZE204_zenj4lxv", "TS0601"),
("_TZE204_o9gyszw2", "TS0601"), #Avattto ZDMS16-2
],

Yeah i figured it out, my bad.. will created a pull request for change, as no one is assigned to this yet.

Pull request created. lets see if it will be picked up.

does not work for me. How can I see the quirk is in place? I can see it in the studio code server environment and edit the py, but does it get loaded correctly?

I see support for the on/off functionality is implemented in 3190. However, the Dataopoints in the Tuya manufacturing cluster are not added. Which does not enable changing the External Switch-Type as required by my application. An example implementation is present in Zigbee2MQTT tuya.ts. I want to extend this support to ZHA. I tried making a custom quirks but did not succeed. Using the zha_toolkit I now try to create the command manually, however I did not succeed yet.
This is my action:
action: zha_toolkit.zcl_cmd
data:
  ieee: a4:c1:38:dc:2b:c5:a5:61  # Replace with your device's IEEE address
  endpoint_id: 1                 # The endpoint ID of the device, usually 1 for most devices
  cluster: 61184                 # 0xEF00 in decimal
  cmd: 4                         # The command ID for Send DP
  args:
    - 4                          # DP ID for External Switch-Type (check device specifics)
    - 0                          # Data type (0 for raw/unknown, may vary)
    - 2                          # Data value (set to 2 for Momentary)

What am I overlooking?


Show the exact time the star history was updated

After merging #36, I think it'll be good to show the exact time the star history was updated, not just the date.

Resolved by https://github.com/supabase/repository.surf/commit/91b4369898f51d32887347040539a695d126dfd1


why are the extracted files from tool .pot and not .po ?

Why is the extnesion of the files generated as .pot ?
I mean when i copy them to the Localization folder in my web project shoud'nt they be renamed to  *.po extension ?

Please refer to this article first https://www.icanlocalize.com/site/tutorials/how-to-translate-with-gettext-po-and-pot-files

Thank you. Got it.


Fix TestConfigDump race

Fixes https://github.com/istio/istio/issues/21575
This is actually a real race condition, but its probably not an issue
and would be quite ugly to hack around. This instead makes it so the
test does not trigger the race.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
158e83ed2e067c11c79b370348e51d213d8da01d
link
/test lint_istio

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