PowerShell Version

Could there be a PowerShell version of the MaintenanceSolution.sql script?

There is an Install-DbaMaintenanceSolution cmdlet in the dbatools PowerShell module; should accomplish what you need.

@dsolodow Could it be made to work for Azure SQLdb too?

@Ayanmullick - that's a stickier issue as Azure SQL doesn't have a SQL Agent, so you don't have a good way to run jobs.

@dsolodow, I was hoping there was a PowerShell version that one could schedule to run thru Azure Automation.

@Ayanmullick I dont think there's anything stopping you from just calling the stored procedures directly from Azure Automation with powershell, you'd just probably want to tune the execution parameters for the jobs,  - the PowerShell would look something like Invoke-SqlCmd -SqlServer name -Database blah -Query "
EXECUTE [dbo].[DatabaseBackup]
@Databases = 'USER_DATABASES',
@Directory = 'YourPathHere',
@BackupType = 'FULL',
@Verify = 'Y',
@CleanupTime = YourCleanupTimeHere,
@CheckSum = 'Y',
@LogToTable = 'Y'
"
Setting that up as a minimal powershell component isnt a thing you couldnt do, but there's not a ton of value in mapping the hash table for execution of a stored procedure (since each environment is custom when running various parameters.)

I'm an Azure ITPro repurposed to be an SQL admin. I feel I don't know TSQL well enough to convert ~8k lines to PowerShell.

Welcome :) and that's not what I am suggesting -  what I recommend is invoking the SQL queries via powershell, so you get the best of both worlds.
In general I would recommend this approach for a lot of database centric tasks, there's a lot of code around performance tuning, backups, etc which is written in TSQL - you just can call and consume it via PS.

@ConstantineK, But troubleshooting during an issue would be easier if the code was in PowerShell.

I have currently no plans to make a PowerShell version of the Maintenance Solution.
That said it works well to deploy the scripts through PowerShell or to execute the stored procedures from PowerShell.


Proposal for Device Structure (Not Final or Decided)

Abstract DeviceBase will define of all the core methods that will have to be implemented by a device. This includes all the methods related to connectivity and read/write operations. The communication to device will be managed by KeepAlivedConnectionabstract interface class DeviceBase {
  KeepAlivedConnection get connection;
}

Every unique feature will be defined as a separate mixin (RecordAudio, CaptureImage, StoreAudio, StreamVideo) and will be extended by the device depending on the features it supportsmixin RecordAudio {
  stream<Uint8List> streamAudioBytes();
}

Each Device will implement all the methods defined by the DeviceBase and will also extend the functionality mixins (implemented using KASM)class DevKit extends DeviceBase with RecordAudio {
  final KeepAlivedConnection _connection;

  DevKit(String deviceId) : _connection = KeepAlivedServiceManagement.instance.ble(deviceId);

  @override
  KeepAlivedConnection get connection => _connection;

  @override
  stream<Uint8List> streamAudioBytes() {
    // Implementation
   _connection.read();
  }
}

class DevKit2 extends DeviceBase with RecordAudio, StoreAudio {}

class OpenGlass extends DeviceBase with RecordAudio, CaptureImage {}

DeviceProvider will be changed to DeviceManager, whose sole responsibility would be to act as an interface which allows the user to interact with the Device and perform various operations.

man, good approach, btw let's go with the better approach. Quick question: which (software)design pattern do you are use / or aim to use ?

[ ] Understand the data (how many are still on pcm8?) depends on this ticket.

There are two different objects basically holding the same information to an extent. And both of them are dependent on each other (DeviceInfo and BTDeviceStruct)
class DeviceInfo {
  String modelNumber;
  String firmwareRevision;
  String hardwareRevision;
  String manufacturerName;
  DeviceType type;
  }

class BTDeviceStruct {
String name;
String id;
int? rssi;
List<int>? fwver;
DeviceType? type;
}

The DeviceInfo object has methods to read characteristics to get data like the firmware version, hardware name etc., But it depends on BtDeviceStruct to differentiate between device type using the type property. And in many places in the code, both of them are being used together.
Both of them can be combined together to have a unified object for device details.
 class BtDevice {
   String name;
   String id;
   int? rssi;
   DeviceType type;
   BtDeviceInfo? btDeviceInfo;
  }

class BtDeviceInfo {
 String modelNumber;
 String firmwareRevision;
 String hardwareRevision;
 String manufacturerName;
 }

The BtDevice will also includes methods to convert BluetoothDevice (from flutter_blue_plus) to BtDevice etc., apart from the already existing methods, getters and setters. The BtDeviceInfo is basically DeviceInfo but renamed to BtDeviceInfo

man, good approach, btw let's go with the better approach. Quick question: which (software)design pattern do you are use / or aim to use ?

I was thinking of the Abstract Factory pattern, but you know it better man. Please guide

@mdmohsin7 man, please read more about Decorator, Strategy, Factory, Composite design pattern and tell me, what is the best fit for(and why)?

Every unique feature will be defined as a separate mixin (RecordAudio, CaptureImage, StoreAudio, StreamVideo) and will be extended by the device depending on the features it supports

In the meantime, you could try to implement it and provide me w/ a PR. Don't worry about the design pattern but after that you should know which one is the best-fit for our case.


NameError: name 'trainer' is not defined

Hi
When I try to launch the main.py, I got
if trainer.global_rank == 0:

NameError: name 'trainer' is not defined
I use the same env than stable-diffusion (it works well)

Hey I'm getting the same error, can you please in detail say what the problem was?

It was an issue with the path of my yaml file.
Le mar. 23 août 2022 à 01:22, kisenera @.***> a écrit :

Hey I'm getting the same error, can you please in detail say what the
problem was?
—
Reply to this email directly, view it on GitHub
https://github.com/rinongal/textual_inversion/issues/3#issuecomment-1223317448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYWNXDDOGCLC425KAZHAM2TV2QDTPANCNFSM57I67ODA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
T

so what was the path and where and how was it corrected

as shown in issue/67 adding this parmater gets the model instantiated OK
--base configs/stable-diffusion/sd-image-condition-finetune.yaml


Fix package.json version again to trigger npm publish

rc should have been off next patch version, 2.16.3

Worked!


feat: added koka language server support

Language Server
Koka
Requested Feature
Add support for Koka language server.

has anybody ever tried whether this actually works? because for me it doesn't even start up.

has anybody ever tried whether this actually works? because for me it doesn't even start up.

It doesn't. Sorry. I was waiting on the feature for the lsp to work over stdout/stdin but by the time it got merged in I got busy with school and forgot to submit another pull request. But it should be as simple as adding another flag.


[SourceKit] Update completion cancellation test to a harder type checking example

https://github.com/swiftlang/swift/pull/63585 will resolve rdar://80582770 and the type checker performance problem that we were relying on. Use a harder example (stolen from https://github.com/swiftlang/swift/blob/main/unittests/SourceKit/SwiftLang/CloseTest.cpp#L131-L151), that’s unlikely to get a significant performance improvement soon.

@swift-ci Please smoke test

@swift-ci Please smoke test


