linux: provide arch PKGBUILD

Hi and thanks for the fine program. Just filling in this issue so that we maybe have in the future a package for arch users on the AUR repo.
thanks again

Thanks @ninrod !

I am intersted in writing the needed PKGBUILD, but, since scripts should be installed in systemd directories (/usr/bin/, /usr/share/, ...), the possibility setting EA_PATH outside install and bin/linux scripts is needed.
I propose using such reasonable defaults if variable is not set, but keeping it if it is set, this way
if [ -z ${EA_PATH+x} ]; then EA_PATH=$HOME/.emacs_anywhere; fi

Would you mind if I write a pull request you needed modifications?

Hi @lobisquit ! There are a few things we need to get squared away first.
There is a PR up for #39 and soon I'll be putting up a PR for #41. If you branch from master there is going to be some gnarly merge conflicts.
The other problem is that #38 is going to change the way this is installed. We want to try to keep Mac OS and Linux versions as similar as possible but I've yet to look into how we need to handle this in Mac OS. If you've got an idea for this please let us know in #38. We can't finish #38 until we figure out how to keep as much parity as possible on both operating systems.
Once all this is done I think we'll be in a good position to address this issue. The tricky thing about this is going to be keeping MacOS and Linux versions as similar as possible while also providing a an installation that makes sense for both operating systems.
We need all the help we can get so I'd really appreciate help from you on any front as long as you know it's not going to be easy and we'll probably need to make some compromises.
Thanks @lobisquit !

You are welcome :wink:
For the time being I have forked you repo in order to build the Arch Linux package, but I will stay tuned for installer updates, in order to use your repo in the future.

https://aur.archlinux.org/packages/emacs-anywhere-git/ found this

Is it working?

That is an official package that’s way out of date. I told him/her not to publish it, but what can you do? 🤦♂

Any udates on this? @zachcurry just found out about this, and it freaking made my day. Thanks you!

Hi, @jjzmajic ! I'm glad to hear you dig the tool my friend.
I haven't had time to work on this project for quite a while. Perhaps one of these days I'll have a few free cycles to add an AUR package. Perhaps one of the good people in the community will beat me to it. I'll be sure to ping you if anything changes.
Go with Emacs,
Z.


Make SECURITY.md consistent

We're missing these across a lot of Knative repos, this is copied/improved from the 3 that existed.

/lgtm

/approve

/hold


LSP servers not being found by nvim after installation with nvim-lsp-installer

As above. I installed ltex and texlab (latex lsps) on two separate occasions, and hls (haskell lsp). None of these are found by LspInfo, and none of these are attached to buffers with relevant filetypes.

Should be fixed in the latest commit, I just installed sumneko_lua to test and :LspInfo looks correct now. Thanks for the report, lmk if anything else pops up

Hmmmm, it's still not behaving correctly on my end after replacing everything with the latest commit.
I added in:

-- lsp server configs
require'lspconfig'.texlab.setup{}

And now texlab shows up correctly in :LspInfo, but fails to initialize (executable missing from path error, despite it literally not being missing). I'm genuinely confused why it's not working out, this is a completely fresh install. Considering reinstalling nvim completely.

Just ran into issues with pyright again, I'm not sure whats causing it (configuration itself looks fine) but I'll just rewrite the whole lspconfig section. Its long overdue and hopefully it fixes this issue

Finally fixed it, properly this time: https://github.com/shaunsingh/nyoom.nvim/commit/98ad880bcad4c76798088f28f7265d0bf8445aef


Facebook Android Login popup shows - Sorry, something went wrong

Howdy!
iOS Facebook auth works great. In Android, both on the simulator and on a real device I'm getting this error page from Facebook:

What am I doing wrong? Is it something in the Facebook settings maybe? I verified 20 times that I got everything setup correctly...

Oh and these are my settings:

I get the same error, despite having worked before.

Try using only 'email' has scope

@efiorello  Why?

@novakben sincerely I dont know. I found it in another post and it worked.
And in the makerequest call, use the following to get the desired fields: "/ me? Fields = name, email, first_name, last_name"

Finally, I have the same problem too but thank you efiorello. It work on me. <3


Option to set website identifier during setup

I need to create two tenants:

customer-foo.example.com
customer-far.example.com

as the identifier is currently based on the first 10 characters of the domain name, both website ids will be customer-f
This will cause the setup to fail as the websites->identifier is a unique key in the database.
It would be nice if you could set an identifier during setup.

My current workaround is to use the unique id in the hostname while setting it up, and changing the hostname in the database to the real url after.
e.g.
sudo php artisan multi-tenant:setup --tenant=Tenant<EMAIL_ADDRESS>--hostname=custom-foo.example.com

mysql -u hyn -p
> UPDATE hostnames SET hostname='customer-foo.example.com' WHERE hostname='custom-foo.example.com';

Or maybe the whole way of defining an identifier should be different?


bugs with *.times do spawn

this code:
5.times do
  spawn puts "hi"
end

should output:
hi
hi
hi
hi
hi

But it wont, is this a bug or do I miss something ?

@bararchy Think of spawn as Thread.new { ... } without join. If you do this in Ruby:
5.times do
  Thread.new do
    puts "hi"
  end
end

Maybe you will see a couple of "hi" but the program will exit before, because the main thread exits. With spawn it's exactly the same: the main fiber exits before outputting anything.
One way to solve this is:
5.times do
  spawn puts "hi"
end

sleep 1

But that's of course just a hack. Another solution is to make the main Fiber wait for all those spawned processes to finish. You use a Channel for this:
# A dummy channel to count
ch = Channel(Nil).new

5.times do
  spawn do
    puts "hi"

    # Each spawn will send one value
    ch.send nil
  end
end

# Wait for 5 values to come, blocking meanwhile.
5.times { ch.receive }

Thanks, I'll take that into account next time.


When uploading files, the file does not always appear, or becomes a separate block

Bug
When uploading files:

file does not always appear
or becomes a separate block.

Reported a couple of times but nobody has been able to catch a console log.
Steps to reproduce
Hard to reproduce!
Upload files within a publication in the full text & files tab, see what happens:

I could reproduce this for this particular id: 2012599

Upload a new PDF to the publication.
Reload the page.
Notice how there's a dangling file at the bottom of the page.

Also, deleting the publication doesn't remove the file from the page. Hitting "delete" again gives me a version conflict. I need to reload the page to see a refreshed list without the offending file.

Caused by a stray </div> in a template which confused htmx.  Also, noticed that deleting a file didn't refresh the list of files: fixed that too.


Bundled App breaks with error : Inject is not a function

I've clearly broken something and I don't understand what. This is an error I only get on a bundled application. If it's not bundled it works just fine.
Here's the code that breaks:
import {inject} from 'aurelia-framework';
import {Router} from "aurelia-router";

@inject(Router)
export class dbpbottomnav {

    constructor(Router){
        this.router = Router;
        console.log(this.router);
    }

    attached() {

    }
}

With the error: Unhandled promise rejection Error: inject is not a function
If I change the code to :
import {inject} from 'aurelia-framework';
import {Router} from "aurelia-router";

export class dbpbottomnav {
    static inject() { return [Router]; }

    constructor(Router){
        this.myRouter = router;
        console.log(this.myRouter);
    }

    attached() {

    }
}

I don't get the error. However I can't go through my entire application and easily change the way that injection works. Not to mention it seems lame to have to do that. I really don't understand what I could have done to screw up bundling this bad. I'd love any help I could get.
In other words if I fix the "inject error" in one control, then aurelia just barfs on the next control.
here's the specific babeled js it breaks on:
     value: function shrinkHeroModule(height, offsetForImage) {
            console.log('about to shrink the hero module.');
            $('#hero').height(height);
            $('#hero.module-parallax').parallax('50%', offsetForImage, 0.4);
            $('.hero-caption').fadeOut(500);
          }
        }]);
        var _dbpheader = dbpheader;
        dbpheader = inject(dbpParallax)(dbpheader) || dbpheader;
        return dbpheader;
      })();
      _export('dbpheader', dbpheader);
    }
  };
});

specifically this line:
dbpheader = inject(dbpParallax)(dbpheader) || dbpheader;

Is this caused by using Babel 6 rather than Babel 5?

So I have at least more details.  I have a working repository with version 0.1.9.  However when I upgrade to version 0.3.1 it breaks.
You can take a look at my working code base here:
https://github.com/davidbfrogman/DBPHeroku
I can upgrade, and downgrade, and get very reproducible results.
0.1.9 works.
0.3.1 breaks.

if I run npm install aurelia-bundler --save
is there anything else I need to be aware of?  Like are there other components (jspm, system.js etc) that I need to upgrade as well?  As many details as possible would really help.
Thanks in advance.

After a lot more struggling.  I made a bunch of changes, but the one thing that seemed to work was ""depCache": false,"
I honestly have no idea why that 'fixed' it.  Maybe I don't understand what that flag does.

@EisenbergEffect Could it be a decorator problem? I will take a look at his repo. Have we upgraded bable that supports decorator?

We haven't updated Babel yet. We are still waiting on some dependencies that need to be updated to Babel 6.

So we don't support decorator like @inject here. Is that a correct statement?

I have to investigate why setting depCache to false solves the problem.


Delimit swipe area with Area2D node. Allow multiple Area2D instances to achieve independant simultaneous swipes.

Two options came to my mind when thinking a solution to this requested feature:

To attach the swipe detector script to an Area2D, in a way you can set two (or more) different swipe detectors. Swipe detects will occur independently in each area. For example, if you are programming a mobile pong and you want both players to swipe at th same time, you could add one Area2D swipe detector node for the left side of the screen and an other for the right side of the screen.

Add Area2D children into the SwipeDetector node, so you will get more information on the gesture object regarding the Area2D were it is being executed. Signals could be triggered once per Area2D child.

