Sierra Compatibility

Edit: I was able to get it compiled but it's not working in the latest Sierra GM.

I suppose SIP is still there in Sierra. So you may need to turn it off.
Second, make sure you use the correct config.
Debug tool may help https://www.dropbox.com/s/r1ibabs11x7o3y7/Sculpt Comfort Debug Tool.app.zip?dl=0

Disabled SIP and ran the app again. Still nothing.
Would the default config be the right one?
Debug
227 1
227 0
5 1
5 0
4 1
4 0

use the config from here: https://github.com/ultimate-deej/Sculpt-Comfort-Mission-Control/issues/6#issuecomment-185746879

Still nothing. Don't know if this is related with my issue, but every time I open the app, it pops this up twice. I type my password both times and the app stalls in the dock a bit before closing.

This is what I get when trying to run the app through Xcode:
(lldb) attach Dock
Process 1541 stopped
* thread #1: tid = 0x2122b, 0x00007fffea6c141a libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fffea6c141a libsystem_kernel.dylib`mach_msg_trap + 10
libsystem_kernel.dylib`mach_msg_trap:
->  0x7fffea6c141a <+10>: retq
    0x7fffea6c141b <+11>: nop

libsystem_kernel.dylib`mach_msg_overwrite_trap:
    0x7fffea6c141c <+0>:  movq   %rcx, %r10
    0x7fffea6c141f <+3>:  movl   $0x1000020, %eax          ; imm = 0x1000020

Executable module set to "/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock".
Architecture set to: x86_64h-apple-macosx.
(lldb) expr (char)[[NSBundle bundleWithPath:@"/Users/Alan/Library/Developer/Xcode/DerivedData/Sculpt_Comfort_Mission_Control-eikthdmlpxciqvfzfntvsbiliujo/Build/Products/Debug/Sculpt Comfort Mission Control.app/Contents/Resources/Sculpt Control Inject Bundle.bundle"] load]
(char) $0 = '\x01'
(lldb) detach
Process 1541 detached
(lldb) (lldb) quit

I can see that bundle is successfully injected here.
It is possible that Sierra has introduced incompatible changes to Dock binary. Check if Dock restarts after launching the app or after clicking win-button. The restart may happen due to a crash caused by binary incompatibility. There are two ways to do this:

Desktop background turns black for a moment (faster way)
Open Activity Monitor and see if PID of Dock process has changed (more reliable)

PID doesn't change at all in Activity Mon

Ok, there is one more thing we can try. Open terminal and type defaults read com.apple.dock scmc. The output should be your config. If it is not, try to import it once again.
My output:

Mine's the same minus swipe-down-code being 4 and swipe-up-code being 5. Click actions are the same, but clicking the Windows button doesn't do anything.

Everything looks ok except the OS version. It seems that nothing can be done here until I install Sierra and see why it doesn't work. Unfortunately, I don't plan to upgrade in the near future.

Alright. Thanks for all of the the help anyway!

 I will let you know if I manage to work it out.

@ultimate-deej First Thanks a lot for your efforts. Is there any updates regarding this ?

@AhmedKamal not yet, I still haven't upgraded to Sierra. I was thinking of making a plugin for SIMBL, it appears to be working on Sierra.

@ThisIsAlanB @AhmedKamal Check out the latest release

So, according to #10 and my own test on a few Macs, it works now.


port list-ops exercise

I ported list-ops. Currently I have all the canonical test implemented; I could add some more in-depth ones like some of the other tracks have if you like.
Let me know if there's anything up with my formatting; couldn't find a style guide for this track.

Thanks for the input!

Wow, I'm so used to building for loops with Array.length that I completely missed that! Should be easy enough to switch each use to push/pop or to use my own length() method. Will do!

Instance methods were my original intuition as well, but I got worried when all the other tracks I peeked at had used static methods & decided against it. Since you agree that instance methods make more sense here, I'll switch it back over to instances & see how things look.

:+1: to instance methods as well.
Please, @vivshaw, if you don't mind, could you squash all commits into a single one? That will create a beautiful git history for the repo. Let me know if you need any help with this.

@rchavarria good catch on the ES features...
@vivshaw I think it's interesting that the Java track has it implemented in a static way, since I know they have come to a policy of preferring instance methods as a way of encouraging best practices.  But, maybe it's just housekeeping they haven't gotten to yet...

Alright, I've removed the ES features, moved to instance methods, removed all use of Array.length in the examples, and squashed to 1 commit.
I also added some spies to test whether native array functions like Array.prototype.map and so on have been called.
3 remaining questions:

Different tracks have interpreted concat totally differently. Tracks like CSharp have interpreted the spec to mean 'make a function that flattens a list of lists', whereas other tracks like ES have interpreted concat to be synonymous with append. I've brought my implementation in line with the ES track for now.

There doesn't seem to be any 100% accurate replacement for Array.length. I'm now using a counter variable with forEach, which is fine for dense arrays, but gives incorrect results for sparse arrays:

function length(arr) {
  var count = 0;
  arr.forEach(function () { count++; });
  return count;
}

var a = [1, 2, ,, 3];
console.log(a.length) // returns 5
console.log(length(a)) // returns 3!!

The test suite is a little less elegant now after adding spies. I tried putting the tests on the Array.prototype methods in a tidy little beforeAll block so that we can listen in as we're doing the normal test suite, but it turns out that putting spies on Array.prototype.concat() and Array.prototype.reverse() will fail, as Jasmine's internal use of array methods will trigger the spies. So we need to spy directly on the values of a particular List. Unless I'm mistaken, there's no way to do this in a beforeAll block because the lists are defined inside each test. So, we need to make an entire new suite  just for the spies that defines a single List, spies on its values, re-runs each of the methods in the spec, and then we can test if our spies have been called. It's not pretty, but it works correctly. If you have any suggestions on making this tidier I'd be happy to implement them.

@vivshaw thanks for getting these changes made.  To answer your questions:

I think your handling of concat makes sense for two reasons: firstly, that's how JavaScript's Array.concat() works, and secondly, this track already has a separate exercise flatten-array.  I don't think flattening is the intention here.
I think your Array.forEach approach is fine.  The config.json doesn't specifically address sparse arrays, and for this purpose I don't think we need to cover that.  But, in case it's of any interest to you:
In ES5 you should be able to use for...in to get only the populated indices of an Array.  Like so:

for (var el in a){
  console.log(a[el]);
}

//output
1
2
3

Another possible approach would be filter using Object.hasOwnProperty(), returning only populated indices:
a.filter((el, idx) function {
   a.hasOwnProperty(idx));
}

// output

[1, 2, 3]

I think you've gone above and beyond with the spies!  My original feedback was just advice to you as the exercise author, not really to enforce the "no Array" constraint on the user.  However, I think since you've put it at the end of the test suite, I don't see any reason it can't be there as a final challenge for the users.  It's not hard to imagine someone implementing a List class that truly just wraps the native methods, and your addition would call that out.  @rchavarria how do you feel about that?

@matthewmorgan thanks for pointing out the for ... in and hasOwnProperty approaches! I keep forgetting that JS arrays are also full-fledged Objects on which we can do the usual Object alchemy when needed. I've gotten too used to C++ & Java, I suppose.
And, if it's too much, I'm just as happy to take out the spies section as well; I just figured since Jasmine gives us the ability to easily test whether users are actually implementing the algorithms themselves or not that I'd throw that in.

Thanks @vivshaw !  Please come back and contribute any time!

My opinion about spies is that they could confuse users. They are advanced topics in testing, and users might find them difficult to understand.
But, the work is done, and we don't know if they'll work or not. So, let's keep them and we'll see if users find them useful or not.
In any case, many thanks @vivshaw for the contribution (and @matthewmorgan for such incredible feedback)


WMT14 en-de

Does anyone get the same results as in the paper on WMT14 en-de dataset?

Do  you solve this question?

Do you solve this question?

you can use the transforemr in fairseq by Facebook to reach the score.


newlogd: Kick watchdog inside doMoveCompressFile()

Kick watchdog inside doMoveCompressFile() because it can take longer to execute depending on the file size, besides be affected by external factors, like the system load, while parsing and compressing the contents.

Updates in this PR:

Rebase on top of master
Address @eriknordmark's comments


update the FAQ list of supported DNS providers

I compared this list to the list in the README.md and left out the service providers.
I don't know if RFC2136 should be included here.

/lgtm

/approve


fail to "luarocks make mpit-mvapich-1.rockspec"

i fllow the "https://github.com/sixin-zh/mpiT" way to install mpiT
when i "luarocks make mpit-mvapich-1.rockspec", it failed
the log is here,how can I resolve this problem ,thnks
root@117:~/mpiT-master#  luarocks make mpit-mvapich-1.rockspec
cmake -E make_directory build && cd build && cmake ..
-DCMAKE_C_COMPILER=${MPI_PREFIX}/bin/mpicc -DCMAKE_CXX_COMPILER=${MPI_PREFIX}/bin/mpicxx
-DMPI_ROOT=${MPI_PREFIX}
-DOPENMPI=0
-DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/slave117/torch/install/bin/.." -DCMAKE_INSTke
-- Found Torch7 in /home/slave117/torch/install
MPI ROOT is
LMPI is /lib/klibc-P2s_k-gf23VtrGgO2_4pGkQgwMY.so
LMCA is
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= /bin/mpicc
CMAKE_CXX_COMPILER= /bin/mpicxx
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in :
The CMAKE_C_COMPILER:
/bin/mpicc

is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error in :
The CMAKE_CXX_COMPILER:
/bin/mpicxx

is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/slave117/mpiT-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/slave117/mpiT-master/build/CMakeFiles/CMakeError.log".
Error: Build error: Failed building.

did you set the MPI_PREFIX in your bash env?


Great idea!

Indeed, it may be sometime a good idea to build from the ground up promise support instead of wrapping a lib at a higher level :)
Even if it's still a WiP, yoredis will be shared in our next RedisWeekly! Once published (in a matter of minutes) you will be able to see your project description here :)

Thank you @FGRibreau!


"Enable Mouse Pointer Cross" (Version 0.55.0)

Microsoft PowerToys version
0.55.0
Running as admin

[X] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce
Install version 0.55.0. Open powertoys settings, click the powertool mouse utilities, click the tablet  to the right of "Enable Mouse Pointer Crosshairs" to turn on feature
✔ Expected Behavior
"Enable Mouse Pointer Crosshairs" tablet on \ off indicates on
❌ Actual Behavior
Powertools crashes (screen is closed and application no longer running). After restarting powertoys, "Enable Mouse Pointer Crosshairs" is not enabled
Other Software
No response

Same issue for me.  Running Winddws 11.

