Problem with external heatingsoftware

Hello
I build a custom 3d Printer from scratch, and want to control its Temperatures with an external programm.
I use an mcp3008 to convert the analog Thermistor-Signal to digital and read it out using an external programm. The Problem is, that if I start pycnc the temperature-values just jump around and aren't usable.
I am fairly new to programming, especially in python and don't know how to solve the Problem myself.
I used print and time.sleep commands to track the command causing the Trouble down. In the main.py document  in line 27 the at the Command machine = GMachine() the readings go nuts.
i really hope you can help me, its very frutrating to nearly complete a projekt and get stuck at this Problem.
(sorry for my grammar)

Hello,
To measure temperature by external software you would need to re implement this method - https://github.com/Nikolay-Kha/PyCNC/blob/master/cnc/sensors/thermistor.py#L53
Just run whatever you want in this method and return float value in Celsius.

first of all, thank you for your time, i did what you said and implementet my code into the thermistor.py file

but even now, if i read it out while the software is running, the readings make no sense:

the voltage should be 3.16 volts, and here its jumping between 0.4 and 1.4
this is the code which gives me the right voltages

I hope you can identify the problem.

The only one difference I can see. There is no initialization of SPI pins(GPIO.setup()). Also please make sure that you've selected proper pins and they don't conflict with other pins from config file.
If initialization doesn't help, please add:
print(adc)
in both projects right after spi.xfer2(). Let's compare if data is the same.

Thank you, i had my fan pin assinged to one of the ADC pins, i would never have thought of that. Now it gives out the right temperatures an i finally can start printing :D your sofware is great, thank you for your time
with greetings Jannes


Not able to resolve dependency "Failed to resolve: com.github.kizitonwose:CalendarView:0.3.2"

ERROR: Failed to resolve: com.github.kizitonwose:CalendarView:0.3.1
Show in Project Structure dialog
Affected Modules: app
Gradle
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.6.1'

The issue was wrong position of jetpack url.


[TextField]a bug about ref on the TextField

when I use , I find add a ref to the textfield can give the component, but its value is undefined but not the text value. It annoys me. As follows:
class TecItems extends React.Component{
  constructor(props){
    super(props);
    this.handleAdd=this.handleAdd.bind(this);
  }
  handleAdd(){
    console.log(this.input.value);//undefined
    var v=this.input.value.trim();//error
    v.length>0&&this.props.handleItemAdd(v);
  }

  render(){
    return (
      <div>
        <TextField style={{marginLeft:20}} hintText='input your language' ref ={(input) => {this.input = input}} />
        <FloatingActionButton mini={true} onTouchTap={this.handleAdd}>
          <ContentAdd />
        </FloatingActionButton>
      </div>
    )
  }
}

But the code this.input.focus() does well. So I believe the ref must point the component. Then, when I use console.dir(this.input), I find there is a attribute called 'input', and 'this.input.input.value' gives me what I want. But I do think most people hope 'this.input.value' can give the value. So is it a bug?

We have been porting the component on the v1-alpha branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-alpha takes over the master branch.


Moving SRAM from digital to IP

Fixes #15

SRAM moved from digital to IP
IO renamed from IP to IO

I think this pull request will need to be reworked due to the moving of documentation out of this repository.

@mithro @atorkmabrains I think this pull request should be closed without merging because the latest version of this repository already moved the SRAM docs from digital directory to IPs directory.
https://github.com/google/gf180mcu-pdk/tree/main/docs/IPs/SRAM


Can someone help me with the getSharedSecret function?

Can someone tell me what i am doing wrong here in nodejs?
const ed25519 = require('@noble/ed25519');
const prvKey = Uint8Array.from(Buffer.from('e8ddb1cfc09e163915e6c28fcb5fbb563bfef57201857e15288b67abbd91e444','hex'))
console.log(prvKey)

const pubKey = Uint8Array.from(Buffer.from('57758911253f6b31df2a87c10eb08a2c9b8450768cb8dd0d378d93f7c2e220f0','hex'))
console.log(pubKey)

function sharedSecret(prvKey,pubKey) {
 return ed25519.getSharedSecret(prvKey,pubKey)
     .then(result => {
             console.log(result); // Logs the result
             return response;
             }
           );
}
console.log(sharedSecret(prvKey,pubKey));

I always get Promise { <pending> } as the output.
Best regards, Martin

You have two logs. See how promises work.

ok that was not helpful at all, but thx.

got it working. but i ran into another issue, as it looks like the lib can't handle 64 byte secret keys.


DynamoDBContext SaveAsync - How to prevent a field from being overwritten

The Question
I understand that SaveAsync method on the DynamoDBContext class level will create an item if it doesn't exist, and update the item if the item already exists.
My use case is that I have a DateAdded field on the table that is intended to only be updated on new item creation, and should not be updated thereafter. How can I continue to use SaveAsync so that it continue to update existing items for me, but just ignore this one DateAdded field so that it doesn't get overwritten with a new date or null?
Environment

SDK Version: 3.5.0-beta
Package Version: 3.5.0-beta
OS Info: Windows 10
Build Environment Visual Studio
Targeted .NET Platform:  .NET Core 3.1

This is a :question: general question

Hi @RichieRunner,
I'm not sure if I understand your question properly, while saving, if you don't set the property for a field, it would not be overwritten. Consider the below example (assuming you have the table ProductCatalog in the default region determined by the client):
using System;
using System.Collections.Generic;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.Runtime;

namespace DynamoDbTest
{
    class HighLevelItemCRUD
    {
        private static AmazonDynamoDBClient client = new AmazonDynamoDBClient();

        static void Main(string[] args)
        {
            try
            {
                DynamoDBContext context = new DynamoDBContext(client);
                TestCRUDOperations(context);
                Console.WriteLine("To continue, press Enter");
                Console.ReadLine();
            }
            catch (AmazonDynamoDBException e) { Console.WriteLine(e.Message); }
            catch (AmazonServiceException e) { Console.WriteLine(e.Message); }
            catch (Exception e) { Console.WriteLine(e.Message); }
        }

        private static void TestCRUDOperations(DynamoDBContext context)
        {
            int bookID = 1001; // Some unique value.
            Book myBook = new Book
            {
                Id = bookID,
                Title = "object persistence-AWS SDK for.NET SDK-Book 1001",
                ISBN = "111-1111111001",
                DateAdded = DateTime.Now,
                BookAuthors = new List<string> { "Author 1", "Author 2" },
            };

            // Save the book.
            context.SaveAsync(myBook).GetAwaiter().GetResult();

            // Retrieve the book.
            Book bookRetrieved = context.LoadAsync<Book>(bookID).Result;

            Console.WriteLine("NEW BOOK --> " + bookRetrieved);

            // Update few properties.
            bookRetrieved.ISBN = "222-2222221001";
            bookRetrieved.BookAuthors = new List<string> { " Author 1", "Author x" }; // Replace existing authors list with this.
            context.SaveAsync(bookRetrieved).GetAwaiter().GetResult();

            // Retrieve the updated book. This time add the optional ConsistentRead parameter using DynamoDBContextConfig object.
            Book updatedBook = context.LoadAsync<Book>(bookID, new DynamoDBContextConfig
            {
                ConsistentRead = true
            }).Result;

            Console.WriteLine("UPDATED BOOK --> " + updatedBook);
        }
    }

    [DynamoDBTable("ProductCatalog")]
    public class Book
    {
        [DynamoDBHashKey] //Partition key
        public int Id
        {
            get; set;
        }

        [DynamoDBProperty]
        public string Title
        {
            get; set;
        }

        [DynamoDBProperty]
        public string ISBN
        {
            get; set;
        }

        [DynamoDBProperty]
        public DateTime DateAdded
        { get; set; }

        [DynamoDBProperty("Authors")] //String Set datatype
        public List<string> BookAuthors
        {
            get; set;
        }

        public override string ToString()
        {
            return $"[BOOK: (Id: {Id}), (Title: {Title}), (ISBN: {ISBN}), (DateAdded: {DateAdded}), (Authors: {(BookAuthors != null? string.Join(", ", BookAuthors): string.Empty)})])";
        }
    }
}

Running it gives the following output:
NEW BOOK --> [BOOK: (Id: 1001), (Title: object persistence-AWS SDK for.NET SDK-Book 1001), (ISBN:<PHONE_NUMBER>001), (DateAdded: 10/6/2020 4:32:38 PM), (Authors: Author 1, Author 2)])
UPDATED BOOK --> [BOOK: (Id: 1001), (Title: object persistence-AWS SDK for.NET SDK-Book 1001), (ISBN:<PHONE_NUMBER>001), (DateAdded: 10/6/2020 4:32:38 PM), (Authors:  Author 1, Author x)])

To prevent overwriting specific field, you could have a check to make sure DateAdded is set whenever a new item is added. Kindly note that DynamoDB does not automatically store created time or/last modified times of items.
I don't think there is a way to selectively tell SaveAsync method to update the field only when the item is created. I also don't think triggers would help which are conceptually different from RDBMS triggers, where for DynamoDb, it would basically execute a Lambda function.
Hope this helps and let me know if this issue could be closed.
Thanks,
Ashish

Hi Ashish, thanks for the detailed example. The difference in our usage is that I don't do a LoadAsync to get a bookRetrieved back before I do a 2nd SaveAsync.
My 2nd SaveAsync always assumes that the item does not already exist. Therefore, the DateAdded property is always initialized to the current DateTime. I'm wanting to know if DynamoDBContext will allow me to not update a field like DateAdded if the record already exists.

