sensu-check-wmiplus: init at 1.63

Motivation for this change
This PR includes 2 dependencies in addition to pulling callPackage into the perl-modules.nix file so we can have perl packages in separate files like we do for other languages.
Things done

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

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

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

@GrahamcOfBorg build sensu-check-wmiplus

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘sensu-check-wmiplus-1.63’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/servers/monitoring/sensu/checks/wmiplus.nix:78 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Partial log (click to expand)
make[2]: Leaving directory '/build/build'
make[1]: *** [Makefile:17160: stage1-bubble] Error 2
make[1]: Leaving directory '/build/build'
make: *** [Makefile:858: all] Error 2
builder for '/nix/store/6gqfbz5jq6z5ja3p9kwgrgad5r80gx80-gcc-4.5.4.drv' failed with exit code 2
cannot build derivation '/nix/store/l24aw96c529vj3qdzkgbvrn8gvvvhwnv-gcc-wrapper-4.5.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vkjybb8q4pjqhscvlf4dlaq00km8qx76-stdenv.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6nlrfymbqd56bpikvnsxdbsynswzfhqd-wmi-1.3.14.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jb5ab613k7gxn9wbzd2fkslq4j10i1ra-sensu-check-wmiplus-1.63.drv': 1 dependencies couldn't be built
error: build of '/nix/store/jb5ab613k7gxn9wbzd2fkslq4j10i1ra-sensu-check-wmiplus-1.63.drv' failed

Success on x86_64-linux (full log)
Partial log (click to expand)
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6v9l6x20x6qjnf8z7a31k27zbhrq3bw7-sensu-check-wmiplus-1.63
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6v9l6x20x6qjnf8z7a31k27zbhrq3bw7-sensu-check-wmiplus-1.63/bin
patching script interpreter paths in /nix/store/6v9l6x20x6qjnf8z7a31k27zbhrq3bw7-sensu-check-wmiplus-1.63
checking for references to /build in /nix/store/6v9l6x20x6qjnf8z7a31k27zbhrq3bw7-sensu-check-wmiplus-1.63...
/nix/store/6v9l6x20x6qjnf8z7a31k27zbhrq3bw7-sensu-check-wmiplus-1.63

@Mic92 should I set platforms to x86_64-linux only?

@GrahamcOfBorg build sensu-check-wmiplus

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘sensu-check-wmiplus-1.63’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/servers/monitoring/sensu/checks/wmiplus.nix:78 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Partial log (click to expand)
make[2]: Leaving directory '/build/build'
make[1]: *** [Makefile:17160: stage1-bubble] Error 2
make[1]: Leaving directory '/build/build'
make: *** [Makefile:858: all] Error 2
builder for '/nix/store/6gqfbz5jq6z5ja3p9kwgrgad5r80gx80-gcc-4.5.4.drv' failed with exit code 2
cannot build derivation '/nix/store/l24aw96c529vj3qdzkgbvrn8gvvvhwnv-gcc-wrapper-4.5.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vkjybb8q4pjqhscvlf4dlaq00km8qx76-stdenv.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/w2bsw5kgcsjw9z8ws7p53bwl1hacfwwr-wmi-1.3.14.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/2n0vjdb563ivq538pa7zzn5qlv3dr8jl-sensu-check-wmiplus-1.63.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2n0vjdb563ivq538pa7zzn5qlv3dr8jl-sensu-check-wmiplus-1.63.drv' failed

Success on x86_64-linux (full log)
Partial log (click to expand)
configuring
no configure script, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mfb1ffs8yg93sf7h2asg6laxskjhgrcw-sensu-check-wmiplus-1.63
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/mfb1ffs8yg93sf7h2asg6laxskjhgrcw-sensu-check-wmiplus-1.63/bin
patching script interpreter paths in /nix/store/mfb1ffs8yg93sf7h2asg6laxskjhgrcw-sensu-check-wmiplus-1.63
checking for references to /build in /nix/store/mfb1ffs8yg93sf7h2asg6laxskjhgrcw-sensu-check-wmiplus-1.63...
/nix/store/mfb1ffs8yg93sf7h2asg6laxskjhgrcw-sensu-check-wmiplus-1.63

@peterhoeg yes

@GrahamcOfBorg build sensu-check-wmiplus

Failure on x86_64-linux (full log)
Partial log (click to expand)
error: while evaluating the attribute ‘propagatedBuildInputs’ of the derivation ‘sensu-check-wmiplus-1.63’ at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating ‘getOutput’ at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/pkgs/stdenv/generic/make-derivation.nix:111:17, called from undefined position:
while evaluating ‘callPackageWith’ at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/lib/customisation.nix:113:35, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/pkgs/top-level/perl-packages.nix:2363:20:
while evaluating ‘makeOverridable’ at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/lib/customisation.nix:72:24, called from /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/lib/customisation.nix:117:8:
undefined variable ‘stdenv’ at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/builder-0-gustav.ewr1.nix.ci/pkgs/development/perl-modules/ConfigIniFiles/default.nix:13:15

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘sensu-check-wmiplus-1.63’ in /var/lib/gc-of-borg/nix-test-rs-8/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-8/pkgs/servers/monitoring/sensu/checks/wmiplus.nix:78 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

@GrahamcOfBorg build sensu-check-wmiplus

Failure on x86_64-linux (full log)
Partial log (click to expand)
error: while evaluating the attribute ‘propagatedBuildInputs’ of the derivation ‘sensu-check-wmiplus-1.63’ at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating ‘getOutput’ at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/stdenv/generic/make-derivation.nix:111:17, called from undefined position:
while evaluating ‘callPackageWith’ at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/customisation.nix:113:35, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/top-level/perl-packages.nix:2363:20:
while evaluating ‘makeOverridable’ at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/customisation.nix:72:24, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/customisation.nix:117:8:
undefined variable ‘IOStringy’ at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/pkgs/development/perl-modules/ConfigIniFiles/default.nix:11:29

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘sensu-check-wmiplus-1.63’ in /var/lib/gc-of-borg/nix-test-rs-11/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-11/pkgs/servers/monitoring/sensu/checks/wmiplus.nix:78 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Closing due to inactivity.

Unless anybody has any concerns about this particular PR, I would like to go ahead and merge this. We have been using here for ages without any problems, so the thing works as expected.

After fixing the merge conflicts of course...

Need #68340 first.

@GrahamcOfBorg build sensu-check-wmiplus

@GrahamcOfBorg build python37Packages.impacket


Production JS Build (currently almost bigger than the whole UI 2.2 MB)

i think we target ES5 (we can better straight go to 2020) also its not minified at all and might even be the dev build.

a bit better with: https://github.com/sitegeist/Sitegeist.Archaeopteryx/pull/33/commits/81849cc1ca67319d7115e1e3d5f8f2b69f3b90ec can be closed for now ;)


Scope param required when applying ActiveRecord order

When applying a scope to order data in a view you are required to use a param in the scope. This seems a little weird to me because it doesn't appear that the param is actually being used by the scope. Maybe I am missing something, but I found this behavior to be a little strange.
Here is an example of what I am doing:
Link model
class Link < ActiveRecord::Base
  scope :abc, -> title { order(:title => :asc) }
  scope :cba, -> title { order(:title => :desc) }
end

Links controller
class LinksController < ApplicationController
  has_scope :abc
  has_scope :cba
  def index
    @links = apply_scopes(Link).all
  end
end

View

  <% @links.each do |link| %>

      <a class="link-title" href="<%= link.url %>" target="_blank"><%= link.title %>

<%= link.url %>

<%= link.description %>

  <% end %>

    <%= link_to 'Order ASC', root_path(:abc => true) %>
    <%= link_to 'Order DESC', root_path(:cba => true) %>

Routes
Rails.application.routes.draw do
  root 'links#index'
end

As you can see I did pass the title param to the scope, but I am not sure why it is necessary. Maybe it is my lack of understanding with the ActiveRecord ordering, but I would have expected this use case to act similarly to the examples using the ActiveRecord where.

I think you're looking for the boolean type, so that you don't need the scope argument. Let me know if that solves your issue, so we can close. Thanks.

Yeah, that solves it. I was just revisiting the documentation for the where example, and noticed I missed that.

Great :+1:


driver: Add driver for Attocube ANC300

Changes proposed in this pull request:

Add a driver for Attocube ANC300 piezo controller with ANMxx0 modules

All the features have been tested with attocube ANC300 (serial:ANC300B-C-1011-1004010, firmware:1.0.0-1271 2012-04-18 16:01), with 6x ANM300 modules in its 6 available slots.
Todo:

[ ] Test with ANM200 and ANM150 modules, probably make some parameters depend on module model
[ ] Implement mock instrument
[ ] Write tests
[ ] Write example notebook
[ ] Add more specific exceptions
[ ] Add software limits
[ ] Implement output triggers as InstrumentChannel
[ ] Improve add_parameter calls (figure out if vals= is necessary when no set_cmd or set_cmd = False)

@WilliamHPNielsen @jenshnielsen

This line got there by mistake, I removed it.

@WilliamHPNielsen I've several deadlines to meet in the coming weeks so I unfortunately have not been able to work on this, and won't be in the coming weeks. I'll update this PR as soon as I've done some work on it.

@thibaudruelle, that's completely fine. We'll keep the PR open, then.

@thibaudruelle, as usual, no rush, but what's the status on this PR?

@thibaudruelle, what's the status on this PR?

@thibaudruelle
The driver in this pull request will not be supported by QCoDeS developers, and, hence, is a community driver. Please close this pull-request and open a new one against qcodes_contrib_drivers repository. QCoDeS developers will close this pull-request unconditionally in 2 weeks.
Read about qcodes_contrib_drivers repository and python package here.

@astafan8 Thanks for the heads up.


feat(backend): add k3d gpu image builder