@jaimecbernardo this may be the same as #15885
/reportbug

For testing fixing this issue, would you mind installing a (non-signed) debug build to test if it fixes it?
https://github.com/jaimecbernardo/PowerToys/releases/tag/0.0.1-test-crosshairs-crash-fix
First uninstall your current installation of PowerToys, then install this fix build and test it.
@jbassile
Main reason is that it's very hard for me to replicate the bug, so some validation from machines which replicate constantly is helpful here.
Thanks, in advance.

0.55.1 should have the fix for this.  https://aka.ms/installpowertoys


[Event Request] Table 5964 "Service Contract Line" - OnValidateServiceItemNoOnBeforeCheckSameCustomer - Change Parameter "ServContractHeader" to VAR

Please change the parameter "ServContractHeader" within existing event publisher "OnValidateServiceItemNoOnBeforeCheckSameCustomer" to "var". We need to set some own field information on ContractHeader by Service Item.
OLD PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnValidateServiceItemNoOnBeforeCheckSameCustomer(ServItem: Record "Service Item"; ServContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)
begin
end;

NEW PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnValidateServiceItemNoOnBeforeCheckSameCustomer(ServItem: Record "Service Item";var ServContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)
begin
end;

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.


Make NewClientWithEnvProxy Deprecated

Sorry I wasn't clear before.
I would like to get a solution that addresses the earlier problems mentioned here:
https://github.com/google/go-github/issues/2898#issuecomment-1692285018
before deprecating NewClientWithEnvProxy.


Issue with Joints