Downloading with curl results in weird open behavior in R

Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec,  (README.rmd#14): line 103 did not have 21 elements
This happens when I try to open the databases with R. Opening and saving them with LibreOffice fixes this.

Could you give the full command, not just the error? Looks like an R related problem.

Is the problem fixed? Why the extra way to R? Would close the issue otherwise.


Finish bumping to Submariner 0.13.3

Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

/cc @sridhargaddam

/lgtm
/approve


Html2Text.convert() blows out on non-string

How to reproduce?
[5] pry(main)> Html2Text.convert('<b>ab</b>cd')
=> "abcd"

[6] pry(main)> Html2Text.convert(nil)
NoMethodError: undefined method `gsub' for nil:NilClass
from /Users/vpithart/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/html2text-0.2.0/lib/html2text.rb:22:in `replace_entities'

[9] pry(main)> Html2Text.convert(0)
NoMethodError: undefined method `gsub' for 0:Fixnum
from /Users/vpithart/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/html2text-0.2.0/lib/html2text.rb:22:in `replace_entities'

Desired behaviour
The convert() should internally call .to_s on whatever the input is.

Hey @soundasleep, hereby I provide a patch that fixes this issue. Including tests. Enjoy.
From 410f34f0951a17da842004d4ed433821aa96b3ab Mon Sep 17 00:00:00 2001
From: Vojtech Pithart<EMAIL_ADDRESS>Date: Thu, 21 Sep 2017 09:20:45 +0200
Subject: [PATCH] Fixed convert() for non-string input

---
 lib/html2text.rb         |  1 +
 lib/html2text/version.rb |  2 +-
 spec/html2text_spec.rb   | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/lib/html2text.rb b/lib/html2text.rb
index 228138c..f5126d0 100644
--- a/lib/html2text.rb
+++ b/lib/html2text.rb
@@ -8,6 +8,7 @@ class Html2Text
   end

   def self.convert(html)
+    html = html.to_s
     html = fix_newlines(replace_entities(html))
     doc = Nokogiri::HTML(html)

diff --git a/lib/html2text/version.rb b/lib/html2text/version.rb
index b45e0ab..a072f4f 100644
--- a/lib/html2text/version.rb
+++ b/lib/html2text/version.rb
@@ -1,3 +1,3 @@
 class Html2Text
-  VERSION = "0.2.0"
+  VERSION = "0.2.1"
 end
diff --git a/spec/html2text_spec.rb b/spec/html2text_spec.rb
index a4d5328..dd95bd6 100644
--- a/spec/html2text_spec.rb
+++ b/spec/html2text_spec.rb
@@ -19,6 +19,27 @@ describe Html2Text do
         expect(text).to eq("hello world")
       end
     end
+
+    context "input value is non-string" do
+      let(:html) { nil }
+      it '(nil)' do
+        expect(text).to eq("")
+      end
+    end
+
+    context "input value is non-string" do
+      let(:html) { 1234 }
+      it "(number)" do
+        expect(text).to eq("1234")
+      end
+    end
+
+    context "input value is non-string" do
+      let(:html) { 1234.5600 }
+      it "(float number)" do
+        expect(text).to eq("1234.56")
+      end
+    end
   end

   describe "#remove_leading_and_trailing_whitespace" do
--
2.12.2

This is great, thank you! Can you put that into a pull request? <3

I tried to do so already, but gitlab didn't allow me to push to this project:
git push --set-upstream origin resiliency-against-non-string
fatal: unable to access 'https://github.com/soundasleep/html2text_ruby.git/': The requested URL returned error: 403

Perhaps you need to add me to contributors?

Hi! To make a PR on GitHub you need to Fork the project into your own profile, then push the changes there - and then create a Pull Request using your fork as the source. https://help.github.com/articles/creating-a-pull-request-from-a-fork/
By contributing a PR you'll also be credited as a contributor to the project. :)

Resolved with PR #3


[Idea/v9] Use Vite instead of Webpack

Discussed in https://github.com/idiotWu/smooth-scrollbar/discussions/401

Originally posted by sadeghbarati November  1, 2021
Vite is growing so fast, documentation and API is easy to understand, also have the easy configuration
Unlike Webpack documentation and API are difficult to understand
Compiled js with Webpack have unnecessary code or unwanted polyfills

You can use - https://github.com/unjs/unplugin - to cover both with one codebase if needed.
A alot of usefull tools in https://github.com/unjs
Hope it helps :)

Thanks for ur idea,
Yeah, When I used unbuild, I tried to change the proposal I had given
Best option, for now, is unbuild or rollup
all of these tools are great, with vite, you can put the other configuration files inside the Vite config file itself like vitest ( which is for unit-testing but it's can be configured for e2e with other tools like playwright, cypress and others )

support vite +1


pythonPackages.pymc3: init at 3.2

Motivation for this change
Adds the latest stable version of pymc3 to Python packages. This is one of the major Bayesian inference libraries (along with stan, BUGS, JAGS and, to a lesser extent, edward),
Things done

[ ] Tested using sandboxing
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested the library
[x] Fits [CONTRIBUTING.md]

Edit: longer info

I used this package thoroughly and It’s fully functional. The


dist/init/linux-sysvinit: improve legacy compatibility

I don't really know what this change means, but thanks for maintaining this! :)


SESSION.counter is inaccurate

Using the SESSION collection configuration does not yield expected results for the SESSION counter, however the global counter works as expected. This issue affects both prefork and worker MPMs. Additionally, the tests that I am doing are all after applying the fix from PR #1224 because that PR corrects a lot of the concurrency issues that existed prior to the fix. One more piece of important information is that I can only seem to reliably reproduce this behavior on a physical machine; I guess because it's a concurrency issue that slower VMs I'm using just don't hit the race condition.
To reproduce, use the following mod_security configuration, start httpd with mod_security enabled, and make some requests.
# SESSION
SecRule REQUEST_COOKIES:SESSIONID !^$  phase:5,id:118,nolog,pass,setsid:%{REQUEST_COOKIES.SESSIONID}
SecAction phase:5,id:119,nolog,pass,setvar:SESSION.my_counter=+1

I'm using the following loop to make 500 requests using five different sessions.
for i in `seq 1 500`;do
    curl -b "SESSIONID=testing$(shuf -i 1-5 -n 1)" localhost &>/dev/null &
done

After the requests are done, I'm checking the collection with modsec-sdbm-util to see if the counter values add up to the total number of requests, and they don't (I usually get ~490). Example:
# modsec-sdbm-util /var/lib/mod_security/default_SESSION -du | egrep '(^Key|my_counter)'
Key: "testing4", Value len: 212
                    my_counter: 99
Key: "testing2", Value len: 214
                    my_counter: 103
Key: "testing1", Value len: 214
                    my_counter: 104
Key: "testing5", Value len: 214
                    my_counter: 100
Key: "testing3", Value len: 212
                    my_counter: 90

The total number of all the my_counter variables should be equal to the number of requests.

Tagging @p0pr0ck5 here since we talked a bit about it on IRC.

Hi @csutherl,
That is kind the expected behavior. To avoid the utilization of locks, each process (or threads) has it own version of the collection that is synced every once in a while. The idea is to reduce the idle wait caused by the utilization of a lock. With that strategy we got a closer value without have to hold the request for too long.
In ModSecurity version 3 you can choose the back-end to storage the collection values, among of other options you can also make this value straight by the utilization of a lock.

Thanks for checking it out @zimmerle :) I just have a few questions in response to that.
Understood...I think. So, we've identified that persistent storage isn't 100% accurate here because there isn't any locking so there's really no way to have an accurate count across multiple processes/threads. PR #1224 is fixing that portion by adding locks and synchronizing access to the database on disk, but now I think there is an error in the retrieval/storage logic for the non-global collections. Did you take a look at PR #1274 as a proof that the logic is flawed? After that PR, I get an accurate count of sessions (total session counts are equal to the number of requests) in all of my test cases (with prefork and worker). Maybe it would help me understand what is going on there if you could you explain how real_col_name and col_name are used. If this is expected behavior then we'll leave it, but given that my hacky patch changes the behavior in a positive manner, I want to make sure all of our avenues are exhausted before giving up.
Additionally, we're working on finding the actual problem instead of that hack so the default configuration still works, so keep in mind that that's only meant to show the problem not be fix it permanently.
And lastly, unfortunately moving to mod_security v3 isn't an option, so I'm not even testing there at the moment.