Adds the k3d work from @justinthelaw's repo: https://github.com/justinthelaw/k3d-gpu-support
With updates:

New Make targets for easily build the k3d gpu image and standing up a uds cluster with k3d-gpu base
Updated the daemonset and removed the custom containerd config.
Updated the test for the new daemonset and add a Make target to run it.
One additional side effect: this will work on WSL2 now

This PR updates all our packages/bundles with the new runtimeClass for nvidia containers: https://github.com/defenseunicorns/leapfrogai/pull/787

Do we want to add CI to publish this image or workflow dispatch? Or will this be built locally and used locally (dev) only?

Not a mandatory requirement, but we could make this a YOLO Zarf package that uses upstream uds-k3d as one of its sub-component steps. That might make centralized version control easier, as mentioned in my previous review comments, while also simplifying the Make commands into an easy Zarf deploy.


Fix Eventhub partition_id header bugs

Codecov Report

Merging #385 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #385   +/-   ##
=========================================
  Coverage     52.06%   52.06%
  Complexity      443      443
=========================================
  Files           124      124
  Lines          1990     1990
  Branches         97       97
=========================================
  Hits           1036     1036
  Misses          890      890
  Partials         64       64

Impacted Files
Coverage Δ
Complexity Δ

...g/integration/eventhub/impl/EventHubProcessor.java
76% <100%> (ø)
6 <0> (ø)
:arrow_down:

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 51e4bff...79553a8. Read the comment docs.


docs: add real-world-design-patterns repo

@vahidvdn, thank you for sharing! I really like the README.md files for each pattern, and the 'hand-drawn' diagrams are very nice and fun.

@dzharii Thank you for making it a part of awesome-typescript, and glad you liked it!


Buttons do not show up properly in a table without a tbody

When using Angular, somehow, the tbody does not show up in the resulting HTML.
So this following code:

        <button class="btn btn-danger">Delete</button>

will show a button with an incorrect background.
To force the tbody to be removed, I wrote some JavaScript in the code pen.
https://codepen.io/jsgoupil/pen/oNZqKvX

This worked fine on version 4.6.0
Version:

Bootstrap: 5.0.1
Browser: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 Edg/91.0.864.37

.table > :not(caption) > * > * selector will have to be changed to something more specific.

We are using material virtual scroll so the above selector does not target td/th (we have two extra tags between table and td); so please fix this issue

This selector is meant to scope style to the current table, preventing them to leak to nested tables.
And it also targets valid HTML tables : extra tags in the table structure is invalid.
However not having thead, tbody or tfoot is valid so we need to find a way to support it. Probably something like:
.table > tr > * {}
.table > thead > tr > *,
.table > tbody > tr > *,
.table > tfoot > tr > * {}

fay
On Sat, Jun 5, 2021 at 1:04 AM Jean-Sébastien Goupil <
@.***> wrote:

When using Angular, somehow, the tbody does not show up in the resulting
HTML.
So this following code:

Delete

will show a button with an incorrect background.
To force the tbody to be removed, I wrote some JavaScript in the code pen.
https://codepen.io/jsgoupil/pen/oNZqKvX
[image: image]
https://user-images.githubusercontent.com/808649/120844302-09de7300-c524-11eb-9cff-a6d9ba15198e.png
This worked fine on version 4.6.0
Version:

Bootstrap: 5.0.1
Browser: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 Edg/91.0.864.37

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/issues/34184, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHORFC5EWJ5ZMPSVDOZ6UMDTREITVANCNFSM46DIDE7Q
.

@jsgoupil You need JS to drop the tbody since it's automatically added by the browser, isn't it? Why would you skip this feature?
I'm not quite sure about this being an issue at all. Still opened a draft to fix it, but I'm probably against doing this. Do you have any accurate use case that would benefit from breaking a table structure this way?

The HTML specs say that having a tr element inside a table is valid. Now, some browsers will insert a tbody for you if you use plain old HTML tags.
However, if you use .createElement to actually insert HTML tags inside the DOM, then you are technically allowed to add a tr without a tbody.
This is what Angular does (or other framework doing .createElement). I rarely write tbody, so the Angular framework will insert everything without it.
When using Angular, I don't force removing the tbody; it's just not present. I didn't want to create a full blown example of the code here so I wrote a small JavaScript to handle this situation.

In such case, the browser does not add tbody?

Correct.


Dualitor crashes when closing with the Log View undocked

logfile_editor.txt
How to reproduce [Bugs]

Open Dualitor
Show the Log View and completely undock it (it should be a floating window)
Load a Scene (create one if needed)
Close Dualitor, it should crash

Fixed by @hsnabn


Test

Task/Issue URL:
Tech Design URL:
CC:
Description:
Steps to test this PR:
1.
1.

Internal references:
Software Engineering Expectations
Technical Design Template

I've just installed this version in my phone, I will be using it and report back any issue.

@marcosholgado, I've found an issue (that maybe you are already familiar with) when visiting links that redirect you to the real website. Try any link present in any tweet on your feed, or test it with this one: https://twitter.com/Droidconit/status/1331520566562590722?s=20

it goes to https://t.co/5VLMAI2xUN?amp=1
then https://it.droidcon.com/2020/speakers/
https://t.co/5VLMAI2xUN?amp=1  has been added to the backstack and pressing back enter in a loop

I think now it's worth trying to explore isredirect/hasgesture and see if we can do something.

Changes in navigationStateChange were producing some unexpected behaviors, so I've decided to apply changes in https://github.com/duckduckgo/Android/pull/1020 Please review that PR.
I've also applied the changes in here in case you want to know more.
The problem I was having was that site content was hidden (by spoofing logic) when clicking on any link (inside a website compatible with GPC headers) before previous loading finished.

Changes in navigationStateChange were producing some unexpected behaviors, so I've decided to apply changes in #1020 Please review that PR.
I've also applied the changes in here in case you want to know more.
The problem I was having was that site content was hidden (by spoofing logic) when clicking on any link (inside a website compatible with GPC headers) before previous loading finished.

Thanks, I'll close this one then! I also saw some weird behaviour with this branch where the progress bar didn't seem to work in some specific cases.


Add missing german strings

Add translation for all UI elements that weren't localized before.

Looks good to me, thanks for the PR!


detect_cosmic_rays draws k gain from DetectorParams instead of KGain class

Is your feature request related to a problem? Please describe.
Currently, detect_cosmic_rays draws the k gain value from DetectorParams, but k gain is a calibrated value coming from the corgidrp.data.KGain class.
Describe the solution you'd like
Change the function to draw k gain from corgidrp.data.KGain instead, and adjust tests accordingly.
Additional context

Should we make it optional and leave the default value in DetectorParams, if KGain cal file not available. Or should we delete the kgain value in DetectorParams?

Sorry I didn't get back to you sooner on this!  I shared my thoughts on your PR.

Added in PR #211


SMP-1594: Restructure modules charts

Tracking Jira: https://harness.atlassian.net/browse/SMP-1594

we also should remove the templates directory under harness directory


Access loopback address failed on windows 10

What OS are you using (uname -a, or Windows version)?
win10 amd64
What programming language are you using (C/C++/Go/Rust)?
go version go1.14.1 windows/amd64
What did you expect to see and what you saw instead?
i'm using branch master, expect to see "hello,world" in the wrapper.html page, but blank page instead. looks like webview can not navigate to a loopback address on win10, the log didn't print any access path info after navigate called, i guess it may be because
Edge on win10 has some restrictions like this, if so i don't know how to configure the embed Edge, u can reproduce with following sample code.
issue_sample_demo.zip
here is the running screenshot:

while using chrome, it display normal:

Hey there,
So you will want to run this command in an elevated command prompt:
CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.Win32WebViewHost_cw5n1h2txyewy"


Thanks to the author for such a great work, I would like to ask the author how long does it take to train the model's equipment and training time? I want to try it locally, but I am worried that the computing power is not enough.

You could have a try. I remember I train it on a machine with  single RTX2080Ti GPU. you could also use smaller batchsize, num_workers and so on  to decrease the computing or memory cost.


fix: use the main prop for the application entry point.

npm start will now look at the main property for the entry point.  Port 8080 is now set as the default port instead of 3000.   This is a fix related to bucharest-gold/centos7-s2i-nodejs#33#issuecomment-382587104.
fixes #93

Coverage remained the same at 95.313% when pulling 853ef17b1fa16a5e2e50f8796e4ed8f1cddfe034 on lholmquist:93-change-start-script-and-port into 4dc0598fa3e1e6e4dde6695c3e3b6ecdb628ccf8 on bucharest-gold:master.


transactions: implement request types

[ ] Get
[ ] Scan
[ ] CheckTxnStatus
[x] Prewrite
[ ] Commit
[ ] Cleanup
[ ] Batch rollback
[ ] Scan lock
[ ] Resolve lock

better to implement Prewrite/Commit/Get/Scan first. I'll share a document of the proto between TinySQL with TinyKV, so we can discuss it with guys working on TinySQL to decide which part to keep and to delete.


Homepage/Chat - "You appear to be offline" message blocks to login/chats

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com/

Expected Result:
User should be able to login
Actual Result:
"You appear to be offline" message blocks login
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/203438866-391e600c-0778-47a3-8b81-878ca750a38c.mp4

Expensify/Expensify Issue URL:
*Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I think the main site (and therefore API) just went down for a moment?

I was able to login fine on staging just now so I'm going to close this.

I think the main site (and therefore API) just went down for a moment?

yes, it was probably that

Agree with the assessment above!


[mount-sd] Ensure media root dir is owned by the user : Fixes MB#1010

Ensure the root dir of any linuxy SD is owned by the user so they can, you know ... write to it :)

Doing this is a bad idea, as it'll break cards for other systems. If we ever offer an option to format a card on the device with linux filesystems it'd make sense to default to the user creating the card, but changing UIDs on unsupported cards on insertion without telling the user is bad.