Hi @RichieRunner,
I'm not sure if I understand your approach properly, I made the following changes to code:
private static void TestCRUDOperations(DynamoDBContext context)
{
        int bookID = 1001; // Some unique value.
        Book myBook = new Book
        {
        Id = bookID,
        Title = "object persistence-AWS SDK for.NET SDK-Book 1001",
        ISBN = "111-1111111001",
        DateAdded = DateTime.Now,
        BookAuthors = new List<string> { "Author 1", "Author 2" },
    };

    // Save the book.
    context.SaveAsync(myBook).GetAwaiter().GetResult();

    Console.WriteLine("SAVED BOOK --> " + myBook);

    // Retrieve the book.
    //Book bookRetrieved = context.LoadAsync<Book>(bookID).Result;

    //Console.WriteLine("NEW BOOK --> " + bookRetrieved);

    // Update few properties.
    myBook.ISBN = "222-2222221001";
    myBook.BookAuthors = new List<string> { " Author 1", "Author x" }; // Replace existing authors list with this.
    context.SaveAsync(myBook).GetAwaiter().GetResult();

    // Retrieve the updated book. This time add the optional ConsistentRead parameter using DynamoDBContextConfig object.
    Book updatedBook = context.LoadAsync<Book>(bookID, new DynamoDBContextConfig
    {
        ConsistentRead = true
    }).Result;

    Console.WriteLine("UPDATED BOOK --> " + updatedBook);
}

Notice that I'm not re-loading the book instance, instead modifying the some of the properties and then re-saving. I get the following output:
SAVED BOOK --> [BOOK: (Id: 1001), (Title: object persistence-AWS SDK for.NET SDK-Book 1001), (ISBN:<PHONE_NUMBER>001), (DateAdded: 10/7/2020 4:04:11 PM), (Authors: Author 1, Author 2)])
UPDATED BOOK --> [BOOK: (Id: 1001), (Title: object persistence-AWS SDK for.NET SDK-Book 1001), (ISBN:<PHONE_NUMBER>001), (DateAdded: 10/7/2020 4:04:11 PM), (Authors:  Author 1, Author x)]

In this case we are not touching the DateAdded field in the 2nd call (setting it to DateTime.Now in first call assigns the current DateTime value which doesn't change). Behind the scenes DynamodDB is updating the item attributes since it already exists.
You might also want to check DynamoDB UpdateItem API reference where it also talks about conditional updates. I'm not sure how that would fit to your scenario and I didn't test it using DynamoDbContext.SaveAsync 2nd overload.
Hope this helps.
Thanks,
Ashish

I want to return back to answer how I handled this situation. My initial quandary came from not wanting to do an initial query/lookup for the value before invoking SaveAsync. I understand now that the best practice before saving an item to DynamoDB (or saving an existing item back to DynamoDB) is to that do that requisite query so that you hold the full object with its full attributes before writing it back to DynamoDB.
This issue can be closed.


Allow get sample rate in conf.lua, read back with lovr.audio.getSampleRate()

This patch has been submitted before and rejected before, and that's okay, I'm just submitting an updated version so you can close the PR and there will be a record of it. :)
This patch allows setting the sample rate. The sample rate still cannot be changed once the program starts, but it can be set in lovr.conf with t.audio.sampleRate and queried with lovr.audio.getSampleRate().
I maintain this patch because sometimes in my fork I need to run at 44.1khz sample rate, but not all the time (so changing audio.h is slightly inconvenient).

Might be able to make this work.  Since it's in conf.lua and not setDevice, there is no need to worry about recreating data converters or spatializers, which is nice.
Can we restrict to 24khz, 44.1khz, 48khz?  Phonon is documented as only working with these rates.  Or should it be more flexible -- sample rate can be anything, but phonon will pout and fail to initialize if it doesn't support your sample rate?
Trying to remember if there was any other reason for the harcoded sample rate...

Might be able to make this work. Since it's in conf.lua and not setDevice, there is no need to worry about recreating data converters or spatializers, which is nice.
Can we restrict to 24khz, 44.1khz, 48khz? Phonon is documented as only working with these rates. Or should it be more flexible -- sample rate can be anything, but phonon will pout and fail to initialize if it doesn't support your sample rate?
Trying to remember if there was any other reason for the harcoded sample rate...

At the moment, Oculus spatializer effectively requires 48k (it works at other frequencies, but reverb breaks). The way I have dealt with this (in my reverb branch) is by having Oculus spatializer print a "Oculus spatializer not compatible with this sample rate" warning at startup. Maybe it would make more sense to have Phonon print a warning and disable itself outside those three? Although I can't imagine a REASON to have a sample rate other than those three, it IS possible to use "simple" spatializer, so I don't see a reason to restrict simple spatializer because one of our three spatializers doesn't support it.

Made all changes above except the 24k/44.1k/48k restriction. I can do that one too if you're sure.

I agree that phonon should print a warning and bail.  Putting that off is fine for now, especially since it works with the default sample rate.  Consider it thrown onto the pile of phonon stuff for later.

This is great!


FAI-13273: Add custom fields and populate tags field for TestRail

Description
Added custom_automation_type and custom_update_automation fields and populated into Case tags.
Type of change

[ ] Bug fix
[x] New feature
[ ] Breaking change

https://faros-ai.atlassian.net/browse/FAI-13273

@alexshifrin do this: https://github.com/faros-ai/airbyte-connectors/pull/1707#issuecomment-2384597183

I have read the CLA Document and I hereby sign the CLA


Using notifyItemRemoved() to delete the last item of a section

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of this library.
[x] I have given my issue a non-generic title.

Include the following:

Library version: 0.5.0
Device OS version: 7.1.1
Device Manufacturer: Android Emulator
Device Name: Nexus 5X

I have a ItemTouchHelper on my recyclerview with left swipe to delete an item from my list(delete only itens of a section, not directly a section). After remove an Item from the list I use notifyItemRemoved(absolutePosition) to remove the view from the adapter. Everything works fine if I have several itens on a section, but when I try remove the last item of a section i get this error
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{a3bace8 position=0 id=-1, oldPos=0, pLpos:-1 scrap [attachedScrap] tmpDetached no parent}
    at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:5297)
    at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5479)
    at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5440)
    at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5436)
    at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2224)
    at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1551)
    at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1511)
    at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:595)
    at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3534)
    at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3310)
    at android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1648)
    at android.support.v7.widget.RecyclerView$1.run(RecyclerView.java:343)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
    at android.view.Choreographer.doCallbacks(Choreographer.java:686)
    at android.view.Choreographer.doFrame(Choreographer.java:618)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
    at android.os.Handler.handleCallback(Handler.java:751)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6119)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

If I change the notifyItemRemoved() to notifyDataSetChanged() everything works fine, the last item are remove without any error and the section hide because is empty.
Reproduction Steps

get a adapter with at least 1 section with several itens
create a function to remove an item from a list of that section and call notifyItemRemoved(absolutePosition)
remove the last item of that section

Expected Result
Remove the item and hide the section
Actual Result
Error described above

I tested notifyItemRemoved(int absolutePosition) and it works perfect for me.  @LipeDuoli Maybe there is some issue with your code implementation.

In my case, if I try remove all itens on any section I create the app crash

@afollestad Any updates on fixing this issue?

facing same issue.

:(


Disable OPENTHREAD_CONFIG_NCP_HDLC_ENABLE config when OT_NCP_SPI is set.

This change is needed to enable SPI vs UART NCP interface.

@jwhui Can you please review the PR?

@jwhui Can you please review the PR?

@jwhui Got all the approvals. Can you please have a look at the PR?


dynamic version doesn't work when using pdm to initialize the project

Project no longer uses PDM.


Question: Is it possible to run SQLCover on Linux?

We have moved our CICD process to run in a container using a SQL Server 2017 Linux image (mcr.microsoft.com/mssql/server: 2017-CU13-ubuntu) and run flyway.
We now have a requirement to get code coverage for the unit test we have, the solution looks to be SQLCover, but looking at the repo code it looks to be NetFramework 4.6,1.
Are there any suggestions to get SQLCover running on Linux?

On Compiling the repo, I found SQLCoverCore an exe, which looks to be achieving what I want.


chore(deps): remove unneeded babel plugins

Now Rollup already support it.

https://github.com/rollup/rollup/pull/3582
https://github.com/rollup/rollup/pull/3548

Any news here?

@Westbrook yes this can be removed, there is another babel pass that compiles it away as well.


Zoom on Android Chrome breaks color picker

When zooming in on the page, the color picker doesn't work correctly.The selector stays at the top left no matter where I click on the color picker.

Related, using CSS Style "transform: scale(2)" or "zoom: 2" leads to the same problem. I wanted to make it bigger for use on a tablet but sadly it's unusable with any translation.

Hi, there is a demo in the docs for making the widget bigger.
https://mjolnic.com/bootstrap-colorpicker/

The issue happens when I zoom the screen in manually with my fingers on the Android screen. The widget's cursor doesn't recognize this and it doesn't position itself correctly. It stays in the upper left corner.

Thanks @mjolnic, I did use the code in the demo, but the widget's behavior still incorrect as stated by @shekky.

yes, unfortunately it needs more debugging in mobile browsers. I would also like to introduce a bigger selector for the finger. In general mobile support needs improvements, now that the most of the websites are mobile-first.
btw, I was not able to reproduce this on my android 6 chrome, could you provide a fiddle with the code that causes the error?thanks

I can reproduce this behaviour with any of the color pickers on the demo page.

I'm using Chrome v49.0.2623.105. Should the Android version make any difference?

Anyways... I'm using android v4.3

Ok, so is it a bug in the docs page only? @shekky @maruel
because I tested it on a separated fiddle and it works fine http://fiddle.jshell.net/qt8x13y8/show/light/

Yes, the fiddle works perfectly.

The problem comes on focus and automatic zoom of mobile devices, but a viewport meta header solves the problem:
http://fiddle.jshell.net/qt8x13y8/4/
http://fiddle.jshell.net/qt8x13y8/4/show/

Yeah, the first link works. The second one though, I think the meta tag is getting removed and it has the bug. But it look like the having the meta tag solves the issue. Thanks.


Locale feature / can I translate the lib?

Hey! First of all, thanks and great work with the importer.
My issue is that I'm using it for a portuguese speaking audience. Before a locale feature is implemented, how could I go about translating the lib's frontend?
Also, I volunteer for translating it to portuguese if the locale feature is ever implemented ;)
Cheers!

This is now available with version 1.0.12.
The documentation can be found here: https://github.com/tableflowhq/csv-import?tab=readme-ov-file#internationalization
You can use the customTranslations prop to add your own translations for Portuguese, and if you want to submit a PR for translating into Portuguese, you would just need to add the translation file (see src/i18n/es.ts as an example). Appreciate it!