We could also include both 1 and 2.
Any thoughts?
This enhancement was originated from a request from Arnav Singh (I don't have your Github User yet)

Hi Ary,
This is Arnav again. I was wondering whether it was possible to have have two swipes occurring at the same time? I am making a pong like game and want to control the paddles by swiping. How would i go about getting this to work? Would i perhaps just make two swipe detection scenes and instance them to the scene I want or??
Please help!
Thanks,
Arnav

Sounds good man!

Let me know if i can help in anyway :)

Yeah, can you help me test the implementation?
I have pushed a branch called detection-areas. I have included an example called "SwipeAreasExample" and tested it in my phone. But it would be great if you can test it out in your pong-like game.

yer no problem!
i will give that a go now
On 6 Feb 2017, at 2:55 PM, Ary Pablo Batista <notifications<EMAIL_ADDRESS>wrote:
Yeah, can you help me test the implementation?
I have pushed a branch called detection-areas. I have included an example called "SwipeAreasExample" and tested it in my phone. But it would be great if you can test it out in your pong-like game.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/arypbatista/godot-swipe-detector/issues/12#issuecomment-277586664, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXi7VEsqXxvJ3_S3pbBt16wMP4-rWCUdks5rZqesgaJpZM4L3hld.

yer no problem. I will do it now

I have tried and am getting some errors. I had a look at how you set it up, and you have instanced your swipe detector scene into the detection area scene and put two child area2d nodes. I have done that too. Do we need to have the collision areas? if so, i have tried this as well. When I swipe, it gives me an error in the swipe_started function which passes in points. I have a feeling I havent set it up correctly. Could you please give the steps? Thanks

Yeah, sorry. Forgot to tell you the API was changed. A partial gesture is the gesture being captured. So you can access what you before called point through partial_gesture.last_point().
We need collision areas since I use input events from Area2D. They should not interfere with the game. Maybe it depends on how you set up the specific Area2Ds, but it doesn't override space by default.

Implemented on pull request #14


docs: update readme.md to provide temp workaround

See https://github.com/antongolub/yarn-audit-fix/issues/268

I do not have write access. When or how is the pull request merged?
Is this automated?


Hyperlane xERC20 Prototype

Background
We proposed for Hyperlane to be the ezETH bridge while we complete Chimera this quarter.
This enables Renzo to continue expansion and competition on a transport layer that we will later be able to adopt
More context on strategic goal: https://www.notion.so/connext/Renzo-Connext-Hyperlane-Proposal-e92b6fc98b05468ab8d6f4ec96862439
Hyperlane provided their feedback and stance on the proposal here
https://hyperlanexyz.notion.site/Hyperlane-Connext-Renzo-Implementation-e38cc856034643e4b6d98c38b23cd5d6
Solution
We need to size out what it would take to have a UI with native xERC20 bridging through Hyperlane routes
Use xERC20 adapter to ensure xERC20 works in Hyperlane transport layer https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/3486
Definition Of Done
We have a clear sizing of the below:

[ ] Users can bridge ezETH as an xERC20 between Ethereum and L2s (where Hyperlane is deployed)
[ ] Users can bridge ezETH through a UI with Hyperlane routes
[ ] Approval for bridging UX is 2 steps or less
[ ] Users can offramp ezETH on Blast through this UI
[ ] Assets are minted and burned as expected
[ ] The UI is maintained over time

Next step: poke HL on SDK + warproute UI work.

No longer doing.


added /1 to index

/retest

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign cameronbraid
You can assign the PR to them by writing /assign @cameronbraid in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview cameronbraid-jx3-node-http-pr-2 here

/approve

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/approve

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

/lgtm

@cameronbraid: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.


Latest version doesn't mach remote version

Hallo.
I found that the output returns always the same versions:

These two props return the correct values:
json['dist-tags']['latest']
json['dist-tags']['next']

example:

packageEntry.version 7.2.12
localVersionSemverRange 7.2.12

version 7.2.12

latest version 14.1.0
next version 14.1.0-rc.0

but script return:
{
  name: '@angular/core',
  author: 'angular',
  licenseType: 'MIT',
  link: 'git+https://github.com/angular/angular.git',
  definedVersion: '7.2.12',
  installedVersion: '7.2.12',
  remoteVersion: '7.2.12',
  comment: '7.2.12'
}

license-report respects the range pattern of the dependency definitions in the package.json file.
In your example it looks like you don't use ranges, but only fixed definitions (7.2.12), displayed in the resulting table as installed version.
Therefore the installed version must be '7.2.12', as npm repects the value in the dependency section of package.json too.
And the remote version must be '`7.2.12' no matter what other versions are available on the server.
If you want to see the latest version from the server, your definition in the package.json must be something like >=7.2.12 or even * (meaning: 'give me the latest version available; my code is compatible with all versions').

Hallo @BePo65 this is no way what we should do. The versions may be or must be always static for security reasons and to be sure that all developers has same versions on all devices.
Maybe it will be better to add another property, like "Next Version"
Example from bootstrap:

Example from @angulae/core

What version information do you need? Most (all?) npm packages have a latest dist-tag (or at least it should be possible to find out, what is the highest number), but not all packages do have a next tag.
So I could agree that we should add a latest version field, probably as optional field, to keep backward compatibility.
How about that?

@BePo65 good idea!

Solved by pr #105


Join over private ip

Hi, why is it necessary to pass the public IP of the master server?

https://github.com/cicdteam/terraform-hcloud-k3s/blob/main/modules/node_group/templates/init.sh#L10

Indeed, ideally, the private IP should be used. Also, ideally, we would not have a network overlay with flannel. We can use cilium's native routing over the private network, as the Hetzner team does in their tests here https://github.com/hetznercloud/hcloud-cloud-controller-manager/tree/master/e2etests

@systemstart Not sure I understand your question to the fullest, but definitely the CCM's job should be to bring all of that info into the cluster if I'm not mistaken. You shouldn't need to fetch the IPs manually at all.

Fixed in multiple forks, e.g. https://github.com/identinet/terraform-hcloud-k3s/commit/4edbb4a4ce646a184b12e42dfca4c5ac8f39064d

Indeed, ideally, the private IP should be used. Also, ideally, we would not have a network overlay with flannel. We can use cilium's native routing over the private network, as the Hetzner team does in their tests here https://github.com/hetznercloud/hcloud-cloud-controller-manager/tree/master/e2etests

@mysticaltech  Not quite sure what you mean by that and how to use the native network. Can you point me to an example? I replaced flannel by calico, maybe this is already helpful to you: https://github.com/identinet/terraform-hcloud-k3s/commit/2ac51809eb4fbc5d5f5fc7313ac376e9aadab0f5

Thanks, I've moved on too. I just make sure to configure the right interface to use by flannel, the eth1 with a Hetzner private network. It gives me what I needed.


Feature/touch controll bar

I have worked on a few touchbar improvements. What do you think about it?
All things are optional and have no conflicts using the config.js from the master branch.
One more question about extending static texts:
What do you think about to separate the text constants to files i.e. config/i18n/de.js and define the english ones in the code as default/fallback? config.js gets a language option -language: 'de'?
This can be implemented without affecting the config.js currently in use.

Very nice work 👍🏼

Can we merge this?

Hi Luke and gegu,
I tried the touch_controll_bar branch of gegu's fork and could not get the control-bar to work.. When I touch the screen, a grey bar is shown but no keys on it. I used the default config. Is this related to me making a mistake or a bug?
Setup: RasPi 3A+, SunFounder 10.1" Display

Can we merge this?

Yes of course I would like to.
I just pushed my latest changes.
Should I push that into your feature/touch-controll-bar, too?

I tested your last changes. But what I don't see is the confirmation dialog for deleting images and restart/shutdown.

The confirmation messages are not activated by default, But I can change that quickly.
If you are using the sample configuration, it should work.

Ok I’m going to try it again 😂 I think we should add default values for all settings in the future to the code. This would make the config.js more lightweight.

ok it works. Nice work :+1:


Tree-shaking does not work with webpack v3

Expected Behavior
Unused icons should be eliminated.
Current Behavior
They're not.
Possible Solution
Import octicons directly from 'octicons-modular'
Import the component from 'octicons-vue'
Steps to Reproduce (for bugs)
Context
Your Environment
Stack trace

Close with https://github.com/hiendv/teible/releases/tag/v0.7.7


Fix the problem of too fast playback of some gifs

When the _frameDuration of a frame in the gif is 0, give the default delay time;
Fix the problem of too fast playback of some gifs.
Fixes https://github.com/flutter/flutter/issues/29130
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

cc @Hixie

@googlebot I signed it!

cc @Hixie

I think this should not be test-exempt.

As discussed above, I think this belongs in the codecs, not in the framework.

I am going to close this PR per the previous comment. The issue is documented in https://github.com/flutter/flutter/issues/29130.


Create and use use own cargo output syntax file

The current syntax highlighting though simple uses the file from the default packages for the Makefile output syntax. This is removed in newer sublime versions so we should use are own one (which can be improved also)

Give that this now effects the public beta 3 version this is more important than before :)

@brson
Can you merge this please, it fixes the error new Sublime builds get every press of build

I got you. :+1:

Wooh thanks


Admin delete account

PT story: https://www.pivotaltracker.com/story/show/164701897