Is there a link to MB#1010?

@foolab should be MER#1010 - my bad but : https://bugs.merproject.org/show_bug.cgi?id=1010
@bwachter I see your point but any linuxy SD card (ext/xfs/btrfs) is going to suffer from the mismatched UIDs problem (my UID is 500 on my desktop). If you insert an ext* formatted card into a device that claimes to supports ext* fs then you expect to be able to write to it in some manner.
It would be nice to send a notification that the root dir of the fs has been changed to allow the card to be written to. Is there a standard cli way to access the notification system that sd-utils can sensible Require: ?
If so then a media/ UID test and a notification on change would be a nice touch.

should be lipstick-qt5-tools

@lbt a) we don't claim to support linux file systems on the SD card (and doing so would be rather stupid and cause a high care volume) b) changing the uid on / (apart from being unexpected by the user) does not solve the core problem of the filesystem having uids/gids not compatible with the system running on the phone. A variety of random issues will show up, like not being able to write to (some) subdirectories, not capable of accessing the pictures folder, the phone not indexing media due to lack of read permissions, ...
The only usecase of linux filesystems supportable easily is if the filesystem gets created on the phone, and the card is never removed and written on by another device, which -- unless the card gets glued in -- is unrealistic.
A way to properly have data read from a card with such a filesystem without destroying permissions would be an overlay filesystem, like we're using for the vfat emulation for androids fake sd card.

I could not find the bug for whatever reason but anyway:
If we change the uid manually then you will have issues when you try to access it from your PC/laptop.
I would also assume that if a user uses ext* then he knows what he is doing.
I would not do a UID change behind the user's back but how about we make that part configurable? The user can then edit a configuration file to choose the behavior he wants.

Another option is to autocreate directory (if it does not exist) with specific name (e.g. .nemo) on such sd cards with proper ownership and permissions and use this directory.

Agree with @bwachter and @foolab. Also, on the Desktop, the UID of 500 might not apply for all installations (e.g. on Fedora, I have UID=1000 for the first user, and once you have multiple users, all bets are off, anyway).
I'm against making it configurable. Either the user knows what they do (and can become root / do chown on their own) or they don't, in which case the emulated storage or reformatting the card as vfat is probably the best idea.
Android's version of emulate-user-permissions-on-top-of-native-permissions thing is here (it does some more things, and expects to "own" the underlying physical directory, but can be used as inspiration):
https://github.com/android/platform_system_core/blob/master/sdcard/sdcard.c
Also, see it the other way around: The SD card that previously worked perfectly on the Desktop machine (with UID=500 or UID=1000, or whatever the user has) stops working once the SD card has been put into a Nemo device, which changed permissions. Not good.
Detect the case and show a notification to the user, leave everything else up to the user (but allow re-formatting of the card as vfat for beginner users who just don't want to deal with this).
For comparison, OS X uses HFS+, which has Unix-style permissions, and for the usual "USB drive" cases, there's an "Ignore ownership and permissions" checkbox ("Instead, each item on the volume takes on a special UID and GID that tell the operating system to act as if any account that accesses the item is the item’s owner." -- Macintosh Reference Guide - Ignoring Ownership). There's no such agreed-upon UID in the Desktop Linux world, so this might not be an option, but just to show how others have solved this problem.

Alternative solution: https://github.com/nemomobile/sd-utils/pull/18


test fixes

from this: https://ci.appveyor.com/project/ctrlbold/dbatools/build/0.8.4045
it looks like it's not building/honouring  the mocks properly

Looks like we need to dot source for internal functions and mocks. The central import doesn't play nice with that bit of the testing.


Reverse Proxy headers

I added the ability to configure reverse headers in app config.

Closing as abandoned.


Add support for -vv flag

Proposed changes

This PR implements the -vv flag as described in https://github.com/projectdiscovery/proxify/issues/139.
Currently there is only -v flag which shows the whole request and response body. The -vv flag is added and divides logging levels into two. The -v flag only shows request and response type, and the -vv flag also shows the response body. The -vv flag implicitly includes -v.
Checklist

[x] Pull request is created against the dev branch
[ ] All checks passed (lint, unit/integration/regression tests etc.) with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

No verbosity flag:
$ ./proxify.exe

                       _ ___
   ___  _______ __ __ (_) _/_ __
  / _ \/ __/ _ \\ \ // / _/ // /
 / .__/_/  \___/_\_\/_/_/ \_, /
/_/                      /___/  v0.0.7

                projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
HTTP Proxy Listening on <IP_ADDRESS>:8888
Socks5 Proxy Listening on <IP_ADDRESS>:10080
Saving traffic to logs

With -v:
$ ./proxify.exe -v

                       _ ___
   ___  _______ __ __ (_) _/_ __
  / _ \/ __/ _ \\ \ // / _/ // /
 / .__/_/  \___/_\_\/_/_/ \_, /
/_/                      /___/  v0.0.7

                projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
HTTP Proxy Listening on <IP_ADDRESS>:8888
Socks5 Proxy Listening on <IP_ADDRESS>:10080
Saving traffic to logs
2022/07/26 23:58:03 [001] INFO: Running 3 CONNECT handlers
2022/07/26 23:58:03 [001] INFO: on 1th handler: &{2 <nil> 0xeb1280} optimizationguide-pa.googleapis.com:443
2022/07/26 23:58:03 [001] INFO: Assuming CONNECT is TLS, mitm proxying it
2022/07/26 23:58:03 [002] INFO: Got request /online/ quietinnershiningtreasure.neverssl.com GET http://quietinnershiningtreasure.neverssl.com/online/
2022/07/26 23:58:03 [002] INFO: Sending request GET http://quietinnershiningtreasure.neverssl.com/online/
2022/07/26 23:58:03 [001] WARN: Cannot handshake client optimizationguide-pa.googleapis.com:443 remote error: tls: unknown certificate
2022/07/26 23:58:03 [002] INFO: Received response 200 OK
2022/07/26 23:58:03 [002] INFO: Copying response to client 200 OK [200]
2022/07/26 23:58:03 [002] INFO: Copied 2238 bytes to client error=<nil>

With -vv:
$ ./proxify.exe -vv

                       _ ___
   ___  _______ __ __ (_) _/_ __
  / _ \/ __/ _ \\ \ // / _/ // /
 / .__/_/  \___/_\_\/_/_/ \_, /
/_/                      /___/  v0.0.7

                projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
 CSS from Mark Webster https://gist.github.com/markcwebster/9bdf30655cdd5279bad13993ac87c85d -->
                </style>

NeverSSL

What?

This website is for when you try to open Facebook, Google, Amazon, etc
        on a wifi network, and nothing happens. Type "http://neverssl.com"
        into your browser's url bar, and you'll be able to log on.

How?

neverssl.com will never use SSL (also known as TLS). No
        encryption, no strong authentication, no HSTS,
        no HTTP/2.0, just plain old unencrypted HTTP and forever stuck in the dark
        ages of internet security.

Why?

Normally, that's a bad idea. You should always use SSL and secure
        encryption when possible. In fact, it's such a bad idea that most websites
        are now using https by default.

And that's great, but it also means that if you're relying on
        poorly-behaved wifi networks, it can be hard to get online.  Secure
        browsers and websites using https make it impossible for those wifi
        networks to send you to a login or payment page. Basically, those networks
        can't tap into your connection just like attackers can't. Modern browsers
        are so good that they can remember when a website supports encryption and
        even if you type in the website name, they'll use https.

And if the network never redirects you to this page, well as you can
        see, you're not missing much.

        Follow @neverssl

2022/07/26 23:58:19 [003] INFO: Copying response to client 200 OK [200]
2022/07/26 23:58:19 [003] INFO: Copied 2238 bytes to client error=<nil>
2022/07/26 23:58:21 [004] INFO: Running 3 CONNECT handlers
2022/07/26 23:58:21 [004] INFO: on 1th handler: &{2 <nil> 0xeb1280} v10.events.data.microsoft.com:443
2022/07/26 23:58:21 [004] INFO: Assuming CONNECT is TLS, mitm proxying it
2022/07/26 23:58:21 [004] INFO: Exiting on EOF

Hi @ehsandeep.
Could you please take a look and provide any feedback or merge? Thanks :)

thank you @mjkim610 for the PR.


virtio-fs: Cannot run executables in Windows guest

Describe the bug
It's not possible to run executables from virtio-fs share.
I didn't find any similar bug report, nor a hint in the documentation, except an 11 month bug report for virtiofsd with no outcome.
To Reproduce
Copy or install any executable to the share from within the guest and try to run it.
Expected behavior
Run executables from virtio-fs share.
Screenshots
See virtiofsd bug report
Host:

Disto: Debian sid
Kernel version: 6.3.2
QEMU version: 8.0
QEMU command line: -device '{"driver":"vhost-user-fs-pci","id":"fs0","chardev":"chr-vu-fs0","queue-size":1024,"tag":"games","bus":"pci.11","addr":"0x0"}' \
libvirt version: 9.3.0
virtiofsd version: 1.6.0
virtiofsd command line: /usr/libexec/virtiofsd --inode-file-handles=mandatory --sandbox=chroot --allow-direct-io --log-level=trace --fd=33 -o source=/media/smb/games,cache=always,xattr

VM:

Windows version: 10 22H2
Which driver has a problem: virtio-fs
Driver version or commit hash that was used to build the driver: 0.1-229-1 (feodora)
winfsp version: 1.9.21096

Additional context
Only error on host side is: Replying ERROR, header: OutHeader { error: -2 (No such file or directory), unique: 2729, len: 16 }
The guest asks the host for "7z1805-x64.exe.Config" after double click on "7z1805-x64.exe" which does not exists.

I did some more testing.
You cannot run executables which require elevation (e.g. 7zip installer).
When you launch them via an elevated shell it works.