[Nuxt 3 Preview App Error] Outside of Vite serving allow list

When trying to use the Preview Nuxt App feature, I get this error:
The request url "/home/mwohlan/.vscode/extensions/vue.volar-1.0.22-linux-x64/dist/preview-bin/nuxi/plugin.ts" is outside of Vite serving allow list.

Nuxt project info:

Operating System: Linux
Node Version:     v18.12.1
Nuxt Version:     3.0.1-rc.0-27880943.da38c62
Nitro Version:    2.0.0-27860563.409fe2b
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, imports, fontMetrics, ssr, experimental, routeRules, unocss, typescript, headlessui, css, runtimeConfig, supabase, app, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Adding
vite: {
server: {
      fs: {
        allow: ['/home/mwohlan/.vscode/extensions/vue.volar-1.0.22-linux-x64/dist/preview-bin/nuxi'],
      },
    },
  },

to the nuxt config fixes the issue, but maybe this can be fixed differently, without changing the vite config in nuxt.

Having the same issue. I can not add fs allow my local path into a large project, where other people work on. Is there a way to stop vite from using node modules from another project? The annoyance is big.


[Feature Request] Please consider tagging this repo to Caddy versions

I hesitate to file this issue, as my intent is to not be petty or passive aggressive, and it will probably be received that way due to how the previous discussion ended. However, @mholt, I think you missed the intent of my comment before the discussion was locked, and I believe this is a valid request for myself and many users.
Indeed, caddy:latest should not be used in production, but this plugin does not currently do any sort of version tracking at all. That means it is not possible to do this:
FROM caddy:2.7.2-builder-alpine AS builder

RUN xcaddy build \
    --with<EMAIL_ADDRESS>
FROM caddy:2.7.2

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Instead, I must do this:
FROM caddy:2.7.2-builder-alpine AS builder

RUN xcaddy build \
    --with github.com/caddy-dns/cloudflare@a9d3ae2690a1d232bc9f8fc8b15bd4e0a6960eec

FROM caddy:2.7.2

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

I could also omit the commit hash, but that will cause dependency issues the other way around.
Basically, there will be people who will want to use this plugin on a specific version of Caddy, and you do not provide a tagging scheme for those people, short of digging through the commit history of this repo, and identifying the best version to use on a version of Caddy.
You stated you do not use Docker, but this issue is not unique to Docker. It is no different than a user wanting to run xcaddy build on their own.
Will a tagging scheme for this repo be considered? Or at the very least, a table of commit hashes corresponding to the oldest versions of Caddy they are compatible with?
If users are going to be expected to dig through the commit history to do versioning, then I'd like that to be explicitly stated so there is no confusion.

That means it is not possible to do this:

It looks like you simply specify a commit hash instead of a tag. What's the problem exactly?

You stated you do not use Docker, but this issue is not unique to Docker. It is no different than a user wanting to run xcaddy build on their own.

xcaddy build --with github.com/caddy-dns/cloudflare works fine for me. :man_shrugging: So it apparently is different.

If users are going to be expected to dig through the commit history to do versioning, then I'd like that to be explicitly stated so there is no confusion.

:thinking: How is that different than digging through tagged releases? That'd actually end up being more clicks.
I'm not opposed to tagging, but I don't really see the benefits or necessity of it when the latest commit is, 99.99999% of the time, all anyone needs.

It looks like you simply specify a commit hash instead of a tag. What's the problem exactly?

Finding the correct commit hash to use is the problem. Instead of being able to bump the version to a known Caddy version, users are required to come here, click on the commit history, and investigate the correct hash to use for their use case.

xcaddy build --with github.com/caddy-dns/cloudflare

This only works because the build is grabbing the version of Caddy to use from this repo's go.mod and building with that. In Docker, this breaks the build. Outside of Docker, it forces the user to use whatever version you specified, instead of the version they actually want to use.

🤔 How is that different than digging through tagged releases? That'd actually end up being more clicks.

I don't think you are understanding what I'm suggesting. I am suggesting a tagging scheme where this repo's tags correspond to the version of Caddy it's expecting to be compatible with.
If caddy-dns/cloudflare at a certain commit is expecting to use Caddy 2.7.3, then the tag for that commit, at this repo, should be exactly 2.7.3.
This will allow my first example, where I do<EMAIL_ADDRESS>to become possible.

I don't really see the benefits or necessity of it when the latest commit is, 99.99999% of the time, all anyone needs.

This is akin to saying use the equivalent of :latest for this plugin, which is something Caddy already recommends you avoid doing for production 😉
And as I've shown, this will greatly reduce all the issue noise you receive when there is a delay in Docker Image publication, which is understandable when dealing with Docker Hub.

FROM caddy:<version>-builder AS builder

RUN xcaddy build \
    --with github.com/caddyserver/nginx-adapter \
    --with<EMAIL_ADDRESS>
FROM caddy:<version>

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

In other words, whatever version is specified here:
https://github.com/caddy-dns/cloudflare/blob/74f004e1c1ab9056288f0baf3cd4b0039d6c77f3/go.mod#L6
...should be the tag used for this repo.

It's not necessarily quite that simple. How would you go about tagging two separate releases of caddy-dns/cloudflare that both depend on Caddy v2.7.3? I'm not familiar with go but it seems this logic is just using go's module implementation so surely it has some in built dependency management for this kind of conflict?

I'm assuming that this discussion pertains to the issue that I'm having right now, without a clue as to how to resolve it?

To reply to the actual issue at hand, though:

I don't think you are understanding what I'm suggesting. I am suggesting a tagging scheme where this repo's tags correspond to the version of Caddy it's expecting to be compatible with. If caddy-dns/cloudflare at a certain commit is expecting to use Caddy 2.7.3, then the tag for that commit, at this repo, should be exactly 2.7.3.