When I run the code for body tracking, I got 26 joints instead of 32 joints. Everything seems fine when I was recording the data because I used window3d. I do not know how to interpret the 26 joints because I do not know which belong to which. Why am I getting 26 positions instead of 32? Below is my code for recording the joint position:
                if (body.skeleton.joints[joint].confidence_level >= K4ABT_JOINT_CONFIDENCE_LOW) {
                    const k4a_float3_t& jointPosition = body.skeleton.joints[joint].position;
                    const k4a_quaternion_t& jointOrientation = body.skeleton.joints[joint].orientation;

                    jointPosition.

                    file__ << k4abt_frame_get_device_timestamp_usec(bodyFrame) << "\t" << jointPosition.xyz.x << "\t" << jointPosition.xyz.y << "\t" << jointPosition.xyz.z << "\t";
                    file2__ << k4abt_frame_get_device_timestamp_usec(bodyFrame) << "\t" << jointOrientation.wxyz.w << "\t" << jointOrientation.wxyz.x << "\t" << jointOrientation.wxyz.y << jointOrientation.wxyz.z << "\t";

                    file_rec__ << jointPosition.xyz.x << "\t" << jointPosition.xyz.y << "\t" << jointPosition.xyz.z;
                    file2_rec__ << jointOrientation.wxyz.w << "\t" << jointOrientation.wxyz.x << "\t" << jointOrientation.wxyz.y << jointOrientation.wxyz.z ;

                    window3d.AddJoint(
                    jointPosition,
                    jointOrientation,
                    body.skeleton.joints[joint].confidence_level >= K4ABT_JOINT_CONFIDENCE_MEDIUM ? color: lowConfidenceColor
                    );

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

ID: bfd96838-87c8-c27e-f8ee-a2db651ba463
Version Independent ID: ab4d754c-e83f-7d20-cd8c-690033684406
Content: Azure Kinect body tracking joints
Content Source: articles/kinect-dk/body-joints.md
Product: kinect-dk
GitHub Login: @qm13
Microsoft Alias: quentinm

@aanexplus
Thanks for the feedback! We are currently investigating and will get back on this.

I have assigned the issue to the content author to evaluate and update as appropriate. Thank you!

I have assigned the issue to the content author to evaluate and update as appropriate. Thank you!

Thanks.
The Azure Kinect was positioned at the back of the person. Maybe that will help.

@aanexplus this is not a doc issue. Could you please move it to the microsoft/Azure-Kinect-Sensor-SDK repo and we will comment there.

@aanexplus this is not a doc issue. Could you please move it to the microsoft/Azure-Kinect-Sensor-SDK repo and we will comment there.

Ok will do

@asergaz Please close,

@VikasPullagura-MSFT Please close bug.


is ethereon/caffe-tensorflow work for this caffe

I want to Convert Caffe models to TensorFlow.
is this tool work for your caffe.
tool : https://github.com/ethereon/caffe-tensorflow

TBH, I don't know. We don't use TF and didn't try this tool.


Embassy-RP and RP2040-hal Compatibility??? - Embedded_Hal::PWM:SetDutyCycle Assistance

Hello All,
I'm building a project based on embedded-hal and embassy for various boards that does async operations.
When doing research I noticed that the embassy-rp crate doesn't expose the channel functionality for setting the duty cycle using embedded-hal.
However rp2040-hal does expose that feature, but doesn't seem to have any ties to embassy, which leads to my issue/questions.
Is there a way for embassy-rp to exposes that or do I have to use rp2040-hal and if so will it work with embassy?
Any potential plans on merging the two?

from the rp-hal side they said they don't see any plans on merging the two.
thoughts from embassy maintainers? - https://github.com/rp-rs/rp-hal/issues/816

These are different HALs/projects with different goals, so it's fine for them to coexist. If there is some functionality you'd like to have exposed (I'm not sure what channel functionality relates to, PWM?), please give some more details and/or raise a PR.

@lulf
that makes sense as i was reading more into it.
essentially, i want to be able to expose the SetDutyCycle function using the embedded-hal crate as a source of truth for my project that will be using multiple mcus
the problem is in the implementation for PWM as it relates to embassy-rp2040, it directly slices and implements the "channel" control directly to the io vs letting you attach it like the rp-hal example below.
I hope that makes sense, thank you again for your response.
//! # PWM Blink Example
//.....omitting some setup configurations and imports

#![no_std]
#![no_main]

use embedded_hal::pwm::SetDutyCycle;

fn main() -> ! {
    //.....omitting some setup configurations

    // Output channel B on PWM4 to GPIO 25
    let channel = &mut pwm.channel_b;
    channel.output_to(pins.gpio25);

    // Infinite loop, fading LED up and down
    loop {
        // Ramp brightness up
        for i in LOW..=HIGH {
            delay.delay_us(8);
            let _ = channel.set_duty_cycle(i); //<---------HERE
        }

        // Ramp brightness down
        for i in (LOW..=HIGH).rev() {
            delay.delay_us(8);
            let _ = channel.set_duty_cycle(i); //<----------HERE
        }

        delay.delay_ms(500);
    }
}

https://github.com/embassy-rs/embassy/blob/b31648f2e59a68748e1c0f1408d1658a2e5e6a08/examples/rp/src/bin/pwm.rs#L13
https://github.com/embassy-rs/embassy/blob/b31648f2e59a68748e1c0f1408d1658a2e5e6a08/examples/rp/src/bin/pwm.rs#L67-L69

https://github.com/embassy-rs/embassy/blob/b31648f2e59a68748e1c0f1408d1658a2e5e6a08/examples/rp/src/bin/pwm.rs#L13
https://github.com/embassy-rs/embassy/blob/b31648f2e59a68748e1c0f1408d1658a2e5e6a08/examples/rp/src/bin/pwm.rs#L67-L69

This could work! Thank you @decaday


chore: format integration tests

Description

Problem*

Resolves
Summary*
This PR runs the formatter over the integration test suite to flag up any issues.

The nested for-loops in 6_array causes a panic due to start>end when slicing.
Due to not handling all statements/expressions, we're getting some funky indentation. (see 1327_concrete_in_main)

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

fyi @f01dab1e (Thank you for the work on the formatter btw!)


Receiving Error on Hugginface implementation

I am receiving this error everytime I tried to upload a wav file to transcribe by setting language multi and quantized medium model. How can we fix this? Is it only on Hugginface?

Hi there. Could you please provide information about your browser specs + OS?
This error message is usually due to a out of memory issue.


[Bug] Several projects in ./examples do not run due to missing client

Bug description
The example projects do not run. Wundergraph does not generate all the files it used to, or they have been renamed.

How to reproduce

Run nvm use --lts and node --version to ensure node 16.x
Clear node cache to rule out any cached strange behavior npm cache clean --force
Download repo git clone https://github.com/wundergraph/wundergraph
Navigate to example cd wundergraph/examples/nextjs-postgres-user-filters (or any example with a seed script)
Run npm install && npm start and wait until console finishes tasks
Open another terminal in the same directory and run npm run check
See errors in the console

Expected behavior
Can the master branch be kept stable so folks can use the examples at any time? If that is the intention, it seems like adding tests that run the CLI and check that the expected files are generated would be a great addition to tests.
WunderGraph information

Same as in this repo. Here are some snippets in question. wundergraph.client is not generated.
error
npm run check

><EMAIL_ADDRESS>check
> tsc --noEmit

seed/seed.ts:1:24 - error TS2307: Cannot find module '../.wundergraph/generated/wundergraph.client' or its corresponding type declarations.

1 import { Client } from '../.wundergraph/generated/wundergraph.client';
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in seed/seed.ts:1

Here are also errors in React. This error occurs ONLY the first time running npm run start and is not repeated after the client is generated. Edit - this wasn't reproduced for me after deleting my node_modules, but the error above was repeated.
Environment & setup

OS:  Mac 12.6 Intel chip
Go version:
Database:  Postgres
Node.js version:  16

WunderCtl Version
npx wunderctl version
Version: 0.114.2
Commit: ee87a7d44e3ca7c5cb9c0c54d96aba85b7a1346b
Date: 2022-10-22T23:57:39Z
BuiltBy: ci

As I've looked deeper into the repo, the CLI, underlying commands, etc, I see that the example repos are not the only place that could use a bit more test coverage lovin' 🙁 😬

@bmcilw1 I managed to reproduce something similar to what you're experiencing, but after deleting node_modules and package-lock.json I cannot reproduce it anymore. Please, try deleting those and rebuilding.
Regarding the tests for the Go packages, some of those are very simple ones which consist of generated code (like e.g. templates or wgpb) or are examples (like testapps/mtls/{client,server}. I agree that having more tests will always be better, but it's not like we have none. You can't just look at the number of packages with/without tests and conclude anything from there, because some packages are bigger/more complex than others.

After deleting node_modules and package-lock.json, clearing my npm cache, etc. I've tried again. The wundergraph.client file is still not being generated for me.

Fixed by #321

@bmcilw1 Thanks for the heads up! Some of the generated files were renamed but I had them generated with an older version of the SDK, that's why I couldn't reproduce initially. We took the chance to go through all the examples and make sure they were up to date.


Homekit to turn on and off Mi TV

Device model
xiaomi.tv.mitv5h1
Device name
xiaomiTV 55inch
Does the device require a MiCloud connection?
No
Anything special about the device?
I can already see the device in HomeKit as "not supported"; but i noticed that I can control my sony TV in Homekit.
I'm grateful if I can turn this on / off already. Of course, full control will be great...

You could enter the device model here https://www.merdok.org/miotspec/
Check the supported properties and create properyControl for everything that you need.


Add expected behavior to unified memory

I think many people would be caught up by the new/delete example not working, as its ability to work is not only dependent on the device attributes but also the kernel HMM support. I would add some comments to the actual code,  e.g.
// for this example to work the environment variable HSA_XNACK needs to be set to 1, and the kernel needs HMM support
We can potentially indicate that a way to check for HMM support is setting the environment variable, AMD_LOG_LEVEL e.g. to 3 or 4. For instance on my instinct accelerator it prints:
:3:rocdevice.cpp            :1790:<PHONE_NUMBER>9915 us:  HMM support: 1, XNACK: 1, Direct host access: 0
when set to 3.
But this last thing about AMD_LOG_LEVEL does not necessarily belong to this page

Thanks for the review, I agree with your points.

I think many people would be caught up by the new/delete example not working, as its ability to work is not only dependent on the device attributes but also the kernel HMM support. I would add some comments to the actual code, e.g.

I clarified that a bit more under the system requirements, and moved the first mention of HMM support there.

// for this example to work the environment variable HSA_XNACK needs to be set to 1, and the kernel needs HMM support

Added a comment similar to this to the example

We can potentially indicate that a way to check for HMM support is setting the environment variable, AMD_LOG_LEVEL e.g. to 3 or 4. For instance on my instinct accelerator it prints:
:3:rocdevice.cpp :1790:<PHONE_NUMBER>9915 us: HMM support: 1, XNACK: 1, Direct host access: 0
when set to 3. But this last thing about AMD_LOG_LEVEL does not necessarily belong to this page

Agreed, this is a bit overkill, as AMD_LOG_LEVEL=3 also prints a lot of other stuff, which might make it hard to look for the HMM and XNACK support. Also similar information is listed on https://rocm.docs.amd.com/en/latest/conceptual/gpu-memory.html#xnack, which is being linked several times in this document.


Unbalanced calls on iPhone 6plus 9.2

First.. Thank you for this library.
I'm writing because I'm getting "Unbalanced calls to begin/end appearance transitions for AMArchVC: 0x7ffc82624520" on the xcode log window.
I got this message only when rotating the simulator, when the splitViewController expands and not when it collaps. Anyway it is not an error and everything seems to work as expected.
The strange thing is that this message appear only on a iOS 9.2 simulator (iPhone 6Plus or 6sPlus), and not with IOS 8.1 (6Plus).
My implementation of RATreeView is simple as there is no edit (insert or delete)... The ViewController is dedicated to RATreeView (its simpler then the one in the example).
My implementation use the required datasource and only the three following delegate methods:
-treeView:heightForRowForItem:
-treeView:treeView canEditRowForItem: (this return NO)
-treeView:didSelectRowForItem:
There is no transition on my VC so I'm wandering if someone have any idea of why I'm getting this message.

@zanz8  I can't see such warning in the RATreeViewBasicExample, when adding RAViewController to UISplitViewController as primary or as secondary.


Revert "PMM-6202 Automate tests for annotations adding"

Reverts percona/pmm-ui-tests#41

will wait


mesa: restore OpenCL support.

Continuation of #82729.
Works with a Radeon RX 480 on NixOS 21.05, see https://github.com/NixOS/nixpkgs/pull/82729#issuecomment-910303664 for details.

Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

This way to enable OpenCL (taken from @sbruder  https://github.com/NixOS/nixpkgs/pull/82729#issuecomment-910303664)
{ pkgs, ... }:
{
  hardware.opengl =
    let
      pkgsMesaClover = import
        (pkgs.fetchFromGitHub {
          owner = "sbruder";
          repo = "nixpkgs";
          rev = "41d33334ec2d07da8f5bd0f3749949241c42266b";
          sha256 = "sha256-sA/kwZ8kXuRC/sLjja2ISpyTnlEwZjifyYeiz9hFWRE=";
        })
        { inherit (pkgs) system; };
    in
    {
      package = pkgsMesaClover.mesa-opencl.drivers;
      extraPackages = [
        pkgsMesaClover.mesa-opencl
      ];
    };
}

does not required mass-rebuild because of mesa compiled with different flags, and open a space to abandon the enableOpelCL flag at all.
Just to compile mesa always as though enableOpelCL=true, but copy the drivers which bring huge clang closure to a separate output.
And then just hardware.opengl.package = pkgs.mesa.opencl-drivers; to enable OpenCL (not the dot is after mesa, not mesa-opencl)
Will it work ?

I’m not sure if I understand you correctly, but according to https://github.com/NixOS/nixpkgs/pull/82729#issuecomment-600062231 using a separate output for OpenCL is not easily possible.
Concerning mass rebuilds, that will only affect nixpkgs once (when this PR is merged), but after that it only requires building one additional package (mesa_opencl), which will be done on Hydra, so there are no mass-rebuilds necessary for users. That is because mesa is not necessarily a dependency of all packages using it (though there are exceptions, but they will still use mesa and not mesa_opencl, which should be fine). Instead, the version present at /run/opengl-driver is loaded dynamically because otherwise it would be impossible to use e.g. the proprietary nvidia driver without every package using hardware acceleration depending on it.
That is the case independent of what method is used to make the OpenCL support optional (separate output or different package/guards).

But mesa_opencl contains all the files from mesa + open cl drivers?
And the files duplicated from mesa are not really needed

As "mass-rebuild way" I meant the way to enable OpenCL which I used:
(super: self: {
  mesa = super.mesa.override { enableOpenCL = true; }
})

Here is a single mesa, but mass-rebuild.
In the variant in https://github.com/NixOS/nixpkgs/pull/136402#issuecomment-911717440 there is no mass-rebuild, but many duplicated files.
It seems possible to end up with a solution without mass-rebuild and duplicated files (which I thought adding an output could be)

But mesa_opencl contains all the files from mesa + open cl drivers?

Yes it does. However, duplicated files are not that uncommon on a NixOS system and are introduced with every big mass-rebuild (e.g. on an openssl (patch) update, most packages depending on it do not change, but are still stored multiple times). To only store the files once there is nix-store --optimise and the auto-optimise-store Nix option which hard-link the files so it is not that much of a problem.
While it might be cleaner to move the OpenCL support it into a separate output, it seems to be not that easily possible. Though if you manage to get it working with an extra output, I’m more than happy to use that instead.

(super: self: {
  mesa = super.mesa.override { enableOpenCL = true; }
})

Overriding a widely-used package globally will always cause mass-rebuilds. For that reason, hardware.opengl.packages and hardware.opengl.extraPackages should be used in this case.

So I suggested that the additional output of mesa.opencl-driver could contain files which are present in mesa_opencl and are not present in mesa (because mesa_opencl is supposed to be used where mesa is already present).
Never mind, this is just a small optimization that can be done later.
It's more important to somehow repair OpenCL, which has been broken for months.

On further testing it turned out that installing OpenCL support into its own output is not that complicated. I force-pushed my attempt at doing it. Enabling OpenCL support now works by setting hardware.opengl.extraPackages = [ pkgs.mesa.opencl ];, the internal package option does not need to be modified.

@ofborg test sway

Let's ignore CI then ¯\_(ツ)_/¯ (previous results were fine; apart from timeouts).
I already ran the build and Sway test locally anyway:
$ nix-build -A nixosTests.sway
/nix/store/i6c1ybq9jlbha0h6dzzac83agm4vdcwq-vm-test-run-sway

I get the following error when trying to use opencl:
<built-in>:1:10: fatal error: 'clc/clc.h' file not found

Tried to add libclc to the system environment and to opengl.extraPackages - neither worked. Any idea how to fix it?

I am getting the same error
<built-in>:1:10: fatal error: 'clc/clc.h' file not found

When trying to run a hello-world program for OpenCL. It seems that it tried to find that file, but the path is ill-formatted. See the repeated path /nix/store/d902ifqzwfld7mjw3vxgy08l87055whr-libclc-11.0.1//nix/store/d902ifqzwfld7mjw3vxgy08l87055whr-libclc-11.0.1/include in the strace below.
$ strace ./hello 2>&1 | rg clc
newfstatat(AT_FDCWD, "/nix/store/d902ifqzwfld7mjw3vxgy08l87055whr-libclc-11.0.1//nix/store/d902ifqzwfld7mjw3vxgy08l87055whr-libclc-11.0.1/include", 0x7ffe2a5cf060, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/d902ifqzwfld7mjw3vxgy08l87055whr-libclc-11.0.1/share/clc/polaris10-amdgcn-mesa-mesa3d.bc", O_RDONLY|O_CLOEXEC) = 8
newfstatat(AT_FDCWD, "./clc", 0x7ffe2a5cde50, 0) = -1 ENOENT (No such file or directory)
write(2, "<built-in>:1:10: fatal error: 'c"..., 57<built-in>:1:10: fatal error: 'clc/clc.h' file not found

Are there any plans to add this in the stable branch?

This PR is quite old, contained in both 21.11 and 22.05 releases.


Solution/Idea
option to set layout options (medium icons, large icons, column, etc) as a global setting. so that we don't keep setting up such layouts on each and every folder we visit
Alternatives
setting up layout for each folder one by one. and it sucks.
Priorities
| Capability | Priority |
| Global layout options | Should |
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19044.1348
Additional comment
No response

You should be able to:

Turn Off "Enable individual preferences for individual directories" in Settings > Files and Folders
Go to any folder and set your desired layout mode

The selected layout at step 2 will be the default.


ISPN-6880 Netty ByteBuf leak in REST endpoint

https://issues.jboss.org/browse/ISPN-6880

Test failures are already present on master

Closing since it's already in https://github.com/infinispan/infinispan/pull/4736


Request for Enhanced Documentation

Hello,
First, I want to thank you for creating this Chrome extension boilerplate. The structure and features are well thought out and will significantly streamline my development process.
However, I have noticed that the boilerplate assumes a level of familiarity with Chrome extension development that some users, including myself, may not possess. The lack of comprehensive documentation can make it challenging for newcomers to fully leverage the capabilities of the boilerplate.

@VladimirBlagojevic We will do a better docs for template in the future, because we planning big refactor.
But the lack of knowledge about chrome extensions itself is not our problem.
We can help with template specified problems, because it's quite complicated.
But basic knowledge of React and chrome extension you as a user need to have before 😄
Let's take a look to: https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/issues/482#issuecomment-2132202739
Because It's duplicated issue

@VladimirBlagojevic
There's a lot of feedback that we need a tutorial on how to create chrome extensions using this repository. I'll think about how to enrich the documentation, possibly adding it to each package inside the codebase. Thanks for the great suggestion. :)


feat(http,model): support message stickers

Support Message Stickers, including the Sticker itself as well Sticker and Sticker Pack IDs and Sticker Format Types.
Discord API documentation: discord/discord-api-docs@b9ffd52
Closes #589.

Should the ids be outside of twilight_model::id I think that wuld cause some confusion if we do not do the same irregardless of what we do. As an alternative we could reexport the types in twilight_model::id, but I am not sure if that is a good idea. Other than that it looks good

There's precedent for this: https://docs.rs/twilight-model/0.2.2/twilight_model/oauth/id/index.html

Though yes this should probably be changed in the future, and they should all be from id, or something.

Okay that sounds fine then, we should open a issue about that as it is out of scope of this pr.


Inconsistent key detection bug

Robotgo version (or commit ref):
Go version:1.17
Gcc version:
Operating system and bit:windows10 64bit
Provide example code:

robotgo.EventHook(hook.KeyDown, []string{"command", "m"}, func(e hook.Event) {
			// soemtimes trigger by only m direct ？？？？
			expectedrawcode := hook.KeychartoRawcode("m")
			println(expectedrawcode)
			if e.Rawcode == expectedrawcode {
			timespeakImplementation()
			fmt.Println("timespeak execued")
			//robotgo.EventEnd()
			}
		})

Description
hey,i need help,thanks.In the code above,i use robotgo detecting keydown ,when the key windows+m pressed,then call a function,but Occasionally, even without pressing the Windows key, just pressing the M key triggers the event,i found this when typing characters in the text input boxes of other programs, use the built-in input method of Windows 10. This has happened many times. Why is this? Is it an issue with how I'm calling the code, or is it a bug in robotgo?tanks again
the full code is here github：https://github.com/GodGavin/winsleep/blob/master/main.go
...

https://learn.microsoft.com/zh-cn/windows/win32/learnwin32/accelerator-tables


FireFly e2e test failing with FF10111: Error from ethconnect "No ABI found with ID"

firefly_core_0_1  | Error: FF10111: Error from ethconnect: {"error":"No ABI found with ID "}
firefly_core_0_1  | Usage:
firefly_core_0_1  |   firefly [flags]
firefly_core_0_1  |   firefly [command]
firefly_core_0_1  |
firefly_core_0_1  | Available Commands:
firefly_core_0_1  |   help        Help about any command
firefly_core_0_1  |   showconfig  List out the configuration options
firefly_core_0_1  |
firefly_core_0_1  | Flags:
firefly_core_0_1  |   -f, --config string   config file
firefly_core_0_1  |   -h, --help            help for firefly
firefly_core_0_1  |
firefly_core_0_1  | Use "firefly [command] --help" for more information about a command.
firefly_core_0_1  |
firefly_core_0_1  | FF10111: Error from ethconnect: {"error":"No ABI found with ID "}

Here is a failure where the logs have been captured as an artifact:
https://github.com/hyperledger/firefly/pull/234/checks?check_run_id=3838443338


Download link for exe file broken

Clicking the link to get the exe file seems to be broken

Hey,
yeah sorry for that, i was chaning the whole download process, the link is now up to date


FLW-1074 Enter pin screen: add Face ID icon and action

Codecov Report

Merging #329 (5cde6d6) into develop (7920849) will increase coverage by 3.20%.
The diff coverage is 39.30%.

@@             Coverage Diff             @@
##           develop     #329      +/-   ##
===========================================
+ Coverage    31.43%   34.64%   +3.20%
===========================================
  Files          462      524      +62
  Lines        19656    23950    +4294
===========================================
+ Hits          6179     8297    +2118
- Misses       13477    15653    +2176

Impacted Files
Coverage Δ

...ataProvider/Sources/JsonSingleProviderSource.swift
0.00% <0.00%> (ø)

...DataProvider/Sources/WebSocketProviderSource.swift
0.00% <0.00%> (ø)

.../Subscription/SingleValueSubscriptionHandler.swift
16.66% <0.00%> (+5.55%)
:arrow_up:

...ion/FearlessUtils/StorageKeyFactory+Implicit.swift
0.00% <ø> (ø)

...s/Common/Extension/Model/WalletAssetId+Chain.swift
0.00% <0.00%> (ø)

...peration/CompoundOperationWrapper+Dependency.swift
0.00% <0.00%> (ø)

...e/CDTransactionHistoryItem+CoreDataDecodable.swift
0.00% <0.00%> (ø)

.../Common/Extension/UIKit/GradientButton+Style.swift
0.00% <0.00%> (ø)

...mon/Extension/UIKit/TriangularedButton+Style.swift
0.00% <0.00%> (ø)

...ss/Common/Extension/UIKit/UIStackView+Manage.swift
0.00% <0.00%> (ø)

... and 248 more


Dynamic libtensorflow-lite for ARM64

I followed cross-compile for ARM64 and produced a static library libtensorflow-lite.a
Is it possible to cross-compile for ARM64 this library as dynamic (shared) so version for ARM64 as well?

Could you try this?
bazel build -c opt --config=elinux_aarch64 tensorflow/lite:tensorflowlite


Generate publish time of message at broker side

Is your feature request related to a problem? Please describe.
Currently, publish time of message is generate at client side, while multiple client send messages to broker, we can't guarantee that the order of the messages is incremented by the publish time of the message.
Since Pulsar SQL can push down the "publish_time" predicate and use binary search to trim data, this may result in inaccurate data being trimmed.
So, if can support the generation of publish time on the broker side will bring benefits in this scene. Although topic owner(broker) can change, ledger id still can help guarantee that the trimmed data no data loss.
Describe the solution you'd like
Add support for generate publish time at broker side and add options to enable or disable this feature.
This issue is relate to #4823

Closed as stale and no one seems to work on it. Please create a new issue if it's still relevant to the maintained versions.


ImportError when trying to enable

https://i.imgur.com/do6rOp2.png
fresh install of blender 2.79, freshly updated python to 3.8.

No, don't use python 3.8! Blender 2.79 comes with it's own Python which is 3.5 and it will only work with this version

i will install python 3.5 and report back o7

I assume it worked. If not, reopen this


sample selection criteria for partnet-symh dataset

Hi, fenggen
I noticed that there are 4045 samples of airplanes in the ShapeNet dataset, but only 630 samples in the PartNet dataset you released. Did you follow any specific criteria when selecting samples for the PartNet-Symh dataset?
Thank you!
Best regards,
ziyu

Sorry, I have another question. Thank you for sharing your dataset creation process at [https://github.com/FENGGENYU/CVPR2019_PartNet/issues/5#issuecomment-1176861275], which is very helpful to me. I would also like to ask what method you used to do fine-grained part segmentation in step 1? Thank you very much!

The data in PartNet dataset are from previous work GRASS, not sampled from Stanford ShapeNet.
Data in PartNet-Symh dataset are from Stanford PartNet dataset.
Step 1 are usually done by mannual segmentation, such as maya and 3ds max.

I see. Thanks a lot!


fix(verify): report known headers as soft failure

Known headers are not failing verification. They just ignored because we don't need them and thus can be reported as soft failure.

Do you think we need this log as WARN or it should be DEBUG? Does this case need attention from node operator?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (28ff21c) 63.60% compared to head (95f2931) 63.85%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
+ Coverage   63.60%   63.85%   +0.24%
==========================================
  Files          39       39
  Lines        3366     3389      +23
==========================================
+ Hits         2141     2164      +23
+ Misses       1060     1059       -1
- Partials      165      166       +1

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

Note that this PR suppresses a symptom of a problem (likely with recencyThreshold) that the node eagerly requests Head even though one should soon arrive via header-sub

Note that this PR suppresses a symptom of a problem (likely with recencyThreshold) that the node eagerly requests Head even though one should soon arrive via header-sub

Please make sure we have a descriptive issue for it and so we don't forget after vanishing it from logs.


lib: Improve library docs

Motivation for this change
Fix few issues noticed by @joepie91
Things done

Built on platform(s)

[x] x86_64-linux

[x] Checked rendering of the manual (nix-build pkgs/top-level/release.nix -A manual)
[x] Fits CONTRIBUTING.md.

Hmm, it would be nice to also parse backticks to something.

Hopefully, we will have Markdown manual this year.


Major regression: connecting_node is no longer being set.

The connecting_node on LGraphCanvas seems to have completely disappeared in this version of LiteGraph, while being a major property previously (as seen in https://github.com/comfyanonymous/litegraph.js/blob/master/src/litegraph.js, or the original https://github.com/jagenjo/litegraph.js/blob/master/src/litegraph.js).

Looks like this may have been renamed to connecting_links ? (though, there's more instances of connecting_links in the new code, than connecting_node in the original...

I fixed the regression this caused for the rgthree-comfy extension. Though I am worried if there are other breaking changes within LiteGraph.

The code was refactored in https://github.com/Comfy-Org/litegraph.js/pull/32
That is the only major change that breaks backward compatibility. All changes are documented in the README header file.

👍 Thanks!


Add config nodes for Rockomax parts in career mode

Squad included the 2.5m fairing under Specialized Construction in the tech tree.
Unlocking it, I had expected to be able to expand PF out to 2.5m, but it didn't.
Modded the config. Figured I might as well PR it up, if you guys want to include it in the future.

Awesome, thanks for this!


insertImage:alt: does not seem to work

Seems there is an issue with this method not working. Although the insert image button does work.

insertImage:alt:  button did working, but after insert it doesn't appear on the view. It just show blue question mark,

What code did it insert? Did you use an absolute URL?

I found the reason, on iOS 9 we need to set on plist
NSAppTransportSecurity

NSAllowsArbitraryLoads

user insertImage:alt can't work
the url looks like  http://.../img/topic/20181218/15451297703346imageSize=W=40H=150.jpeg
how can i fix it?


[Removal]:

Hotspot Name
thankful-mint-troll
Hotspot b58 Address
11G1ZE3XkRCx54VwYz8dnhyxHCj3UTdiHXuJQopapAbgECjVsf7
Discord Handle
No response
Hotspot Manufacturer
Bobcat
Removal Reason
I actually deployed the Bobcat on the balcony, just using a 1.2dBi 0m fiberglass antenna.Please help me correct if there are mistakes .thank you!
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Project fails at loading scripting assemblies

after I tried to add a page from my Figma profile to unity the projects froze and when trying to reopen it gets stuck at loading the assembly, tried to remove and rebuild the packages and project settings folders but it still stuck.
Note: I tried to add a page before using an older version and it was working fine, this only happened after updating to the latest version.

@seifmostafa73 Could you please write the exact steps of what have u done to achieve that result (from adding the tool till the freeze). Because everything works in my test project. And maybe you can share the page that froze the project or the project itself.

yeah sure, I basically had a new OS [linux] and had a fresh setup of unity and then just copied the Github link to add the package referred to in the install section "https://github.com/ManakhovN/FigmaToUnityImporter.git?path=/Assets/FigmaImporter to Package Manager".
next, I just went over and copied the authentication link and continued as the Usage section stated.
as for the exact page, it was a modified version of this project's Board page
https://www.figma.com/community/file/888906989876942858
for the delayed reply, Github doesn't push notifications.


Invalid set index position error (RigidBody Chain Swing)

Not sure what step I messed up but I get the following error on line in chain.gd 11 & 17
Invalid set index "position" (on base: 'Node') with value of type 'Vector 2'

Ah ha thanks yes!


Please update the github pages site for the project.

@WarenGonzagaOfficial I think you are busy or something, but I am seriously interested in your project. I have already created 35 news animations for your plugin and will create the rest in a day or 2. It think it would be something quite valuable towards GSAP. My request is to please update your Plugin site as it is still running the older version.

Alright! @SakhirAtwi for being interested in my project, yes you are right I am busy on weekdays but still need to be active to open source projects such this... will review your commits and will merge :)

@SakhirAtwi I made a bunch of updates... please rebase your code :) you should get the updated files and commit it again and I will review it. Thanks for your contribution.


Projects.create() Error "The caller does not have permission"

Hi, i'm developing an application where I need to create projects programmatically.
I'm using the api cloud resource manager but when I use the method to create a project tells me "The caller does not have permission".
I read that invitation is needed because it is in alpha phase.
how can I do it?
Thanks.

There is a request form on https://cloud.google.com/resource-manager/docs/
Sorry we can't be more helpful.

Ok, thanks!


GitLab CI ignores except: triggers

I have a .gitlab-ci.yaml that has a build job that looks like this:
build:
  stage: build
  except:
    - triggers
  tags:
    - java
    - gradle
  script:
    - ./gradlew build

However, when I trigger the build through REST API (to execute other jobs), the build job (and other jobs with "except: triggers" option configured) are still executed.
I am running GitLab Community Edition 8.5.7 (72913ed).
Can you please look into this? Thanks!

@mykyta-protsenko Thanks for the report. Can you please submit this issue in a gitlab.com/gitlab-org/gitlab-ce issue tracker? We currently do not use GitHub to track our issue. Thanks!


System Exception POST to Bot failed: POST to the bot's endpoint failed with HTTP status 500 POST to the bot's endpoint failed with HTTP status 500

I think I got the same issue with @hardikp81 #3199 while user send a message to bot, then Web App throws an exception which indicates an error occurred in the response Message from Bot endpoint: https://botname.azurewebsites.net/api/messages
Bot Info

SDK Platform: C#
SDK Version: <IP_ADDRESS>
Active Channels: Direct Line
Deployment Environment: Azure App Service

Issue Description
Bot service throws the exception when user send the message to bot. Microsoft.Bot.ChannelConnector fails to send the message to Bot. Please find the exception below:
Microsoft.Bot.Schema.BotException:
at Microsoft.Bot.ChannelConnector.BotAPI+d__30.MoveNext (Microsoft.Bot.ChannelConnector, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null)
Inner exception System.Exception handled at Microsoft.Bot.ChannelConnector.BotAPI+d__30.MoveNext:
at Microsoft.Bot.ChannelConnector.BotAPI+d__30.MoveNext (Microsoft.Bot.ChannelConnector, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null)

@jwiley84  I got the solution from my colleague, I will close this issue soon. If I got the issue again, then I will reopen it.

What was your solution Can you please post details if possible?

I am also getting the same error if possible I would like to have some details on the solution?

Are you receiving message on bot endpoint? I would log requests and
response on bot side to see if message is even reacting to bot.
On Mon, Jul 16, 2018 at 9:39 PM frank<EMAIL_ADDRESS>wrote:

I am also getting the same error if possible I would like to have some
details on the solution?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotBuilder/issues/4822#issuecomment-405431819,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbWhNsCUL4mempLjPSehARQ_Qc0ri7tcks5uHUBNgaJpZM4VBt0c
.

--
Thanks,
Jignesh Patel


Issue with k8s.io/docs/setup/production-environment/turnkey/stackpoint/

This is a Bug Report

Problem:
The documentation refers to stackpoint.io, which is retired.

Proposed Solution:
Remove said page from documentation.
Page to Update:
https://kubernetes.io/docs/setup/production-environment/turnkey/stackpoint/

Good spot
/priority important-longterm

/help

/assign

Hi, I'd like to fix this issue.  Plz tell me a little bit.  I just checked stackpoint.io and also saw "retired".  I think nobody can try this page.  So, should we remove this page Running Kubernetes on Multiple Clouds with Stackpoint.io ??

should we remove this page Running Kubernetes on Multiple Clouds with Stackpoint.io

That seems the best approach. Are you happy to submit a pull request @furukawa3 ?

should we remove this page Running Kubernetes on Multiple Clouds with Stackpoint.io

That seems the best approach. Are you happy to submit a pull request @furukawa3 ?

Will do !! Thanks @sftim for your kindness.


prometheus-k8s-0 CrashLoopBackOff after several days of running

Hello!
Disclaimer: total kubernetes noob; followed Jeff Geerlings guide on deploying prometheus and grafana on a RPI4 cluster as outlined in his blog.
When I did my original deployment, I noticed an issue where grafana was showing no data in the dashboard. I thought it was my fault as I was messing around with things. Decided to do a fresh deployment by deleting the entire monitoring namespace (where everything for cluster monitoring was setup) and re-deploying.
Everything worked fine but several days ago, it started doing the same constant crash. Please see pod description below which seems to also provide the error associated with the crash (Exit Code 2). Would appreciate assistance in resolving or, if any more data is needed - please let me know! Thanks!!
Name:         prometheus-k8s-0
Namespace:    monitoring
Priority:     0
Node:         fuzzykube-worker3/<IP_ADDRESS>
Start Time:   Fri, 10 Jul 2020 01:57:33 -0700
Labels:       app=prometheus
              controller-revision-hash=prometheus-k8s-7ffbdcdd76
              prometheus=k8s
              statefulset.kubernetes.io/pod-name=prometheus-k8s-0
Annotations:  <none>
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  StatefulSet/prometheus-k8s
Containers:
  prometheus:
    Container ID:  containerd://6d1e9d6da84eb6fb6fb135886ac4f48e09db5d58e33bf7017b2d8ac58c7b8599
    Image:         prom/prometheus:v2.19.1
    Image ID:      docker.io/prom/prometheus@sha256:efe62fa8804e9fd2612a945b70c630cc27e21b5fb8233ccc8be4cfbe06d26b04
    Port:          9090/TCP
    Host Port:     0/TCP
    Args:
      --web.console.templates=/etc/prometheus/consoles
      --web.console.libraries=/etc/prometheus/console_libraries
      --config.file=/etc/prometheus/config_out/prometheus.env.yaml
      --storage.tsdb.path=/prometheus
      --storage.tsdb.retention.time=15d
      --web.enable-lifecycle
      --storage.tsdb.no-lockfile
      --web.external-url=http://prometheus.xxx.nip.io
      --web.route-prefix=/
    State:       Waiting
      Reason:    CrashLoopBackOff
    Last State:  Terminated
      Reason:    Error
      Message:   rentHeadChunk(0xa27e840, 0x54de120)
                 /app/tsdb/head.go:1991 +0x22c
github.com/prometheus/prometheus/tsdb.(*memSeries).cutNewHeadChunk(0xa27e840, 0x6f51fa05, 0x173, 0x54de120, 0x1)
  /app/tsdb/head.go:1962 +0x24
github.com/prometheus/prometheus/tsdb.(*memSeries).append(0xa27e840, 0x6f51fa05, 0x173, 0x0, 0x41ad1ce0, 0x0, 0x0, 0x54de120, 0x1)
  /app/tsdb/head.go:2118 +0x3a4
github.com/prometheus/prometheus/tsdb.(*Head).processWALSamples(0x4ec4100, 0x6f195d00, 0x173, 0xd7664c0, 0xd766480, 0x0, 0x0)
  /app/tsdb/head.go:365 +0x284
github.com/prometheus/prometheus/tsdb.(*Head).loadWAL.func5(0x4ec4100, 0xa553770, 0xa553780, 0xd7664c0, 0xd766480)
  /app/tsdb/head.go:459 +0x3c
created by github.com/prometheus/prometheus/tsdb.(*Head).loadWAL
  /app/tsdb/head.go:458 +0x268
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xc pc=0x1532d88]

goroutine 245 [running]:
bufio.(*Writer).Available(...)
  /usr/local/go/src/bufio/bufio.go:608
github.com/prometheus/prometheus/tsdb/chunks.(*ChunkDiskMapper).WriteChunk(0x54de120, 0x139b9, 0x0, 0x6f1b0b85, 0x173, 0x6f510fa5, 0x173, 0x240cee0, 0xa311820, 0x0, ...)
  /app/tsdb/chunks/head_chunks.go:252 +0x500
github.com/prometheus/prometheus/tsdb.(*memSeries).mmapCurrentHeadChunk(0xa27e8f0, 0x54de120)
  /app/tsdb/head.go:1988 +0x6c
github.com/prometheus/prometheus/tsdb.(*memSeries).cutNewHeadChunk(0xa27e8f0, 0x6f51fa05, 0x173, 0x54de120, 0x1)
  /app/tsdb/head.go:1962 +0x24
github.com/prometheus/prometheus/tsdb.(*memSeries).append(0xa27e8f0, 0x6f51fa05, 0x173, 0x0, 0x41b64e90, 0x0, 0x0, 0x54de120, 0x10001)
  /app/tsdb/head.go:2118 +0x3a4
github.com/prometheus/prometheus/tsdb.(*Head).processWALSamples(0x4ec4100, 0x6f195d00, 0x173, 0xd766540, 0xd766500, 0x0, 0x0)
  /app/tsdb/head.go:365 +0x284
github.com/prometheus/prometheus/tsdb.(*Head).loadWAL.func5(0x4ec4100, 0xa553770, 0xa553780, 0xd766540, 0xd766500)
  /app/tsdb/head.go:459 +0x3c
created by github.com/prometheus/prometheus/tsdb.(*Head).loadWAL
  /app/tsdb/head.go:458 +0x268

      Exit Code:    2
      Started:      Mon, 27 Jul 2020 14:02:55 -0700
      Finished:     Mon, 27 Jul 2020 14:03:04 -0700
    Ready:          False
    Restart Count:  1918
    Requests:
      memory:     400Mi
    Liveness:     http-get http://:web/-/healthy delay=0s timeout=3s period=5s #success=1 #failure=6
    Readiness:    http-get http://:web/-/ready delay=0s timeout=3s period=5s #success=1 #failure=120
    Environment:  <none>
    Mounts:
      /etc/prometheus/certs from tls-assets (ro)
      /etc/prometheus/config_out from config-out (ro)
      /etc/prometheus/rules/prometheus-k8s-rulefiles-0 from prometheus-k8s-rulefiles-0 (rw)
      /prometheus from prometheus-k8s-db (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-k8s-token-5mjmr (ro)
  prometheus-config-reloader:
    Container ID:  containerd://fb3474713bbb01391164e6f0874b3034f0672e353d8b6c054b95c99a673a52c7
    Image:         carlosedp/prometheus-config-reloader:v0.40.0
    Image ID:      docker.io/carlosedp/prometheus-config-reloader@sha256:218f9f49a51a072af66ac67696c092a4962fd5108cd5525dbbcea5c239fe3862
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/prometheus-config-reloader
    Args:
      --log-format=logfmt
      --reload-url=http://localhost:9090/-/reload
      --config-file=/etc/prometheus/config/prometheus.yaml.gz
      --config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml
    State:          Running
      Started:      Fri, 10 Jul 2020 01:57:51 -0700
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  25Mi
    Requests:
      cpu:     100m
      memory:  25Mi
    Environment:
      POD_NAME:  prometheus-k8s-0 (v1:metadata.name)
    Mounts:
      /etc/prometheus/config from config (rw)
      /etc/prometheus/config_out from config-out (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-k8s-token-5mjmr (ro)
  rules-configmap-reloader:
    Container ID:  containerd://1294639831eb3e37a598e85f1d5d4043d9d3b441bf3acdaa380820178ece67cd
    Image:         carlosedp/configmap-reload:latest
    Image ID:      docker.io/carlosedp/configmap-reload@sha256:cd9f05743ab6024e445ea6e0da4416122eae5e1d0149dd33232be0601096c8d4
    Port:          <none>
    Host Port:     <none>
    Args:
      --webhook-url=http://localhost:9090/-/reload
      --volume-dir=/etc/prometheus/rules/prometheus-k8s-rulefiles-0
    State:          Running
      Started:      Fri, 10 Jul 2020 01:57:52 -0700
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  25Mi
    Requests:
      cpu:        100m
      memory:     25Mi
    Environment:  <none>
    Mounts:
      /etc/prometheus/rules/prometheus-k8s-rulefiles-0 from prometheus-k8s-rulefiles-0 (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-k8s-token-5mjmr (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  config:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  prometheus-k8s
    Optional:    false
  tls-assets:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  prometheus-k8s-tls-assets
    Optional:    false
  config-out:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  prometheus-k8s-rulefiles-0:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      prometheus-k8s-rulefiles-0
    Optional:  false
  prometheus-k8s-db:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  prometheus-k8s-token-5mjmr:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  prometheus-k8s-token-5mjmr
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  kubernetes.io/os=linux
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason   Age                        From                        Message
  ----     ------   ----                       ----                        -------
  Normal   Pulled   57m (x1908 over 17d)       kubelet, fuzzykube-worker3  Container image "prom/prometheus:v2.19.1" already present on machine
  Warning  BackOff  2m45s (x44716 over 7d23h)  kubelet, fuzzykube-worker3  Back-off restarting failed container

read the same article, having the same issue. I think the resources need to be adjusted, for the stateful set "prometheus-k8s", I'm seeing Memory Usage 180.5Mi, Requested 450Mi, and Limit 50Mi. CPU is slightly over the requested & limit of 200m at 238.61m.

Exactly, this might be because the amount of memory Prometheus is using.
If you are using a memory limited device like a RPi with 1 or 2GB RAM it might be the problem.
I don't think there is a way to limit it's memory usage.
Closing as it's not a monitoring stack issue.

I'm using an 8gb pi, do you know if the script is setting the limits in the manifests? It's not a limit I set.

By default, Prometheus has a Resource request for 400Mi set in the upstream library (github.com/coreos/kube-prometheus/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet).
You might try to override it and test but it's out of scope here.

read the same article, having the same issue. I think the resources need to be adjusted, for the stateful set "prometheus-k8s", I'm seeing Memory Usage 180.5Mi, Requested 450Mi, and Limit 50Mi. CPU is slightly over the requested & limit of 200m at 238.61m.

How did you check the utilization? When I try to do kubectl top pod - it fails :(

@McFuzz89 I use https://infra.app/ for monitoring my homelab cluster

Yeah those increased limits were something I was hoping we could fix in this project for others, but seems like we should just be making them after the initial setup is done. I also made some changes to the generated files to enable anonymous mode in grafana for a kiosk in my office, and move the CPU temperature towards the top to fit. The grafana.ini file is base64 encoded in the grafana-configmap, but you can easily decode->modify->encode and run kubectl apply -f grafana-configmap.yaml

@rossmckelvie - thanks for the tip! Based on historical data, it seems prometheus crashes after about a day of operation - so come tomorrow evening my time, I should know if the changes worked.

@McFuzz89 any luck?


Add Arc

NOTE: A similar PR may already be submitted! Please search among the Pull request before creating one.
Types of Changes
What types of changes does your PR introduce? Put an x in all boxes that apply

[x] New addition to list
[ ] Fixing bug in existing item in list
[ ] Removing item from list
[ ] Changing structure (organization) of list

Proposed Changes
Arc is your space to breathe on the internet. A browser equipped for the way we use the internet in 2022, and foundational for how we hope to use it in the future..
PR Checklist
Put an x in the boxes once you've completed each step. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING guide
[x] I have explained why this PR is important
[x] I have added necessary documentation (if appropriate)

Further Comments
N/A

Best Browser from The Browser Company!
Please Merge. @jaywcjlove

@jaywcjlove Merging this browser is very much needed, because it is an awesome mac tool.

@jaywcjlove Please Reconsider this and it is an mac Exclusive


Checkout / Checkin procedures broken again

See notes in #1116, steps to replicate:

Create reservation for model with checkout procedures
Check out model and check off procedures
Notes indicate that procedures were not completed

Could this be a strong params issue? Also, the header for the checkin notes that follows missed checkout procedures appears to be missing a leading \n (see below):

this could definitely be a strong params issue

Yea figured as much, just didn't have time to check.


#472: added missing directory

Fixes: #472
Implements:

added missing directory before file write (using ensureParentDirectoryExists)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.003%) to 61.761%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/merge/TextMerger.java
2
57.58%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
5278

Relevant Lines:
8228

💛  - Coveralls


WARNING! Using --password via the CLI is insecure. Use --password-stdin.

It looks like docker changed the commandline option.
> gcloud --project xxx -- tag image eu.gcr.io/project/image:<ver>
ERROR: Docker CLI operation failed:

WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error saving credentials: error storing credentials - err: exit status 1, out: `docker-credential-gcr/helper: this operation is unsupported for GCR, please see docker-credential-gcr documentation for supported login methods. 'gcloud docker' is unnecessary when using docker-credential-gcr, use 'docker' instead.`

ERROR: (gcloud.docker) Docker login failed.

> docker --version
Docker version 17.09.0-ce, build afdb6d4

We made a change to gcloud docker to simplify some of the hacks used to determine which behavior to adopt when invoking docker login. Since you have docker-credential-gcr configured, you can use the naked docker commands.

I am not sure why you propose what the error message already states. We're using a build system and this called it that way, so the change that needs to be done is to change it there. The above example is just what worked before and got silently broken.


Implement Boolean type for JsonVal

Add support for the ES Boolean datatype to Rust booleans.

Cool.  Thank you.

Thank you for merging this. Would be great if you publish a new version of rs-es on crate.io

The HEAD of master is currently in a slightly inconsistent state, it's not quite ready for a new release just yet.  Hopefully in a week or two.
In the meantime would importing the project as a git dependency help? (e.g., the examples here: http://doc.crates.io/guide.html#cargotoml-vs-cargolock)

I see.
I'm already doing that, but unfortunately my tests always die on CircleCI due to a bug in Cargo.

$<2>$<2>    Updating$<2> registry https://github.com/rust-lang/crates.io-index
$<2>Unable to update registry https://github.com/rust-lang/crates.io-index
$<2>$<2>
Caused by:
$<2>$<2>  failed to fetch https://github.com/rust-lang/crates.io-index
$<2>$<2>
Caused by:
$<2>$<2>  failed to authenticate when downloading repository
$<2>$<2>
Caused by:
$<2>$<2>  [23/-1] error authenticating: no auth sock variable

$<2>cargo build -v returned exit code 101

I've backported your change to the 0.2.x series, and released on crates.io as 0.2.1: https://crates.io/crates/rs-es
Hopefully this should help.
But the 0.2.x series is the one targeting ES 1.6, but it should be (mostly) forward compatible, but any ES 2.0 or later features won't be available until the 0.3 releases are ready.


Homebridge Docker stopping unexpectedly every minute.

I've been using Homebridge successfully for half a year. Last week I updated DSM to 6.1.4-15217 Update 2 and Docker version 17.05.0-0349 to and now I can't get homebridge to run. According to the log, it doesn't appear to be installing the most recent versions of Homebridge or npm. Can anyone provide some insight?
I'm running marcoraddatz/homebridge: latest .
My install.sh:
#!/bin/bash

npm install -g homebridge-synology
npm install -g homebridge-lifx-lan
npm install -g homebridge-platform-wemo

My config.jsaon:
{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  },
  "description": "Muh Hoom",
  "platforms": [
    {
     "platform": "BelkinWeMo",
     "name": "WeMo Platform"
    },
    {
      "platform": "Lifx-Lan",
      "name": "LiFx",
      "access_token": "cee1a73f9e81c67e00294ce90750461dd8cd921aa2a2fdf10db4063ebdca6c24"
    }
  ]
}

The log file (is long... sorry):
marcoraddatz-homebridge1_Log.pdf

NPM and Homebridge are provided with the image. Try to use the develop branch or set the version via .env to "latest". It might fix this error:

Error: Plugin /usr/local/lib/node_modules/
homebridge-lifx-lan requires a HomeBridge version of >=0.4.29
which does not satisfy the current HomeBridge version of 0.4.27.

thanks. I tried the develop image on it's own and then with the .env set to "latest". neither solved the issue.
.env:
# Options are debug, development and production
# Default environment is "production"
# See https://github.com/marcoraddatz/homebridge-docker/tree/develop#plugin-development for more info
HOMEBRIDGE_ENV=development

# Options are release tags (f.e. "0.4.16"), "latest" or NPM ranges
# Default version is "latest"
# See https://docs.npmjs.com/cli/install for more info
HOMEBRIDGE_VERSION=latest

Log:  Log 2.txt

Hello
Can you try when adding in your install.sh :
npm install -g commander
Your logs indicates that the package is missing and I have sometimes this error
(And add every package which could be missing)

thanks, I tried that, but no joy. as far as adding other packages which could be missing, I just don't know enough to know what's missing and if adding it to the install.sh would be the solve.
added:
#!/bin/bash

npm install -g commander
npm install -g homebridge-synology
npm install -g homebridge-lifx-lan
npm install -g homebridge-platform-wemo

Log 3.txt

I've got the same issue. Running Homebridge in debug outputs the following:
2017-12-8 17:50:41] ERROR LOADING PLUGIN homebridge-lifx-lan:
[2017-12-8 17:50:41] Error: Plugin /usr/local/lib/node_modules/homebridge-lifx-lan requires a HomeBridge version of >=0.4.29 which does not satisfy the current HomeBridge version of 0.4.27. You may need to upgrade your installation of HomeBridge.
    at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:56:11)
    at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:132:14)
    at Array.forEach (<anonymous>)
    at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:128:22)
    at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:51:24)
    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
[2017-12-8 17:50:41] ====================

I have Docker 17.05.0-0349
dsm 6.1.4-15217 update 3 and do not experience these things.
where can i check what homebridge image version i am using
i see nothing resembling v4 or later
in the log it states
<EMAIL_ADDRESS><EMAIL_ADDRESS>what would be the best way to update. put a .env file in place and stop/.start or just download the latest image

You can check with the following command:
npm outdated -g


Fix packaging issues when releasing

When releasing, problems were encountered:

No packages had been generated nor uploaded as artifacts
Upload process failed

This fix should also be taken to branch release/0.1

Codecov Report

Merging #13 (d8c8dd3) into main (6ee4bfe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   93.22%   93.22%
=======================================
  Files           1        1
  Lines          59       59
=======================================
  Hits           55       55
  Misses          4        4

Continue to review full report at Codecov.

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

I like the usage of wheelhouse for generating various wheels ❤
Also, I noticed that the version of this package is not defined in the __init__.py file. This is not mandatory but a common practice, so users can do:
import ansys.tools as pyansys_report
print(pyansys_report.__version__)

Anyway, this looks really good @RobPasMue 🚀

Thanks @jorgepiloto for the feedback! Much appreciated. I'll open an issue for this feature, since it is not really a fix (I'd like to keep both things separated).


Magical Crops Hoe not accepted in Farming Station

Issue Description:
Im using magical crops to grow resources and wanted to use enderIO's farming stations to auto farm the crops, I found that magical crops infused essence tier 3 hoe is unbreakable, perfect I thought, until I tried to add it to the hoe slot in the farming station and the station wont accept it.
What happens:
I try to place the hoe into the farming station but it wont accept it.
What you expected to happen:
I expected the farming station to just accept the hoe and begin to hoe the farm land.
Steps to reproduce:

Have a Magical Crop Infused Essence Hoe Tier 3
Have a Farming Station
Try and put the hoe in the station

Affected Versions (Do not use "latest"):

EnderIO: <IP_ADDRESS>3-beta
EnderCore: <IP_ADDRESS>
Minecraft: 1.7.10
Forge: 1.7.10-<IP_ADDRESS>4

Your most recent log file where the issue was present:
https://gist.githubusercontent.com/Smalfinn/d2f14ba6a5b5cd6c67e8/raw/8b54c7c01b0a3b63e560466e745f76306717b29b/gistfile1.txt

EnderIO supports some Hoes from Magical Crops:
      "magicalcrops:magicalcrops_AccioHoe", "magicalcrops:magicalcrops_CrucioHoe", "magicalcrops:magicalcrops_ImperioHoe",
      // disabled as it is currently not unbreaking as advertised "magicalcrops:magicalcrops_ZivicioHoe",

The thing is, the Farming Station has to rely on a whitelist of items that work as Hoes due to the way they are implemented in Minecraft, thus there will always be some Hoe that's not supported.
The whitelist can be edited in the in-game Mod Settings menu under "Farm Settings" -> "farmHoes".
What is the Item ID of the Infused Essence Hoe (you get it by pressing F3+H and hovering over the item in the inventory)? Can you manually add the Hoe to the whitelist and test if it doesn't break the game or anything (check whether the Farming Stations stops once the durability of the Hoe has run out)?

The reason that hoe is not supported is because it is not damageable. I would rather not support undamageable hoes out of the box, to me that is a balance concern. You are of course free to add it though, as @wlhlm has pointed out.

Okay well I tested it by changing the config but it broke anyways.

@tterrag1098 https://github.com/SleepyTrousers/EnderIO/blob/master/src/main/java/crazypants/enderio/config/Config.java#L311 will have to change (or have added to) the following since Magical Crops 4 beta 5;
"magicalcrops:magicalcropsarmor_AccioHoe", "magicalcrops:magicalcropsarmor_CrucioHoe", "magicalcrops:magicalcropsarmor_ImperioHoe",


Milestone 5: Database performance audit

In this milestone we completed:
1.Analyzing database performance
2.Improved query execution time
BEFORE:

AFTER:

Updated Screen shots:
BEFORE:

AFTER:


Batched Inference Possible?

Hey, thanks again for this project. I was wondering if it's possible to do batched inference with the current API. Thanks!

Yes, it should work.
Just use jax.vmap to wrap various methods, e.g.,
initial_state = jax.vmap(model.encode)(...)
final_state, predictions = jax.vmap(model.unroll)(initial_state, ...)

You may need to adjust the in_axes argument and/or write a helper function.
I have not tested it, but I expect that this could result in significant speed-ups for inference on GPU, especially for coarser resolution simulations.

Thanks again for the pointer. I managed to set it up like this:
def get_random_state():
    return neural_gcm_model.encode(
        inputs, forcings=input_forcings, rng_key=jax.random.PRNGKey(randint(0,191398193819238)))

def stack_initial_states(initial_states):
    return tree_multimap(lambda *xs: jnp.stack(xs), *initial_states)

def get_initial_state(n_states:int):
    return stack_initial_states([get_random_state() for x in range(n_states)])

def unroll_fn(initial_state):
    return neural_gcm_model.unroll(
        initial_state, forcings=forcings, steps=outer_steps,
        timedelta=timedelta, start_with_input=True)

vectorized_unroll_fn = jax.vmap(unroll_fn)
final_states, predictions = vectorized_unroll_fn(get_initial_state(i))

However, sadly I am not getting any speedup over just running in a loop. I am not too familiar with Jax did I make any obvious mistake?

I checked the results and they look good. So the computation is happening correctly. Wrapping vmap into a jax.jit also didn't help.

This looks right to me at high level.
I'm honestly not sure exactly what to expect here. NeuralGCM already uses a fair amount of parallelism inside each model, so it's possible there isn't much speed-up available.
One thing to check is to make sure the forward computation is jit compiled, by wrapping jax.jit around your vmapped function and then calling it twice to ensure you aren't measuring tracing/compilation time:
https://jax.readthedocs.io/en/latest/faq.html#benchmarking-jax-code
If you want to do a deep dive into performance, take a look at JAX's profiling tools:
https://jax.readthedocs.io/en/latest/profiling.html

@leanderloew were you ever able to resolve this. I am having a similar issue and followed a similar procedure yet unable to figure it out.


PDP not work in smartedit for 1.5/develop as of jan22

Go to smartedit, open pages, and search "product".
Open "product details" page, you will see it does not work.
I tested release/1.4.x, it works.

But, in develop branch, it does not.

This issue is caused by ProductVariantGuard.
In function canActivate(),
 return this.routingService.getRouterState().pipe(
      map(state => state.nextState.params.productCode),
      filter(Boolean),
      ....

The filter(Boolean) will make this function return nothing when there is no productCode in route parameter. In smartedit, PDP can be opened without productCode. So, this will make the navigation cannot be complete because of this guard.

Tested on dev2. Can now display pdp on smartedit for both online and staged catalog. (with some error in the console though).
Can also add/edit/delete a component from pdp on smartedit.


Added 'matched' and 'mismatched' custom events on blur

When the input lose focus, check the text value and trigger either a matched or mismatched custom event.

typeahead:matched - Triggered when the input loses focus and there is exactly one suggestion.  The matching datum is passed to the event handler as an argument in addition to the name of the dataset it originated from.  Autocomplete will not occur in this case.

typeahead:mismatched - Triggered when the input loses focus and either there are no suggestions or more than one suggestion.

wow this is the exact feature I need. Any alternative for archiving the same thing ?


detect-lua: add tests

Includes test for LuaMatchTest01-LuaMatchTest06
Link to redmine ticket: https://redmine.openinfosecfoundation.org/issues/4911
Previous PR: https://github.com/OISF/suricata-verify/pull/1165

Closing as stale, feel free to reopen


go get fails:

go get
github.com/bazo-blockchain/bazo-client/client
client/process.go:51:36: not enough arguments in call to protocol.ConstrAccTx
have (byte, uint64, [64]byte, *ecdsa.PrivateKey)
want (byte, uint64, [64]byte, *ecdsa.PrivateKey, []byte, []protocol.ByteArray)
client/process.go:63:41: not enough arguments in call to protocol.ConstrAccTx
have (byte, uint64, [64]byte, *ecdsa.PrivateKey)
want (byte, uint64, [64]byte, *ecdsa.PrivateKey, []byte, []protocol.ByteArray)
client/process.go:180:34: not enough arguments in call to protocol.ConstrFundsTx
have (byte, uint64, uint64, uint32, [32]byte, [32]byte, *ecdsa.PrivateKey, *ecdsa.PrivateKey)
want (byte, uint64, uint64, uint32, [32]byte, [32]byte, *ecdsa.PrivateKey, *ecdsa.PrivateKey, []byte)

Not yet compatible with master branch. Use aduno_copy for now.

Using the "aduno" branch doesn't work for me neither.


Favicon issue

When I follow the getting started guide and pick the skeleton app and run:
~/Downloads/test/test$ nue
I get:
`✓ Created symlink<EMAIL_ADDRESS>✓ Created symlink<EMAIL_ADDRESS>✓ Created symlink<EMAIL_ADDRESS>✓ Created symlink<EMAIL_ADDRESS>✓ Created symlink<EMAIL_ADDRESS>✓ Created symlink<EMAIL_ADDRESS>✓ Added default /favicon.ico
✓ Engine: Bun 1.0.18
✓ Serving site from ./.dist/dev
✓ Building site to: ./.dist/dev
✓ Processing styles 1
style/global.css
✓ Transpiling components 2
views.nue
app.nue
✓ Single-page apps 1
index.html
Time taken: 7ms
✓ http://localhost:8080/ `
And when i check my browser I get this error in the console:
Firefox can’t establish a connection to the server at http://localhost:8080/<EMAIL_ADDRESS>GET http://localhost:8080/favicon.ico [HTTP/1.1 404 Not Found 0ms]
For context I use Debian sid, Bun 1.0.18, Nue 0.1.3

Try now. Should work with the latest Nuekit version. You can upgrade with bun install<EMAIL_ADDRESS>--global

Thanks. You solved it!


Add init script support for:

debian derivatives (upstart)
redhat derivatives (SysV)

Hi @gozer, I think this might need some more work.
Debian doesn't use upstart by default so this would break those installs. We would also want to avoid this being enabled by default and make it an optional setting in the confd class.
It might also make sense to add a systemd script to support the latest Debian and RedHat/CentOS.
Finally there are a few linting issues causing the build to fail.


does it can run in openwrt? MIPSEL,ramips architecture?

Describe the feature
run in openwrt package, mipsel(qualcomm), ramips(mediatek) architecutre
Describe the reason for such feature
A clear and concise description of why you want it to happen.
Describe alternatives you've considered
packages or static bin

Technically, it should be possible,
as openwrt is a supported platform target for rust
https://doc.rust-lang.org/nightly/rustc/platform-support/mips64-openwrt-linux-musl.html
You should be able to clone the project and build it for this platform.
At the moment, I am busy with family affair so I let it as an exercise for you ;)


riot-web: 0.15.6 -> 0.15.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/riot-web/versions.
meta.description for riot-web is: '"A glossy Matrix collaboration client for the web"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.15.7 with grep in /nix/store/vcxqha25w6bdgy3s2z8m1lan6df1jc5g-riot-web-0.15.7

directory tree listing: https://gist.github.com/5c02a8b8e8af6a64682aad5973a0334e

du listing: https://gist.github.com/bb24da1e44b370983f647a741f53fafc

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout d3f5b962cae429dd1f1a75113c15b551a9eaac30 && nix-shell --pure -I nixpkgs=. -p riot-web

cc @bachp for testing.

@GrahamcOfBorg build riot-web

Success on x86_64-linux (full log)
Attempted: riot-web
Partial log (click to expand)
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
checking for references to /tmp/nix-build-riot-web-0.15.7.drv-0 in /nix/store/vcxqha25w6bdgy3s2z8m1lan6df1jc5g-riot-web-0.15.7...
/nix/store/vcxqha25w6bdgy3s2z8m1lan6df1jc5g-riot-web-0.15.7

Success on aarch64-linux (full log)
Attempted: riot-web
Partial log (click to expand)
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
checking for references to /build in /nix/store/sq5l8vy5aspvnydxvwgmnhq5isb56cna-riot-web-0.15.7...
/nix/store/sq5l8vy5aspvnydxvwgmnhq5isb56cna-riot-web-0.15.7

Success on x86_64-darwin (full log)
Attempted: riot-web
Partial log (click to expand)
patching script interpreter paths in /nix/store/hlsbwvnpa8sxqfj12x9j23zfnjsdbvq3-riot-web-0.15.7
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/hlsbwvnpa8sxqfj12x9j23zfnjsdbvq3-riot-web-0.15.7


seeds file should be under seeds folder

Describe the bug
In this tutorial page it says

Create a new file in the data folder called manual_book1.csv.
In the screenshot it's data/manual_book1.csv

This is outdated. As shown in the screenshot in this page above item '18.', the dbt_project.yml has
data-paths: ["data"]

According to what my project file showed and this document it's renamed to
seed-paths: ["seeds"]

By the way, the data source used by this tutorial "Knoema Economy Atlas Data" is not available, makes this tutorial difficult to follow. See https://app.snowflake.com/marketplace/listing/GZSTZ491VXQ/knoema-economy-data-atlas
URL of where you see the bug
See description.
To Reproduce
See description.
Expected behavior
Tutorial should be aligned to recent versions.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A

See https://github.com/Snowflake-Labs/sfquickstarts/issues/990#issuecomment-1909121883


RET_CHECK failure: operand != nullptr  when trying to run with TPU

Hello,
I am trying to train my model with TPU on Google Colab. On GPU everything worked but was too slow for my workflows.
Now, after i have finished the initial setup I get the following error:
InternalError                             Traceback (most recent call last)
<ipython-input-14-9d78cb65fe31> in <module>()
    244 with tpu_strategy.scope():
    245     # Start the process
--> 246     out_label_all, true_label_all, features, test_labels, acc =                         start_session(log_dir, dsparams, hparams, eparams, mparams)
    247 results["ACC"] = acc

15 frames
<ipython-input-14-9d78cb65fe31> in start_session(log_dir, dsparams, hparams, eparams, mparams)
    235                     create_dir(run_dir)
    236
--> 237             results = run(run_dir, dsparams, hparams, eparams)
    238
    239     return results

<ipython-input-14-9d78cb65fe31> in run(run_dir, dsparams, hparams, eparams)
    165             tf.summary.scalar('accuracy', results[-1], step=1)
    166     else:
--> 167         results = train_model(run_dir, dsparams, hparams, eparams)
    168
    169     return results

<ipython-input-14-9d78cb65fe31> in train_model(run_dir, dsparams, hparams, eparams)
    121                 validation_data=ds_test,
    122                 verbose=eparams["VERBOSE"],
--> 123                 callbacks=callbacks
    124             )
    125

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/engine/training.py in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
   1186               logs = tmp_logs  # No error, now safe to assign to logs.
   1187               end_step = step + data_handler.step_increment
-> 1188               callbacks.on_train_batch_end(end_step, logs)
   1189               if self.stop_training:
   1190                 break

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/callbacks.py in on_train_batch_end(self, batch, logs)
    455     """
    456     if self._should_call_train_batch_hooks:
--> 457       self._call_batch_hook(ModeKeys.TRAIN, 'end', batch, logs=logs)
    458
    459   def on_test_batch_begin(self, batch, logs=None):

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/callbacks.py in _call_batch_hook(self, mode, hook, batch, logs)
    315       self._call_batch_begin_hook(mode, batch, logs)
    316     elif hook == 'end':
--> 317       self._call_batch_end_hook(mode, batch, logs)
    318     else:
    319       raise ValueError('Unrecognized hook: {}'.format(hook))

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/callbacks.py in _call_batch_end_hook(self, mode, batch, logs)
    335       self._batch_times.append(batch_time)
    336
--> 337     self._call_batch_hook_helper(hook_name, batch, logs)
    338
    339     if len(self._batch_times) >= self._num_batches_for_timing_check:

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/callbacks.py in _call_batch_hook_helper(self, hook_name, batch, logs)
    370       start_time = time.time()
    371
--> 372     logs = self._process_logs(logs, is_batch_hook=True)
    373     for callback in self.callbacks:
    374       hook = getattr(callback, hook_name)

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/callbacks.py in _process_logs(self, logs, is_batch_hook)
    290     if is_batch_hook and self._batch_hooks_support_tf_logs:
    291       return logs
--> 292     return tf_utils.sync_to_numpy_or_python_type(logs)
    293
    294   def append(self, callback):

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/utils/tf_utils.py in sync_to_numpy_or_python_type(tensors)
    517     return t  # Don't turn ragged or sparse tensors to NumPy.
    518
--> 519   return nest.map_structure(_to_single_numpy_or_python_type, tensors)
    520
    521

/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in map_structure(func, *structure, **kwargs)
    865
    866   return pack_sequence_as(
--> 867       structure[0], [func(*x) for x in entries],
    868       expand_composites=expand_composites)
    869

/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in <listcomp>(.0)
    865
    866   return pack_sequence_as(
--> 867       structure[0], [func(*x) for x in entries],
    868       expand_composites=expand_composites)
    869

/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/utils/tf_utils.py in _to_single_numpy_or_python_type(t)
    513   def _to_single_numpy_or_python_type(t):
    514     if isinstance(t, ops.Tensor):
--> 515       x = t.numpy()
    516       return x.item() if np.ndim(x) == 0 else x
    517     return t  # Don't turn ragged or sparse tensors to NumPy.

/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py in numpy(self)
   1092     """
   1093     # TODO(slebedev): Consider avoiding a copy for non-CPU or remote tensors.
-> 1094     maybe_arr = self._numpy()  # pylint: disable=protected-access
   1095     return maybe_arr.copy() if isinstance(maybe_arr, np.ndarray) else maybe_arr
   1096

/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py in _numpy(self)
   1060       return self._numpy_internal()
   1061     except core._NotOkStatusException as e:  # pylint: disable=protected-access
-> 1062       six.raise_from(core._status_to_exception(e.code, e.message), None)  # pylint: disable=protected-access
   1063
   1064   @property

/usr/local/lib/python3.7/dist-packages/six.py in raise_from(value, from_value)

InternalError: 9 root error(s) found.

I found out that the failure is related to this custom RNN-Cell when training is enabled. And if i just return the old values everything is working. The trainable parameters are w_in, w_rec and decay.
def call(self, input_at_t, states_at_t):
        old_v, old_z = states_at_t
        dim = tf.reduce_prod(tf.shape(input_at_t)[1:])
        new_input = tf.reshape(input_at_t, [-1, dim])
        i_t = tf.matmul(new_input, self.w_in) + tf.matmul(old_z, self.w_rec)
        i_reset = activation_functions.reset_by_threshold(old_z, self.decay, old_v, self.threshold)
        new_v = self.decay * old_v + (1.0 - self.decay) * i_t - i_reset
        new_z = activation_functions.spike_function(new_v/self.threshold)

        #return (new_z, new_v), (old_v, old_z)   # If I return this here everything works fine .. but that's wrong of course
        return (new_z, new_v), (new_v, new_z) # This doesn't work

I think that the problem is the second return value. If i return tensors on which operations should be performed, the error occurs.
Therefor I am searching a way to modify and return the tensor without any errors.
Environment:

Google Colab Pro with TPU
Tensorflow 2.5.0 (also tried with 2.4.1)

@simon-berger
This seems to be a Colab-specific issue . Could you please open the issue here.
and also please refer similar issues #954, #1.Thanks

I had same issue. but in my own server and with GPU actually with tensorflow=2.12