Windows is somewhat strange ...
Look at the rclone mount caveat.
As a workaround you must not mount it as a drive letter, instead mount it as directory (e.g. C:\share).
This should be mentioned in the wiki, that if UAC functionality is required you must specify a directory as mount point.

Hi  @xiagao
May I ask you to try to reproduce this issue on RHEL?
Thank you in advance

Hi @xiagao
May I ask you to try to reproduce this issue on RHEL?
Thank you in advance

Sure.
I try to understand the issue described in comment 0. Hi @mriedel87 , you are trying to run some executable binary in the shared dir right? And you're a standard user(non-admin) in the windows VM, right?
Besides, : Replying ERROR, header: OutHeader { error: -2 (No such file or directory), unique: 2729, len: 16 } , this kind of error message also appears in the normal usage of shared dir, it seems not the cause of your issue.

Hi @xiagao,
yes it's a standard user and not a domain user nor the administrative account and yes I'm trying to run it in the shared dir. The error is tied to user account control mechanism. The executable has to enforce this mechanism to reproduce the error. Just try the 7zip installer or any executable which wants administrative rights.
The strange thing is, the error only occurs when the shared dir is mounted as a drive letter (e.g. X:).
Best regards,
Marc

Hi @mriedel87
The issue described in this PR https://github.com/virtio-win/kvm-guest-drivers-windows/pull/920 looks similar, what do you think?

HI @viktor-prutyanov,
yes it looks like it's the same issue.


[iOS] Ability to edit the 'Livestream' property

Is your feature request related to a problem? Please describe.
The MPNowPlayingInfoPropertyIsLiveStream that exists in the MPNowPlayingInfoCenter is not editable by this package. It's a simple boolean switch that turns the information center into a 'Livestream' variant
Describe the solution you'd like
Please expose this property to the js library so we can edit it.
Describe alternatives you've considered
There are none for this
Additional context

Following up on if this is possible, cheers

HI @oscargws this sounds like a good feature. Are you able to create a PR for it?

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

The track object now supports an isLiveStream property. As this is not something that changes within one stream -- I think this should suffice.

Closing this as this is now possible.


How to make colors of activity bar more consistent to color theme Light+?