I don't think that will solve the problem you're having. The problem is that the Docker container requires a manual review process which takes longer, and that version isn't always in sync with every plugin's go.mod. (So even if we do use a tag scheme like you're suggesting, every plugin would have to do this in order to be effective.)
And there's this point by @WillScott73 :

It's not necessarily quite that simple. How would you go about tagging two separate releases of caddy-dns/cloudflare that both depend on Caddy v2.7.3?

I agree this is not really tenable. We cannot reuse tags with different hashes. It will break the security checks for Go's module tooling, which mitigates supply chain attacks.
In general, there is a many:1 ratio of commits/tags that are expected to work with any given version of Caddy. So we can't assume 1:1 tag scheme like what you're proposing.

This is akin to saying use the equivalent of :latest for this plugin, which is something Caddy already recommends you avoid doing for production wink

This package, which is essentially finished, is very different from Caddy itself which has lots of moving parts. This package isn't what broke: it was a separate tooling problem that needs to be handled downstream.
Again, sorry for the inconvenience, hopefully this helps clear things up.


feat: support reload apisix runnning on bare metal

This PR adds a new feature to reload APISIX running on bare metal. It adds two options for cloud-cli deploy bare sub-command.

--reload to reload APISIX without the deployment step;
--apisix-bin-path to specify the APISIX bin path, default path is /usr/bin/apisix;

Signed-off-by: tokers<EMAIL_ADDRESS>

The functionality implemented by this PR may not work as the new configuration will be saved in a brand new file, but apisix reload will only read the configuration file that is already in use.
https://github.com/api7/cloud-cli/blob/1db92346d8f7e2fe221563568e70d6fe0ed054a3/cmd/deploy/bare.go#L96
https://github.com/api7/cloud-cli/blob/a84385389ebe88439960fee492192afdfb3dd54a/internal/apisix/config_handler.go#L52

Fair enough. I'll try to solve it.


Fixes #7230 - Infinite loop in compiled query cache.

Ensure we let waiting threads proceed when query compilation fails.
Verified manually as tricky to create a test for.

Pushed to rel/1.1.1


Fix core/rational/minus_spec.rb

The shared examples are defined in shared/rational/minus.rb but the spec is not making use of them.

Actually, since the specs in shared/rational/minus.rb don't seem used anywhere else, could you just move them to core/rational/minus_spec.rb and "unshare" them?

Closing in favour of #922


[WIP] Move common Realm functionality to new class realm::Realm

@segiddins @simonask

retest this please

Performance is now on par with what is on master. Would be good to start reviewing @tgoyne @bdash @segiddins

Looks like this needs a rebase?

Just rebased. Unfortunately the kvo tests explode. If you guys could take a look would definitely appreciate it.

Porting the more recent changes to RLMRealm to this will take some time.
Some assorted comments:
make_shared() could be used for Realm without making them externally constructible by doing the following:
private:
    struct PrivateTag {};
public:
    Realm(Config& config, PrivateTag);

...

    realm = make_shared<Realm>(config, PrivateTag{});

ExternalNotificationFunction doesn't need the unique_ptr; std::function can store nullptr directly.
cacheTableAccessors defeats the point of the table accessor lazy-fetching: avoiding looking up tables that are never referenced when doing stuff on background queues. I haven't profiled to see if this is actually why, but testRealmCreationCached is ~15% slower than master.
enable_shared_from_this is kinda gross. It looks like it should be possible to avoid it if RLMRealm also supported non-owning references to the Realm, since the RLMRealms used in migrations don't need to stay alive as long as a user holds on a reference to them (and in fact I suspect that a user storing a reference to migration objects outside of the migration block would break things horribly anyway).

There's still a lot of stuff related to this to do (e.g. getting rid of the separate RLMRealm cache and just using the objectstore one), but I've now covered everything I consider a blocker for merging it, so reviews needed.

OS X failures unrelated; ios-device failure is a perf regression in RealmCreationCached.

I'm definitely not the best person to review this, but I did anyway. There's of course a ton of code, so we should be extra careful, but it looks good to me. :+1:

This is now rebased onto master (plus #2680), and all tests should pass other than the ones testing the unimplemented null migration stuff.

I think this is good to go now.

By my reading, only 4df604ff...633470b are yet to be reviewed. The earlier changes have been reviewed both here and and separately for the object store.

Null migration fixes lgtm.

Same opinion as last time, I'm definitely not the best person to review this, but what I've seen looks good to me. :+1:

I believe this can be merged.


Observer: suspicious case

As mentioned on discord, there may be an issue with observers.
Not confirmed. To be investigated further. See here for more detail.

Nvm. From the snippet below:
    SomeOtherClass(Game& game) : game_(game)
    {
        // This observer will cause crashes
        entt::observer observer{game.GetRegistry(), entt::collector.update<PlayerTagComponent>()};
        for(const auto entity : observer) {
            printf("UPDATED\n");
        }
    };

observer is a local variable. When the registry triggers a signal, it goes to a dangling pointer and ka-boom. 🙂


Question: Event: 'open-url' only available in OS X, any way to achieve the same thing on Windows ?

Electron version: 0.36.10
Operating system: OSX 10.11.3

After reading the documentation here: https://github.com/atom/electron/blob/master/docs/api/app.md
I see that the event "open-url" used to open the app from the browser is only available in OSX.
Just a question: Is it possible to open a scheme, (atom://) by example on Windows ? Or any way to achieve the same functionality ?

On Windows the URI will be passed as a command line argument, details can be found on MSDN.

Dear @kimak
GitHub Issues is a bug tracker. Please use the official electron forum for asking questions.

Yes, my bad. The forum is better for that. Thanks.


For transaction event query, the data returned by the interface is inconsistent with the browser display

Describe the bug
For transaction event query, the data returned by the interface is inconsistent with the browser display
https://explorer.hiro.so/txid/0x53d915fcf3668650fccb7009ac3c6cb04c77b991625cb47923dc4ec6467cec3d?chain=mainnet The number of display events is 38

curl --location --request GET 'https://stacks-node-api.mainnet.stacks.co/extended/v1/tx/0x53d915fcf3668650fccb7009ac3c6cb04c77b991625cb47923dc4ec6467cec3d' The interface returns only 20 pieces of data

Hello, tx events are paginated. See the API docs for a usage: https://docs.hiro.so/api/get-list-of-details-for-transactions


Taint permanently changes sand to dirt.

As reported in https://github.com/Azanor/thaumcraft/issues/1694 (Is that repo even still around?) If you have an area that is tainted and it converts sand into tainted soil, then when it turns back, it becomes dirt instead of reverting to sand. This can cause significant visual artifacts in tainted deserts, beaches, etc. Perhaps we could get a "tainted soil" with a different metadata so that it can revert properly?
You said in the issue linked above that the mechanics of taint were changing in a way that indirectly fixed this, so I thought I'd point out that the issue still exists.
Glad to see you back! Looking forward to working with your mods again!

I think Azanor is staying away from metadata in preparation for 1.13, but yes making it change back to sand would definitly be nice.

Shows how out-of-date my modding knowledge is. 🙄

or just add a tainted sand block

This shows ignorance of taint mechanics, but there are blocks that can't be converted to tainted versions, right? (I tried putting an ME controller a few blocks from a taint seed and it seemed to survive covered in taint fibres for half an hour.)
If that's the case, you could just make sand one of those blocks that doesn't convert. That's what we did in Blightfall to keep the deserts from turning weird once they were cleansed:
https://youtu.be/5GkhUbZAatI?t=687

IIRC, anything with hadness 10 or higher can't be affected by taint.
@Azanor ?

Out of "naturally occuring" blocks, yes.

I think it's actually 5 or higher that's resistant to taint.
But besides, taint can only affect blocks that are of the materials "Wood", "Ground", "Grass", "Rock", and a few more of the less-common material types. (At least, in the version I checked.) The ME Controller I mentioned above was safe because its material type was "Iron".


test TLSv1 instead of SSLv3

new systems don't have SSLv3 anymore, breaking the tests

Current coverage is 100% (diff: 100%)

Merging #1014 into master will not change coverage

@@           master   #1014   diff @@
=====================================
  Files          19      19
  Lines        1573    1573
  Methods         0       0
  Messages        0       0
  Branches        0       0
=====================================
  Hits         1573    1573
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 5a98b1f...525eb53


How to handle multiple manifests with the same ref.name

When the implementation of create or unpack, if according to the input ref, in the index.json can be found in a number of correspondence, this situation should be how to deal with? Is it supposed to handle all? Or deal with one? I was wondering if it should be added in the specification to increase the limit on org.opencontainers.ref.name?
cc/@opencontainers/image-tools-maintainers

they are regarded like an image tag, and therefore should be unique. Though there might be a situation where multiples are valid i.e. same name for different architectures, or some other distinguishing attribute.

{
"schemaVersion": 2,
"manifests": [
{
"mediaType": "application/vnd.oci.image.index.v1+json",
"size": 659,
"digest": "sha256:c0b331a7636358cb4cca3a453eeb88554dc679290b27b8f5fad53322dddc36bf",
"annotations": {
"org.opencontainers.ref.name": "v1.0"
}
},
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"size": 622,
"digest": "sha256:cd4c216fcb2ce4f1e1c18f2d53dd5a00f72b27ae21eaccafabe4c00b86e9326e",
"platform": {
"architecture": "ppc64le",
"os": "linux"
},
"annotations": {
"org.opencontainers.ref.name": "v1.0"
}
}
],
"annotations": {
"com.example.index.revision": "r124356"
}
}

In this index.json example, when the input ref value is v1.0, the current method is to find only the first matching ref.name to return.
Is this example not allowed to exist? If that is the case, we should add a unique validation to ref.name, if not, do we only deal with the first one correctly?

@q384566678 These are two different images, with the same ref. The UI needs to take this into account. The unique item here is the digest, not the ref. Imagine if this were an annotation unrelated to OCI and you wanted to expose a selection based on that annotation. Also, imagine the case where the index is assembled from two separate sources that may disagree on the ref. From a UX perspective, the user should be able to disambiguate these cases.

@stevvooe So the best basis for the search is not ref.name but digest? But if it is digest search, the user is very troublesome to enter, and even some do not know digest.
I think we'd better add a required and unique attribute to ref.name, or listReferences is not comprehensive according to ref.name (ref.name does not exist in index.json).If not, I would like to replace the ref. name with digest name to perform listReferences.

@q384566678 What if I have another attribute foo that I want to select an image on? How will that be handled? Should we enforce uniqueness on that annotation, as well?
The problem with requiring ref to be unique is that it kicks this problem down the road for all other annotations. It becomes a special annotation, which is not the goal.
As far as listReferences goes, it makes the assumption that descriptors in a manifest are unique along some attribute, which is not guaranteed. It should probably return map[string][]v1.Descriptor or just a list. Provide helper methods that can match items in a list of descriptors:
descs := listReferences(index)

// select all descs with ref foo
descs = selectDescs(descs, "annotations.org.opencontainers.ref.name==foo")

// select all descs that are from the linux platform
descs = selectDescs(descs, "platform.os==linux")

// select all descs with a specific digest
descs = selectDescs(descs, "digest==sha256:...")

By supporting image selection along a number of attributes, we can support a much wider range of use cases and ensure that they are handled broadly.

@stevvooe If it is to allow users to enter the search content, or may have multiple results, which in return to our initial question, how to deal with multiple results?
I have a few thoughts on this question:

If you get more than one result, continue to enter the search condition until you get a result.
Handle multiple results, like the validate function (this should not work because it can not be executed in a non-empty folder)
Retrieve only the contents of the unique attribute（digest）, but the input is a bit cumbersome.

@vbatts @stevvooe @xiekeyang @coolljt0725 @jonboulle @wking Do you have any suggestions?

@q384566678 The above comment is a suggestion. Selecting items from a list isn't wildly complicated. In the vast number of cases, only a single result is returned:
descs = selectDescs(descs, criteria...)
if len(descs) > 1  {
  return fmt.Errorf("not unique") // list out result in this case.
} else if len(descs) == 0 {
  return fmt.Errorf("no match")
}

desc := descs[0]

The other approach is to simply take the first match:
descs = selectDescs(descs, criteria...)
if len(descs) == 0 {
  return fmt.Errorf("no match")
}

desc := descs[0]

Limiting uniqueness over an arbitrary annotation is simply not an option. Do so will prevent future use cases of image indexes to be useful.

@stevvooe thanks for your advice, I make #169 to solve the problem. PTAL.


chore: add will-change for transform

Add will-change: transform to perform better for some machines.

https://github.com/react-component/virtual-list/commit/dd9b5cdbd478a4d4efbafad0ab21556ccf965ebc

这... 学到了。


Hub should save ClassName attribute for dynamic Java activities

Currently this is not set, so activities with the new-style classname convention break at runtime due to missing attribute.

Can't reproduce as currently understood.

(From Jack):
So, you can edit one where attribute is there, but then you edit instance and add new dynamic java activity, then copy/paste code from existing dynamic java which contains classname based on new naming convention (processname_Axx) and change class name to have new activity ID, so class name in new activity will be processname_AYY (new activityID).  When process tries to execute, since new activity doesn’t have ClassName attribute, it will expect to find class name that follows old naming convention (activityName_Axx).

This may be more of a challenge in Hub vs Studio because Hub doesn't parse all Java code like the IDE does.  Maybe we can come up with a regular expression to determine ClassName from dynamic Java content?


module cannot be loaded because required buildin/module being included in another bundle

Do you want to request a feature or report a bug?
I dont know if this is a bug or by design, if by design then it is a request for a feature i guess

What is the current behavior?
I am having problems with modules which are being included in bundles by webpack itself, (for different module declaration i believe), they are located in webpack/buildin directory (not all of them tho). In my provided example i have A, B, C, common and vendor bundles, the common bundle is included on all pages while vendor only on page B. Page A and B also have one module which leads to injecting buildin/global and process/browser modules into those page bundles by webpack. I'm using CommonChunkPlugin to extract vendor and common scripts to their bundles. As a result, i'm getting buildin/global included in the vendor bundle, even if i set minChunks: Infinity , so i don't have control over those "buildin" modules. It leads to the error on page A because i dont have vendor bundle there, but the "buildin/global" module which is required, to load module used in bundle of page A, is requiring "buildin/global".
I wrote before that not all of them are located in webpack/buildin, what i meant is for example module process/browser which is also being included in bundles by webpack and can cause the same problem as "buldin" modules. Those are all, however, examples and there probably more modules like this.
As for example i provided, "common-scripts" created just for example that we might have custom minChunks there, so we cannot use one CommonChunksPlugin with names: []. Probably first thing that comes to the head is to not specify entries in "chunks" array for CommonChunkPlugin for "vendor-scripts", which are not containing any vendor scripts. I am not considering this as a solution because in my real project i have multiple different vendor scripts which are not always all loading on the same pages, which leads to creating multiple arrays with different sets of entries, and when you have a lot of chunks it drastically lowers maintainability. And i am even not sure if it is going to work.
If the current behavior is a bug, please provide the steps to reproduce.
repo to reproduce

What is the expected behavior?
I am expecting to all those "buldin" modules to be placed in each module, in which they're needed. Best to be able to specify bundle in which they should be placed. For example i'm having some common bundle and i know it is loading on all pages, so i can say: if some of those "buildin" modules are needed place them in that bundle.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
node.js: v8.3.0
webpack: v3.10.0
os: win10
In addition: i'm not sure if i'm doing something wrong or is it really the case for error, since for me it looks like a common use case, i haven't found any similar issues tho, so it might be just me using webpack or commonchunkplugin wrong way.
Thanks.

I have found a workaround, however, which more look like a hack:
minChunks(module) {
  return (
    module.resource &&
    (/process\\browser/.test(module.resource) || /webpack\\buildin/.test(module.resource))
  );
},

i would really appreciate any response on this issue. Are you considering this as a bug or this behavior is expected and you wont fix/accept pr with fix for it?


Flatpak version of Wezterm not working with shell redirection.

Command to run if Flatpak version installed is /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=wezterm org.wezfurlong.wezterm start --cwd .

Yeah that is true, the default implementation is not looking for a flatpak version of an application. I will have to see whether it is possible to add support for that.
Meanwhile, you can launch it manually like this:

I just entered /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=wezterm org.wezfurlong.wezterm start into the custom command.

Sounds good, I'll use it that way for now.

I experimented with support for flatpak applications and that is quiet cumbersome to implement. For now, I think this workaround will work fine.
Especially since almost no one uses flatpak terminals due to sandboxing issues, this should be acceptable.


Discussion: Action trigger APIs

The OnCondition fields currently in #3 seem error prone as there are many non-sensical condition states to use as triggers for certain actions e.g.:

install failure triggering a rollback
test failure (even after install) triggering a rollback
install/upgrade/test success triggering an uninstall/rollback.
reconciliation success/failure triggering anything

To stoke discussion, here is a sketch of an API for specifying triggers for actions which I think matches use cases more closely, with default values shown:
spec:
  install:
    # remediation strategy for install is always uninstall
    maxRetries: 5 # each retry implies remediation
    remediateLastRetry: false # set to false to leave last retry in place for debugging purposes
  upgrade:
    remediationStrategy: rollback # uninstall also supported
    maxRetries: 0
    remediateLastRetry: false
  test:
    enable: true
    interval: null
    # takes into account preceding install / upgrade remediation config
    remediateFailures: true
    remediateDelayedFailures: false # failures due to interval or e.g. `helm.fluxcd.io/testAt` annotation
  rollback: # how, not when
    timeout: 300
  uninstall: # how, not when
    timeout: 300

The OnCondition fields currently in 3 seem error prone as there are many non-sensical condition states to use as triggers for certain actions e.g

In my opinion this is a user configuration problem as we provide sane defaults, cluster operators can guard (their cluster users) against those human errors by e.g. putting OPA rules in place to enforce validation on the HelmRelease resources.
I do understand that your design may be a tad more friendly to newcomers, but I do not think this is worth the limitations (in both configuration, and extension possibilities) it introduces.

In my opinion this is a user configuration problem as we provide sane defaults, cluster operators can guard (their cluster users) against those human errors by e.g. putting OPA rules in place to enforce validation on the HelmRelease resources.

But if there is an API design which enables use cases while avoiding putting this burden on cluster operators and users who will encounter these rule failures and have to determine themselves how to fix, that seems preferable.

I do understand that your design may be a tad more friendly to newcomers

I think it's important to optimize APIs for the most common use cases, which includes not just sane defaults, but also making common non-default configurations easy to discover/read/write.

but I do not think this is worth the limitations (in both configuration, and extension possibilities) it introduces.

One thing to consider is that adding features (extension) is much easier than removing features. More importantly, I'm not sure I agree that the OnCondition API is more extensible than a use case targeted API such as the above API sketch. With a use case targeted API, new use cases can be accounted for by carefully adding new fields over time as new use cases are revealed. However with the OnCondition API, only conditions can be taken into account, so we may find ourselves needing to pollute the condition space solely for consumption by the OnCondtion APIs. Also the needs of the OnCondition API may be in conflict with other use cases for conditions and standards for conditions driven by the community (see https://github.com/kubernetes/community/pull/4521 and https://github.com/kubernetes/enhancements/pull/1624 ). For example, here are a couple use cases which the current OnCondition API doesn't support which the above API sketch does:

rolling back test failures. Since the OnCondition API only supports an OR of the conditions, one can only specify to do rollbacks on test failure, not upgrade success AND test failure, which is what would be needed to avoid the controller attempting to rollback an install after a test failure, which won't work.
leaving failed releases alone after last retry for debugging purposes. There is no condition which represents how many retries are left, so one can only specify to always or never rollback/uninstall after upgrade/install failure, without distinguishing between whether there are retries left.

Are there any use cases you have in mind which the OnCondition API supports which the above API sketch for example doesn't?

Please continue the conversation in https://github.com/fluxcd/toolkit/discussions/102.


[SVCS-261] Fix svg rendering

Purpose
fix svg rendering currently broken on production
Changes
Uses Svg render to load the file directly into the html.
Side Effect
None that I know of.
Ticket
https://openscience.atlassian.net/browse/SVCS-261

Declining this for now.  Displaying other people's arbitrary SVG is a security risk.  We'll either need to figure out a way to sanitize it, or else stick to converting it to pdf outside the browser.


offat: 0.16.0 -> 0.17.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for offat is: Tool to test APIs for prevalent vulnerabilities
meta.homepage for offat is: https://github.com/OWASP/OFFAT/
meta.changelog for offat is: https://github.com/OWASP/OFFAT/releases/tag/v0.17.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.17.0 with grep in /nix/store/zm1r15qccbyggr875g9c9w7flbnm42z7-offat-0.17.0
found 0.17.0 in filename of file in /nix/store/zm1r15qccbyggr875g9c9w7flbnm42z7-offat-0.17.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
offat

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zm1r15qccbyggr875g9c9w7flbnm42z7-offat-0.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A offat https://github.com/r-ryantm/nixpkgs/archive/347bdce1c43c191b013caac6ba49bd626c16ca7b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/347bdce1c43c191b013caac6ba49bd626c16ca7b#offat

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zm1r15qccbyggr875g9c9w7flbnm42z7-offat-0.17.0
ls -la /nix/store/zm1r15qccbyggr875g9c9w7flbnm42z7-offat-0.17.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

offat
offat.dist

Maintainer pings
cc @fabaff for testing.

Result of nixpkgs-review pr 302549 run on x86_64-linux 1

2 packages built:

offat
offat.dist


SimpleDht rawbits.

Hello .i am  using the Ardunio simulator on the web. I am using the SimpleDHT lib. in that i use the simpledht using rawbits.
but it getting 0 temp or 0 humidity.
byte data[5] = {0};
How can i pass the 8 bit data to get appropriate output.

Revert the data[5] to data[4].


Cannot set QCoDeS Instrument Parameter with numpy.int32, int16, int8

If you encounter a bug use the following template.
If you have a feature request feel free to freestyle.
qcodes issue:
Cannot set QCoDeS Instrument Parameter with numpy.int32, int16, int8 etc
Steps to reproduce

create/connect to a real instrument (here: a QuTech D5a dac module)
try to set a value using a numpy int32 -> my_instrument.my_parameter(np.int31(1))

Expected behaviour
Instrument should be set normally (works with setting with normal floats, ints, or numpy floats)
Actual behaviour
Nothing is set, following warning is printed. No exception is thrown. Response seems to be asynchronous.
WARNING:root:cannot sweep dac9 from 9.002822919050914 to 1 - jumping
Setting several values repeatedly in a loop causes the warnings to be printed in groups/ bursts.
System
operating system
Windows 10
qcodes branch
v0.1.11 via pypi
qcodes commit

Thanks for reporting this issue. The example you provide actually does not reproduce the warning, as it is missing one ingredient: setting the step value.
The following produces no warning:
import numpy as np
import qcodes as qc
from qcodes.tests.instrument_mocks import DummyInstrument

instrument = DummyInstrument('instrument', gates=['gate1'])
for typ in [np.int64, np.int32, np.int16, np.int8]:
    instrument.gate1(9)
    instrument.gate1(typ(1))

whereas this does:
import numpy as np
import qcodes as qc
from qcodes.tests.instrument_mocks import DummyInstrument

instrument = DummyInstrument('instrument', gates=['gate1'])
instrument.gate1.step = 1
instrument.gate1(1)
instrument.gate1(np.int32(1))

The problem is in get_ramp_values that should probably just be made more permissive.

@nulinspiratie, do you see any reason to only allow int and float?


[Gigya] Update Android to 3.3.9

I tested all those changes and I can confirm that now we can successfully use the latest version of Gigya SDK both on android and iOS and for the first time we were able to make the GS bridge work correctly with out web view. thanks


Merging OneToMany collection (after removing)

Hello, i've just caught strange behavior. It looks like a bug (maybe somehting related to the query cache), but it can also be misuse of sessions' methods, so if i did something wrong, let me know.
There are two entities:
SampleEntity:
@Entity
@Table(name = "sample_entities")
public class SampleEntity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long id;

    @Column(name = "sample_field")
    public String sampleField;

    @OneToMany(fetch = FetchType.LAZY, mappedBy = "sampleEntity")
    public Set<SampleJoinEntity> sampleJoinEntities;
}

SampleJoinEntity:
@Entity
@Table(name = "sample_join_entities")
public class SampleJoinEntity implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long id;

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "sample_entity_id", referencedColumnName = "id")
    public SampleEntity sampleEntity;
}