The PR #1224 was not yet merged. The fact that we don't have a lock does not means that we have an issue. If you put a lock there or a global lock, it will reduce significantly the throughput of your server. Reduce the throughput is not the expected behavior for the most of the cases. The fact that the counter are not precise is took into consideration (or should be) while the rules as being write. Generally speaking: the benefit of having precise counters does not worth the throughput reduce.

In response to your update: That is some interesting information, is it documented somewhere? I'm happy to use the system as is if we can get the desired result. Can you tell me how to predict counter values when writing the rules given the the counters are not precise? Is there some margin that we can use or something?
In addition to your question: Can you verify the patch proposed is an issue? The session counters are way off compared to the global counters due to the bug that I've fixed. Even without the lock code, deltas are never applied to session counters like they are for global ones so the values are way off.

@zimmerle coty's latest commit in PR #1274 resolves a bug in the data persistence logic. The incorrect collection key name is being passed in and is fixed in PR.
Coty's PR #1274 can be treated completely separate that  Mladen's PR.

The collection sync had an issues. Originally the collection name is given after: web app id +  collection name. Some parts of the code was referring to collection name  and others the prefix web app id was used. This issue was fixed by 2de5175b9cf67ac91bd4a759cf29f91aba1ae09e


Replace moment dependency with something more light weight

Preferably no external dependency

Just want to remind you that this is a huge problem. I would choose date-fns over moment.
import format from 'date-fns/format'
format(new Date(), 'YYYYMMDDHHmmss')
//=> "20171215143039"

But it may take a while before the new parse function arrives. It's in the beta release for now. https://github.com/date-fns/date-fns/issues/219

Formatting isn't an issue, it's the parsing that we need to find something for.

I know. Try the alpha release:
https://date-fns.org/v2.0.0-alpha.2/docs/parse

Does this have any movement? I would like to get rid of the moment dependency for something smaller.


pyansys & discovery live

Hello
Can we use pyansys with discovery live ?

Can we use pyansys with discovery live ?

Good question, and it's helpful to have these questions here.
Sadly, not at the moment.
I can't make any promises regarding a future Python library for Discovery Live, but I think one would be really helpful.  I'll be sure to forward this to the appropriate channels.

Great suggestion @seghier!
We ambition in the future to develop dedicated apps based on the discovery live simulation engine and that would be of great help @akaszynski


Create reports without meme database