When using color theme Light+, by default the colors of the activity bar look inconsistent, how to make it more consistent to the theme?

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Color theme issue when reloading window after change of System color scheme (#130160)
all colors are just washed away and no highlighting (#126931)

no

Our default light theme has always had the same activity bar colors. If you want to change these you can edit your user settings via:

Thanks it woks.
As a note, settings as below is more consistent to the theme in colors
"workbench.colorCustomizations": {
    "[Default Light+]": {
        "activityBar.foreground": "#000000",
        "activityBar.background": "#eeeeee"
    },
}


Request factory to facilitate unit testing

Hello,
The way we currently do endpoint testing is through the SanicTestClient, which runs a Sanic instance, opens a session, performs the test and returns the result. However, for unit tests it would be nice if we could bypass the protocol and control the instantiation of the request objects ourselves, so we have full control over the input and output of the routes we're testing. This could be done through a RequestFactory, like in Django.

I'd like to add that this allows us to capture exceptions within the unittests. This is super handy if you use pytest, as it gives you a breakdown of asserted values, colors the stack trace in case of exceptions, etc.
The problem is in the fact that the sanic server captures the exception so it could format a 500 response. Since Sanic isn't really the SUT in your average unittest, this would allow you to skip it.
Any tips on what should we keep in mind if we get down to work on a request factory?


Release SwinjectStoryboard

I described our release procedure in PR #480. You can take a similar procedure manually following commands written in the Makefile.


Use memory_order symbols consistently

This is cherry-picked from upstream and can be dropped when upstream is fully synced to include the commit.
For now this is needed for two reasons:

Consistently use the same symbol names in the whole project.
Compiling with C++20 fails.

ACK 93ee8d875e9994dc8353af5a680f9950de322194


Change the name of the repository to something that is more descriptive

What about "MovieRecommender"?

Done.


Idea: Support full-screen view

Make it easy to switch into full-screen view and back, esp. for the whole view.
Currently, the obvious way is the full-screen mode of the Youtube player, but that fullscreens only the video, not all the other elements.
If possible, disable the player's fullscreen option to avoid confusion.

Done and tested in Chrome, Safari and Firefox (all on MacOS).
Somewhat annoying: the Fullscreen API isn't available in Safari on iPhone, so you can use fullscreen there :(


Change MAC address ESP32

First and Foremost, Thanks for the amazing work. I noticed that BLEAdvertisement doesn't have the setDeviceAddress function, is there a way to add this functionality? The original bluedroid library has it. Does nimBLE support address change and if not, is there a way to get around this issue?
I need to be able to set a custom MAC address and also change it without restarting the ESP32. If i didnt need to change it without restarting, i would have used esp_base_mac_addr_set function from esp-idf api. Hopefully there is a way to add setDeviceAddress to nimBLE.

There is no C++ API for this yet (soon). but you can use the lower level calls:
NimBLEAddress newAddress("AA:BB:CC:DD:EE:FF");
int rc = ble_hs_id_set_rnd(newAddress.getNative());
assert(rc == 0);

That should work, but untested.

There is no C++ API for this yet (soon). but you can use the lower level calls:
NimBLEAddress newAddress("AA:BB:CC:DD:EE:FF");
int rc = ble_hs_id_set_rnd(newAddress.getNative());
assert(rc == 0);

That should work, but untested.

It didn't unfortunately, tested on ESP32, after setting a correct random address ex: 0xd2, 0x7b, 0x70, 0x1c, 0x0f, 0xd2, the assert doesn't fail, however the esp also doesn't change its address.

Were any BLE operation's active when you set this?

I called stopadvertising before it, and then started advertising after it.

Strange... I'll see what I can do, thanks!

Simple example where the issue pops up
/** NimBLE_Service_Data_Advertiser Demo:
 *
 *  Simple demo of advertising service data that changes every 5 seconds
 *
 *  Created: on February 7 2021
 *      Author: H2zero
 *
*/

#include <NimBLEDevice.h>

#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"

uint8_t macaddress[] = {0xd2, 0x7b, 0x70, 0x1c, 0x0f, 0xd2};

static NimBLEUUID dataUuid(SERVICE_UUID);
static NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
static uint32_t count = 0;

void setup() {
	Serial.begin(115200);
	Serial.println("Starting BLE work!");

	NimBLEDevice::init("svc data");
}

void loop() {
	pAdvertising->stop();
	macaddress[3] = count;
	int rc = ble_hs_id_set_rnd(macaddress);
	assert(rc == 0);
	pAdvertising->setServiceData(dataUuid, std::string((char*)&count, sizeof(count)));
	pAdvertising->start();

	Serial.printf("Advertising count = %d\n", count);
	count++;
	delay(1000);
}

This is taken for the service advertisement example, it should change the 3rd byte of the mac address when changing the service, the mac address never changed however, and stays the original hardware address in the esp32.
Thanks for the awesome work :smile:

Out of curiosity, what is the purpose of doing this?

The OpenHaystack project allows you to build DIY Apple Airtags, the protocol they use mandates changing the BLE address to send data (hacky solution from apple to get around the BLE advertisement max size). The address would also have to change every 15 mins as per apple spec. The current example code uses bluedroid and esp-idf directly, i was interested in trying to port it to use the Arduino IDE and nimBLE.
https://github.com/seemoo-lab/openhaystack

I see now, thanks! So for this we may need to do some tinkering as you will need a real random address with the type set correctly. This will be a little more involved but certainly doable. I'll play with this a bit and get back to you.

Hi, thanks for helping :smile:. If i may ask, what is a real random address? And what difference does it have to the current address type? With the AirTag protocol, you have to set the mac address to the first 6 bytes (minus 2 bits per the bluetooth specification) of a Public encryption key, thus if i can't control the mac address and change it at will, the Public key will be corrupt.

I have to add, i am using a single core ESP32, compiled the ESP-IDF libraries myself for it to work, maybe this is the reason? Everything else seems to work just fine.

A real random address is basically one that is generated from a specified algorithm and has an address type of 1 in most cases (there are others). The first 6 bytes of the public key being used as the mac is interesting (btw, the minus 2 bits is to set the address as random 11), nice hack Apple!
So the way NimBLE handles addresses is confusing to start with because it is little endian, for your code the first and last byte is the same anyway, but should be kept in mind. Looking at it again, It's also a proper random address anyway (first 2 bits are 11), and since the assert wasn't triggered I'm a bit puzzled that it didn't change. Perhaps a delay is required to take effect?

I confirmed in this code snippet form openhaystack firmware
void set_addr_from_key(esp_bd_addr_t addr, uint8_t *public_key) {
	addr[0] = public_key[0] | 0b11000000;
	addr[1] = public_key[1];
	addr[2] = public_key[2];
	addr[3] = public_key[3];
	addr[4] = public_key[4];
	addr[5] = public_key[5];
}

That the address is indeed set as random. The address is then set using
set_addr_from_key(rnd_addr, public_key);
esp_ble_gap_set_rand_addr(rnd_addr);

The esp_ble_gap_set_rand_addr function seems to be only in bluedroid.

I tried the following code
/** NimBLE_Service_Data_Advertiser Demo:
 *
 *  Simple demo of advertising service data that changes every 5 seconds
 *
 *  Created: on February 7 2021
 *      Author: H2zero
 *
*/

#include <NimBLEDevice.h>

#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"

uint8_t macaddress[] = {0xd2, 0x7b, 0x70, 0x1c, 0x0f, 0xd2};

static NimBLEUUID dataUuid(SERVICE_UUID);
static NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
static uint32_t count = 0;

void setup() {
	Serial.begin(115200);
	Serial.println("Starting BLE work!");

	esp_base_mac_addr_set(macaddress);

	NimBLEDevice::init("svc data");
}

void loop() {
	pAdvertising->stop();
	macaddress[3] = count;
	int rc = ble_hs_id_set_rnd(macaddress);
	assert(rc == 0);
	delay(1000);
	pAdvertising->setServiceData(dataUuid, std::string((char*)&count, sizeof(count)));
	pAdvertising->start();

	Serial.printf("Advertising count = %d\n", count);
	count++;
	delay(1000);
}

I am using
esp_base_mac_addr_set(macaddress)

function at the start just to check if the esp can change its mac address and it does indeed work and sets the esp base address.
The delay after setting the random address doesn't help. The esp is still stuck with the same address from esp_base_mac_addr_set. Maybe it needs to be told to use the random address instead of the fixed address from esp_base_mac_addr_set?

From what I can see I would suggest putting the delay after pAdvertising->stop(); as it may not have stopped before the change. That said, I think there is something else going on, since the next call to start advertising will use the address type set in NimBLEDevice it may be using the static address still when advertising starts, so an added call to NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM) may be needed in setup.

The delay on its own didn't work. However using NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM) finally made it work! Thanks for the amazing insight.
The following code works
/** NimBLE_Service_Data_Advertiser Demo:
 *
 *  Simple demo of advertising service data that changes every 5 seconds
 *
 *  Created: on February 7 2021
 *      Author: H2zero
 *
*/

#include <NimBLEDevice.h>

#define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b"

uint8_t macaddress[] = {0xd2, 0x7b, 0x70, 0x1c, 0x0f, 0xd2};

static NimBLEUUID dataUuid(SERVICE_UUID);
static NimBLEAdvertising *pAdvertising = NimBLEDevice::getAdvertising();
static uint32_t count = 0;

void setup() {
	Serial.begin(115200);
	Serial.println("Starting BLE work!");

	esp_base_mac_addr_set(macaddress);
	Serial.println("Base MAC address set");

	NimBLEDevice::init("svc data");
	Serial.println("nimBLE init done");

	pAdvertising->setServiceData(dataUuid, std::string((char*)&count, sizeof(count)));
	pAdvertising->start();
	Serial.printf("Advertising with count = %d and base mac address\n", count);
	count++;

	delay(1000);
	pAdvertising->stop();
	NimBLEDevice::setOwnAddrType(BLE_OWN_ADDR_RANDOM);
}

void loop() {
	pAdvertising->setServiceData(dataUuid, std::string((char*)&count, sizeof(count)));
	macaddress[3] = count;
	int rc = ble_hs_id_set_rnd(macaddress);
	assert(rc == 0);
	pAdvertising->start();
	Serial.printf("Advertising with count = %d, and random mac address\n", count);
	count++;

	delay(100);
	pAdvertising->stop();
}

Note: Indeed as you mentioned, NimBLE uses little endian for mac addresses as opposed to esp_base_mac_addr_set. This is confirmed as the mac address when the loop() is running is inverted with respect to the order in the array.

Great! Thanks for the update!

You cannot set a custom public mac address, only a random static, resolvable, or non-resolvable.
See this for details: https://novelbits.io/bluetooth-address-privacy-ble/

The mac address set by esp_base_mac_addr_set is public, but this API has a limitation (least significant bit of first byte must be zero)

Yes the esp_base_mac_addr_set function is the only way to set the public address as far as I know. This is the address the the NimBLE stack retrieves from the controller when it starts, which is then used as the public MAC address. I do not know of any other method to change this as it is handled by the espressif BLE controller, not NimBLE.
Out of curiosity, what are you trying to achieve and why do you need to do it this way?

I found a solution
1.esp_base_mac_addr_set lsb must be zero limit
Remove the relevant check in esp-idf/components/esp_hw_support/mac_addr.c
     if (mac[0] & 0x01) {
         ESP_LOGE(TAG, "Base MAC must be a unicast MAC");
         return ESP_ERR_INVALID_ARG;
     }

Then use esp32-arduino-lib-builder to compile and generate libesp_hw_support.a and replace ~/.arduino15/packages/esp32/hardware/esp32/2.0.3/tools/sdk/esp32/qspi_qspi/libesp_hw_support.a

No need to restart after modifying the mac address

   esp_base_mac_addr_set(newMACAddress);
   BLEDevice::stopAdvertising();
   pServer->removeService(pService, true);
   NimBLEDevice::deinit();

   NimBLEDevice::init("esp");
   pAdvertising->addServiceUUID(car_data[count][1].c_str());
   BLEDevice::startAdvertising();
   pAdvertising->start();

Well that's certainly one way to do it :smile:. I'm curious though, why do you need this to be the public address? For most uses it should not matter.


Improve documentation about usage of -c parameter

When InSight went to go validate their labels, there was some confusion about the usage of the -c flags.  They were using both.  If you are passing in user specified schemas in the confg file (i.e. the -c option), then you don't necessarily have to pass in the -m flag.
from Mike:
"
The purpose of the “-m” flag option is to validate against a specific model of the core schemas/schematrons packaged with the tool. But by passing in your own schemas/schematrons to the tool, it overrides the ones that are packaged in the tool
"
"
Regarding using -m and -c together, I think that is perfectly valid as long as you’re not passing in user-specified schemas and schematrons in the config. Actually, if you pass in both, the tool should still use the user-specified schemas/schematrons over the core packaged in the tool.
but in this case, it used the core schematron due to a typo in the config
"

Per #23, the -m flag no longer exists so this documentation update is not needed.


Missing Cover:  Star Apes 4

For this collection: https://v2.blindboxes.io/collectiondetail/0/196
Use this cover image

Fixed on test env
https://blindboxes-angular.vercel.app/collectiondetail/0/196
Waiting for domain change.


mmdet3d Docs update for registry location

Registry docs are now under Advanced Tutorials.
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Changed doc location. I was looking for the docs and had to go find them myself.
Modification
Updated the doc link for Registry in mmengine
BC-breaking (Optional)
No, no breaking changes
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

 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.

Hi @pd-michaelstanley ！We are grateful for your efforts in helping improve mmdetection3d open-source project during your personal time.
Welcome to join OpenMMLab Special Interest Group (SIG) private channel on Discord, where you can share your experiences, ideas, and build connections with like-minded peers. To join the SIG channel, simply message moderator— OpenMMLab on Discord or briefly share your open-source contributions in the #introductions channel and we will assist you. Look forward to seeing you there! Join us ：https://discord.gg/UjgXkPWNqA
If you have a WeChat account，welcome to join our community on WeChat. You can add our assistant ：openmmlabwx. Please add "mmsig + Github ID" as a remark when adding friends：）
Thank you again for your contribution❤


add step abstract method to Optimizer

Since step is the end-user API of an Optimizer, maybe it should be implemented at the top level abstract class.
The main reason is that I find this diagnostic a bit awkward:

Very small PR, feel free to close it if this kind of changes go against the code style or something.

What is ABC and why do I want it?

ABC is a marker from the builtin abc that makes a class an abstract class. The implication is that if a child is declared without the methods marked as abstractmethod, it will raise. That is, given
import abc

class AbstractParent(metaclass=abc.ABCMeta):
    @abc.abstractmethod
    def method(self): pass

class GoodChild(AbstractParent):
    def method(self):
        print("Hello")

class BadChild(AbstractParent):
    def other_method(self):
        print("Hello")

instantiating GoodChild() will work just fine but BadChild() will raise an error:
Traceback (most recent call last):
  File "/home/georg/an_example.py", line 29, in <module>
    BadChild()
TypeError: Can't instantiate abstract class BadChild with abstract method method

If ABCMeta is not added as the metaclass (or ABC which is a shorthand), then the @abstractmethod has no effect, not raising an error if it is not implemented by the child. The OpNode implementation has this issue (fine if you just want to mark it without enforcing it), by the way.

This doesn't seem worth the lines, it's internal only.


fix: gracefully handle when there is no comparator set

Context
AB#217961 AB#218156
Change proposed in this pull request
Gracefully handle when there is no comparator set.
Guidance to review
Front-end package version will require bumping
Checklist

[x] Work items have been linked (use AB#)
[x] Your code builds clean without any errors or warnings
[x] You have run all unit/integration tests and they pass
[x] Your branch has been rebased onto main
[x] You have tested by running locally

One is still able to generate user defined comparator sets for schools in this state. This leads to some odd figures when choosing to find comparators by characteristic, e.g. URN 148378:

Should this functionality be disabled completely for such schools?


Docs have broken links

Everything here: http://docs.datalad.org/projects/catalog/en/latest/catalog_schema.html

I posted PR #487 almost in parallel, but this might not have caught all instances - only README.


Useragent compatability with nodejs prerender

Current user agent is default chrome user agent.
Some configurations of web-servers require "Prerender" in user agent string to work correctly. It's possible to change user agent from chrome-prerender?

Example config https://gist.github.com/thoop/8165802

There is a set_user_agent method, it's unused for now.
Chrome supports --user-agent argument on command line to override default user-agent but it seems that it's not working together with --headless last time I checked.


Need

Need help

Hi @Bishopmarie,
Would it be possible to have a little more detail?

Hi @Bishopmarie,
Would it be possible to have a little more detail?

Good question- sorry for late reply- when they say just got to GitHub unsure how to get the program to actually transpire into an actual application
The official iOS client library for api.video
I'd like to add books to library site 😊

Closing since that seems not related to this repo.


Buttons not clickable after orientation change

Hi,
I just found a strange behaviour if I use it with more than 1 button.
When I change orientation after the Alert is shown only the first button remains clickable.
~Hons

Also seeing the same issue.
Has anyone found a workaround for this yet?

Actually, at the end I used another library... I think...
Long time ago...

Hi,
I have same problem, when i open the alert in  landscape view and rotate to portrait the button of close stop working


FancyZones Extend Below the TaskBar

Microsoft PowerToys version
0.66.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
FancyZones
Steps to reproduce
I have a multi computer setup with a KVM switch. When I'm using another computer and then come back to my PC sometimes and I'm required to redo my FancyZones or in this case I need to reboot because the zones are extending below the taskbar which is cutting off a chunk of my window.
✔ Expected Behavior
I would expect that the FancyZones would detect my resolution and adjust the size of the zones so that they do not render part of the window inaccessible.
❌ Actual Behavior
The zones go below the taskbar.
Other Software
No response

I have the same behaviour since 0.66.0

I have the same issue - the height does not match the one set up in the editor.
Examples:
In editor:

In dragging mode:

I see this on my machine on first login -- I suspect that FancyZones initializes before the taskbar has reserved workspace.
Indeed, if you exit and restart PowerToys (right-click notification icon, Exit) the issue is resolved. No need for a reboot or logout.

/dup #10903


Shared process died

I don't know how but the shared process died. See stack traces below. This results in very wired behavior for:

the currently opened rendered: all commands talking to the shared process end in endless progress (for example install extensions)
a newly opened Windows shows quite some error messages all talking about the extension host not available. However the extension host dies because the shared process is not available

IMO we should have code that detects that the shared process went down and restart it.
connect ENOENT \\.\pipe\Code - Alpha-4a1acf-shared-sock: Error: connect ENOENT \\.\pipe\Code - Alpha-4a1acf-shared-sock
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1060:14)e.onUnexpectedError @ workbench.main.js:111
workbench.main.js:88 [Plugin Host] Uncaught Exception:  ,Error: connect ENOENT \\.\pipe\Code - Alpha-4a1acf-shared-sock(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] WARNING: Promise with no error callback:3
workbench.main.js:88 [Plugin Host] Object
2workbench.main.js:88 [Plugin Host] Uncaught Exception:  ,Error: connect ENOENT \\.\pipe\Code - Alpha-4a1acf-shared-sock(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] Uncaught Exception:  Error: got message before big handler attached!(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] Error: got message before big handler attached!
    at Object.d.handle (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:11:23883)
    at process.<anonymous> (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:20:25415)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)(anonymous function) @ workbench.main.js:88