As you can see there is ManyToOne relation, which uses SampleEntity's id as a reference.
Let's persist them:
/* Persist one SampleEntity and 5 SampleJoinEntities */

// SampleEntity
final SampleEntity sampleEntity = new SampleEntity();

sampleEntity.sampleField = "Test";

factory.withTransaction((session, transaction) -> session.persist(sampleEntity))
		.await().indefinitely();

// SampleJoinEntities
for (int i = 0; i < 5; i++) {
	final SampleJoinEntity sampleJoinEntity = new SampleJoinEntity();

	sampleJoinEntity.sampleEntity = sampleEntity;

	factory.withTransaction((session, transaction) -> session.persist(sampleJoinEntity))
			.await().indefinitely();
}

Let's refresh SimpleEntity:
// Refresh our SampleEntity and fetch SampleJoinEntities
factory.withSession((session) -> session.refresh(sampleEntity)
		.then(() -> session.fetch(sampleEntity.sampleJoinEntities)))
		.await().indefinitely();

// Debug SampleJoinEntities
System.out.println("sampleJoinEntities: " + sampleEntity.sampleJoinEntities);

Now i want to remove all persisted SampleJoinEntities:
// Let's remove all SampleJoinEntities
sampleEntity.sampleJoinEntities.forEach(entity -> {
	factory.withTransaction((session, transaction) -> session.remove(entity))
			.await().indefinitely();
});