@scytacki I changed the code to use the existing Pundit destroy policy for users both the in the controller and the view in this commit - https://github.com/concord-consortium/rigse/pull/649/commits/38b387f3b3e6ea946c168b126fb941daec0fde34.
One note: the existing destroy policy uses admin_or_manager? - should that be restricted to just admin? (https://github.com/concord-consortium/rigse/blob/master/app/policies/user_policy.rb#L47-L49)

keeping it consistent with other destroy policies seems good to me.  The PR looks good to me.


Create a document store layer above key value store for looking up metadata.

Background
Our architecture calls for a document store to hold metadata and blockchain pages. We are planning to use an library named UnQLite to implement our document store. UnQLite does not provide quite the functionality that we need, so we need to implement a layer on top of it that will be an adapter.
We want to be able to:

Create named persistent collections of JSON objects.
Configure a named collection have named indexes. Each index will used named fields of JSON object as key values.
Add a JSON object to a named collection, which will automatically add it to all of the named indexes for the collection. Conditionally including JSON objects in an index is out of scope.
Given a named collection, a named index and the relevant key value(s) retrieve the corresponding JSON object. Searches for multiple JSON objects are out of scope.

Update and deletion of JSON objects is out of scope for this task.
What UnQLite gives us out of the box is:

A key-value store that works with keys and values that are arrays of bytes.
A scripting language named Jx9 that provides part of a document store on top of the key-value store. It allows us to store records whose value is a given JSON object and whose key is a generated u64 value.
The ability to access the JSON objects in a collection, but no indexing capability.
The ability to use the key associated with a JSON object to retrieve it.

Not the there is no built-in indexing mechanism. We will need to build an indexing mechanism that uses supplementary
key-value collection as indexes to map index keys to JSON record keys.
The Task
This task consists of these steps:

Define a Rust struct named json_collection_descr that describes a JSON collection and its named indexes. It must describe the field names that contain the key value(s) for each named index.

Define a Rust trait that defines methods to do the following things without in any way depending on using UnQLite for an implementation. We may decide on a different implementation in the future.

Create an empty collection of JSON objects given a name and a json_collection_descr.
Add a JSON object to a named collection and update the named indexes as an atomic transaction. Either the JSON object is added to the collection and it is included in the indexes or none of that happens. For now, we will treat all fields used for indexes as required. If they are missing or null we just reject the JSON object.
Given the name of a collection, the name of one of its indexes and a key value(s) retrieve the corresponding JSON object.

Create an implementation of the rust trait that uses UnQLite.

Completion Criteria
This task will be considered complete when:

The code for this is in a new git repo named pyrsia-document-store.
The implementation of the trait passes a set of unit tests.
The implementation is available in a Rust crate.
The crate is successfully included as a dependency in the node build in the sandbox repo.

Related issues
Issue pyrsia/pyrsia-documentation#37 covers the update and delete operations that are out of scope for this task.

@tiainen @johanvos @erwin1 I have asked a few times that you write comments in the code describing what each public method does. One of the benefits of doing this is that it would have become clearer to me that you did not quite understand what is supposed to happen. To clarify here is is a detailed description of how it should work in the context of a use case.
Create a Collection
We want to create a collection to contain metadata about packages. Packages will need to be found in at least two different ways. We will want to look them up by package type, namespace and package name. We will also want to look them up by their unique id.
To create this collection, it will need to have a name and two indexes, one for each of the different ways we want to find packages. Note that one of the indexes will be based on the values of three different fields in the records.
Assume that there is an enum defined like this:
enum SortOrder {
    ASCENDING,  // If an index is specified with this, fetching a range of values using the index should return
                // the lowest value first and the highest value last.
    DESCENDING, // If an index is specified with this, fetching a range of value using the index should return
                // the highest value first and the lowest value last.
}

and a struct defined like this:
struct IndexSpec {
    index_name: &str,  // the name of the index
    field_names: Vec<&str>, // The names of the fields that the index will be based on, from most significant
                            //  to least significant with respect to the sort order.
    direction: SortOrder,
}

To create the package collection we should have to write something like this:
let collection_name = "package";
let indexes = vec![IndexSpec{index_name: "keys",
                             field_names: vec!["packageType","namespace","packageName"],
                             direction: SortOrder::ASCENDING},
                   IndexSpec{index_name: "id",
                             field_names: vec!["id"],
                             direction: SortOrder::ASCENDING}];
document_store::create_collection(collection_name, indexes);

This call will create an UnQLite KV store with the same name as the collection name. It will store a single record in the store whose key will begin with a distinguished byte value that indicates it is the catalog record. There will be only one catalog record in each collection. The distinguished byte value will be the entire key.
The catalog record will be associated with a u16 for each index that will serve as the index identifer. This index identifier will serve to identify keys associated with the index in the key value store. This is further explained below under the heading of Insert a Record.
Open a Collection
To begin working with a collection, we will write code like this:
let package_collection: document_store::Collection = document_store::open_collection("package");

We can then call methods of package_collection to work with the contents of the collection.
The open_collection method will read the contents of the catalog record so that package_collection knows the KV store to work with and what its indexes are.
Insert a Record in a Collection
To insert a record in the package collection, we should be able to write something like this:
json_string: &str = ...; // where the elipsis is replaced by a valid JSON string.
package_collection.insert(json_string)?;

The insert method

Parses the json string. If parsing fails, return an error.
We want to store only JSON objects. If the result of parsing determines that the JSON is not an object but an array, string, number, boolean or null then return an error. For reasons mentioned below, if the JSON string contains the unicode character \uffff also return an error
Determine if the object has all of the fields that the collection's indexes require for their keys. In the case of the package collection, the required fields are packageType, namespace, packageName and id. If any of these required fields are missing, return an error.
Start an UnQLite transaction on the KV store that contains the package collection.
Generate a random u128 value. Prefix it with a distinguished byte value that will identify it as the key of a JSON record.
Do an UnQLite fetch to verify that no record with the generated key already exists. If such a key already exists in the database, go back to the previous step to generate a new key for the JSON record.
Store a record in the KV store with the generated key and the JSON string as its value. If this returns an error roll back the transaction and return an error.
For each index defined for the collection (two are defined for the package collection) do this:
a. From the fields require for the index we are working on, assemble a key value for the index. The key will consist of a distinguished byte value identifying the key as an index key. The distinguished byte value is followed by a u16 that contains the index identier that identified the index. The index identifier is followed by the fields values in the order specified for the index. This must be done in a way that allows multiple indexes to share field values. The field values must be separated in the key by a \uffff character. This is to avoid the case where there are two records with similar value in different fields generate the same index key. For example, if a key contains the values of fields named a and b, we want these two JSON strings to have different keys:
{"a":"xy","b":"z"}
{"a":"x","b":"yz"}
b. Store a record in the KV store with the constructed index key as its key and the JSON record key generated in step 5 as its value. If this returns an error, roll back the transaction and return and error.
Commit the transaction.
Return success.

Fetch a Record From a Collection
To fetch a record from a collection, we should be able to write code like this:
let index_name = "keys";
let key_values = HashMap::new();
key_value.insert("packageType".to_string(), "docker".to_string());
key_value.insert("namespace".to_string(), "docker".to_string());
key_value.insert("packageName".to_string(), "Alpine".to_string());
let json_string: Option<&str> = package_collection.fetch(index_name, key_values);

The fetch method will:

Find the index identifier of the named index. If there is no such named index for the collection, it returns an error.
Construct the key of the index record to be fetched. If values for any of the fields associated with the index are not specified in the HashMap, return an error.
Fetch the index record from the KV store. If the record is not found return Ok(None).
Take the value of the fetched index record and use it to fetch the JSON record. If the JSON record is not found, log an ERROR and return Ok(None).
Return the value of the JSON record.

@mgrand There is no PR associated with this issue, so I don't know what you are talking about.

@johanvos This is where Joeri suggested in put this information. This is the more detailed specification for what the document store layer should do, not matter how you divide it into PRs.  I wrote this because Joeri asked for clarification. It seemed clear that the original higher-level specification I wrote was not detailed enough.


Add swap

Current state:
There is no swap space currently.
Wanted state:
Seeing swap space (total + used) under the memory or on the same row.
Why the change is sensible:
The information presented is going to seem more full.
Cool project, thanks.

You can now add swap to your structure to show it. Is that enough?


Do now swallow an exception triggered by late listener notification

Related: #3449
Motivation:
When a user shut down an EventExecutor/Loop prematurely, a Promise will
fail to execute its listeners. When it happens, DefaultPromise will log
a message at ERROR level, but there's no way to get notified about it
programmatically.
Modifications:
Do not catch and log the RejectedExecutionException unconditionally,
but only catch and log for non-late listener notifications, so that a
user gets notified on submission failure at least when the listener is
late.
Result:
Remedies #3449 to some extent, although we will need fundamental fix for
that, such as #3566

@normanmaurer @Scottmitch PTAL
This should be applied to 4.1.0.Final as well.

@trustin LGTM.

Cherry-picked into 4.1 (4fa5d2cf52cd1fc4a57fb7722e9d8adad5804be6) and 4.0 (c453c3ce0d36733fa46a1970a6761acab3e2f32c)


Content underneath a transparent window won't update when using filters.

Describe the bug
When backdrop-filter is applied on any element on a transparent window, the content underneath the window won't get updated unless the window is resized.
To Reproduce
Steps to reproduce the behavior:

Create a tauri app with transparent window mode.
Apply any backdrop-filter to the body element.
As you move the window, underneath content updates won't be reflected on the background.

Expected behavior
Content underneath should be updated without the need of css hacks.
Screenshots
The bug using backdrop-filter on the body element:
https://user-images.githubusercontent.com/1578018/115590809-613fc100-a29f-11eb-9203-40c42a0ea08e.mp4
Using a css animation hack:
[class*="filter-"] {
	animation-duration: 0.1s;
	animation-play-state: running;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.filter-blur { animation-name: blur; }
.filter-sepia { animation-name: sepia; }
.filter-invert { animation-name: invert; }

@keyframes blur { from, to { backdrop-filter: blur(16px); } }
@keyframes sepia { from, to { backdrop-filter: sepia(100%); } }
@keyframes invert { from, to { backdrop-filter: invert(100%); } }

https://user-images.githubusercontent.com/1578018/115591172-d1e6dd80-a29f-11eb-907c-8a32abe1c3e6.mp4
This isn't ideal and may cause battery drain problems and unnecessary renders.
Platform and Versions (please complete the following information):
OS: Mac OS, version 11.2.3 X64
Node: 15.13.0
NPM: 7.7.6
Yarn: 1.22.10
Rustc: 1.51.0

Could you share your code please so we can replicate it with the same context?
Thanks!

Hi @lemarier,
Sure! here is a minimal demo using blur.

I've made some research and I could confirm this is a bug related to https://github.com/tauri-apps/wry/issues/184
https://user-images.githubusercontent.com/22237916/115608420-3ad85080-a2b4-11eb-9e12-6520fe8e8467.mov
If I remove the focus on the window and wait 1 second, the focus is lost, then the transparency and content underneath work as expected.
Tested with live video underneath as well and works as expected.
We need to investigate the Event Loop bug ASAP.

Yep, using the css hack seems to force the window to keep rendering even when it is not focused. The bug shown in your screen recording happened the second time I unfocused the window (at the end of the video).
https://user-images.githubusercontent.com/1578018/115612294-192d9800-a2b9-11eb-9abb-93a25216f194.mp4


And/But support for Rspec-Given

Hi Jim,
I was a student in your TDD class this Friday.  For my last lab, I decided to work on And & But support for Rspec-Given.
To that end, I've made modifications to the syntax of your stack tests to utilize these conditional aliases.  It works in those cases.  Please let me know what you think!
Thanks,
~Chris Dolan

This pull request looks nice. I wonder if somebody wants to actually merge it in?

I've actually had a brief chat with Jim on this topic recently. See, I implemented And in jasmine-given and upon boasting about it, Jim quickly cooled my enthusiasm with several entirely valid criticisms of including And (and presumably, But) in a GWT testing DSL.
I'd rather @jimweirich restate the case here if he doesn't mind, as I feel like I've already put too many words in his mouth on the matter.

I gave Justin 4 reasons why I don't care for the And/But syntax.  Let's see if I can remember them.
(1) And implies sequential processing or some kind of Ordering.  The Lazy givens can actually be executed in any order.
(2) I tend to move Givens up and down the nested contexts.  If I move the first Given, then I have to also change the following And to a Given.
(3) The impulse to use And is a product of a trend of faux-english for DSLs. Although I like readable code, I don't insist the code must be grammatically correct English.  Some of rspec's faux-english constructs are actually ambiguous, so are FAIL w.r.t. specifications.
(4) The Ands are ambiguous.  I can no longer look at a line of code to understand what it does, but have to visually scan upwards to see if it follows a Given or a Then.
I suspect that if I had implemented And/But early in the rspec-given lifecycle, I would not have discovered some of the nice patterns of interaction that happen when you place your Givens/Whens/Thens at different context levels.
All in all, I don't think the drawbacks to And are overwhelming, but given that the benefits are minuscule I am not planning on adding And/But to respec-given.
But I totally get writing the patch for the technical chops.    And thanks for the contribution.


Kareem and Charlie contribute to the backend.

It is important that we switch up roles and everyone works on both front end and backend code. Given that Kareem has been focused on frontend and Charlie has been focused on frontend and API interaction, they should implement some kind of backend feature (or testing).

Kareem has implemented a large portion of the business logic (see Kareem branch) and Charlie had already contributed (see API Interact).


Analysis server crash (null pointer) in DeclarationsTracker

@bwilkerson while trying to repro https://github.com/Dart-Code/Dart-Code/issues/2629 from source, I'm seeing a crash during initial analysis:
1594637896297:Ex:NoSuchMethodError:: The method 'addAll' was called on null.
Receiver:: null
Tried calling:: addAll(Instance(length::1) of '_GrowableList'):#0      Object.noSuchMethod (dart::core-patch/object_patch.dart::51::5)
#1      _File._computeRelevanceTags (package::analyzer/src/services/available_declarations.dart::1690::36)
#2      _File.refresh (package::analyzer/src/services/available_declarations.dart::1235::7)
#3      DeclarationsTracker._getFileByPath (package::analyzer/src/services/available_declarations.dart::697::14)
#4      DeclarationsTracker._performChangeFile (package::analyzer/src/services/available_declarations.dart::732::16)
#5      DeclarationsTracker.doWork (package::analyzer/src/services/available_declarations.dart::593::7)
#6      CompletionLibrariesWorker.performWork (package::analysis_server/src/domains/completion/available_suggestions.dart::302::13)
#7      AnalysisDriverScheduler._run (package::analyzer/src/dart/analysis/driver.dart::1946::35)
<asynchronous suspension>
#8      AnalysisDriverScheduler.start (package::analyzer/src/dart/analysis/driver.dart::1889::5)
#9      new AnalysisServer (package::analysis_server/src/analysis_server.dart::153::29)
#10     SocketServer.createAnalysisServer (package::analysis_server/src/socket_server.dart::82::22)
#11     StdioAnalysisServer.serveStdio (package::analysis_server/src/server/stdio_server.dart::33::18)
#12     Driver.startAnalysisServer.<anonymous closure> (package::analysis_server/src/server/driver.dart::612::37)
#13     _rootRun (dart::async/zone.dart::1190::13)
#14     _CustomZone.run (dart::async/zone.dart::1093::19)
#15     _runZoned (dart::async/zone.dart::1630::10)
#16     runZoned (dart::async/zone.dart::1550::10)
#17     Driver._captureExceptions (package::analysis_server/src/server/driver.dart::731::12)
#18     Driver.startAnalysisServer (package::analysis_server/src/server/driver.dart::608::14)
#19     Driver.start (package::analysis_server/src/server/driver.dart::496::7)
#20     main (file::///Users/danny/Dev/Google/dart-sdk/sdk/pkg/analysis_server/bin/server.dart::10::11)
#21     _startIsolate.<anonymous closure> (dart::isolate-patch/isolate_patch.dart::299::32)
#22     _RawReceivePortImpl._handleMessage (dart::isolate-patch/isolate_patch.dart::168::12)

The _computeRelevanceTags function assumes declaration._relevanceTags is never null, but the code that creates the Declaration seems to set is to null when it's empty (and because it's final, it's too late to create it now):
https://github.com/dart-lang/sdk/blob/b91ff153c1cbf7dd73049df4029fb27ba9617712/pkg/analyzer/lib/src/services/available_declarations.dart#L905-L907
Removing that code prevents the crash (which unblocks me debugging the other issue) but I don't know if it's the correct fix to commit.

I believe that this issue has been fixed by https://dart-review.googlesource.com/c/sdk/+/154261. Please let me know if that's not the case.

Yep, looks good. Thanks!


Join fetch

I don't know if this is the place to ask this.
I didn't find anything about this in the available docs. I'd like to know if there's (or there'll be) any kind of support to return data from more than one table in the same query (like the JPA join fetch).
As far as I understood from the examples, we'd have to run multiple queries for each register from a related table.

JOINs are not currently supported, but it is definetly something we want Speedment to be able to do in future versions.


[Snyk] Upgrade eslint from 8.23.1 to 8.24.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade eslint from 8.23.1 to 8.24.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 24 days ago, on 2022-09-23.

Release notes

Package name: eslint

8.24.0 - 2022-09-23Features

1729f9e feat: account for sourceType: "commonjs" in the strict rule (#16308) (Milos Djermanovic)
b0d72c9 feat: add rule logical-assignment-operators (#16102) (fnx)
f02bcd9 feat: array-callback-return support findLast and findLastIndex (#16314) (Sosuke Suzuki)

Documentation

2c152ff docs: note false positive Object.getOwnPropertyNames in prefer-reflect (#16317) (AnnAngela)
bf7bd88 docs: fix warn severity description for new config files (#16324) (Nitin Kumar)
8cc0bbe docs: use more clean link syntax (#16309) (Percy Ma)
6ba269e docs: fix typo (#16288) (jjangga0214)

Chores

131e646 chore: Upgrade @ humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas)
504fe59 perf: switch from object spread to Object.assign when merging globals (#16311) (Milos Djermanovic)

8.23.1 - 2022-09-12Bug Fixes

b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
734b54e fix: improve autofix for the prefer-const rule (#16292) (Nitin Kumar)
6a923ff fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
c6900f8 fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)

Documentation

16cba3f docs: fix mobile double tap issue (#16293) (Sam Chen)
e098b5f docs: keyboard control to search results (#16222) (Shanmughapriyan S)
1b5b2a7 docs: add Consolas font and prioritize resource loading (#16225) (Amaresh  S M)
1ae8236 docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
279f0af docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)

Chores

38e8171 perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao)
1c388fb chore: switch nyc to c8 (#16263) (唯然)
67db10c chore: enable linting .eleventy.js again (#16274) (Milos Djermanovic)
42bfbd7 chore: fix npm run perf crashes (#16258) (唯然)

    from eslint GitHub release notes

Commit messages

Package name: eslint

a578780 8.24.0
f2cfacd Build: changelog update for 8.24.0
131e646 chore: Upgrade @ humanwhocodes/config-array for perf (#16339)
2c152ff docs: note false positive `Object.getOwnPropertyNames` in prefer-reflect (#16317)
bf7bd88 docs: fix warn severity description for new config files (#16324)
504fe59 perf: switch from object spread to `Object.assign` when merging globals (#16311)
1729f9e feat: account for `sourceType: "commonjs"` in the strict rule (#16308)
b0d72c9 feat: add rule logical-assignment-operators (#16102)
f02bcd9 feat: `array-callback-return` support `findLast` and `findLastIndex` (#16314)
8cc0bbe docs: use more clean link syntax (#16309)
6ba269e docs: fix typo (#16288)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

LGTM


How to create campaign ..?

i has install and use this library, and i have done and understand how to use, i have done to get my campaign and edit name of campaign by use this library.....but how this library create campaign, any idea..? @timothymarois

Hey @reyadek At the moment this API is designed to pull existing campaigns and is heavily based on pulling reporting data from most of the report apis. Always welcome for a pull request on more features. But since the Google/Bing interfaces + they both have editors, this allows easy creation of new items, it just was never a priority for us to build it within the SDK itself.

Thankyou for replay @timothymarois


Contact Us button is not responsive

The Contact Us button on the top of the page is not responsive.

Hi @iamsnehadas I have assigned this issue to you can make it responsive

Hello, I have made it responsive. Please check. Thanks.


Doubled resources on deploy

Hello,
I don't know if its on purpose or if I missed something. I've tried to look for it on the documentation but could not find anything.
When I builded and applied the terraform script, it generated 4 cloudfront distributions (it's the same for the rest of the structure):
2 tf-next - Main
2 tf-next - Proxy-Config
Is that normal? If not, any idea where I could fix it?

Best regards,
Rodrigo

Hi Rodrigo,
no, a single use of the module should only create 2 CloudFront distributions (1x Main, 1x Proxy-Config).
Without looking at your Terraform code it is very difficult to determine if there is an error, running the examples gives me the desired behavior.
You could try to set a unique deployment_name and then run terraform apply again to see which of the Terraform distributions are actually managed by your config:
module "tf_next" {
  source = "dealmore/next-js/aws"

+ deployment_name = "test-a"

  providers = {
    aws.global_region = aws.global_region
  }
}

The comments of the CloudFront distributions then should change to
test-a - Proxy-Config
test-a - Main

Hi ofhouse,
See how is part of may main.tf
module "tf_next" {
  source = "dealmore/next-js/aws"
  use_awscli_for_static_upload = true
  deployment_name = "test-a"
  providers = {
    aws.global_region = aws.global_region
  }
}

module "next-js" {
  source  = "dealmore/next-js/aws"
  version = "0.9.1"
  use_awscli_for_static_upload = true
  deployment_name = "sun-front-v4"
  # insert the 4 required variables here
}

output "cloudfront_domain_name" {
  value = module.tf_next.cloudfront_domain_name

So I changed to test-a and sun-front-v4 to see how it would impact and that's the output:

No changes on the main but on the others.
I tried to run the main.tf without the tf_next but it doesn't work.
Sorry for maybe so many beginners questions, it's my first time managing terraform.
Thanks,
Rodrigo

You are basically creating 2 independent tf-next deployments here, since every use of
module "xxx" {
  source  = "dealmore/next-js/aws"

  ...
}

will create another stack (which includes the creation of 2 CloudFront instances, and all other resources).
You define module "tf_next" and module "next-js" which are two totally independent stacks with different names.
Not sure why the name of the main CloudFront distributions is not changed here, but removing one of the module definitions should result in a deletion of the 2 redundant distributions.

I imagined so, but I tried changing the main.tf file to have only one of them and some errors appeared saying the module were not determined, etc.
I am destroying all the resources, I am changing de main.tf to just 1 deployment and I am running build an apply again.
I'll let you know if it works.
Thanks

It worked great when building and applying again.
Thank you,

I'm going to close this issue because it has been inactive for 30 days ⏳. This helps to find and focus on the active issues.


(WIP) Support property wrappers in top-level code

@swift-ci please smoke test

Let's do this work on main, because Swift 5.7 is mostly taking only bug fixes at this point. I'll close this PR, but please open up another against main when you're ready!


file upload test

@jainam-techuz Re: your question about default profile image. Yes it is good to have a default profile image, but part of the exercise was to use their Gravatar profile image by default. If they also do not have a Gravatar at all, then you would fall back to the default image you have provided.

@jainam-techuz Re: your question about default profile image. Yes it is good to have a default profile image, but part of the exercise was to use their Gravatar profile image by default. If they also do not have a Gravatar at all, then you would fall back to the default image you have provided.

@justinr1234, Can you explain this in detail, or can you give me steps what you need to achieve, I don't understand what you want to explain here, do you want that user can also put a link of their profile image or something else needs to be done?

@jainam-techuz Gravatar is a service originally created by Wordpress to have a global avatar system that can work across websites. You may have noticed sometimes when you login to websites with your email you already have an avatar. This is why. It matches email automatically to an avatar. Please search google for more information. There is likely a library that already exists for React to handle this.

@jainam-techuz Gravatar is a service originally created by Wordpress to have a global avatar system that can work across websites. You may have noticed sometimes when you login to websites with your email you already have an avatar. This is why. It matches email automatically to an avatar. Please search google for more information. There is likely a library that already exists for React to handle this.

@justinr1234, I have checked link provided by you and tested some worst cases, API is providing default image itself so we can directly use that API if no email matching will found it will return default image, so I have implemented the following kindly check and let me know if it will work or not.
src={
       currentUser && currentUser.profile && currentUser.profile.profileImg
             ? currentUser.profile.profileImg
             : `https://unavatar.now.sh/gravatar/:${currentUser.profile.email}`
}

const [previewImg, setPreviewImg] = useState(`https://unavatar.now.sh/gravatar/:${email}`);


Tuya TS0504B led strip controller

Device description
Tuya TS0504B led strip controller
Zigbee2mqtt page
https://www.zigbee2mqtt.io/devices/TS0503B.html
Note: The TS0504B it's similar to TS0503B but it also includes the while light (RGBW)
{
fingerprint: [{modelID: 'TS0504B', manufacturerName: '_TZ3000_ukuvyhaa'}],
model: 'TS0504B',
vendor: 'TuYa',
description: 'RGBW LED controller',
extend: preset.light_onoff_brightness_colortemp_colorxy(),
},
MQTT message with device information
MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:54:27.860Z","linkquality":0,"state":"ON"}'
MQTT messages from device
Put here examples of MQTT messages with different states you've received from device, as example
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:58:11.740Z","linkquality":15,"state":"OFF"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:58:11.755Z","linkquality":15,"state":"OFF"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:58:13.412Z","linkquality":15,"state":"ON"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:58:13.438Z","linkquality":15,"state":"ON"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.526676280311873,"y":0.41329727450763},"color_temp":500,"last_seen":"2021-02-03T09:58:14.865Z","linkquality":15,"state":"ON"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.4513888888888889,"y":0.4652777777777778},"color_temp":254,"last_seen":"2021-02-03T09:58:16.204Z","linkquality":15,"state":"ON"}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.41397849462365593,"y":0.5},"color_temp":294,"last_seen":"2021-02-03T09:58:20.560Z","linkquality":21,"state":"ON"}'
info MQTT publish: topic 'zigbee2mqtt/CC2530-Router', payload '{"last_seen":"2021-02-03T09:58:22.152Z","led":true,"linkquality":47}'
info MQTT publish: topic 'zigbee2mqtt/Led-Strip-Controller', payload '{"brightness":63.75,"color":{"x":0.3125,"y":0.32894736842105265},"color_temp":157,"last_seen":"2021-02-03T09:58:22.865Z","linkquality":18,"state":"ON"}'

This device should already be supported in the latest plugin version from master branch

I just downloaded the latest Dev version of zigbee2mqtt and it's not officially supported yet:
Device '0x60a423fffe113527' with Zigbee model 'undefined' and manufacturer name '_TZ3000_ukuvyhaa' is NOT supported, please follow https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x60a423fffe113527","ieee_address":"0x60a423fffe113527","status":"successful","supported":false},"type":"device_interview"}'
Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0x60a423fffe113527","supported":false},"type":"pairing"}'

Did Koen already add it?

Hi. since I've updated (last week) to zigbee2mqtt version 1.17.0-dev commit: 8fcad24, I'm able to manage the led strip controller in Domoticz


only dylibs

Pulled out dylibs from @zikolach's #31 in order to continue discussion there outside of conda install requirements.

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


Testable editable elements spans

This PR modifies the EditableElement class to insert a child span inside the element and use that as the contentEditable container.
This is to allow headings to retain their semantics and to fix the fact that in radios and checkboxes making <label> elements contentEditable fails WCAG as they then have an invalid role of textbox.

Manual testing seems to show this as all working
JS tests have been updated to pass

To do:
Acceptance tests are still failing

Closed as not progressing to clean up testable editors


Perform active learning to correct problematic segmentations

Related to #25
Procedure:

@jcohenadad finishes #25
@rohanbanerjee will re-train a model with the data labeled as ✅
@rohanbanerjee applies the new model to the data with mask labeled as ❌
@MerveKaptan and @rohanbanerjee will manually correct the masks produced by the latest model ONLY for the mask labeled as ❌
upload to the dataset
get new QC by @jcohenadad
@rohanbanerjee re-train model

We have decided on using the hard labels and nnUNet for our task.

We need as streamlined way to select the good flagged images from the QC and create a dataset from it. It should select those subjects and create a BIDS dataset accordingly.

Provide more details on this comment.

The progress of this issue are as follows:
What is done

Performed by Julien in the issue: https://github.com/sct-pipeline/fmri-segmentation/issues/25
Based on the ✅ I made a separate dataset and trained a 3D nnUNet model. This dataset contained 124 subjects in total.
After this training was completed, I ran inference on the images that were marked as ❌ and ⚠. The qc for these images are below.
20240120_data_excluded_qc.zip

Next steps:

Me along with @MerveKaptan will go through the qc and work on manually correcting the images with suboptimal segmentations.
The corrected images will be QCed again
The corrected data will be added to the training data corpus and a new nnUNet model will be trained.

Hello @jcohenadad , after a discussion with @MerveKaptan, we decided that it would be great if you QC'd these predictions. This is would maintain rater consistency and also get your inputs on which subjects we should manually correct. Below is the QC:
data_excluded_qc_all.zip

overseg:

overseg:

overseg:

etc.
how were those predictions generated? can you point to the code, version of model, etc.

Predictions were generated using the steps mentioned in comment

Closing this issue as we are opening an issue for each round, see #38 , #35 for reference.


Allow comma separated values (List) for Layout Renderers/Targets/Layouts

Support voor comma separated list,
e.g.
supported:

Generic List (List<T>), with the following types:

C# built in types (string, int, double, object)
enum (use shortname)
culture, encoding, Type
not supported: Layout

Not supported:

Arrays
Non-generic List
IList<T> / IList
IEnumerable<T> / IEnumerable

UPDATE support added for

IList<T> / IList
IEnumerable<T> / IEnumerable
ISet<T> / HashSet<T>
See https://github.com/NLog/NLog/pull/1782

Example:
${layoutrenderer-with-list:enums=Ignore, Neutral, ignore}

[LayoutRenderer("layoutrenderer-with-list")]
public class LayoutRendererWithListParam : LayoutRenderer
{
    public List<FilterResult> Enums { get; set; }
   protected override void Append(StringBuilder builder, LogEventInfo logEvent)
   {
       ...
   }
}

TO DO

[x] escape comma -> backtick
[x] replace escape with optional quoted
[x] add unit test for multiple enum

This change is

Any idea why the test coverage dropped so dramatically? I don't seem to be able to view the codecov diff.

Any idea why the test coverage dropped so dramatically? I don't seem to be able to view the codecov diff.

It did not. 75.30% (+<.01%) compared to 717373a
but this PR has "only"  74.29% coverage

I will remove the ecape and will move to a optional quoted approach,
eg. a,b,c or 'a,b',c

Current coverage is 81% (diff: 96%)

Merging #1439 into master will increase coverage by <1%

@@             master      #1439   diff @@
==========================================
  Files           277        278     +1
  Lines         17780      18230   +450
  Methods        2785       2823    +38
  Messages          0          0
  Branches       2024       2098    +74
==========================================
+ Hits          14332      14748   +416
- Misses         2996       3006    +10
- Partials        452        476    +24

Powered by Codecov. Last update f900e35...61b4a72

docs: https://github.com/NLog/NLog/wiki/Properties-constraints-for-custom-extensions


Trouble replicating results on agent_visualizer.ipynb on colab

Hi,
I am trying to replicate the results by running the colab notebook
https://colab.research.google.com/github/google/dopamine/blob/master/dopamine/colab/agent_visualizer.ipynb
I have modified the following in order to run the code:

uninstalled tensorflow 2.x and installed tensorflow 1.15
added the argument use_legacy_checkpoint=False in the function example_viz_lib.run()

The graph for reward is generated correctly, but not the graph for the reward distribution:

The log after running example_viz_lib.run() is here.
Could you please take a look and let me know what the issue is?

Many ipynb files are old I think.

apologies for this.
we realize some of the colab files have gone stale, but are working on
migrating to TF2 (and will fix up the colab notebooks as part of this).
@tpprymjmdr: i just tried running that notebook as is (but setting it to
install tensorflow==1.15) and it seemed to work for me. would you mind
re-running again?
[image: image.png]
On Thu, Jul 23, 2020 at 7:55 AM Alexander<EMAIL_ADDRESS>wrote:

Many ipynb files are old I think.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/dopamine/issues/143#issuecomment-662964233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3CCMMSKYNZAS5V4BHADFLR5AQKFANCNFSM4OIURF4Q
.

we just pushed some fixed and it seems to work from my tests.
can you try it again? you may have to reset your runtime to clear its cache.


Successfully added styles to the Exchange Rate page

Related Issue
NA
Closes: #650
Describe the changes you've made

Added styles to the Exchange Rate page
Refactored the CSS code
Added useful comments to the code
Correctly linked the corresponding CSS and Javascript file

Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

Before

After

Great UI. Well Done
Please squash the commits.

I squashed the commits and pushed the changes. I had never done this so, please let me know if I have done it correctly.


Docker image

Awesome dashboard! Can we expect a Docker image for SDash ?

Hi. I now my project can be installed and run using docker. The necessary commands are in README.md. If you need any additional corrections, please contact me.

Hi. I now my project can be installed and run using docker. The necessary commands are in README.md. If you need any additional corrections, please contact me.

The default port is 80?

5000


Talk voting selection fields are inconsistent

All talks default to "not interested". This should probably be "not voted" instead:

Additionally, it's not possible to select "not voted" to undo the vote:

Either "not interested" and "not voted" should be folded into one entry or "not voted" be made a valid option and used as default (having the same vote value as "not interested" I suppose).

That's been done for 2019.


Performance issue when used with angular-strap modal

Hi,
I am encountering a mysterious and serious performance issue using this directive with angular-strap modal.
The symptom is that characters appear after each keystroke with a long delay. Editors not part of a modal works file, but editors inside a modal is really slow.
I spent an hour or two but couldn't find the cause. Any tips?

I have same problem, its some slow showing the modal


[REQUEST] Why con't Pipeline Parallelism do sequence parallel?

a little disappointed when I see  assert tensor_model_parallel_size == 1 and pipeline_model_parallel_size == 1, \         'DeepSpeed\'s sequence parallel does not work with tensor parallel or pipeline parallel'

mark


Poedit Pro - allow changing the formality with Deepl

Add an option in pro to set the DeepL API setting for "formality".
e.g. for German we want "less formal"

Please use<EMAIL_ADDRESS>for commercial version support; this is the open source project.


Ryu Installation script is not working in Ubuntu 16

The mininet installation script is not fully working. Specifically the RYU installation is not working.
I get this error:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 257, in run
InstallRequirement.from_line(name, None))
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 173, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 71, in init
req = pkg_resources.Requirement.parse(req)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2667, in parse
reqs = list(parse_requirements(s))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2593, in parse_requirements
raise ValueError("Missing distribution spec", line)
ValueError: ('Missing distribution spec', '')
Storing debug log for failure in /root/.pip/pip.log

Thanks @castroflavio - do you have a fix for this?

Seems to be a problem in Ubuntu 16 only - but both pip install and setup.py install work out of the box in Ubuntu 16 - the other stuff only seems to be needed for earlier versions.

You should do sudo pip install .

the log says python2.7, i don't think python2 is supported anymore, is it?


Cloudflare worker Discrepancy vs Wrangler

Trying to use stripe with cloudflare with sst ion, and getting into issues with it not being deployable with ion but is with wrangler. It complains about qs which is a dependency and the node:util being dynamically imported.
Below is the repo stripe provides which I have validated works: https://github.com/stripe-samples/stripe-node-cloudflare-worker-template?tab=readme-ov-file
using similar setup in ion gives me the error attached in image.
I've created a simple repo that can reproduce the error: https://github.com/dgocoder/sstbug/tree/main
Would like to use ion but seems there are some discrepancies here? Any help would be appreciated.

ran into this as well recently.

Facing the same issue!!! I wonder if anyone knows the reason behind this?!


widshipbell: Bump version as commit 2b6f776

Load new buzz.js - see 2b6f7765cc69db5e8dd34fa9ad86051914e26601

Yes, normally I thought I would be the only one using this app, but the app loader reports two installations.


List of real-world apps using keyring-rs

Is there any place listing apps based on keyring-rs? If not then I would love to propose such section in the README. It can be useful for new users, and it can make your lib more visible as well. I already have few libs and apps to list there.

Great idea. Let's turn this issue into a place where anyone who has an app or library they want listed can add a comment giving the name, brief description, and (optionally) where to find the app (an URL). Then every time we cut a new release we will update the README with the list of apps collected so far.
So, clients, please add a comment here giving the info about your client(s)! Thanks!

Awesome, then I will start posting my libs and apps using keyring-rs as soon as I release them. It could be great to also pin this issue so that it is more visible for new commers.

keyring-lib: a High-level, asynchronous API for keyring-rs.
The aim of this crate is just to wrap keyring-rs with sane (opinionated) defaults: async with tokio or async-std, error management using thiserror, global service name to prevent redundancy etc. It also serves as a gateway to other libs and apps of my project, which I will share soon as well.

secret-lib: Cross-platform, asynchronous Rust library to retrieve secrets from different sources
The aim of this crate is to be able to retrieve secrets using different backends (including one based on keyring-rs). It is also opinionated, and proposes an async API with error management based on thiserror.

mml-lib: Rust implementation of the Emacs MIME message Meta Language, as known as MML
keyring-rs is used inside this project to save secret keys and passphrases when used with the PGP native feature.

@brotskydotcom I'm hoping to use this lib for my API client CLI that stores user API keys for future use. Would you recommend this library for that use case? Will give a shout out in our repo if you think it makes sense!

@brotskydotcom I'm hoping to use this lib for my API client CLI that stores user API keys for future use. Would you recommend this library for that use case?

@pk8189 Yes, this crate would be very suitable for that purpose.

Will give a shout out in our repo if you think it makes sense!

Not sure what this means. I don't know what repo you are talking about.

Will give a shout out in our repo if you think it makes sense!

Not sure what this means. I don't know what repo you are talking about.

Referring to the open source CLI repo that will implement keyring-rs


making your profile as default profile

Saving your user profile as default profile when opening new project in vscode

/duplicate of #181677

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Large file upload flow

Adds example for uploading several MB files to OneDrive using Notecard and Python script

Some tests for other apps in the repo are failing.  Will be addressed in separate PR


symbiflow: update architecture packages

Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>This updates the symbiflow arch defs package to the latest version.
Currently, the VTR version is the latest one tested in the arch-defs master

@HackerFoo FYI


Support scala 2.13 for xgboost samples

This PR adds scala version for the artifactId to distinguish the scala 2.12 and scala 2.13.
To compile xgboost samples against scala 2.13, you can use below command
mvn clean package -P scala-2.13

@NvTimLiu could you help to check it?

Hi @NvTimLiu @jlowe, Could you help review it again?


Doesn't work with mapped SortableItems

This works:
render() {
  return <Sortable>
      <DemoHOCItem className="item-1" sortData="react" key={1}>
        React
      </DemoHOCItem>
     <DemoHOCItem className="item-2" sortData="angular" key={2}>
        Angular
      </DemoHOCItem>
    </Sortable>
}

This doesnt:
function renderItem(n, index) {
return <DemoHOCItem
      className={'item-' + index}
      sortData={n}
      key={index}>{n}</DemoHOCItem>
}

render() {
  return <Sortable>
     {items.map(renderItem)}
 </Sortable>
}

And by doesn't work, I mean nothing is rendered within sortable.
If I render the {items.map(renderItem)} outside of <Sortable>, it works...
Very odd.

I've tweaked the demo to return mapped items and it just works, please check it out.
https://github.com/jasonslyvia/react-anything-sortable/blob/0867f1460dd560570d61511432564a1ea100e6bc/demo/index.js#L92

Okay the issue lies within using redux. Still a mystery. But I made a project which shows the issue.
example.zip
Install and run with:
npm install
npm start

Just try clicking the "+1" button a few times which calls a redux action which increments the counter.
The counter is obviously working, but for some reason, Sortable is not rendering the components.
Thanks

If you're adding or removing children of Sortable dynamically, you should add a different key to <Sortable> every time children change.
Check the notice section of docs for more information.
https://github.com/jasonslyvia/react-anything-sortable#notice

Also you can refer to this demo for handling dynamic children modification.

@jasonslyvia There is a bug on an edge case (tried with your updated demo also): Mapped items + fixed items breaks the dragging capabilities. I'm not sure why, currently investigating, but could use your help on this one!
Just try to add a fixed item in your demo, and you will see what's happening :)
Cheers

Sure, I'll look into it.

Thanks!
In the render function, you can try this:

        <button onClick={::this.handleAddElement}>Add 1 element</button>
        <Sortable key={this._sortableKey} onSort={::this.handleSort}>
          {this.state.arr.map(renderItem, this)}
          Hello
        </Sortable>

Let me know what you think

Have you tried add dynamic props to <Sortable>?

@jasonslyvia Yes, no luck either

Also removing key?

@jasonslyvia Same thing :)

Alright then, I will test it myself.

@jasonslyvia Any news on this? Thanks!

@JonathanWi Sorry been busy these days, this behaviour is confirmed not working as expected, gonna need more time digging why.

Btw, I think it's a totally different issue from the original one, do you care posting a new issue so we can move discussion there?


about: Restyle Electron => Zulip desktop page.

This restyles the "about" page to look slicker and have brand colors.

Merged. Thanks @brockwhittaker 🚀

Landing page also needs an update :)

Cool yeah @akashnimare I'll do that and the switch server popup. thanks!


Cant download on chrome

Says Error: net::ERR_CONNECTION_TIMED_OUT

Closing issue. Chrome webstore problems can not be fixed by us.


Adding security + IAC suggestions for SQL DB security rec's

Adding security + IAC suggestions, around implementing IAC to create the platform and then using IAC to create/rotate static secrets & store them in Key Vault.

This is WIP & will need a bit of extra detail added (e.g. reference links & GUID for rec). I've got a couple of other things I would like to add to this as well, but creating the PR to discuss these items.
#on-hold

Some of the items to consider adding are:

MFA enforcement
Conditional access policies to restrict auth only from approved devices/endpoints/locations/regions/countries
SQL DB Security handbook
incorporate relevant Best Practice Recommendations for Azure SQL DB
Azure SQL Security Baseline

@igorpag could you please review?

Hi @NWiddup, thanks for your contribution. Regarding the content you proposed to include, that is SQL DB Security handbook, Best Practices Recommendations for Azure SQL DB and Azure SQL Security Baseline, I have already reviewed these repos, then everything relevant should be already included. If there is anything specific I missed, maybe, please let me know and we will include. Regarding MFA enforcement, CA, and the two items you just added in the PR, I'm not sure this security checklist is the right place: we discussed already inside the broader vTeam, and this kind of generic (from a SQL point of view) items should be covered in a separate checklist. In the specific case, we should have a DevOps checklist. Let me bring into the discussion @xstof  and @jelledruyts ..... what you think guys? Thanks.

I agree with Igor that the "Use infrastracture as code to automate the deployment of your SQL DB infrastructure" item is indeed a very general-purpose recommendation that shouldn't be repeated in every checklist (especially not a security-focused one).
The other two around creating and rotating SQL platform secrets could be a single one to me, and even then I have some reservations:

It's not specific to SQL as it would generally also be similar for any kind of "local" authentication solution (like SAS for storage, or API keys for Search etc) so it could be part of a governance checklist that "for any service where you have control over a local credential (like SQL's SA account in this case), ensure you (re)generate and store it appropriately".
If we feel strong enough that it really needs to be called out specifically for SQL, I'd first make sure to note that it's only relevant if you choose to ignore the other checklist items that recommend using AAD auth (meaning, if you turn on AAD only auth, then you don't even need an SA account/password that needs to be properly generated and stored in the first place).
And even with that caveat, I wouldn't lead with saying "how" a customer should do that (which is an implementation detail); you could suggest to use a DevOps pipeline, but the important part is that it's securely generated and stored - not how that's done.

So my take on this would be: if we want to call out the SA password very explicitly, I would rephrase it to say something like "avoid it by using AAD auth if at all possible, but if you must have it then generate and store it appropriately (for example, using a devops pipeline + key vault)".
@igorpag @NWiddup @xstof @erjosito

Agree with both Igor and Jelle.  In addition I wanted to note that there's an explicit goal of having items that have single yes/no answer and that are actionable.  So for example, we're trying to avoid pointing to a document with several items of guidance and rather want to include them directly in the checklist as individual items so it's much more tanglible and actionable for customers.  I believe that's what Igor did with the security handbook.

Available to continue the discussion "offline".


docs(auth-provider): update descriptions and refer to tutorial

added: https://refine.dev/docs/api-reference/core/providers/auth-provider

Should we add code snippets to the methods section?


tensorflow_util_test fails

On a debug build, Ubuntu Xenial (16.04), current master.
Preferably fix so the test passes.
If this is not possible (e.g. if we are not ready for this test to be run yet), disable it for now.
UpdateCTestConfiguration  from :/home/pakhtar/proj/master/peloton/build/DartConfiguration.tcl
Parse Config file:/home/pakhtar/proj/master/peloton/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/pakhtar/proj/master/peloton/build/DartConfiguration.tcl
Parse Config file:/home/pakhtar/proj/master/peloton/build/DartConfiguration.tcl
Test project /home/pakhtar/proj/master/peloton/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 24
    Start 24: tensorflow_util_test

24: Test command: /home/pakhtar/proj/master/peloton/build/test/tensorflow_util_test "--gtest_color=yes" "--gtest_output=xml:/home/pakhtar/proj/master/peloton/build/test/tensorflow_util_test.xml"
24: Test timeout computed to be: 1500
1/1 Test #24: tensorflow_util_test .............***Exception: SegFault  0.12 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.12 sec

The following tests FAILED:
	 24 - tensorflow_util_test (SEGFAULT)
Errors while running CTest

I ran the test on my own Ubuntu 16 machine and got the same error:
(gdb) run
Starting program: /home/lin/peloton/build/test/tensorflow_util_test
y[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff062271f in _GLOBAL__sub_I_mathlimits.cc () from /usr/local/lib/libtensorflow_framework.so
(gdb)

Upgrading Tensorflow version to 1.5 solves the problem on 16.04. Will test on 14.04 and submit a PR.

Fixed in #1219.


[BUG] Fix or remove Mutation job

Describe the bug
Mutation job is failing, leading to have all commits marked as red in Git history. it is not convenient to check if main branch is fine or not and or if something started to fail at a point in time.
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Logs
9:52:09 AM PIT >> SEVERE : Tests failing without mutation:
Description [testClass=io.kaoto.backend.api.resource.v1.StepResourceIT, name=[engine:junit-jupiter]/[class:io.kaoto.backend.api.resource.v1.StepResourceIT]/[method:checkCatalogLoaded()]]
Description [testClass=io.kaoto.backend.api.resource.v1.StepResourceIT, name=[engine:junit-jupiter]/[class:io.kaoto.backend.api.resource.v1.StepResourceIT]/[method:checkAllRequiredPropertiesInitialized()]]

Error:  Failed to execute goal org.pitest:pitest-maven:1.11.4:mutationCoverage (default-cli) on project api: Execution default-cli of goal org.pitest:pitest-maven:1.11.4:mutationCoverage failed: 2 tests did not pass without mutation when calculating line coverage. Mutation testing requires a green suite.

Environment (please complete the following information):
Additional context

Chances are that the native tests should be discarded from mutation testing


Upgrading timescaledb plugin causes issues with ensureDatabases/ensureUsers

Describe the bug
If you have ensureDatabases in your postgresql nixos config and you're using timescaledb and timescale has been updated then postgresql will fail to start because it won't be able to ensureDatabases, since it can't find the plugin. This can be fixed with sudo -u postgres psql postgres -c 'ALTER EXTENSION timescaledb UPDATE;', but you need to first remove ensureDatabases from your config because you can't start postgresql otherwise...
Steps To Reproduce
{
  services.postgresql = {
    enable = true;
    package = pkgs.postgresql_14;
    extraPlugins = [ pkgs.postgresql14Packages.timescaledb ];
    settings.shared_preload_libraries = "timescaledb";
    ensureDatabases = [ "exampledb" ];
  };
}

And then deploy again after updating nixpkgs after timescaledb was updated. This gives this error:
LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 217019) exited...
ERROR:  could not access file "$libdir/timescaledb-2.9.1": No such file or directory

This causes the ExecStartPost of the postgresql service to fail.
Expected behavior
It upgrades cleanly, or at least doesn't cause postgresql.service to fail to start
Notify maintainers
@marsam

+1
ALTER EXTENSION timescaledb UPDATE;
this worked.
@bouk thanks a lot


Add a solution to problem 729

The idea is that in order to determine whether a slot can be inserted, we need to know the existing slots immediately before and after it if we put them in a timeline. The plan is as follows:

Find the earilest slot whose start time is not less than the end time of our slot. This is the next slot. If no such slot exists, create a virtual slot with time from end to end.
Find the latest slot whose start time is less than the start time of the next slot from above. This is the previous slot. If no such slot exists, create a virtual slot with time from 0 to 0.
From step 1, we know our slot's end time is not later than the next slot's start time. Therefore, we only need to check if our slot's start time is not earlier than the previous slot's end time. If it is, the slot cannot be inserted, and we return false. Otherwise, we insert the slot and return true.

A suitable data structure for this algorithm is a TreeSet and sort by the start of slot, resulting in a time complexity of O(N log N) and a space complexity of O(N) for N calls to book(..).

Find the latest slot whose start time is less than the start time of the next slot from above. This is the previous...

From step 1, we know our slot's end time is not later than the next slot's start time. Therefore, we only...

A closer examination reveals that the search for the next slot only serves to find the previous slot. However, because there are no slots between the previous and next slots and previous.start < insert_slot.end <= next.start (Hint: if previous.start == insert_slot.end, it would be the next slot instead), we can directly find the previous slot by searching for the latest slot with a start time less than insert_slot.end, eliminating the need to search for the next slot.

We can further reduce the number of search by directly build the logic to how slots are compared: If two slots are intersect, they are considered equal so insert of TreeSet will do nothing and return false.


describe @Nested limitation

see #103

Fixes #103

@manovotn, I went through all your comments and only noticed now at the bottom of the page that github tells me you only requested one change (so far) and not so many as I have now added even though that would have probably been visible at the top of the page, too.
After all that much natural language text in relation to the little quantity of code changed, I really hope I don't exceed your patience. I have no doubt you would have spent less time to complete the complete task than you have already spent with all my comments and are primarily helping me to get acquainted with the project and CDI...
Let me express that I really appreciate your review so far, not most your comments but all of them. Thank you.

@manovotn, I went through all your comments and only noticed now at the bottom of the page that github tells me you only requested one change (so far)

I requested several, but not all were meant for immediate change. With GH review, you need to pick one of three options (approve, comment, request change) as an overall "frame" for all the code comments you add. So it can be misleading sometimes. But you answered all the comments, so all good :)

After all that much natural language text in relation to the little quantity of code changed, I really hope I don't exceed your patience. I have no doubt you would have spent less time to complete the complete task than you have already spent with all my comments and are primarily helping me to get acquainted with the project and CDI...

That's ok. It isn't easy to understand because it spans over Weld and JUnit and on top of that we allow users to use several variants of extensions all of which behave slightly differently. Even I (as you can tell from the comments) don't remember every nook and cranny of why and how it was written.

Ok, I think we have addressed all the comments at this point.
I will give it a second read once I have some free time next week, but I believe we should be good to merge this.


Gender by country, switch colour palette.

Right now the colors all look very similar to each other. Can we "norm" the colorspace, so the lowest sourced country is the first accen color and the hight is the second accent color from the palette?
Palette: https://github.com/hargup/WIGI-website/wiki/Color-Palette
Bonus: add a legend for colors

The colors looks a bit distinct now. Although, one can definitely argue whether they look pretty. Legend is pending, which I'm moving to a new issue.


Lower verbosity of BeforeTargets/AfterTargets diagnostics

Fixes https://github.com/Microsoft/msbuild/issues/1217
Test failures in GetUnversionedSDKUnionMetadataLocation and some response file tests seem unrelated.
@rainersigwald

@jeffkl do I need to submit a PR for xplat (where we consume MSBuidl) or will it get there soon anyway?

@danmosemsft This has been merged to xplat. Do you need an updated build in a particular VS branch or anything?

My bad - you're right, it's there.

Yeah, I really wish GitHub made it easier to see what branches a commit is in . . .


Linux: New shell API to get the hash

Continuation of https://github.com/adobe/brackets-shell/pull/603 for Linux side of things.

@abhijitapte @saurabh95 Please review this.

LGTM


Refactor File Walker/Script Assignment

Pull out the function assignment from the file walking bits.
@robconery Earlier on, you had thought you wanted to fie walk/Function assignment pulled out of index.js. You have since moved it back. Did you want to keep it there now, or did you still want to pull it out?
It's two functions now - easier to read/understand, but potentially dirtying up index.js with noise.
What say you?

Looks good - did you pull out the try/catch for any reason? It'll throw if the directory doesn't exist (which I was oblivious to for some reason) so we should allow for that.

No try catch there when I got to it (unless I'm missing somethinig). I mainly just pulled it straight out, then diddled about with the closure aspects of it...but if that's the case, we should put it back!

Oooh. That's weird. And concerning. I see where you mean now, and I know how it got missed. Was working in a stale copy at first, then pasted. Fixing.

Cheers - merge it in when you’re done and thanks!
On March 8, 2015 at 7:51:33 AM, John Atten<EMAIL_ADDRESS>wrote:
Pull out the function assignment from the file walking bits.
@robconery Earlier on, you had thought you wanted to fie walk/Function assignment pulled out of index.js. You have since moved it back. Did you want to keep it there now, or did you still want to pull it out?
It's two functions now - easier to read/understand, but potentially dirtying up index.js with noise.
What say you?
—
Reply to this email directly or view it on GitHub.


creates a basic post card to start iterating thru with

Needs to be styled and to show more information.

fixed #24


Add missing crates to code coverage.

What does this PR do?
Add missing crates to code coverage support.

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

Project coverage is 73.83%. Comparing base (bc58fa5) to head (55d8fa3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #652      +/-   ##
==========================================
+ Coverage   73.81%   73.83%   +0.01%
==========================================
  Files         257      257
  Lines       37309    37318       +9
==========================================
+ Hits        27541    27555      +14
+ Misses       9768     9763       -5

Components
Coverage Δ

crashtracker
20.48% <ø> (ø)

crashtracker-ffi
9.28% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
93.33% <ø> (+0.27%)
:arrow_up:

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
83.08% <ø> (ø)

ddcommon-ffi
69.52% <ø> (ø)

ddtelemetry
59.10% <ø> (ø)

ddtelemetry-ffi
22.13% <ø> (ø)

dogstatsd
90.42% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
83.58% <ø> (ø)

profiling
84.26% <ø> (ø)

profiling-ffi
77.42% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
38.19% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
50.36% <ø> (ø)

tinybytes
94.77% <ø> (ø)

trace-mini-agent
72.47% <ø> (ø)

trace-normalization
98.25% <ø> (ø)

trace-obfuscation
95.73% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.46% <ø> (-0.41%)
:arrow_down:


Review Components, Feedback, and SR-text

What are the different contexts/uses for each?
Which one(s) are best for which contexts? Consider accessibility and flow. (including focusing)
Decide on which ones should be used in which case. Will allow for making a standardized and consistent experience with the decision.

Feedback: A combination of Alerts, Toasts, text, and SR-text are used based on the situation.
Based on Alert focus testing in #346 I would rather drop alerts used for that purpose.
For situations involving informing SR users about situations a non-SR visual user would see: SR-text. Such as More Button loading more content onto page. SR text would work. Though in some cases normal text could work too.
In the case of feedback about actions that do not provide obvious visual feedback, such as adding/removing a colleague: Toasts + SR text, or Text could work. Decide based on context?

Toast + SR text:
Have it working, having a toast appear, and the SR is focused on the SR text. SR text removes the button and remains there.
Also have a working temp SR text one, hooked up with the toast life cycle hooks. SR text is appended to the object, and focused on open of toast. Removed on close of toast, and focus set to obj again. Useful for errors with the original functionality left in place to be used again?
Tried the AddColleague button with TempToast + disabling the button. Button after toast closed is focused on again, so added the message as a label for the SR. Results in the message twice. Removed the SR text, just a clean toast appearing, and adding label to the button and focusing it. Does not focus because already focused, so added blur first. Does not work, tried adding a timeout to the focus to give the blur time to work, did not work.
End result of attempt as it is not being commited anywhere:
                    cToast('friends:add:successful');
                    $$(obj).addClass('disabled');
                    $$(obj).attr('aria-label', GCTLang.Trans('friends:add:successful'));
                    $(obj).blur();
                    setTimeout(function () {
                        $(obj).focus();
                    }, 100);

I do like the disabled button remaining, will try to work that in differently.

Notifications; Static and Toast: setup with design system colours

Placeholder

Components:
Toast / Text Notification
notificationToastSR(obj, mesage, extra, type) Toast + SR text + extra used for specifics (ie disable buttons) Focus set to SR text.
notificationTempToastSR(obj, message, type) Toast + SR text: SR text removed on toast close. Focus set to SR text, and back to original obj on toast close.
notificationCardText(message, guid, container) Text formated and replaces container. Focus set to text.
Side Panel
Left Panel setup in gccollab.js panel:open and panel:close. Focus set inside menu, and aria-hidden toggled.
Sheet Modal
ShowProfileSheet(obj) Sheet. on: { opened: , closed: } Focus onto sheet, and aria-hidden toggled.
Popover
dynamic: on: { opened: , closed: }
static: popover:open and popover:closed
aria-hidden toggled.
MoreOptions(obj) dynamic popover
Profile-Template.html static: for popover-links + guid and popover-actions + guid
list-template.html static: for popover-actions-home

With that PR most of the feedback and components are standardized. As well as documented here and in the related PRs.
The content that is not will be covered in issues already opened.
#350 for deleting
#349 for messages
#345 for entity page specifics
#311 for reporting
#263 for commenting


Fix Windows Path Handling in LogURIGenerator()

Issue:
On Windows, the LogURIGenerator() function in containerd/containerd fails when it checks if the logURI path is absolute. This is due to the leading slash in the parsed logURI, which causes the check to fail and results in an error, ultimately leading to the command's failure.
The logURI parameter is a binary path formatted as a URI, for example:
"binary:///C:/Program Files/nerdctl.exe?_NERDCTL_INTERNAL_LOGGING=C%3A%5CProgramData%5Cnerdctl%5C052055e3"

When parsed with url.Parse(logURI), the resulting u.Path is:
"/C:/Program Files/nerdctl.exe"

The leading slash is incorrect for Windows paths and causes issues when the path is later checked for being absolute.
To resolve this issue, the leading slash must be removed from the u.Path before the absolute path check is performed. This ensures the path is correctly recognized as an absolute path on Windows systems.

Waiting for the changes from Set stderr to empty string when using terminal on Windows to be available in the latest Containerd v2 release.

Hey @TinaMor
2.0.0 rc4 just dropped and we moved nerdctl (and testing env) to it.
Curious if the change in containerd got in?