2workbench.main.js:88 [Plugin Host] Uncaught Exception:  ,Error: connect ENOENT \\.\pipe\Code - Alpha-4a1acf-shared-sock(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] Uncaught Exception:  Error: got message before big handler attached!(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] Error: got message before big handler attached!
    at Object.d.handle (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:11:23883)
    at process.<anonymous> (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:20:25415)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)(anonymous function) @ workbench.main.js:88
workbench.main.js:88 [Plugin Host] Uncaught Exception:  Error: got message before big handler attached!

Error: got message before big handler attached!
    at Object.d.handle (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:11:23883)
    at process.<anonymous> (c:\Program Files (x86)\Microsoft VS Code Alpha\resources\app\out\vs\workbench\node\pluginHostProcess.js:20:25415)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:685:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)

I am marking this as important since this happens reproducible for me when opening a second window with the latest build.

Even switching the folder in an open instance fails  now

Actually looking at this with a process monitoring tools shows the following for switching a workspace folder:

starting VSCode. Everything is ok and shared process is up and running
switching to another folder: somehow during this the shared process goes down and never comes up again. As a result VSCode can't operate on the switched workspace.

Smells a bit like https://github.com/Microsoft/vscode/issues/762 to me

(at least https://github.com/Microsoft/vscode/issues/762#issuecomment-171714102)

Did not see that again.


extHostTasks.ts is using incorrect DTO and TASK in $resolveTask implementation (results in resolved tasks being ignored)

VSCode Version:
OS Version:

Steps to Reproduce:

Write an extension that uses customExecution(s) and provides them during provideTasks. Make one of them a build task and set it as default so it is written to tasks.json.
Modify the task in tasks.json so it no longer matches what the extension will return from provideTasks. This ensures that resolveTask will be called.
Execute "configure default build task" again.

Result:
The extension's resolveTask API is called, but when the extension host attempts to create an ID in addCustomExecution (or addCustomExecution2) it fails because the extHostTask implementation of $resolveTask is not using the resolved DTO or the resolved task when calling these APIs.

This was introduced by #71027

This is intentional! the properties of a provided task are its ID. If the resolved tasks properties do not match the initial properties then they are not the same task.

The goal here isn't to modify task definition properties of an existing task, rather it is to resolve a task that hasn't been provided. This is goodness and should be allowed.


supporting flush(); add compression level as param

ostream/ofstream: add compression level as a param.
ostream/ofstream: make const default_buff_size public.
ofstream: supporting flush() so one can save in the middle of writing a file for synchronization or security purposes.

It seems that the  Travis CI build system need upgrade :grin:

Related pulls:
https://github.com/mateidavid/zstr/pull/12
https://github.com/mateidavid/zstr/pull/9


feat: Add OAUTH_ALLOWED_DOMAINS

…omains can users sign-up via OAuth
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[x] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description

Add OAUTH_ALLOWED_DOMAINS environment variable for ability to restrict from which e-mail domains can users sign-up via OAuth. By default, all e-mail domains are allowed.

Added

new environment variable "AUTH_ALLOWED_DOMAINS"

relevant pull request for docs: https://github.com/open-webui/docs/pull/310

Please target :dev branch next time, Appreciate it!


fix: memory leak in HTTP::query

This PR frees the memory that is allocated by curl_easy_escape. After fixing, the only remaining blocks are from NSS (gethostaddr), where we cannot do much about.
Before
valgrind --leak-check=full ./test/testHttp
==54763== Memcheck, a memory error detector
==54763== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==54763== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==54763== Command: ./test/testHttp
==54763==
Running 9 test cases...

*** No errors detected
==54763==
==54763== HEAP SUMMARY:
==54763==     in use at exit: 3,514 bytes in 10 blocks
==54763==   total heap usage: 14,329 allocs, 14,319 frees, 1,868,483 bytes allocated
==54763==
==54763== 52 bytes in 1 blocks are definitely lost in loss record 1 of 6
==54763==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==54763==    by 0x4F306D6: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.6.0)
==54763==    by 0x4F191F9: curl_easy_escape (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.6.0)
==54763==    by 0x4937911: influxdb::transports::HTTP::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (HTTP.cxx:136)
==54763==    by 0x14C4CA: _ZZN8influxdb4test14queryUrlFormat11test_methodEvENKUlRKT_E_clIA30_cEEDaS4_ (testHttp.cxx:122)
==54763==    by 0x14C7A8: influxdb::test::queryUrlFormat::test_method() (testHttp.cxx:125)
==54763==    by 0x14C157: influxdb::test::queryUrlFormat_invoker() (testHttp.cxx:118)
==54763==    by 0x1B8F83: boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) (function_template.hpp:117)
==54763==    by 0x17647A: boost::function0<void>::operator()() const (function_template.hpp:763)
==54763==    by 0x16B4CC: boost::detail::forward::operator()() (execution_monitor.ipp:1368)
==54763==    by 0x1B4D34: boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) (function_template.hpp:137)
==54763==    by 0x193ABE: boost::function0<int>::operator()() const (function_template.hpp:763)
==54763==
==54763== 52 bytes in 1 blocks are definitely lost in loss record 2 of 6
==54763==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==54763==    by 0x4F306D6: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.6.0)
==54763==    by 0x4F191F9: curl_easy_escape (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.6.0)
==54763==    by 0x4937911: influxdb::transports::HTTP::query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (HTTP.cxx:136)
==54763==    by 0x14C68A: _ZZN8influxdb4test14queryUrlFormat11test_methodEvENKUlRKT_E_clIA31_cEEDaS4_ (testHttp.cxx:122)
==54763==    by 0x14C8B0: influxdb::test::queryUrlFormat::test_method() (testHttp.cxx:126)
==54763==    by 0x14C157: influxdb::test::queryUrlFormat_invoker() (testHttp.cxx:118)
==54763==    by 0x1B8F83: boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) (function_template.hpp:117)
==54763==    by 0x17647A: boost::function0<void>::operator()() const (function_template.hpp:763)
==54763==    by 0x16B4CC: boost::detail::forward::operator()() (execution_monitor.ipp:1368)
==54763==    by 0x1B4D34: boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) (function_template.hpp:137)
==54763==    by 0x193ABE: boost::function0<int>::operator()() const (function_template.hpp:763)
==54763==
==54763== LEAK SUMMARY:
==54763==    definitely lost: 104 bytes in 2 blocks
==54763==    indirectly lost: 0 bytes in 0 blocks
==54763==      possibly lost: 0 bytes in 0 blocks
==54763==    still reachable: 3,410 bytes in 8 blocks
==54763==         suppressed: 0 bytes in 0 blocks
==54763== Reachable blocks (those to which a pointer was found) are not shown.
==54763== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==54763==
==54763== For lists of detected and suppressed errors, rerun with: -s
==54763== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)

After
valgrind --leak-check=full ./testHttp
==54424== Memcheck, a memory error detector
==54424== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==54424== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==54424== Command: ./testHttp
==54424==
Running 9 test cases...

*** No errors detected
==54424==
==54424== HEAP SUMMARY:
==54424==     in use at exit: 3,410 bytes in 8 blocks
==54424==   total heap usage: 14,182 allocs, 14,174 frees, 2,200,512 bytes allocated
==54424==
==54424== LEAK SUMMARY:
==54424==    definitely lost: 0 bytes in 0 blocks
==54424==    indirectly lost: 0 bytes in 0 blocks
==54424==      possibly lost: 0 bytes in 0 blocks
==54424==    still reachable: 3,410 bytes in 8 blocks
==54424==         suppressed: 0 bytes in 0 blocks
==54424== Reachable blocks (those to which a pointer was found) are not shown.
==54424== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==54424==
==54424== For lists of detected and suppressed errors, rerun with: -s
==54424== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Thanks! :+1:


Hub data script

Flowbird HUB workflow

Get data from the HUB API.
Transform the response to match the schema

Create a unique ID for each record

Upsert this data to the postgres database

Haven't created the Socrata dataset or workflow, yet before we approve the id process.

Will also need to update the schema of the existing postgres DB, not sure how we go about that.

@Charlie-Henry check out https://github.com/pyca/cryptography as an alternative to MD5

Will leave this idea on the backburner if this process is needed in the future


Enabling GPIO and blinking LEDs on Up Squared Board

One last patch in the LED/GPIO/I2C/SPI series for interesting x86 hardware on our list of supported boxes

I wonder if we should document the LEDs/colors which we make blink on different models somewhere.

Please see the thread I started on eve-tsc@ @eriknordmark


Is it possible to use apache shiro with sparkjava? If yes how?

I want to setup apache shiro for my authentication. Have got shiro to work in test. Now to plug it in to sparkjava instance seems to be the problem. I have enabled shiro using classpath shiro.ini file but that doesn't seems like it will do. Everytime after successful login, call to subject.isAuthenticated() is always false.
So please, is it possible to use apache shiro with sparkjava? have read this discussion on the sparkjava google forum about using jwt alongside. But that's not what I want.
Tried using web.xml - that is not even visible to sparkjava. So people, please contribute and let me know if it's possible or not. In case it's possible, how?
Thanks for your time.

Please check this:
https://www.allions.net/blog/post/a-simple-back-end-for-web-authentication-built-on-apache-shiro-and-spark-java

is there any documentation about how to do this with shiro 1.4.* ?

I believe there are good references over internet. Give me a day to dig
them out
On Nov 9, 2017 1:42 AM, "José Miguel Loor"<EMAIL_ADDRESS>wrote:

is there any documentation about how to do this with shiro 1.4.* ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/perwendel/spark/issues/690#issuecomment-342944651,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AITcuhPxP2_2lh1UykvJGIkTtzvkNcRFks5s0gs7gaJpZM4Kecbk
.


Font combo two: Oswald and Source Sans Pro

This is one potential option for a font pairing for conda.org. I have also added some CSS updates for the for the front page.

Hm not a fan of how chunky the header/Oswald turned out here

Hm not a fan of how chunky the header/Oswald turned out here

Probably because it's bold. Looks a little better without it


Invalid link to Discord server

Currently the https://discord.gg/tmtSqmXf link is coming back as "invalid or has expired" for me. I'm not sure if it's wrong or if the server is private/hidden perhaps. I'd like to join to ask some setup questions. Thanks!

Yeah it is expired, here another one!
https://discord.gg/yGf7ygwJ

Thanks!

@UnrealAlexander this repo will be the content examples, the main one for the plugin is in:
https://github.com/albertotrunk/ue-stable-diffusion


Check this out

https://www.virustotal.com/gui/file/ed36d1edb27574e1c9481f2968791fc624b7e8d72338b6e1b5ec4c5c5b2df6c6
Ran a check on the injector.exe

no shit

then don't use it. easy


MB-11319 Rogeruiz/mb 11319 add shipment type

Jira ticket for this change
Summary
Adding the shipment type was missed in the previous PR.
This one should add it in.
Context was used (thank you @rogeruiz for the pairing help) to retrieve the needed data.
Tests were adjusted to handle the new context.
I've also changed the context for the pickup and destination addresses to have address_type instead of addressType to keep them all consistent. @michaelvaldes-truss
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the UI locally.
make office_client_run

Terminal 3
Start the Go server locally.
make server_run

Additional steps

Access the office application
Login as a TOO
Select a move
On the move details page, select a shipment to edit.
Edit as many or as little fields as you desire and save.
Go to the move history tab and see the updates to the shipments.

Verification Steps for Author
These are to be checked by the author.

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Screenshots

Messages

:book:
:link: MB-11319

  Generated by :no_entry_sign: dangerJS against 0a3de7c833ffa6888dd2a60a4d07b5aa8f1ae5b7


uniqueOnBackend - The declaration was marked as deprecated

@Fields.string({ validate: [Validators.uniqueOnBackend] })
categoryname!: string
The warning message   uniqueOnBackend depreciated  is this a problem?
Do we have to change it to unique?

Yes its a probably a problem.
Did you l look at the docs to the alternative?

I appreciate your suggestion! Collaborative efforts are essential for improving code quality and functionality. If you come across any issues or have ideas for enhancements, feel free to contribute by submitting a pull request. Together, we can make the code even better! 😊👍

You should change to unique insted
I open pr to resolve it on the cli side


extension host terminated unexpectedly

I get the error "Extension host terminated unexpectedly" after about 1-2h of the code running, and the code's execution halts.

The code is running training of some neural networks, in Python. I have been using VS Code for over a year and never had such problem before, but it has now happened once yesterday, and Three times in a row today, completely wasting a day's work.
Clicking on "Restart extension host" does not work, as the code does not resume progress after the halt.
I have the following extensions

but I have been using them for many many months, so I doubt the problem is there.
I have also tried disabling all Extensions but the Python ones, but the issue persists.
Clicking on "Open Developer Tools" presents me with a pane where about 16 errors are reported, having to do with VS Code dark theme, padding, etc. I can post a screenshot of that, too, once it happens again.
Any help would be appreciated.

This is an issue with the Python extension, please post an issue on https://github.com/Microsoft/vscode-python


Inquire about the LOD related matters of IFC

Description 📝
Hello developer, I would like to inquire if there is a tool that can automatically grade IFC models without the need for format conversion， just like the image below, but what I need is to do the overall reduction.

Suggested solution 💡
No response
Alternative ⛕
No response
Additional context ☝
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Hey! We don't have anything like that, but maybe you can investigate this. Cheers!


libiconv: Correct cross-building

Things done

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

[ ] NixOS
[ ] OS X
[X] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ X] Fits CONTRIBUTING.md.

Select the crossDrv based on the target platform in all-packages.nix,
remove superfluous assert in libiconv
nix-shell -p nox --run "nox-review wip" fails because it tries to build libiconvReal on Linux which fails on master already

Hmm, yes, I think so. Cross-compilation is still rather hacky, unfortunately.

I've fixed the failure in CI call into find-tarballs.nix. Remaining is the failure in libiconvReal by the automatic dependency checker -- it should try to build this on a glibc system. How to proceed?

I did something similar in my pull request here: https://github.com/NixOS/nixpkgs/pull/21388

As did I https://github.com/NixOS/nixpkgs/pull/21268. My or @DavidEGrayson's PRs should be closed in lieu of this.

Closing in deference to the above mentioned PRs.

Closing in deference to the above mentioned PRs.


!.Any() regression

It seems like Marten is generating an incorrect SQL for scenarios when we want to check if a nested collection is empty, e.g.:
session.Query<MyDocument>().Where(doc => !doc.NestedCollection.Any());

will produce something like
  select d.id, d.data, d.mt_version
  from public.mt_doc_mydocument as d
  where d.data @? '$ ? (@.NestedCollection[*] == null || @.NestedCollection[*].size() == 0)'

If the collection is empty ("NestedCollection":[]), the second part will be always false which is caused by applying [*] to the collection, so
@.NestedCollection[*].size() == 0 is false, but @.NestedCollection.size() == 0 seems to work fine.
I believe the issue was introduced with this change in CollectionIsEmpty:

@AlexSikilinda Since you're already deep into that, would you mind just doing the pull request to address it?

Closed by https://github.com/JasperFx/marten/commit/c82ea9e480871610ad6bf8f65c7bb7ae8b5b56d5


Would be nice to have some ci/cd examples

Since notion-blogger is just a library it could be used in any workflow to publish blogs from notion. To demonstrate and help users we should build some examples with ci/cd or corn jobs.
We can have -

[ ] GH Action https://github.com/features/actions
[ ] Deta cron job - https://www.deta.sh/

Work already started with gh actions https://github.com/Souvikns/notion-blogger-action


While using run-multiple for parallel execution, method I.dontSeeElement gives error Cannot read properties of undefined (reading 'react')

What are you trying to achieve?
Parallel execution using run-multiple:
npx codeceptjs run-multiple --features --steps --all --grep "@smoke"
What do you get instead?
For method I.dontSeeElement Getting error:
Cannot read properties of undefined (reading 'react')
at findElements (node_modules/codeceptjs/lib/helper/Playwright.js:3456:15)
at Playwright._locate (node_modules/codeceptjs/lib/helper/Playwright.js:1260:12)
at async Playwright.dontSeeElement (node_modules/codeceptjs/lib/helper/Playwright.js:1469:15)

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

CodeceptJS version: 3.5.15
NodeJS Version: 20
Operating System: Mac OS
Playwright: 1.42.1
Configuration file:

# paste config here