And the final step:
// Now let's do some work with SampleEntity and then merge it
sampleEntity.sampleField = "I've changed!";

// ISSUE: IT THROWS EXCEPTION HERE!
factory.withTransaction((session, transaction) -> session.merge(sampleEntity))
		.await().indefinitely();

It throws this exception:
Caused by: org.hibernate.HibernateException: java.util.concurrent.CompletionException: org.hibernate.AssertionFailure: Unexpected access to the database

After conducting several experiments, i came to the conclusion, that this issue is related to OneToMany collection (if you remove sampleJoinEntities field and fetch sampleJoinEntities using ordinary query, everything will be ok) and it throws this exception only when you are trying to merge entity after removing some entities from collection (see code above, "// Let's remove all SampleJoinEntities")
Full stack: https://pastebin.com/xhuvJ71T
Sample project:
SampleProject.zip

OK so it seems to me that this bug is ultimately the result of allowing detached objects to be passed to refresh() and remove() which is really an ancient legacy Hibernate 1/2 thing from back in the days of saveOrUpdate(), which we've already chosen not to support here.
I think HR should do things just as specified by JPA and throw an exception in these cases. We would be doing our users a favor by not letting them shoot themselves in the foot, and ourselves an even bigger favor because we won't have to support users with shot feet, and we won't have to fix this bug which looks like rather a lot of work involving copy/pasting a really deep chain of logic from core and changing all the return types to CompletionStage.

I've done the work but I can't push right now because my ISP sucks.

Ok, following JPA spec is a great thing, but what about my case? I mean, how to rewrite correctly my code in sample case above to achive the same functionality? Now it seems to me, than instead of refresh (or merge) i should always use session.find method (if we are talking about detached entities as SampleEntity in this example).

Well you can still use merge(), that method is designed to be safe, but you have to use the returned object, not ignore it. And yes, you should definitely use find() instead of refresh() here.

Done https://github.com/hibernate/hibernate-reactive/pull/346


[1.2] Bump log4j to 2.15 and bump plugin to 1.2.1

Description
backport #324
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #325 (fa14fbc) into 1.2 (a675eac) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                1.2     #325   +/-   ##
=========================================
  Coverage     99.90%   99.90%
  Complexity     2687     2687
=========================================
  Files           256      256
  Lines          6524     6524
  Branches        420      420
=========================================
  Hits           6518     6518
  Misses            5        5
  Partials          1        1

Flag
Coverage Δ

sql-engine
99.90% <ø> (?)

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

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 a675eac...fa14fbc. Read the comment docs.

Just curious, do the released opensearch versions contain the log4j vulnerability?


Add main container to layout

Summary
Resolves #250
JAWS has the ability to switch to the main content area if one exists. It is defined by either the main node, or the main role. This pull request adds that feature.

I have a feeling this may affect our test screenshots by adding the height of 100%

Looks like they passed ok inside of framework. Also, the parent container was already at a height of 100%, and this node is essentially just an extra wrapper.

Since the main element is being added outside of the element we capture the screenshot from and it is not impacting the sizing of the element we capture the screenshot from, this should continue to work the same as it did before.
I added a div with a string of text inside of the div with  the data-terra-dev-site-content attribute which is what we match on in terra-dev-site site to show that the first-child inside of data-terra-dev-site-content is still sized according to its content / own styles.


backport: tools, github: Add current SOURCE_VERSION writer

Commit Message: This adds a script to write the current SOURCE_VERSION.
Cherry-picked from:

9dcd8063a93bb7aec2cc271eb3fc05dfa96b177e
8e73e50126094174054c5dcfbef5bacae00af65f

Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>Additional Description: To provide the script inside the source code tarball for each release version. The next tag will have this, but even before I can use the merged patch to get it, without curl-ing directly from https://raw.githubusercontent.com.
Risk Level: N/A
Testing: Manual
Docs Changes: Updated.
Release Notes: N/A
Platform-Specific Features: N/A

/assign @phlax


Make executeCheckAndRecoverFunction show unhandled analysis entries.

Current code does not make this very visible and the code path should not get here anyway. However, if it does it indicates that the analysis phase is not completely correct or we are not handling the situation correctly. Both situations probably need to be identified and resolved.

[x] contributed code is using same conventions as original code
[x] code is formatted via gofmt (please avoid goimports)
[x] code is built via ./build.sh
[x] code is tested via go test ./go/...

Hi Shlomi. thanks for brining up the problem with the change I proposed. it does look as if I'd missed the meaning of what was going on here. Bottom line, the original code has a reference to unhandled exceptions and I wanted to see if there were any and why.  I can change the code therefore to do the check properly by using the
if checkAndRecoverFunction == nil

and adding a check to log if if analysisEntry.Analysis != inst.NoProblem.
Having said that I hadn't realised but in the same function executeCheckAndRecoverFunction you call in some cases go emergentlyXXXX which seems to be designed to trigger an instant discovery of one or more servers, but currently that's handled outside of the concurrency queueing mechanism.  For discovering a single server this may not be an issue but emergentlyReadTopologyInstanceReplicas bypasses the discovery queue which is intended to limit the number of concurrent concurrency attempts.  For a large replication chain you may trigger an extra X number of discoveries which might not be good, and might perhaps trigger later rights to the orchestrator backend to hit max_connections.
If you agree that analysis is correct then I'd like to modify these functions to "queue" their discoveries, but rather than doing this "at the end of the queue" to push the discovery request to the beginning.
This change in behaviour would seem to be fine, unless executeCheckAndRecoverFunction repeatedly triggers these emergentlyXXX functions, something which seems to be something I'm seeing as basically it bypasses the current FIFO discovery queue.
So maybe this is something to consider?

I've pushed a further change to log only if the analysis is not NoProblem and is not "handled" which I think should resolve your concerns.

The current patch, if you pull the latest changes in the branch, will only log that something has been missed if the problem is not NoProblem and if if checkAndRecoverFunction == nil is called. So no changes in behaviour: just some extra logging which hopefully will be useful. I can then follow up on that if I see (as I am) repeated occurrences of this being triggered.
So would you accept the PR as it is now so we can make progress?
Thanks for your thoughts on this.


用不了

我这根本用不了，只有在https://chat.openai.com/chat 这个网页且登录的情况下图标才是亮的，其他网页这个插件的图标都是灰色的，没有任何反应，什么情况？

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!


[luci] flutter-try-mac-3 failing with zip I/O error: No space left on device

Mac bot 3 is failing:
Zipping /b/s/w/ir/k/recipe_cleanup/tmp7EcjpZ/dart-sdk-darwin-x64.zip...
adding: dart-sdk/ (stored 0%)
adding: dart-sdk/LICENSE (deflated 47%)
adding: dart-sdk/bin/ (stored 0%)
adding: dart-sdk/bin/dart2js (deflated 46%)
adding: dart-sdk/bin/dartdevc (deflated 40%)
adding: dart-sdk/bin/snapshots/ (stored 0%)
adding: dart-sdk/bin/snapshots/analysis_server.dart.snapshot (deflated 53%)
adding: dart-sdk/bin/snapshots/kernel-service.dart.snapshot (deflated 59%)
adding: dart-sdk/bin/snapshots/pub.dart.snapshot (deflated 53%)
adding: dart-sdk/bin/snapshots/dartdoc.dart.snapshot (deflated 53%)
adding: dart-sdk/bin/snapshots/dartdevc.dart.snapshot (deflated 59%)
adding: dart-sdk/bin/snapshots/dart2js.dart.snapshot (deflated 60%)
adding: dart-sdk/bin/snapshots/libtensorflowlite_c-mac64.so (deflated 56%)
adding: dart-sdk/bin/snapshots/dartfmt.dart.snapshot (deflated 52%)
adding: dart-sdk/bin/snapshots/dartdev.dart.snapshot (deflated 53%)
adding: dart-sdk/bin/snapshots/dartanalyzer.dart.snapshot (deflated 53%)
adding: dart-sdk/bin/snapshots/kernel_worker.dart.snapshot (deflated 52%)
adding: dart-sdk/bin/snapshots/frontend_server.dart.snapshot (deflated 59%)
adding: dart-sdk/bin/dartfmt (deflated 39%)
adding: dart-sdk/bin/dart
zip I/O error: No space left on device
zip error: Output file write failure (write error on zip file)

Task url:
https://ci.chromium.org/p/flutter/builders/try/Mac Host Engine/6168