If I don't much care to compare my motifs to a database, it would still be nice to be able to generate a report. It would be nice to make the -m argument to report optional.
(It would also be nice if the documentation were very clear about exactly what file is expected for the -m argument, since it's a very particular format.)

Hello, I am trying to generate a report too but get an error message when I input a .txt file (e.g. this one - https://jaspar.genereg.net/download/data/2022/CORE/JASPAR2022_CORE_vertebrates_non-redundant_pfms_jaspar.txt). I was wondering if one of you know what the particular format is that we need to use for this file. Thank you!


Updated to 3.0.3231 today, now the Network tab causes my firewall to go off?

Basically what the title says, selecting the Network tab now causes my firewall to go off, asking me to grant ProcessHacker internet access, my settings have not changed since previous builds (I think I was on 3.0.3200 prior). Any idea how to can make this stop?

Fixed in latest nightly 👍🏿

Does what it says on the box, would recommend to friends and family. Thanks!


Aggregator For Prompt Node

As I described here, I'd like to be able to chain the entire output from a Prompt Node (having received all its responses) to another Prompt Node (or to some other intermediary node like a Text Node).

I appreciate this would make ChainForge a little LangFlow-y but it would be great for use cases like cleaning up outputs. My concern for my own project is that it would easily exceed the token allowance. Perhaps being able to run a script to pre-process and thin down the aggregated Prompt Node output before passing to the next Prompt Node would help. I'm not sure if this is possible however.

Solved w join node.


RFC to promote Python buildpack from community

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

I think the bar to move into the top-level org is still a little bit higher than what Python has met in its current implementation. There are still a handful of missing features that we expect of the other language families that have already been adopted. I would prefer to see these added before the promotion so that when it does land in the builders it is something that is truly ready for production workloads. Here are the items I'd like to see completed before the promotion:

Python buildpack includes the environment-variables, image-labels, and ca-certificates buildpacks as our other buildpacks already do.
Improved build performance through layer caching, specifically for pip-install and pipenv-install.
Python buildpack repo contains documentation of the current features of the buildpack
Python buildpack repo contains a set of sample apps that outline the current features of the buildpack

We are in the process of implementing the missing features. You can track their progress from the issue links in Ryan's comment above. When they are done, we'll undraft this PR and re-request promotion.

Please the following resolved

Python buildpack includes the environment-variables, image-labels, and ca-certificates buildpacks as our other buildpacks already do.

https://github.com/paketo-community/python/releases/tag/v0.7.0 includes all of those utility buildpacks.

Improved build performance through layer caching, specifically for pip-install and pipenv-install.

Implemented and available in https://github.com/paketo-community/pip-install/releases/tag/v0.1.2, https://github.com/paketo-community/pipenv-install/releases/tag/v0.2.2

Python buildpack repo contains documentation of the current features of the buildpack

https://github.com/paketo-community/python/tree/main/docs

Python buildpack repo contains a set of sample apps that outline the current features of the buildpack

See https://github.com/paketo-community/python/tree/main/samples/python


Please provide  pre-trained models

Please provide  pre-trained models

+1. also can release the results like top1?


sphinx-panels v0.6.0 (v2)

This PR supersedes #2 (closes #2) with update requirements and an extra test.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/sphinx-panels, this is ready to be merged; thanks. Then #2 can be closed.

@chrisjsewell, can you please review (and merge) this PR?

@chrisjsewell, can you please merge this PR?


Update mobile-engagement-user-interface-settings.md

Fix some wording in the UI Settings article (and add some missing links).

Hi @v-micada, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (v-micada). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


fix test on es6 export default

Pre-Submission Checklist

[X] Your pull request targets the staging branch of freeCodeCamp.
[X] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[X] You have only one commit (if not, squash them into one commit).
[X] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[X] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[X] Tested changes locally.
[X] Closes currently open issue (replace XXXX with an issue no): Closes #15507

Description

Updated the challenge seed, description, and test as the current challenge text is not possible per https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#Using_the_default_export

Updated. Thanks @yogaboll @systimotic


Add language setting, support v-model binding for CodeEditor component

language setting: language name and example code should not be hardcoded in settings files, I think we will create something like interface and supported languages will be added like implementing this interface and settings like language name, example code, parser, etc. will be parsed automatically.
v-model binding: why to have both "code" and "value" and use data and prop?


Previews for Components

The previews documentation details how to setup previews similar to action mailer previews, in a contained environment.
The GovukComponent::FooterComponent component breaks the guidelines of not relying on the controller during initialisation.

Upon investigation, the govuk_footer_link_to calls within build_meta_links are the source of this error.
The link_to call on line 85 seems to be fine though. My initial assumption is that ViewComponent defines link_to somewhere which is separate than the link_to referenced within our view helpers.
We have created a custom FooterComponent, in our repo here, that inherits from GovukComponent::FooterComponent.
Could we move the presentation logic into the erb template itself?

Interesting. Not quite sure what's going on here, I'll take a closer look.

Ah, so I think it's falling foul because it's building the copyright content inside #initialize rather than when the component's rendered.
@Nitemaeric - would you mind trying to render with the above patch?


Support add/drop attributes for table or partition

What problem does this PR solve?
It's used for the region label feature. Closes https://github.com/pingcap/parser/issues/1288.
What is changed and how it works?
This PR is going to support
ALTER TABLE t ATTRIBUTES="attr1,attr2,...,attrn"
ALTER TABLE t PARTITION p ATTRIBUTES="attr1,attr2,...,attrn"

to change the attributes of a table or a partition.
And use the following syntax to reset all attributes for a table or a partition:
ALTER TABLE t ATTRIBUTES=default
ALTER TABLE t PARTITION p ATTRIBUTES=default

Check List
Tests

Unit test

Related changes

Need to update the documentation
Need to be included in the release note

 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.

what is the difference between this and PLACEMENT POLICY?

what is the difference between this and PLACEMENT POLICY?

We are going to add some attributes to a table/partition to solve some specified problems. e.g., notmerge attribute means don't merge a table. It's different from the placement rule which mainly focuses on data placement.

@rleungx We may also need to consider the removal syntax for attributes. Anyway, it would be better if there is a detailed design document.

PTAL @djshow832 @xhebox, thanks.

@rleungx We may also need to consider the removal syntax for attributes. Anyway, it would be better if there is a detailed design document.

How about using alter table t attributes=default for removing all attributes?

/merge


User memberships

Resolves https://github.com/xanzy/go-gitlab/issues/944

Added user memberships method
Added a unit test with some test data

Tried to test this locally but I don't have access to an admin account. It looks like you might need to create a self-hosted gitlab instance, is that right?

Okay I think I got all of the suggestions in, how does it look?


[FR] Add "last updated" to Personal master data

Would be nice to see the last_updated status for a measurment under the gender:
https://github.com/dckiller51/lovelace-body-miscale-card/blob/main/examples/with-image.jpg?raw=true
Accessed by states.bodymiscale.yourname.last_updated
Am I right, I would have to add it also in the bodymiscale integration?

I am missing this very much too: Last updated on the card would be really nice and helpful.


the "unset field" feature

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

In mongodb , we can unset a field only in a document unlike the SQL databases. so we need this feature in update of ActiveRecord.
Syntax
$document->Unset('field1','field2','field3','fieldN' ...);
Example
//users collection
{
    _id    : ObjectId('5f9a84109d2ff23d816e7983'),
    name   : 'N-A',
    family : 'F-A',
    email<EMAIL_ADDRESS>}
{
    _id    : ObjectId('5de5320014bf173d3e838102'),
    name   : 'N-B',
    family : 'F-B',
    email<EMAIL_ADDRESS>}

$doc1 = MyActiveRecordClass::FindOne('5f9a84109d2ff23d816e7983');
$doc1->name = 'N-A(edited)';
$doc1->Unset('email');
$doc1->Save();

$doc2 = MyActiveRecordClass::FindOne('5de5320014bf173d3e838102');
$doc2->Unset('name','email');
$doc2->Save();

the user's collection after saving
{
    _id : ObjectId('5f9a84109d2ff23d816e7983'),
    name : 'N-A(edited)',
    family : 'F-A',
}
{
    _id : ObjectId('5de5320014bf173d3e838102'),
    family : 'F-B',
}

So what is the difference between php unset() function and yii2 Unset() method ?
#php unset();
$doc1 = MyActiveRecordClass::FindOne('5f9a84109d2ff23d816e7983');
$doc1->name = 'N-A(edited)';
unset($doc1->email); #only sets email attribute to null
$doc1->Save(); #updates only name attribute

#yii2 ActiveRecord::Unset();
$doc1 = MyActiveRecordClass::FindOne('5f9a84109d2ff23d816e7983');
$doc1->name = 'N-A(edited)';
$doc1->Unset('email'); #sets email attribute to null
$doc1->Save(); #unsets email field and updates name field

@ziaratban I've moved CI to GitHub actions so there are no incidental failures anymore. Would you please merge master branch into all your pull requests?


noble warning: unknown peripheral c5604e4de439

I'm new in the bluetooth world,
I want to communicate with the Simblee bluetooth device, it's an IoT device based on the arduino technologie that can be programmed with the Arduino IDE. https://www.simblee.com/
I have to PC on Ubuntu 16.04, the first one connected to the Simblee as expected, the second one give me this error :
Discovered Peripherial c5604e4de439
RFduino is advertising 'ledbtn' service.
noble warning: unknown peripheral c5604e4de439

here is the hcidump:
HCI sniffer - Bluetooth packet analyzer ver 5.37
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
2017-02-11 14:26:51.301282 < HCI Command: Set Event Mask (0x03|0x0001) plen 8
    Mask: 0xfffffbff07f8bf3d
2017-02-11 14:26:51.302652 > HCI Event: Command Complete (0x0e) plen 4
    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x00
2017-02-11 14:26:51.302683 < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
    mask 0x1f00000000000000 (Reserved)
2017-02-11 14:26:51.303649 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Event Mask (0x08|0x0001) ncmd 1
    status 0x00
2017-02-11 14:26:51.303663 < HCI Command: Read Local Version Information (0x04|0x0001) plen 0
2017-02-11 14:26:51.304654 > HCI Event: Command Complete (0x0e) plen 12
    Read Local Version Information (0x04|0x0001) ncmd 1
    status 0x00
    HCI Version: 4.0 (0x6) HCI Revision: 0x1ebd
    LMP Version: 4.0 (0x6) LMP Subversion: 0xfc00
    Manufacturer: Intel Corp. (2)
2017-02-11 14:26:51.304668 < HCI Command: Write LE Host Supported (0x03|0x006d) plen 2
  01 00
2017-02-11 14:26:51.305648 > HCI Event: Command Complete (0x0e) plen 4
    Write LE Host Supported (0x03|0x006d) ncmd 1
    00
2017-02-11 14:26:51.305663 < HCI Command: Read LE Host Supported (0x03|0x006c) plen 0
2017-02-11 14:26:51.306648 > HCI Event: Command Complete (0x0e) plen 6
    Read LE Host Supported (0x03|0x006c) ncmd 1
    00 01 00
2017-02-11 14:26:51.306663 < HCI Command: Read BD ADDR (0x04|0x0009) plen 0
2017-02-11 14:26:51.307651 > HCI Event: Command Complete (0x0e) plen 10
    Read BD ADDR (0x04|0x0009) ncmd 1
    status 0x00 bdaddr 00:C2:C6:52:99:FE
2017-02-11 14:26:51.310569 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x00 (scanning disabled)
    filter duplicates 0x01 (enabled)
2017-02-11 14:26:51.311660 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x0c
    Error: Command Disallowed
2017-02-11 14:26:51.311675 < HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7
    type 0x01 (active)
    interval 10.000ms window 10.000ms
    own address: 0x00 (Public) policy: All
2017-02-11 14:26:51.312659 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Parameters (0x08|0x000b) ncmd 1
    status 0x00
2017-02-11 14:26:51.313080 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x01 (scanning enabled)
    filter duplicates 0x01 (enabled)
2017-02-11 14:26:51.314643 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00
2017-02-11 14:26:51.371690 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:51.372637 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:51.374719 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
    bdaddr C5:60:4E:4D:E4:39 type 1
    interval 96 window 48 initiator_filter 0
    own_bdaddr_type 0 min_interval 6 max_interval 12
    latency 0 supervision_to 200 min_ce 4 max_ce 6
2017-02-11 14:26:51.375680 > HCI Event: Command Status (0x0f) plen 4
    LE Create Connection (0x08|0x000d) status 0x0c ncmd 1
    Error: Command Disallowed
2017-02-11 14:26:51.455600 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:51.456624 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:51.463617 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:51.541582 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -81
2017-02-11 14:26:51.542585 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:51.613549 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:51.624573 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:51.625573 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -78
2017-02-11 14:26:51.705534 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:51.706503 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:51.794498 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:51.795466 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:51.880463 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:51.881467 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -78
2017-02-11 14:26:51.918445 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -63
2017-02-11 14:26:51.962430 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:51.963397 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:52.068380 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:52.136325 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:52.222305 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:52.225301 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:52.226305 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:52.373235 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:52.392227 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:52.393230 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:52.473195 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:52.474200 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -78
2017-02-11 14:26:52.646114 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:52.677097 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:52.730078 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:52.731094 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:52.820034 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:52.821037 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:52.903006 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -82
2017-02-11 14:26:52.903999 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -82
2017-02-11 14:26:52.980967 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -65
2017-02-11 14:26:52.992963 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -82
2017-02-11 14:26:52.993966 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -82
2017-02-11 14:26:53.077920 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -81
2017-02-11 14:26:53.078920 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -81
2017-02-11 14:26:53.131896 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:53.161884 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:53.162884 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:53.250845 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -79
2017-02-11 14:26:53.251813 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -79
2017-02-11 14:26:53.281834 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:53.330815 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -80
2017-02-11 14:26:53.331814 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -80
2017-02-11 14:26:53.413774 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:53.414753 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -72
2017-02-11 14:26:53.434765 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:53.496707 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -71
2017-02-11 14:26:53.497708 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -72
2017-02-11 14:26:53.580673 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -77
2017-02-11 14:26:53.581652 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -77
2017-02-11 14:26:53.668662 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:53.669665 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -77
2017-02-11 14:26:53.741624 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -65
2017-02-11 14:26:53.751619 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:53.752621 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -73
2017-02-11 14:26:53.834558 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -69
2017-02-11 14:26:53.835533 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -69
2017-02-11 14:26:53.895515 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:53.918518 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:53.919520 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -69
2017-02-11 14:26:54.005495 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:54.050501 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -62
2017-02-11 14:26:54.085484 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:54.175373 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:54.200431 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -63
2017-02-11 14:26:54.256408 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -69
2017-02-11 14:26:54.259364 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:54.260406 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -72
2017-02-11 14:26:54.343371 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:54.344373 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -69
2017-02-11 14:26:54.353363 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -62
2017-02-11 14:26:54.430330 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:54.503271 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:54.511284 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:54.512287 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:54.599252 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:54.600238 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:54.653225 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:54.776172 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:54.777140 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:54.803169 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:54.951093 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:54.952095 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -78
2017-02-11 14:26:54.957089 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:55.038047 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -78
2017-02-11 14:26:55.039047 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -78
2017-02-11 14:26:55.110012 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -65
2017-02-11 14:26:55.125016 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:55.211976 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:55.212977 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -73
2017-02-11 14:26:55.261953 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:55.301884 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:55.302931 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -73
2017-02-11 14:26:55.383893 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:55.384896 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:55.414878 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -65
2017-02-11 14:26:55.473858 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:55.474860 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:55.556756 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:55.557794 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -68
2017-02-11 14:26:55.564787 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -65
2017-02-11 14:26:55.715752 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -64
2017-02-11 14:26:55.732747 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:55.733751 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -72
2017-02-11 14:26:55.822699 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -72
2017-02-11 14:26:55.823700 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -72
2017-02-11 14:26:55.866680 > HCI Event: LE Meta Event (0x3e) plen 40
    LE Advertising Report
      ADV_NONCONN_IND - Non connectable undirected advertising (3)
      bdaddr F8:04:2E:8C:6F:D1 (Public)
      Unknown type 0xff with 26 bytes data
      RSSI: -66
2017-02-11 14:26:55.907660 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -73
2017-02-11 14:26:55.908663 > HCI Event: LE Meta Event (0x3e) plen 12
    LE Advertising Report
      SCAN_RSP - Scan Response (4)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      RSSI: -73
2017-02-11 14:26:55.994625 > HCI Event: LE Meta Event (0x3e) plen 41
    LE Advertising Report
      ADV_IND - Connectable undirected advertising (0)
      bdaddr C5:60:4E:4D:E4:39 (Random)
      Complete local name: 'Simblee'
      Flags: 0x06
      TX power level: 4
      Complete service classes: 0xfe84
      Unknown type 0xff with 8 bytes data
      RSSI: -68
2017-02-11 14:26:56.014325 < HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2
    value 0x00 (scanning disabled)
    filter duplicates 0x01 (enabled)
2017-02-11 14:26:56.022559 > HCI Event: Command Complete (0x0e) plen 4
    LE Set Scan Enable (0x08|0x000c) ncmd 1
    status 0x00

@sn0opr what code is the HCI dump capture for?
Also, can you please provide debug logs: sudo DEBUG=* node <file>.js

I had the same issue, but I had forgotten to add noble.stopScanning() in noble.on('discover', function(peripheral) {.

Closing this due to lack of activity. Please re-open with requested info.

@jrobeson thank you, you saved me :+1:


Prevent to update user record on next logins

Laravel Version: 5.4
Adldap2-Laravel Version: 3.0
PHP Version: 7.1

Description:
It does possible to sync user record just for first time that user loggedin?
I mean if I changed my user name locally, on next login it sync with AD and replace user name.
Steps To Reproduce:

Hi @bahman2216,
If you create an attribute handler and check if the user doesn't exist before setting their attributes, this is definitely possible:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/docs/auth/syncing.md#attribute-handlers
namespace App\Handlers;

use App\User as EloquentUser;
use Adldap\Models\User as LdapUser;

class LdapAttributeHandler
{
    /**
     * Synchronizes ldap attributes to the specified model.
     *
     * @param LdapUser     $ldapUser
     * @param EloquentUser $eloquentUser
     *
     * @return void
     */
    public function handle(LdapUser $ldapUser, EloquentUser $eloquentUser)
    {
        if (! $eloquentUser->exists) {
            // Only set the users attributes if they don't exist yet (first login).
            $eloquentUser->name = $ldapUser->getCommonName();
            $eloquentUser->email = $ldapUser->getEmail();
        }
    }
}

Now if you're creating users another way and only syncing them on first login, you'll need to check if their eloquent model created_at and updated_at timestamps are equal, indicating that the user hasn't been updated yet (synced).
namespace App\Handlers;

use App\User as EloquentUser;
use Adldap\Models\User as LdapUser;

class LdapAttributeHandler
{
    /**
     * Synchronizes ldap attributes to the specified model.
     *
     * @param LdapUser     $ldapUser
     * @param EloquentUser $eloquentUser
     *
     * @return void
     */
    public function handle(LdapUser $ldapUser, EloquentUser $eloquentUser)
    {
        if ($eloquentUser->created_at == $eloquentUser->updated_at) {
            // Only set the users attributes if they need to be synced.
            $eloquentUser->name = $ldapUser->getCommonName();
            $eloquentUser->email = $ldapUser->getEmail();
        }
    }
}


Unit as the default value for redeemers or datavalues

Do we want to allow users to not include redeemers and datavalues in the cases when they have unit value (and insert unit by default when the terms are absent)?

Not doing this


Store all dependencies for files in storage

As per the Resolvers spec here:
https://github.com/Azure/device-models-tools/wiki/Resolvers

@iluican  is this a dupe of https://github.com/Azure/device-models-tools/issues/54 ?

Yeah it seems so. I'll close it.


feat: add log settings to project settings

This PR adds log settings to the Unity project window and also greatly improving saving and loading.
It now uses a scriptable object saved in the ProjectSettings/com.miragenet.mirage folder, so now all users will have the same log settings.
This scriptable object is also moved into the assets folder on build and then removed afterward so it can be used at runtime.

Forgot to mention, this fixes #683 and #742

Looks promising, I want to take a few days to go through each part to make sure they all work.
I think this also fixes https://github.com/MirageNet/Mirage/issues/791

I'm going through this PR now. I want to make sure I understand what is going on before I merge it, and I'm probably going to try and simplify a few of the parts.
I'm also added headers for the namespaces

I'm hoping to get this all merged by the end of this week


SOC, chapter 3, Sunday Roll Call

Leave a comment with these two things:

A summary of your last chapter using only emojis
Something you'd like to share, anything goes! (within respect)
🌧 ☁ 💨

emoji cheat sheet

😉😁

💻💭🤔

💻
👍

:sweat:

🌧 ☁ 💨

😵💫🙈💻🤓🤯

👍

👎

😓 🤒🤕


Error: The class "http://www.w3.org/ns/hydra/core#ApiDocumentation" is not defined in the API documentation.

Hi. I tried using the client-generator repository to use hydra api in a react native project. I followed the steps in the docs and changed the demo api to our own api which uses Symfony 4 with @api-platform/admin. This is the error that I get after running the command.
npx @api-platform/client-generator {{api docs url}} output/ --resource User --generator react-native
This is the result:
Error: The class "http://www.w3.org/ns/hydra/core#ApiDocumentation" is not defined in the API documentation.
    at findSupportedClass (/Users/jandrell/.npm/_npx/49065/lib/node_modules/@api-platform/client-generator/node_modules/@api-platform/api-doc-parser/lib/hydra/parseH
ydraDocumentation.js:80:9)
    at /Users/jandrell/.npm/_npx/49065/lib/node_modules/<EMAIL_ADDRESS>:255:27
    at process._tickCallback (internal/process/next_tick.js:68:7)

Duplicate of api-platform/core#3158


use ui_test regex capabilities

We can have more precise patterns now, so use them for some of the tests where that makes sense. :)

@bors r+

:pushpin: Commit 757e88c901f7b8fed41829729b6a23317be12b3e has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 757e88c901f7b8fed41829729b6a23317be12b3e with merge 8884ea48afb77083004e8d7deba1c0236d298288...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 8884ea48afb77083004e8d7deba1c0236d298288 to master...


Enable Greenkeeper

Would mean we don't have to manually run npm outdated every day.
Just a thought!

Seeing as how I'm doing this manually anyways, no need to keep this issue open 🤣


Support for retrieving data as Buffer on a per command basis

This is achieved by introducing a new option to the createClient method called bufferedInput.
If bufferedInput is set to true, then the returned data will be a Buffer if the command argument passed is a buffer, unlike the returnBuffers, which applies to all the commands
This is basically inspired by Jedis node.js Java library which returns a ByteArray if the arguments are passed as byte array.
E.g.
var redis = require("redis"),
client = redis.createClient(, , {buffered_input: true});
client.set("foo_rand000000000000", "OK");

// The below get request will return a utf8 string
client.get("foo_rand000000000000", function (err, reply) {
    console.log(reply.toString()); // Will print `OK`
});

// The below get request will return a Buffer as the key is specified as a Buffer
client.get(new Buffer("foo_rand000000000000"), function (err, reply) {
    console.log(reply.toString()); // Will print `<Buffer 4f 4b>`
});
client.end();

+1, I needed this too

Hey guys, I merged this, but then rewrote the implementation.  I like the approach of putting the parser in buffers mode and then converting back to Strings in the client.
Can you guys try out the version in master and make sure it does what you need?

Hey Matt,
Thanks for this.
One small thing in the README ... You would need the change the documentation from buffered_input to detect_buffer in the createClient section

Good catch.  Thanks for the code and ideas.

Hey Matt,
I found an issue with detect_buffers option set to true for a multi request containing hgetall. I fixed the same and submitted a pull request - https://github.com/mranney/node_redis/pull/156
Cheers,
Daya


CI job for goreleaser should not fail

Yesterday I tried to push a tag which should have kicked off the CI job for go-releaser but noticed some errors in the GitHub actions report

Should be resolved by https://github.com/strangelove-ventures/lens/commit/214cac2280c6473f49a0aca5fc0fe1c891619eb4, but needs to be backported

@joeabbey took a look: TM and injective work is intermingled and "what else is missing?" is unclear. It's not affecting the relayer (which has the same changes). Closing ticket.


[Event Request] - OnAfterCopyGLEntries in Codeunit 413 "AnalysisViewEntryToGLEntries"

Hello, please consider adding the following event to Codeunit 413 "AnalysisViewEntryToGLEntries"
    [IntegrationEvent(false, false)]
    local procedure OnAfterCopyGLEntries(var AnalysisViewEntry: Record "Analysis View Entry"; var TempGLEntry: Record "G/L Entry")
    begin
    end;

and call it accordingly inside "GetGLEntries" procedure:
...
...
                if GetGlobalDimValue(GLSetup."Global Dimension 2 Code", AnalysisViewEntry, GlobalDimValue) then
                    SetRange("Global Dimension 2 Code", GlobalDimValue)
                else
                    if AnalysisViewFilter.Get(AnalysisViewEntry."Analysis View Code", GLSetup."Global Dimension 2 Code")
                    then
                        SetFilter("Global Dimension 2 Code", AnalysisViewFilter."Dimension Value Filter");

                if Find('-') then
                    repeat
                        if DimEntryOK("Dimension Set ID", AnalysisView."Dimension 1 Code", AnalysisViewEntry."Dimension 1 Value Code") and
                           DimEntryOK("Dimension Set ID", AnalysisView."Dimension 2 Code", AnalysisViewEntry."Dimension 2 Value Code") and
                           DimEntryOK("Dimension Set ID", AnalysisView."Dimension 3 Code", AnalysisViewEntry."Dimension 3 Value Code") and
                           DimEntryOK("Dimension Set ID", AnalysisView."Dimension 4 Code", AnalysisViewEntry."Dimension 4 Value Code") and
                           UpdateAnalysisView.DimSetIDInFilter("Dimension Set ID", AnalysisView)
                        then begin
                            TempGLEntry := GLEntry;
                            if TempGLEntry.Insert() then;
                        end;
                    until Next() = 0;
            end;

        **OnAfterCopyGLEntries(AnalysisViewEntry, TempGLEntry);**

    end;

Thank you !

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52098.


Remove superfluos "=" on landing page

If you blindly copy and paste the query parameter into your browsers address window (and change the mp id), you just land on the landing page again, leaving you a bit stumped before figuring out the typo.

This should probably have gone through the technical meeting since it wasn't urgent to get this in.

Very sorry. Since it was approved so fast I felt vindicated in my assumption that this PR would be absolutely non-controversial.


Move GoogleTest library out of repository and add installation instruction

AMB: GoogleTest library is deleted from MIPT-MIPS repository. Manual how to install GoogleTest is uploaded to Wiki.

I wanted to start working on that issue, so I have read through GoogleTest lib docs. They suggest not to install a precompiled system-wide version of their lib, and the reasoning seems to be sane:
Reference to Google Test docs
Do we really need to exclude it then?

@gkorepanov
I suggest you to start with tasks on bumping GoogleTest version.

Why is it not recommended to install a pre-compiled copy of Google Test (for example, into /usr/local)?

I suppose we won't keep pre-compiled copy of Google Test on the machine, but it would be just checked out from separate Git repository. Anyway, let me think a little bit more about that — meanwhile you can update Google Test in repository to the latest version and get extra points.

They suggest not to install a precompiled system-wide version of their lib, and the reasoning seems to be sane

However, I found that we use precompiled version in our repository. Should that be fixed?

Probably make test should just execute something like wget or git submodule to make a local copy of gtest repo inside ours and then just compile it and check if everything is OK.

@gkorepanov: Sounds good.
By the way, @alexander-titov told me that he had some issues on library compilation, that's why it is pre-built in repository. Probably we can rid of it with newer version.

I'm currently working on this, and seems everything is just fine with new version. I will remove the googletest source code from our repo completely, and it will be downloaded as one of the dependencies in Makefiles.

Merged with #24, so there are 3 points now.

@gkorepanov Any progress?

Yeah, I've completed what I've intended to do. However I have forgotten my laptop charger in Sochi and thus don't have an access to my files. Now I'm just reproducing what have already done.

Done.

Something is wrong with includes:
{{{
~/mipt-mips/func_sim/func_memory$ make testg++ -std=c++11 -c func_memory.cpp -I ./ -I ../..//common/ -I ../..//func_sim/elf_parser/
g++ -std=c++11 -c ../..//func_sim/elf_parser/elf_parser.cpp -I ./ -I ../..//common/ -I ../..//func_sim/elf_parser/
g++ -std=c++11 -I ../..//libs/googletest/lib/include -I ./ -I ../..//common/ -I ../..//func_sim/elf_parser/ -c unit_test.cpp
unit_test.cpp:6:25: fatal error: gtest/gtest.h: No such file or directory
compilation terminated.
Makefile:62: recipe for target 'unit_test.o' failed
make: *** [unit_test.o] Error 1
}}}

Thank you very much for mentioning the problem. I have forgotten to add proper deps to the rest of Makefiles.


Enhance Bootstrapping Procedure for new Octo STS Backend

Background
Today the bootstrapping process requires:

Create a GitHub App
Generate Private Key
Manually Place into KMS

The key import process is currently a bit cumbersome.
Proposed Enhancement
GitHub documentation outlines a way to do it referred to as App Manifest Flow. A GitHub App manifest is a way to share a preconfigured GitHub App registration with other users. The manifest flow allows someone to quickly register a GitHub App.
Other References: https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-a-github-app-from-a-manifest
P.S Idea from @fproulx in discussion with @mattmoor and @dnlfdz  on 2024-05-06

Yeah the way I see it is that the app is initially in pending setup mode and you visit a page like https://sts.example.com/setup/UUID and you get this URL in the log of the app when it starts so that not anyone can hook to that web flow. Simple web flow allows one with Org owner permissions in their browser to complete  the flow ending with the private key in KMS etc.


Remove or augment numeric id on config database record

The Config table has an integer primary key, which unfortunately doesn't work with the Ambry database model because all of the records for a dataset can be stored in a bundle, and then loaded into another library, with the likely result that the integer primary keys from two bundles will conflict.
This is why nearly all of the other tables have vid keys or compound keys.
Alter the config table to use a primary key that is only unique within a dataset.
One possibility: make it a compound primary key, with the d_vid being the other part of the key. This should only require the change of using d_vid along with id when looking for parent records.

Use next_sequence_id() and identity.GeneralNumber1 with a type code of ‘F’ to populate id field.  See orm.dataset.Dataset.new_source() for an example of using the two together.


Upgrade to ruby-3.2.2

Update dependencies

https://github.com/RestlessThinker/danger-jira/pull/22


Adding option to aggregate layers, bottom to top

Love this extension, great work with it!
I was looking for a way to export the layers by aggregating them. So with three layers in an svg there are three exported images,

one with only the bottom layer,
one with bottom and middle layers,
one with bottom middle and top layers.

I tried to make it work with the Use parent layers as background layers option but found no obvious option in inkscape to create the parent child connection. If there is one then I would appreciate some pointers on how and maybe a short guide can be added in the README.md. If there is not a straightforward solution for this, I did a solution by adding an option in the Layer export mode that makes aggregation possible without any parent layers. If you think it adds something to your repo I will gladly make adjustments to this commit so that it fits perfectly into your code.
Sincerely,
Adrian

Now I found how to make parent layers with the help of your test file. But still the option might be useful for people not in need of complex background schemes. It is up to you if you think it adds value.


Vision

The current guidline under review link does not work,i tested it with Android @melikaeft

family planning-(provider)links don't work ,there are some errors @melikaeft

duplication with #118


Add better support for pug

When using lang="pug", passing Boolean true as prop and using directives will case errors.
See:
https://github.com/vuejs/vue-loader/issues/693
https://github.com/vuejs/vue-loader/issues/55
For example:
<template lang="pug">
foo(
  bar
  v-baz-directive
)
</template>

This will be rendered as
<foo bar="bar" v-baz-directive="v-baz-directive">
and cause errors such as bar expected Boolean but got String and v/baz/directive not defined.

Codecov Report

Merging #1361 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1361   +/-   ##
=======================================
  Coverage   93.04%   93.04%
=======================================
  Files          12       12
  Lines         748      748
=======================================
  Hits          696      696
  Misses         52       52

Impacted Files
Coverage Δ

lib/builder/webpack/vue-loader.config.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix font/color on labels on home screen

labels on the image don't match color/font of the page.

What is the font I should use?

Here's the image with same font, in black.

SFMono-Regular

Hmm... what's the corresponding font in PowerPoint?

unknown. this image could also be done as a grid in HTML to leverage the font in the browser.

OK. I send it back to you.


Add A1Z26 decoder

This one's mega-easy, so have a go :)
https://planetcalc.com/4884/

Hi, in case anyone is thinking of working on this, A1Z26 is already completed by me. There are issues however that can only be solved with the entropy checker. A1Z26 will be implemented into Ciphey once the entropy checker is done and implemented. See here: https://github.com/Ciphey/Ciphey/wiki/Checkers,-explained#entropy-coming-soon


Move unistd.h and execinfo.h includes out of reactor namespace

This way user code can use those header files as well

@revol-xut looks like there is a problem with the nix CI job. Could you take a look?


Figma In-Field missing dark mode components

Listing missing dark mode variants for several components in Figma:

[x] CHIPS
[ ] LISTS
[x] MAP VIEWS
[x] PROGRESS BARS
[ ] SCROLLBARS
[ ] SEARCH
[x] SEGMENTED CONTROLS
[ ] TABLES
[x] TABS

Let's just do the lists and create GitHub issues for the other components that are not added to the style guide.


Bunker doesn't remember permission and the "Fully trust" option

I'm testing Amber with https://git.fiatjaf.com/song and it keep asking the permission for kind:30618 even if this kind is already present in the permission list and I flag the "Fully trust" option.
Actually they seem two distinct bugs, but they probably could be correlated.

How do I test this?

I don't know, but I don't think it's specific to song, maybe is it a general bug of the bunker part?

I think i managed to fix it. I'll make a release later so you can test

Great!

Just released version 3.0.3

Unfortunately, it gives me the same behavior.

Can you check in the settings if you are in the version 3.0.3?
I forgot to pull the changes before compiling the release

Yes, already checked before giving the update.

Does a new notification appear every time for the event after you approve it?

Yes.
I noticed that when I select "Fully trust" and confirm the action, the view refresh and for a few instants I can see that the checkbox move back to the second option  ("Manually approve...").

Are you using a custom relay or the default relay.nsec.app?

Can you make a video of whats happening? for me it just show the kind:30618 once

I created a new bunker and now I'm getting 'response error: unauthorized', so I cannot reproduce the first correct push.

When you have some time try out the version 3.0.5 and let me know if it fixed the issue


SPIKE - Investigate including the protocol analysis engine in-app

Overview

This spike ticket tracks the investigation into whether the analysis engine code can be included in the Opentrons App, or if it will always have to run on the robot side (note: in the future this might ideally live in the cloud).

Assigning this ticket to Brian at first for visibility. Feel free to reassign


Will the code be released?

Hello, will the code of "BAEFormer: Bi-directional and Early Interaction Transformers for Bird’s Eye View Semantic Segmentation" be released?

Hello, will the code of "BAEFormer: Bi-directional and Early Interaction Transformers for Bird’s Eye View Semantic Segmentation" be released?

Hello, will the code of "BAEFormer: Bi-directional and Early Interaction Transformers for Bird’s Eye View Semantic Segmentation" be released?


Fix pre-commit error by removing trailing whitespace

CI has failed since the merge of https://github.com/z3z1ma/dbt-osmosis/pull/131.

https://github.com/z3z1ma/dbt-osmosis/actions/runs/8043780107/job/22102412580

The error was related to trailing-whitespace and has been fixed.

Thanks @syou6162 🙇


feat: #529 addstrategy integration

feat(addstrategy): integration with backend

All good with this PR.


In Map.DataChanged event, DataChangedEventArgs Layer name is empty. It should contains the Layer Name.

Hi all,
I'm using Map.DataChanged event to generate the IsBusy property in order to display the activity indicator loading over the map like :

The XAML view sample:
<Grid>
	<mapsui:MapView x:Name="mapView" Map="{Binding Map}" />

	<!-- MUST be on top of the Map Control -->
	<ActivityIndicator IsRunning="{Binding IsBusy}" WidthRequest="100" HeightRequest="100"/>
</Grid>

The code sample is as below:
Mapsui.Map Map = new Mapsui.Map();
Map.DataChanged += Map_DataChanged;
...
/// <summary>
/// Map DataChanged event to generate IsBusy ViewModel for showing activity indicator
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Map_DataChanged(object sender, Mapsui.Fetcher.DataChangedEventArgs e)
{
	if ((sender != null) && (e.LayerName == "OpenStreetMap") && (sender is ILayer))
	{
		IsBusy = ((ILayer)sender).Busy;
	}
}

The problem is that IsBusy is never updated because e.LayerName is not updated with the name of the layer.
These are the screnshots of the debugger:

e.LayerName should be updated?
I'm using NugGet package Mapsui.Maui v4.1.5 on Windows platform.

Thanks for reporting this. It looks like a bug.

Had a look at this. We could make the layer Name a mandatory parameter of the OnDataChangedEventArgs constructor. This solves a lot of problems but a complication is that it is also used in some providers. So, perhaps in those cases the providers should return another type of event args (OnProviderDataChangedEventArgs?) and the layers should create their own OnDataChangedEventArgs when they handle those events.

The workaround I used is the following :
/// <summary>
/// Map DataChanged event to generate IsBusy ViewModel for showing activity indicator
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void Map_DataChanged(object sender, Mapsui.Fetcher.DataChangedEventArgs e)
{
	if ((sender != null) && (sender is ILayer) && ((ILayer)sender).Name == "OpenStreetMap")
	{
		IsBusy = ((ILayer)sender).Busy;
	}
}

I'm using the sender ILayer.Name instead of the event args.
I don't know enough Mapsui architecture, but changing DataChangedEventArgs type on context would be a problem at use.

I fixed this in main by making the layerName constructor argument mandatory for the DataChangeEventArgs and remove use of it in non-layers. These now use an event with minimal data.
https://github.com/Mapsui/Mapsui/pull/2685
I improved this in develop/4.1 without introducing breaking changes
https://github.com/Mapsui/Mapsui/pull/2684

I tested it in Mapsui-5.0.0-beta.4 release.
It's well working.
Thank you.


member-ordering-rule ignores object literal shorthand methods

This MR should fix first issue described in #714.

subsumed by #801


Broken link from Readme to download the latest release

"Download the latest release" link from Readme to https://codeload.github.com/twbs/bootstrap/zip/v5.0.0 is broken and returns 404: Not Found
Operating system and version: macOS Catalina
Browser and version: Firefox 80.0

"Download the latest release" link from Readme to https://codeload.github.com/twbs/bootstrap/zip/v5.0.0 is broken and returns 404: Not Found

Confirmed and same here.

You're right, it's missing -alpha1 in filename. This'll be fixed soon, thanks :)


[BUG] panic: Failed to find XAnima_SetCallBack procedure in xcgui.dll: The specified procedure could not be found.

an := ani.NewAnima(w.Handle, 1)
an.Move(100, 500, 0, 1, xcc.Ease_Flag_Linear, false)
an.SetCallBack(anCallback)
an.Run(w.Handle)
when i try to set callback for animation, get below panic.
panic: Failed to find XAnima_SetCallBack procedure in xcgui.dll: The specified procedure could not be found.
any help please?

Problem within dll, waiting for update

thanks