@kobenguyent I am using codeceptjs-resemblehelper for visual testing.
This helper won't work with run-workers due to inability to execute in multiple threads.
Sad to know that run-multiple command is kinda obsolete :(
run-multiple was very helpful for me as it is preferred as mentioned in CodeceptJS site for mutliple browser executions.
Our paralle execution requirement is for multiple browsers. Also due to budget constraints not able to use codeceptjs-applitoolshelper

Thanks @kobenguyent I will try out this one

@kobenguyent I tried https://github.com/stracker-phil/codeceptjs-pixelmatchhelper. It works like a charm :).
1 problem is @stracker-phil is not actively developing this package at the time, as he is not using CodeceptJS in his projects.
I raised an issue which I observed after a POC:
https://github.com/stracker-phil/codeceptjs-pixelmatchhelper/issues/8
Please do let me know if you know the fix for this.
This issue was not there in codeceptjs-resemblehelper

I think that's possible but the changes should be inside the https://github.com/stracker-phil/codeceptjs-pixelmatchhelper

@kobenguyent thanks for looking into this.
If you don't mind, could you please share where did you made the changes for this?


[Bug] flink can not streaming read the deleted data

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
master
Compute Engine
flink
Minimal reproduce step

CREATE TABLE t1 (id INT PRIMARY KEY NOT ENFORCED, name STRING)
start a new flink client to streaming the table t1
in the previous flink client, INSERT INTO t1 SELECT 1,'aa' , DELETE FROM t1
the flink streaming job , it can read the INSERT data . can not read the DELETE data

What doesn't meet your expectations?
flink streaming job can read the delete data
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

1:check  this configuration changelog-producer
2:check  this configuration changelog-producer.row-deduplicate


Add openapi generation for kpack

Vendor knative types VolatileTime and Condition in the kpack repo

Codecov Report

Merging #260 into master will not change coverage.
The diff coverage is 66.07%.

@@           Coverage Diff           @@
##           master     #260   +/-   ##
=======================================
  Coverage   66.09%   66.09%
=======================================
  Files          76       76
  Lines        3014     3014
=======================================
  Hits         1992     1992
  Misses        771      771
  Partials      251      251

Impacted Files
Coverage Δ

pkg/apis/build/v1alpha1/image_types.go
50% <ø> (ø)
:arrow_up:

pkg/apis/build/v1alpha1/source_resolver_types.go
0% <ø> (ø)
:arrow_up:

pkg/apis/experimental/v1alpha1/store_types.go
0% <ø> (ø)
:arrow_up:

pkg/apis/build/v1alpha1/cluster_builder_types.go
0% <ø> (ø)
:arrow_up:

pkg/apis/build/v1alpha1/builder_types.go
0% <ø> (ø)
:arrow_up:

...apis/experimental/v1alpha1/custom_builder_types.go
0% <ø> (ø)
:arrow_up:

pkg/apis/experimental/v1alpha1/stack_types.go
0% <ø> (ø)
:arrow_up:

...erimental/v1alpha1/custom_cluster_builder_types.go
0% <ø> (ø)
:arrow_up:

.../experimental/v1alpha1/custom_builder_lifecycle.go
0% <0%> (ø)
:arrow_up:

pkg/apis/experimental/v1alpha1/buildpack_types.go
0% <0%> (ø)
:arrow_up:

... and 22 more

Continue to review full report at Codecov.

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

I did some light testing by generating a go client and listing/creating stacks, stores, builders, and cluster builders.


TypeError: Cannot read property 'childNodes' of undefined

I have a problem on some epubs: Bibi reader opens, but an error is shown: TypeError: Cannot read property 'childNodes' of undefined.
What can I do?

I apparently didn't fully understand this. So after trying some rewrite rules in htaccess I made it work on the webserwer.
I have another problem on some epubs: Bibi reader opens, but an error is shown: TypeError: Cannot read property 'childNodes' of undefined.
What can I do?

@Micu22
Can you show me the EPUB file or the URL of published it with Bibi?

Here is one that doesn't open on my system and give a: TypeError: Cannot read property 'childNodes' of undefined.
Killing yourself to live  85% of a true story.zip

Each content of this EPUB file seemes to be encrypted, probably for protection. (Adobe DRMed EPUB ???)
Bibi (and probably many other general-purpose/free-software viewers) can't open DRMed EPUB.

Okay this is probable. It isn't a problem for me, what I need opens properly, thanks.


Event handling related memory leak

If you go run minimal.go and keep resizing the window for a while, you'll see that the memory usage goes up.

(from http://github.com/visualfc/go-ui/issues/10)

I have tried what he said and see no consistent leaking behavior, the memory usage randomly increases and randomly drops, no real consistent changes, after a while it's pretty much the same number.
Is there really a clear evidence? Have you tested it thoroughly?

Is there really a clear evidence? Have you tested it thoroughly?
No; as I mentioned in README, I don't have any time to work actively on this project.
Have you? It may be restricted to a certain type event.

I have tried what he said and see no consistent leaking behavior, the virtual memory usage randomly increases and randomly drops, no real consistent changes, after a while it's pretty much the same number.

I remember checking this with minimal.go 2 years ago, and I observed the increasing memory usage. I'm not sure what has changed in go/qt5 since then, but I can't seem to reproduce it now.
I'll keep this issue open until we have a test for this. Thanks for testing it!

I guess it's somehow automatically fixed by either the updated Qt or the updated cgo then, that could only be good news :smile: .
Also, what do you mean by "a test"? How is it supposed to be created? Do you mean having valgrind available for cgo or something?

A test that programmatically creates a lot events and watches the memory usage via procfs, you wouldn't need valgrind or cgo for that.


POW DNS query (TXT record) should be non blocking

Port the following C code to use boost asio sockets:
https://gist.github.com/fffaraz/9d9170b57791c28ccda9255b48315168
This will allow the dns calls to be non blocking and integrated into the asio event loop.

Resolved by #153 and co


Network error: Failed to fetch.

Network error: Failed to fetch.
Operating system:
ubuntu16 linux-x64

Seems like your storefront cannot connect to API. Make sure that API is running and you've set the API_URI env variable that is pointing to API address.


Issues with GraphQL List field contains filter

[x] Contains filters are not showing up for List field types in the GraphiQL docs.
[x] When added as a filter to a query, a List contains filter triggers an error message.
Example: `Argument "where" has invalid value {owners_contains: ["QUERY_VALUE"]}. In field "owners.contains": Unknown field.
[x] Using a "ListAttribute_contains" filter in a query leads to an error: Failed to get entities from store: operator does not exist: text @> text

@fordN "_contains" is available for List fields, isn't it weird why "_in" is not available for List fields?


Fixed writeJsonBody not to always overwrite statusCode to 200

It was impossible to set the status code of any RestInterface functions, even through @after because it always got overwritten by writeJsonBody which defaulted to 200

Can you move the doc comment to the first overload and put a /// ditto to the second one? Otherwise LGTM.

All done. My bad.

Okay, thanks!


feat(coral): remove feature flag dashboard

Linked issue
Resolves: #2202
What kind of change does this PR introduce?

[ ] Bug fix
[ ] New feature
[x] Refactor
[ ] Docs update
[ ] CI update

Description

removes feature flag for dashboard

changes redirect after login to dashboard instead of browse-topics

[x] The pull request title follows our guidelines

[x] Tests for the changes have been added (if relevant)

[x] The latest changes from the main branch have been pulled

[x] pnpm lint has been run successfully

@programmiri I would approve and merge once the conflicts are fixed ^^

@mathieu-anderson  I solved the conflicts and checked the build. Will tag @aindriu-aiven  too, just to make sure I didn't miss anything for the redirect.


Any example of the implementation of this?

Can you please provide an example on the implementation of sass-thematic?

Any progress on this?


dnn_superres not present in the latest pypi release.

Expected behaviour
Hi, I can see by checking the changelog here:  https://github.com/opencv/opencv/wiki/ChangeLog
that the dnn_superres module was included in the contrib package in version 4.1.2. But when I install the latest <IP_ADDRESS> version from here https://pypi.org/project/opencv-contrib-python/ ,  then this module can't be imported
Error:
ImportError: cannot import name 'dnn_superres'
Actual behaviour
The import should work fine as this module should be included from version 4.1.2 and above.
Steps to reproduce
pip install opencv-contrib-python
from cv2 import dnn_superres

Solved: The changelog was for the C++ version, this module is available in 4.3 for python. Btw would be glad if skvark can give an approximate month for 4.3 launch, I read the comments that you're facing some compilation issues. All the best for that.

Closing.

As this is an open source project with no official timelines, I can't give any estimates. It depends on my free time.


[Features Request]: Improve design error of navbar, added padding in section of home page & solve image not shown in book/undefined route page

Is there an existing issue for this?

[X] I have searched the existing issues

Title
To improve design issue
Decription
1)Solve the duplicate icon & search bar of navbar in dektop view.
2)Padding/margin is not given properly to give each section like home page look distinct from each other. I  want  to improve user eperience for section of home page.
3)/book/undefined ,  this route page have issue regarding image as image is shown, only able to see image name.
4)/book/undefined , this route page need some design improvement, I want to improve that.
screenshots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Tisha-tech, please assign me these task  with label.

The issue has already been resolved.


Add CONFIG option to ign_find_package

The ign_find_package macro supports several options that are passed through to find_package (like QUIET and EXACT). Until recently (https://github.com/ignitionrobotics/ign-physics/pull/119), ignition-physics has been passing CONFIG to ign_find_package(DART), intending it as a pass-through option but is now passing it using the EXTRA_ARGS parameter. I think it would be useful to support CONFIG is as a pass-through parameter similar to QUIET and EXACT.

I have created a pr https://github.com/ignitionrobotics/ign-cmake/pull/211 for this issue here.

Closing this since #211 has been merged.


Changed domain. (test)

new domain name: https://yunrui-zhang.me

👷 Deploy Preview for yunrui-zhang processing.

Name
Link

🔨 Latest commit
ab17e36b9b04a720df3d2b291cab2bcd4f29869e

🔍 Latest deploy log
https://app.netlify.com/sites/yunrui-zhang/deploys/65252bc5df8ade000892db96


Kalymba Character Sheets

Changes / Comments
Planilha de Personagem para o RPG Kalymba para o Roll20
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[X ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


In verify-deployments, print the chain name that is failing

See https://github.com/api3dao/contracts/actions/runs/9446418630/job/26016068237
It's not possible to tell which chain is failing

Isn't the offending chain on line 28 of the Actions run i.e. core-testnet?
Error: core-testnet OwnableCallForwarder (deterministic) contract code could not be fetched

which corresponds to this line in the verify-deployments.ts script:
https://github.com/api3dao/contracts/blob/daee46a547b7ba5229ebc50240dd357878b2d4db/scripts/verify-deployments.ts#L69

You're right, I must have missed that