Duplicate of https://github.com/flutter/flutter/issues/58654


ContextCapture 3dtiles failed to display

I have a tileset generate from context capture (2G in size). Using the apps from bentley, the tileset can be displayed. But when I try to use the tilest as an datasource to code something, it seems not work.
I check the js code Bentley written, it's compressed. It seems did some transform and other modification of the model. But It is not clear, any resource to directly show how to display my tileset directly generate from contextcapture?
btw, Why context capture has not document it clearly? or publish the code clearly???

Hello @veolata,  Context Capture should export 3D Tiles tilesets that are compatible with CesiumJS.  However, you wouldn't use a datasource to load them.  Here is an example of how to add a tileset:
var viewer = new Cesium.Viewer('cesiumContainer');

var tileset = new Cesium.Cesium3DTileset({
    url: '/path/to/tileset'
});

viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);

If it is not in the correct location on the globe you may need to set tileset.modelMatrix.
Although Bentley supports CesiumJS development, the Cesium team does not work on Context Capture.  If you are having further issues, I would contact Bentley support to see if they are able to help you.  Thanks!

Hi @veolata,
If you have Cesium running on localhost, you should be able to load 3D Tilesets off disk.
Here's a snippet of Sandcastle code for loading one of the sample tilesets that we ship with Cesium:
var viewer = new Cesium.Viewer('cesiumContainer');

var tileset = new Cesium.Cesium3DTileset({
    url: '../../../../Apps/SampleData/Cesium3DTiles/Tilesets/Tileset/tileset.json'
});

viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);

Just make sure you know where the tileset.json file is for the whole tileset - I'm not sure, but Context Capture may produce several tileset.json files for various parts of the tileset that are linked together using a single tileset.json.
If the tileset shows floating in space, but then the camera goes back out to the surface of the Earth, then the tileset might not be positioned correctly on the planet - it may be loading at the center of the Earth.
You can double-check this by setting viewer.scene.globe.show = false, which will prevent the globe from hiding your tileset. You can use the Cesium3DTileset's modelMatrix to reposition the tileset on the surface of the Earth instead.
In the future, we also recommend using our forum for questions on how to do something, especially when external products like Context Capture are involved: https://groups.google.com/forum/#!forum/cesium-dev
Someone on the forum may already have worked through this problem, or may have the same question with other helpful observations. We prefer using github issues exclusively for tracking bugs and planned features.

@hpinkos, Thanks for reply! I am not try to solve the height issue. I did reset the model matrix. But seems only the b3dm files were not downloaded. Other json files in tree are downloaded.  Really cant figure it, please help~

Hi @likangning93
Thanks for your reply, I post the issue in Google Group. Sean checks the tileset and has post two issues #7035 and #7036 to report bugs.
Really good works on cesium, wish you guys all the best
--
祝好
达理
13813873798
At 2018-09-10 22:55:59, "likangning93"<EMAIL_ADDRESS>wrote:
Hi @veolata,
If you have Cesium running on localhost, you should be able to load 3D Tilesets off disk.
Here's a snippet of Sandcastle code for loading one of the sample tilesets that we ship with Cesium:
var viewer =newCesium.Viewer('cesiumContainer');
var tileset =newCesium.Cesium3DTileset({
url:'../../../../Apps/SampleData/Cesium3DTiles/Tilesets/Tileset/tileset.json'
});
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);
Just make sure you know where the tileset.json file is for the whole tileset - I'm not sure, but Context Capture may produce several tileset.json files for various parts of the tileset that are linked together using a single tileset.json.
If the tileset shows floating in space, but then the camera goes back out to the surface of the Earth, then the tileset might not be positioned correctly on the planet - it may be loading at the center of the Earth.
You can double-check this by setting viewer.scene.globe.show = false, which will prevent the globe from hiding your tileset. You can use the Cesium3DTileset's modelMatrix to reposition the tileset on the surface of the Earth instead.
In the future, we also recommend using our forum for questions on how to do something, especially when external products like Context Capture are involved: https://groups.google.com/forum/#!forum/cesium-dev
Someone on the forum may already have worked through this problem, or may have the same question with other helpful observations. We prefer using github issues exclusively for tracking bugs and planned features.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


In DateTimePicker how to kept isReadOnly property for DateTimePickerTextbox .

PLEASE READ BEFORE POSTING AN ISSUE
This is a place for issues for MahApps itself. Questions are better asked in the Gitter room or at stackoverflow.
Seriously consider creating and linking to a test repo which takes absolutely minimal setup to illustrate how reproduce the problem.
My time is limited and .Zip files, code snippets and partial examples are often a time sink. GitHub also provides great communication and code review tools which can be utilised.
HOW TO POST A GOOD SAMPLE.
Follow these guidelines and I will most likely look at the issue sooner:

Post a full GitHub repository. Not a zip file, half baked snippet etc. If GitHub is new to you consider it a great learning opportunity and chance to get involved.
The repository should have just ONE step max for me to get running, and that is "Restore NuGet Packages". If there are any other missing dependencies, or uncompiling features I will most likely move on to another issue.
I'm not trying to be awkward. I'm just busy and I'm helping a lot of people, not just you, so help me out and I will help you out.

What steps will reproduce this issue?
Write problem description here
Expected outcome
Write expected outcome here
Repo
Link to the Repo
Environment

MahApps.Metro v?.?.?
Windows OS ??
Visual Studio 20xx
.NET Framework ?.?

implement textbox as a read only in DateTimePicker

<DatePicker.Resources>      <Style TargetType="DatePickerTextBox">            <Setter Property="IsReadOnly" Value="True"/>       </Style>   </DatePicker.Resources>
like this possible for DateTimePicker ?

lt is working in new version.
thanks @punker76 Punker for your supporting


Update the CMV validation profiles

CDC DDI 1.2.2: added version 2.0.0
CDC DDI 2.5: added version 2.0.0
CDC DDI 2.6: added version 1.0.0
CDC DDI 3.2: added version 1.0.0
CDC DDI 3.3: added version 1.0.0
This closes #155

@john-shepherdson - could you review this PR?


A tool for tasks creating and board managing

Is your feature request related to a problem? Please describe.
There is no way to create tasks by agents for another agents.
Describe the solution you'd like

executing tasks, that were created on-demand by another agents.
tool, that can create task based on input and prompt
tool, that can manipulate tasks, accept and decline them

Describe alternatives you've considered
Can't find any alternative solutions
Additional context
Add any other context or screenshots about the feature request here.

Thanks for sharing this @sad8c . It seems really useful. This is somehow related to #154
Do you have any example of a framework doing this approach already?


Adding possibility to change setting on many/all tables at once

Use case:
For example after disk watermark flood stage is triggered potentially your tables will be put into read-only allow-delete. Once you have freed or added additional disk space you need to indivdually set blocks.read_only_allow_delete=false on every table.
In case you have many tables this could be a bit cumbersome. It would make this task simpler if I could run a single query to reset the setting for all tables at once.
Potentially (not to complicated) workaround: Have a script which loops over all tables and execute the SQL query for all of them.

As far as I'm aware, other DBs don't allow changing the setting of multiple tables at once and creating a script should be easy enough.
Rather than adding specialized update tables syntax I think a more general approach could be to open up some form of stored procedures/scripting support.
We recently also added some logic that should automatically remove the read_only_allow_delete block once enough disk space is available again. That should reduce the need to bulk update settings.
Closing this as too niche for now.


Output format and chunks

Hello, thank you for the great work! The outputs are truly smooth and plausible. However, I have a question regarding the output format.
I saved the output file in pkl format. From this file, I get 4 resulting chunks with keys 0, 4, 17, and 31. Since they also had frame_ids, I concatenated the chunks to have the whole sequence as one variable according to the frame_ids. Then, using "pose_world" and "trans_world", I obtained joint positions by SMPL and visualised the resulting joints in world frame using a physics simulator, but the world trajectory looks like it cuts off at the end of the individual chunk. For instance, the person starts at point A and finishes at point B at the end of chunk '0', but starts the motion of chunk '4' at point C instead of B. Other than the trajectory, body pose is correct and smooth.
So, should the chunks not be concatenated according to the frame ids or should there be an additional preprocessing? Any recommendation is welcome, thanks!

Hi, I apologize that this isn't a solution to your problem but I was hoping you would be able to explain to me how you exported the output and accessed the joint positions.

Hi, no worries.
While running the demo, I added --save_pkl option as python demo.py --video jump.mp4 --save_pkl --visualize --run_smplify. With this option, the result should be saved as wham_output.pkl in a folder named output together with other results, slam_results.pth and tracking_results.pth. Then, I exported the wham_output.pkl file with joblib. Since the output has "pose_world", "trans_world" and "betas" keys, I used an SMPL model and obtained the joints with smpl_output.joints.

Ohh thank you so much!

So as far as I understood from other issues, these 0, 4, 17, and 31 keys represent person ids in the given video. However, I have single person in my videos even though the detector gives the output for multiple people. Has anyone come up with a workaround?

Solved! Turns out this is not a WHAM issue, but a YOLO issue.
For anyone who encounters the same issue: YOLO was detecting bboxes for people who were not there. So I increased the BBOX_CONF score of YOLO detector to 0.8 from 0.5 and obtained results for single person.


DSOS-1627: allow multiple load balancers

Some tweaks to the module to ensure multiple load balancers can be created, e.g. one public and one internal.
Changes:

create athena database with unique name (otherwise 2nd load balancer will fail as "loadbalancer_access_logs" is already created)
aligned the loadbalancer Name tag with the name of the resource
added missing tags to security group and athena workgroup resources

LGTM; the naming adjustments are minor but necessary, however you could use a random prefix to the athena logs to ensure uniqueness


Adding Google Cloud AutoML data action

This action allows the user to send the results of an explore or look to GC AutoML as a new AutoML table.  It additionally creates a csv file within the user-specified GCS bucket.
Limitations:
-user needs to manually change the field labels for each field in the visualization to lowercase.  only alphanumeric + underscores
-gcs bucket and automl dataset must be in the same region
This also fixes an issue I found with the private key input in the other google data actions.  Apparently, a number of clients are using them, so did not want to break anything by including my fixes for those two other actions.

You need to resolve the issue with the PR that it is literally deleting almost every file that isn't the changes first before I can review this


Sphinx1

Note this does contain built sphinx docs, which isn't ideal, but it's a first pass to make the thing work.

:x: Build healthcareai-py 1.0.507 failed (commit https://github.com/HealthCatalyst/healthcareai-py/commit/b248996f8a by @Aylr)


Proper indexing of input

This issue concerns the module data_handling.py
In the current implementation, indexing of the input is left to a sort of the input paths, and it is implicitly assumed that every keyframe has a corresponding spectogram.
It would be nicer to have the VisXPData class have a dedicated list of timestamps (that have corresponding frames a/o spectograms) and use that for indexing (in__getitem__).
In theory, frame or spectogram may not exist and it is still possible to create features for the existing input.
Proper handling of this scenario would need to be implemented in the feature_extraction.py.

make sure only the proper dimensionality spectograms are used (from model_config, and remove workaround in general config)

Handling of non-existing spectograms or frames is out of scope for now.
The current behaviour of data_handling in those cases, is to return a all-zeros tensor for those cases.
However, this is obscured by model application (in feature_extraction > apply_model).
If this (not existing sound a/o image) would become a realistic scenario, this needs to be dealt with properly.


fix: update README to point to the OLM book website

Description of the change:
Motivation for the change:
A new user coming to the OLM repo and reading the README would be interested in the OLM book. The link we provide should point to the OLM book itself, not the git repo backing the content. This makes for a better user experience for someone looking into OLM for the first time.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

should we put https://olm.operatorframework.io/ on there?

/retest
/approve

will manually merge as this is doc-only (only updates a link in the README).


Add dobby and rubocop fixes

add dobby action.
fix rubocop issues.

/dobby version patch

/dobby version patch

Pull request comment event does not trigger unless the workflow merged https://github.community/t/on-issue-comment-events-are-not-triggering-workflows/16784

How come so many files have been changed?

Rubocop is failing because simplycop is updated. So I also fixed those.


upload refactoring

Currently if started with the -upload=true parameter no file can be saved, based on a failed check if a path is specified.
This MR allows files to be uploaded as intended in the specified path.
Furthermore i adjusted the handler to work, so that the status code matches.

Sorry for the delay :)
Hope everything works now


nickname-doesnt-match

When creating a new user, the nickname provided does not match the stored nickname.

Fixed Naming Ticket!

Closing Naming Ticket!


Terraform Lambda doesn't include env var for channels (Slack, Teams or Chime)

On Lambda handler.py lines 702 to 709 there are calls to get secrets in case environment variables are set for channels to be communicated. ( get_secret(secret_teams_name, client) if "Teams" in os.environ else "None")
The Terraform code, however, doesn't populate that variable dynamically, therefore there will never be those environment variables and the notifications won't be sent.
I corrected it on my code by making the lambda variables as a local variable and merging them to the notifications channel in case they're populated.
Hope this helps.

Found the same problem in mine too. I fixed it on my code only.
Thanks for this post, else I would be facing a wall.

Hi @totogtr , since we are only using teams channel in our org, i removed all other channels thats defined in the lambda functions. I also removed all other if elif conditions when sending the message.

Committed a few terraform updates including this one to https://github.com/aws-samples/aws-health-aware/tree/terraform-updates
Will plan to include in upcoming release.


Login Gitblit using Azure AD users

I know there is option to install Azure Domain services (using secure Ldaps) and then connect/sync users by adding realm.authenticationProviders = ldap options in the gitbilt.property;
My question is, can I authentication users with AD Azure directly without going through above process? or has anyone done this in different way?

I don't have an answer to that. But I would like to ask for clarification what "with AD Azure directly" would mean? Do you mean with your Azure account, or do you mean with an Azure Active Directory? If the latter, what would "directly" mean, are there examples for this? I guess it means employing Kerberos for the authentication?

You are right, its Azure Active Directory; e.g. I add service account user and give it required permission (read) to be setup on Gitblit.
"directly" probably is not right word, but I meant not to install Domain service on Azure.

But isn't an Azure AD also just an AD? So the same principles would apply.


Init handles dashes in project names

Otherwise init creates module names that are invalid like Example-lib.

Can you confirm that generated code actually compiles? Since using
'Example::Lib' without defining module 'Example' can be an error (at least
feels like one..)
On May 1, 2015 4:00 AM, "Nate West"<EMAIL_ADDRESS>wrote:

Otherwise init creates module names that are invalid like Example-lib.
You can view, comment on, or merge this pull request online at:
https://github.com/manastech/crystal/pull/602
Commit Summary

Init handles dashes in project names

File Changes

M spec/compiler/crystal/tools/init_spec.cr
https://github.com/manastech/crystal/pull/602/files#diff-0 (5)
M src/compiler/crystal/tools/init.cr
https://github.com/manastech/crystal/pull/602/files#diff-1 (2)

Patch Links:

https://github.com/manastech/crystal/pull/602.patch
https://github.com/manastech/crystal/pull/602.diff

—
Reply to this email directly or view it on GitHub
https://github.com/manastech/crystal/pull/602.

@waterlink It's not an error: Example gets automatically defined as a module. This is something we chose to do different in Crystal, so that for cases when you always want to nest something in a module you can do it in just one line.
I just tried this patch and it works fine. It doesn't create things like bundler does (bundler creates sub-directories for each of the namespaces) but it works.
@waterlink do you like this solution? For me it looks OK.

Yeah, that is totally fine with me :+1:
On May 3, 2015 5:04 PM, "Ary Borenszweig"<EMAIL_ADDRESS>wrote:

@waterlink https://github.com/waterlink It's not an error: Example gets
automatically defined as a module. This is something we chose to do
different in Crystal, so that for cases when you always want to nest
something in a module you can do it in just one line.
I just tried this patch and it works fine. It doesn't create things like
bundler does (bundler creates sub-directories for each of the namespaces)
but it works.
@waterlink https://github.com/waterlink do you like this solution? For
me it looks OK.
—
Reply to this email directly or view it on GitHub
https://github.com/manastech/crystal/pull/602#issuecomment-98490840.

@niftyn8 @waterlink Thanks!

Thanks @asterite for the context and testing. I would have responded earlier but I'm at a Hackathon all weekend and have been busy. Thanks!


Export CSV show SQL Script

When exporting a select statement result to csv format, data is exported well.However in csv file, i cannot see which select query is executed.It would be useful when sending csv file to someone who wants to see which result belongs to which query.
In my opinion, adding an additional sheet in csv file to show select query would be useful.

@hasanyildiz Unfortunately we can't add this to CSV exports, because it will break the standard layout of csv file, because having additional sheets is not normal for csv format that is usually opened in more basic text editors like Notepad, and will negatively impact the import from it. For now we have exactly this feature for exports into XLSX format. It is available only in Enterprise version though.


User Manual

Write user's manual to replace placeholder PDF.

Use Word or Sphinx/Read the Docs?
Should screenshots be included or just text?

For now, using a Word document with only text. In the future it would be nice to move to a text based manual generator for version control.


Add class size based scheduler

This is similar to the Backoff Scheduler, but bans rewrites based on the class size. Specifically, when a class grows past a limit, we stop applying rewrites to it for a few iterations.
This is more fine-grained than the Backoff Scheduler, which bans a rule for all classes when that rule explodes some class. Scheduling based on class size is also closer to how we do prove by hand: if we have rewritten a certain subterm too many times, we'll move on to some other subterms. For example, if we've applied AC to a certain class too many times, we'll still apply AC, but to other classes.

I think we'll close this for now, as it's implementable as an external library (as demonstrated by this PR).


Lock canvas movement

Add variable for locking canvas on a mouseMove event.

I think this build failure was a result of changes I recently made to combine the Indigo and Kinetic branches.  Try merging the latest master into your branch and put it again and see if it works now.


Timezone resets to GMT 0 after upgrading to 1.27.x

Summary
For the same server, when using the app 1.27.0 or 1.27.1, the timezone in the app resets to GMT 0. Thich changes all the displayed time to reflect that and give false date time.
Environment Information

Device Name: Pixel 2 XL
OS Version: Android 10
Mattermost App Version: 1.27.0, 1.27.1
Mattermost Server Version: 5.19.0

Steps to reproduce
How can we reproduce the issue?
Using the app is causing this issue. reverting back to 1.26.2 fixed it
Expected behavior
It should use the timezone I'm in to calculate the display date/time(GMT+8)
Observed behavior
Seeing the time reflected with GMT 0 instead of GMT+8 where I'm in
Possible fixes
Not sure.

@saturninoabril I did try both the 1.27.1 and 1.27.0 and am facing this issue in them both. I'll wait for the next version release and check in that.
@andreasarifin which beta version did you install? From app store, or built from this repo?

@xRahul it is the beta that @saturninoabril have shared in his comment.


webapp access-restriction add with --service-tag throws None Type is not iterable error

Describe the bug
Attempting to add a webapp access-restriction with the --service-tag argument throws 'NoneType' object is not iterable

To Reproduce
Run the command from the docs, az webapp config access-restriction add -g ResourceGroup -n AppName --priority 400 --service-tag AzureCloud
Expected behavior
An access restriction is added with that service tag
Environment summary
azure-cli                         2.25.0

core                              2.25.0
telemetry                          1.0.6

Extensions:
interactive                        0.4.4

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\274086\.azure\cliextensions'

Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context
Attempting to add IP based access restrictions worked as expected

route to service team

@Jay-Madden would you mind running the command with --debug and post the result. If you prefer not to have the data displayed in the issue, you can send it to me directly: madsd[at]microsoft.com

@madsd Email sent

The issue occurs when caller does not have subscription permission to get list of Service Tags. I added a fix to skip validation if this is the case. #18527

Which version of the CLI will this fix be available? Will it be 2.26.0?


Liqoctl offload: fix selector

Description
This PR fixes the liqoctl offload namespace command, ensuring the selector works also in case of 'key=value' filters.
Fixes #(issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Existing
[ ] Manually, on kind

/test

/test

/test