Page title uses pattern matching

One of the things I discovered at ElixirConf EU is that Map lookups are fairly slow in Elixir (unexpected because in Ruby hash lookups are fairly fast). I don't feel like it decreases the readability of page_title and with some benchmarking using a large Map like assigns, the Map.get conditional would often be around ~2.9 timex slower:
Name                     ips        average  deviation         median
page_title           25.01 M      0.0400 μs    ±44.55%      0.0400 μs
page_title_map        8.83 M       0.113 μs   ±161.15%       0.100 μs

Comparison:
page_title           25.01 M
page_title_map        8.83 M - 2.83x slower

Name                     ips        average  deviation         median
page_title           25.15 M      0.0398 μs    ±48.61%      0.0400 μs
page_title_map        8.62 M       0.116 μs   ±188.43%       0.100 μs

Comparison:
page_title           25.15 M
page_title_map        8.62 M - 2.92x slower

@tmock12 looks good to me! how did you setup this benchmark?

@dkarter I just threw it together quickly using Benchee (https://github.com/PragTob/benchee). Probably not the most accurate but it gives us an idea.
I wrote a function in the layout_view:
  def benchmark_page_title(assigns) do
    Benchee.run(%{
      "page_title_map" => fn -> page_title_map(assigns) end,
      "page_title"    => fn -> page_title(assigns) end
    }, time: 10)
  end

Then renamed the old Map.get function to page_title_map and put <% benchmark_page_title(assigns) %> into the layout template. This then runs each function 10 times each with the assigns for that page and outputs the averages to the logs. I just browsed around to developers, posts and channels and got an idea of the time differences.
Like I said, maybe not the best way but it was an easy way to get a large sample of real assign maps to test with.

That's cool! Very helpful. Thanks!


Instagram Bot

Instagram Bot
Fixes #351
It can perform the following task:

Give list of people :

Who don't follow you back

Optional-> Unfollow them all

Whom you don't follow back

Optional-> Follow back them all

Spamming bot :

It can spam multiple people in a single input with the custom message you provide

Type of change
Choosing one or more options from the following as per the nature of your Pull request.

[x] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[X] I have named my files and folder, according to this project's guidelines.
[X] My code follows the style guidelines of this project.
[X] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[ ] I have commented on my code, particularly in hard-to-understand areas.
[X] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[X] I have included a requirements.txt file (if external libraries are required.)
[X] My changes do not produce any warnings.
[X] I have added a working sample/screenshot of the script.

I reviewed issues mentioned by the DeepSource Analyser and corrected whichever of them improved it without affecting the functionality of my bot.
So if you guys want, you can personally give a look at the code as according to me nothing can be modified without changing the working of the bot

Please add the label hacktoberfest accepted if you wish to merge this pull request.
Also, you can link this PR to the issue Instagram Bot.

@YASHBRO uncommit the insta bot exe file and the chrome driver
add steps in the readme for exe creation
also include in the readme that chromedriver is necessary to run this script

@YASHBRO uncommit the insta bot exe file and the chrome driver
add steps in the readme for exe creation
also include in the readme that chromedriver is necessary to run this script

In the prerequisites section, I already mentioned that the webdriver is required providing the link for the chrome webdriver.
I'll add steps to convert it to .exe file, actually to simplify it, I'll add a .py file which will convert it and will remove Instagram bot.exe and the web driver 👍

@YASHBRO uncommit the insta bot exe file and the chrome driver
add steps in the readme for exe creation
also include in the readme that chromedriver is necessary to run this script

@AdityaJ7
I've put up the pull request for this. Please accept it as it contains important instructions in Readme.md for converting the .py into .exe


K8SPXC-463 add additional output of 'wsrep_recovery_verbose' log

mysqld can crash in L459 in pxc-entrypoint.sh and we will
not have the output of 'wsrep_recovery_verbose' log

PXC operator docker - perconalab/percona-xtradb-cluster-operator:PR-619-abbf43fe

Test name
Status

big-data
passed

storage
passed

recreate
passed

scaling
passed

haproxy
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

upgrade
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
passed

monitoring
passed

security-context
passed

operator-self-healing
passed

monitoring-2-0
passed

demand-backup
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

scheduled-backup
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

demand-backup-encrypted-with-tls
passed

tls-issue-cert-manager-ref
passed


[SPARK-38320][SS] Fix flatMapGroupsWithState timeout in batch with data for key

What changes were proposed in this pull request?

As described in SPARK-38320, the bug is that it is possible for (flat)MapGroupsWithState to timeout a key even if that key received data within the same batch. This is against the documented (flat)MapGroupsWithState contract. The problem is due to the StateStore.iterator not reflecting StateStore changes made after its creation - this is illustrated in the test this PR adds to StateStoreSuite.scala.
The fix is to late bind the timeoutProcessorIter timeout processing iterator in FlatMapGroupsWithStateExec to be created after the input iterator has been exhausted and the state changes applied to the StateStore.
Why are the changes needed?

The changes are needed to ensure the state timeout processing iterator for (flat)MapGroupsWithState is created after the input is processed and the changes are applied into the StateStore, otherwise it may not notice these changes (the change to the key timeout timestamp being updates as part of the input processing).
Does this PR introduce any user-facing change?

No. Bug fix.
How was this patch tested?

Added a test to StateStoreSuite.scala to illustrate the difference of state store iterator behavior across the different implementations of state stores. In particular the test illustrates the RocksDB state store iterator not reflecting state store changes made after its creation.
Added test to FlatMapGroupsWithStateSuite.scala which would fail with unexpected state timeout if the issue was not fixed.

@HeartSaVioR can you please review. Thanks

Thanks for pinging me. I'll review this today.
cc. @tdas @zsxwing @viirya @xuanyuanking for seeking another eyes of reviews

I'll keep this open for today to see further feedback. I'll merge if there is no outstanding comment in tomorrow.

Can one of the admins verify this patch?

I don't see any outstanding unresolved comment now. Thanks! Merging to master.

Thanks @alex-balikov for the contribution! I merged into master/3.2.


💡 [FEATURE] - Add "VueJs" Complete Resources

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
Vue.js, a progressive JavaScript framework for building user interfaces, requires thorough documentation to assist developers in creating reactive and component-based applications.
Explain your solution
I propose adding a dedicated section for Vue.js resources in the programming language documentation,
Contents of VueJs/readme.md:

Vue.js Basics:

Setting up the Vue.js environment
Understanding the reactivity system
Core concepts and the Vue instance

Advanced Vue.js:

Component-based architecture
State management with Vuex
Routing with Vue Router

Vue.js Tools and Libraries:

Using the Vue CLI
Popular libraries and plugins (Vuex, Vue Router, Vuetify)
Testing with Vue Test Utils and Jest

Performance and Optimization:

Optimizing Vue.js applications
Best practices for large applications

Deployment:

Deployment strategies for Vue.js applications
Using Docker with Vue.js
Continuous integration and delivery

Vue.js Projects:

Real-world applications

Any alternative approaches/features
To enhance the learning experience, include essential resources such as recommended books, YouTube channels, and websites. Additionally, providing a beginner-friendly roadmap can help new developers navigate through the resources step-by-step.
Additional Context
No response

@jfmartinz Sure, and I also want to work on Complete Resources of Ruby on Rails, JQuery, Bootstrap, ExpressJs, NextJs, Laravel and ASP.NET.
Hope you don't assign it to any others.

Sure, no one take that issue yet, I will reserved it to you. Feel free to message me if someone raised an issue about thesee languages

Please follow the fomat


[MRG] [python] setup.py custom install & sdist

#650

@guolinke I finished install and sdist parts, seems the test fails at bdist part with a strange error.

@wxchan maybe the bdist_wheel needs override as well ?

@guolinke I found the reason here https://github.com/pypa/setuptools/blob/master/setuptools/command/install.py#L64. But I am not sure if it will cause other error.

@guolinke Almost finished. There are two tests not passed yet:

how to set OpenCL_INCLUDE_DIR without -DOpenCL_INCLUDE_DIR for cmake? I use export OpenCL_INCLUDE_DIR, not working.
The wheel platform is not supported on travis, which I think it's macosx-10.7-x86_64.

@wxchan
Thanks, I think you can update the readme in python-package folder as well.
I think the  OpenCL_INCLUDE_DIR  may can be added in PATH.
Not sure about BOOST_ROOT.

still cannot find BOOST_ROOT
 CMake Error at /usr/share/cmake-3.2/Modules/FindBoost.cmake:1201 (message):
      Unable to find the requested Boost libraries.
      Unable to find the Boost header files.  Please set BOOST_ROOT to the root
      directory containing Boost or BOOST_INCLUDEDIR to the directory containing
      Boost's headers.

@huanzhang12 do you know how to set BOOST_ROOT for cmake without -DBOOST_ROOT?

Never mind, export seems working.

@wxchan Thanks very much !
BTW, can you add following for the gpu installation from pip:
Boost and OpenCL are needed: details for installation can be found in gpu-support.

@guolinke updated. btw, I didn't test pip install lightgbm --install-option=--mingw.

@wxchan
I add a small change:
when building sdist, I think we need to copy the gpu files ( compute folder ) .

@guolinke you also need to modify .travis/test.sh, python setup.py sdist --gpu will fail with unknown arguments. You can delete initialize_options function of CustomSdist.

@guolinke what is the _IS_SOURCE_PACKAGE.txt for? It's created and deleted without copy_files in between. Is there any logic wrong?

@wxchan
This makes sure the built source package have _IS_SOURCE_PACKAGE.txt .
So when installing from source package, it will not copy files. Otherwise it will always the newest cpp code then compile.

@guolinke ok, get it.

@wxchan
pypi just move to https://pypi.org/project/lightgbm/
I am not sure how to update the document in that site.


firebase_auth does not support GitHub login, but Firebase Authentication does

Feature request to support GitHub login with firebase_auth

Hey - wouldn't mind working on this

@lukepighetti
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/675. Any further collaboration will be done there.


A lot of Windows Defender firewall warnings

Then I found a large number of nhctl-daemon folders in the C:\Users\ever\AppData\Local\Temp directory, there is a nhctl.exe

This problem often occurs when using plugins
env

win10 20H2 家庭中文版
nocalhost-vscode-plugin v0.4.12

Hi,  can you leave a email or wechat for we to get more information to debug this problem?

Hi, we have resolved this problem and will release a new version to fix this problem soon :)

good :)


how to create custom services with uuid?

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[ ] I am running the latest version
[ ] I checked the documentation and found no answer
[ ] I checked to make sure that this issue has not already been filed
[ ] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow or on our Gitter channel.

Question
I'm develop app using ble to scan other device which install same app. My idea is registe an uuid for bluetooth services so i can detect it when scan. But i had seaching and read docs but didn't find any clues.Anyone help me?

Currently this library supports only central role i.e. scanning other devices.

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[ ]  I am running the latest version
[ ]  I checked the documentation and found no answer
[ ]  I checked to make sure that this issue has not already been filed
[ ]  I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow or on our Gitter channel.

Question
I'm develop app using ble to scan other device which install same app. My idea is registe an uuid for bluetooth services so i can detect it when scan. But i had seaching and read docs but didn't find any clues.Anyone help me?

Same here. Can't find anything related to creating custom service.


improve godoc

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.768%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5838

Relevant Lines:
7914

💛  - Coveralls


nwipe: 0.24 -> 0.25

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/nwipe/versions.
meta.description for nwipe is: '"Securely erase disks"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25/bin/nwipe passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/aa0e0cfab2caf6d8e1f527df4a5ba0b8
du listing: https://gist.github.com/8a23172bfd76f52bd67f198dd74ee300

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/983ec28ec2d1c2beae54fa5ff1c54f6e331fb4d3.tar.gz -p nwipe
ls -la /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25

cc @woffs for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: nwipe
Partial log (click to expand)

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

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

Success on x86_64-linux (full log)
Attempted: nwipe
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25
shrinking /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25/bin/nwipe
gzipping man pages under /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25/bin
patching script interpreter paths in /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25
checking for references to /build in /nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25...
/nix/store/03f4ykii1f19lbm7r3fa47bd1f2v3gkv-nwipe-0.25

Success on aarch64-linux (full log)
Attempted: nwipe
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25
shrinking /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25/bin/nwipe
gzipping man pages under /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25/bin
patching script interpreter paths in /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25
checking for references to /build in /nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25...
/nix/store/iihbnw52xxpd61sl5dq1ipcf3l270if5-nwipe-0.25


Document YFF site to allow others to maintain or build upon it

Closing #202 as won't do, however we will need to review and update documentation as part of Maintenance plan for Phase 3. I will create this as a separate ticket


Support Thermostat

See https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1098.

Additionally, is there any chance to display errors reported (such as valve adjustment failures etc.) within HomeKit? deConz recently added the necessary clusters, at least for the eurotronics thermostat.

I have now tested with the Eurotronic thermostat. Adjusting the setpoint and showing the current temperature works. For the setpoint however, I had to insert
targetTemperature = Math.round(targetTemperature / 0.5) * 0.5

at line 2152 in HueSensor.js, because even though the HomeKit-Apps only show 0.5 degree steps, at least the slider in Apple's Home app tends to return values in between.
The heating mode does not seem to be supported by this device at all. The only way to turn it off (e.g. when windows are opened) is by lowering the temperature. The minimum in the thermostat is 5°C, but the minimum in HomeKit is 10°C...
However, I would not map "Off" -> 5°C, because there is no way to reverse it (e.g. switching from "Off" to "Heat", it's not clear what the temperature should be).
Mapping "Off" to a valve opening of 0% could be an alternative, but I also wouldn't recommend it, as this provides no anti-freeze protection (and is currently not exported through the REST API).

I have now tested with the Eurotronic thermostat.  Adjusting the setpoint and showing the current temperature works.

So the Home app show the tiles as intended (as for the Z-Wave thermostats)?

but I call round(input*2)/2 to round to 0.5 degrees (values in between tend to be rejected by the thermostat)
even though the HomeKit-Apps only show 0.5 degree steps, at least the slider in Apple's Home app tends to return values in between.

@tkintscher the best solution for this would be to set the minStep property of the TargetTemperature characteristic to 0.5.  To be on the safe side, we would also need to round the value retrieved from deCONZ to 0.5°C (instead of to 0.1°C).

Will include that in next version.
Did you try to control the thermostat from Eve?  Does it show the temperature history?

Will include that in next version.

Many thanks for your effort and this great tool!

Did you try to control the thermostat from Eve? Does it show the temperature history?

Yes, the target temperature can be controlled from the Eve App as well.
Eve also keeps a history of the local (measured) temperature (not much yet, because I reset it after some experimenting):

That triangle doesn't show any history, there's an empty plot with no measurements:

Here is the file, the setTemp entries exist: history_00158D000192D18D.json
Btw, what is "Mode" -- is it the "CurrentHeatingCoolingState" characteristic? I'm confused because the options for my other (Z-Wave, not using homebridge) thermostat are off-heat-cool-on. How did you hide the heat/cool options?

I guess you're refering to that comment.
The three dots lead to a larger version of the graph. There's a "compare" toggle switch, which adds another line. It seems to be the same graph but shifted in time (it is not the setpoint, because that was set to 20C for the last hours). Actually the "Compare" option is the same as for all other measurements (like the Xiaomi multisensor):

Thanks for the explanation about the characteristics. I've always had trouble finding out which properties are supported by which device classes.
If I find some time later this week, I can play around with the options and see what works best here.

Supported in v0.11.4, but needs https://github.com/dresden-elektronik/deconz-rest-plugin/pull/1230.

Found a bug in thermostat history, fixed in https://github.com/ebaauw/homebridge-hue/commit/a45beee0abc61a5236e591eeffc401caf428e55a, which will be included in the next version.
Closing this for now.  Until the schedule for the Eve Thermo has been reverse engineered, there's nothing I can do.


Serializing vector

at this moment i'm working on a little project and i'm trying to serialize a vector
the current code is:
std::string JsonResponsePacketSerializer::serializeResponse(HighscoreResponse response)
{
json j;
j["status"] = response.status;
j["highscores"] = {};
for (auto iter = response.highscores.begin(); iter != response.highscores.end(); ++iter)
{
j["highscores"].push_back(*iter);
}
return j.dump();

}
as you can see in the struct the "highscores" is a vector
but i'm gettting all kind of erros such as:

could not find to_json() method in T's namespace
2)forcing MSVC stacktrace to show which T we're talking about.

thanks for your help 👍

Please have a look at this section of the README: https://github.com/nlohmann/json/blob/develop/README.md#arbitrary-types-conversions

so you say i just need to do like:
json j;
j["highscores"] = response.highscores;
?

You need to provide a to_json function.

std::string JsonResponsePacketSerializer::serializeResponse(HighscoreResponse response)
{
json j = json{ { "status", response.status },{ "highscores", response.highscores }};
return j.dump();
}
still does not work

Can you provide the code of your to_json function?

void to_json(json& j, const HighscoreResponse& response)
{
j = json{ { "status", response.status },{ "highscores", response.highscores }};
}
this is my to_json function but i need to know just hot to serialize the vector because from what i understood you can only convert normal types and not user_defined

Is the to_json function in the same namespace than HighscoreResponse?
If so, it means that some member of HighscoreResponse is a user defined type which also need a to_json function

i just need to know how do you convert a std::vector to json

Given std::vector<Foo>, then it is sufficient to provide a to_json function for type Foo - the library then knows how to process a vector of Foo.

Do you need further assistance on this?


error with the funding.yml

When I click sponsor I saw this.
I am curious whether you might provide more support based on sponsorship tiers. Hence I clicked on it

I'm still in the middle of getting the funding stuff configured, they don't tell you at the start what the process is going to involve.
Yes I can discuss additional support, my personal email is first name dot last name at Gmail.


Rename buildpack to include Paketo

The integration tests in this buildpack does not yet read the name from buildpack.toml. You'll have to change those as well


Low Performance on Tall Images

Steps to reproduce

Find series with tall image files
Load chapter with those image files

Expected behavior
The pages should load as usual, and continue scrolling along like normal.
Actual behavior
The entire app slows down and becomes almost unresponsive, and scrolling becomes extremely choppy, with update speed of less than 1hz
Crash logs
No response
Tachiyomi version
1.7.0
Android version
Android 9
Device
Samsung Galaxy S8
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.7.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

This is a known bug for main Tachi, I will leave it to them.


CMAKE_INSTALL_PREFIX default is /usr/local on unix

In order to build with a custom CMAKE_INSTALL_PREFIX, the line set (CMAKE_INSTALL_PREFIX "") must be removed.
CMake "set" will overwrite anything specified on the command line with cmake -DCMAKE_INSTALL_PREFIX.

 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.

Hey Mark, I'm a Mac OS and Linux user, so this pull request probably needs to be checked on a Windows machine.
Also, I just located a boolean, CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT that might be useful here. It's an "internal CMake variable," but appears to be fairly widely used.

This looks good.  BTW, what's your GitHub account.  Since you've created this issue with your non-GitHub account, it's showing the CLA as unsigned.  And I believe you signed the CLA with your GItHub account.

My github account is https://github.com/davidhubbard.

Weird, because it's still showing up as not signed.  On the next submission, can you just sign the CLA again if it asks.  For now, I've committed this : bb8de5790dcfd9c76bca8737e00f0aab8cdb719a

Will do. I think I've figured out how I'm confusing the CLA assistant on these and I shouldn't have any troubles going forward.


Allow overriding temporary directory with $TMPDIR env var

Currently, the images and SOCI artifacts are stored in /tmp during processing, which is a very sensible default.
We run this in our CI environment where we have a 1GiB tmpfs volume at /tmp, so on some images we get this in our build logs.
{"level":"error","error":"errors encountered while building soci layers; write /tmp/tmp.3943925700: no space left on device; write /tmp/tmp.1788043098: no space left on device","RegistryURL":"<accountid>.dkr.ecr.<region>.amazonaws.com","ImageDigest":"<digest>","time":"2024-09-30T03:22:06Z","message":"SOCI index build error"}

I'd love to be able to override the temporary directory used by this program using the built-in $TMPDIR env var recognised by the Go stdlib, for some specific builds.
References
https://pkg.go.dev/os#MkdirTemp

If dir is the empty string, MkdirTemp uses the default directory for temporary files, as returned by TempDir.

https://pkg.go.dev/os#TempDir

On Unix systems, it returns $TMPDIR if non-empty, else /tmp.

Thanks!


Inquiry about some mixtures on DnR

Hi, @darius522 congrats on the repo and corpus, is really useful!
We got a lil question regarding some mixtures of the corpus. We were arbitrarily listening to some test samples, and we found that in some of them when they have music as the background, it's not only instrumented but they also have singing.
Hence, the mixture has, say, 2 'speeches' one from the speech.wav utterance and another one contained in the music.wav track.
Such mixtures are, for instance, 3030 - 11623 - 1882 - 9963.
We intend to experiment with DnR on two separate tasks: speech separation and source separation.
One doubt we have is, having the types of mixtures described above, where an extra kind of 'speech' is present in the mixture (e.g., the one belonging to the background music), isn't this a potential issue for speech separation algorithms?
Likewise, is this a potential issue at all for source separation algos?
We were just curious about this, hope you can provide us with a guide to a better understanding. Thanks in advance! :)

Hi @jvel07,
Thank you for your interest in this work!
This is actually expected. In the context of source separation (or at least how we formulated it in the cocktail fork task) vocals and speech are two distinct components, one belonging to music and the other to speech. I believe that in general, it is a fair distinction to make (otherwise we may offend some vocalists out there!). More practically, imagine a signal in which two people are chatting while some music (with vocals) is playing in the background. Your task is to enhance the chat. Would you want the vocals to be part of it ? I’d say probably not. While our formulation is much more practical (i.e. music with vocals is ubiquitous, and assuming only instrumental music in a real-world setting would be foolish), I agree that it makes the task much more difficult (and may “jeopardize” the predictions quality).
That being said, vocals in music are usually processed in some unique ways that make them sonically differ from regular speech (i.e. creative effects, compression, reverb, etc.), you could therefore hope that your model would pick up on these cues to make the distinction. In the context of our work and based on some informal listening test, we observed that behavior, for example (while in other cases it failed poorly!).
So in short, yes, it may makes the task more difficult in your case, but for the benefit of (1) approaching it from a more realistic angle, (2) potentially getting some interesting insights as for your model behavior towards vocals and speech.
Hope that helps and please do keep me updated about your findings!

@jvel07  That sounds like a bit of a corner case to me. But once again, it is all about the distribution of your training data, at the end. If your music class data contains many instances of say, A Capella / non-processed musical excerpts, your model may become quite efficient at distinguishing between singing vs. spoken signals. Although, this seems like a very difficult task to generalize upon. I believe that FMA (the music building block used in DnR) does contain A Capella songs, so it may be that a model trained on DnR could already somehow make that distinction.


Fix tests modifying DEFAULT_UNITS constant

Addresses #981
Take a copy of DEFAULT_UNITS and put it back in place during the test teardown step so that side-effects are contained to within the test class.
This is a quick workaround to fix #981. Ideally, tests should not be modifying constants. For example, by modifying the called code to be able to pass it a different units dictionary other than the default, or by using unittest.mock.
Testing:

[x] Ran tests and they passed OK
[x] Ran tests in randomised order multiple times and they passed OK

@tjtg There is currently a PR open #977 that deals with this issue, which was part of a wider design problem.  You should be able to run your tests without failures off that branch.  So if you can wait a day or two for that to be merged, this fix will become obselete.

OK, I'll close this PR and wait for the other PR #977 to be merged.
The issue #981 can also be closed when #977 is merged.


HAL driver modules linked as whole archive

Several HAL driver modules are marked alwayslink, also see:
https://github.com/google/iree/blob/ace19e886efe3702bfe7b17185a5daaa20808e82/iree/hal/driver_registry.h#L37-L44
If the desired the drivers can be explicitly registered, which would affect the following targets:

[ ] iree::hal::llvmjit::llvmjit_driver_module
CMake and Bazel
[ ] iree::hal::vmla::vmla_driver_module
CMake and Bazel
[ ] iree/hal/vulkan/vulkan_driver_module
CMake and Bazel
[ ] iree/hal/dawn/dawn_driver_module
Only exists in the Bazel world.

Seems that the alwayslink flags can be dropped in the CMake build without an impact on the test coverage, but this does not holds for Bazel, see #1629.

@benvanik You commited the comment cited above. Is it desirable to explicitly register the driver modules?

Fixed as part of #3874!


embed: filter layersdata to only provide layerstyle

we're exposing way too much info in the layersdata var of the embed view, thus we should filter that in order to provide only what we need, in our case https://github.com/CartoDB/cartodb/pull/11121/files#diff-5b973e80628d9f6ee2347253d83d3e2a
      attrs.cartocss = d.options.tile_style;
    }
    if (d.options.style_properties) {
      attrs.style = d.options.style_properties;
    }

ideally, we'd have a layerstyle with cartocss, style, and id
@juanignaciosl how feasible would it be to have this for https://github.com/CartoDB/cartodb/pull/11121 ?
thanks!

This shouldn't be a problem. Assigning @xavijam for prioritization. cc @CartoDB/builder-backend

after https://github.com/CartoDB/cartodb/pull/11121/commits/f13e2749eb9d4fd11acbc5a9aadf61110cae09d8 this doesn't seem to be needed anymore, closing then!

As this has been reopened, does it need further work?

yeah, if I'm not wrong we'd only need the cartocss and id in the layerStyle https://github.com/CartoDB/cartodb/pull/11121/files#diff-5b973e80628d9f6ee2347253d83d3e2a so the rest of attributes can be discarded

like a charm!

Closing since it is has been done and merged in the proper branch.


embark-action interprets +vertico/find-file-in wrongly

What did you expect to happen?
I really don't know where is the suitable place to report this one, since you used both and I think it is better to report it here.
I use vertico with embark. When using doom/find-file-in-private-config (key binding SPC f p) and +default/find-file-under-here (key binding SPC f F), if I run embark-act on one of the candidates, e.g. running delete-file, the action would apply on the wrong file. It only applies on the file name (or I can say the file name string) itself and doesn't include the full path, which will fail on the action without any warning.
What actually happened?
I would expect the embark-act on the file rather than on the file name string.
Describe your attempts to resolve the issue
The problem is from +vertico/find-file-in, it doesn't return the full path.
Steps to reproduce

Build a test hierarchy., such as ~/test/test.txt.
Open scratch buffer, enter (+vertico/find-file-in "~/test/"). Eval the line, it will prompt for input
Run embark-act on candidate test.txt. You will see from the prompt, the action's orig-target is just the file string "test.txt" itself.
Choose a action, such as delete-file on it, the file will not get deleted.

System Information
https://pastebin.com/ypw5dGT5

Good catch! I can confirm that this is an issue. I think that the problem here is the embark command isn't inheriting the default-directory from within the defined function, but I'm not sure. I'm still working on reproducing this in emacs -Q.

Yes this is the issue. It works if the function is called from within a larger let binding, but embark seems to inherit the scope of the outer function, not any inner function called inside a let. I'm not sure if this is a problem that should be fixed upstream or here, I'll ask the embark maintainers about it.


Trendz widgets on ThingsBoard PE are not working on the Mobile App

I have a ThingsBoard PE server, and I use it along with Trendz Analytics as well. There are some widgets on my ThingsBoard PE which use Trendz visualizations but when I log in on the Mobile App, I cannot see those visualizations.
It just says "Widget Error: TypeError: jwtToken.replaceAll is not a function"
How do I go about solving this issue? Any help would be great, thanks!

HI @sagarbp,
I'll close it as a lot of time has passed, but if it's still relevant for you feel free to reopen.


Timesheet - 13/04/2021 - Usman Khalid

Task 1

Created Dev ops channel on discord.
Members that have access to channel are thenewboston, Discord Manager, JustinKim, Truyen Hoang, Muhammad Anas Azam Bhatti, Justin Ndwiga, and Dmitry Mugtasimov.

Proof of Work

Can be checked by authorized members.

Time Spent
1 hours

Task 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Proof of Work

http://example.com/

Time Spent
5 hours

Total Time Spent
8.5 hours
Account Number
86cbaa1e021cc7d21ceedefc493051004c5ffffbc09a4ecd25e3a8dc49975d3e

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

@Rajputusman please take timesheets seriously

Approved

Approved


compound_filtering.feature link is broken

in https://pagefind.app/docs/js-api-filtering/ page

Ah, great find! I'll update that link. ❤


one ebin to rule them all

this is the pr that fixes the issue with project app structure needing to be copied alongside the test artifacts in order to make priv and src dirs discoverable. it does so by building in the ebin dirs of whatever apps they belong to.
of note, this adds ct and eunit profiles to the respective providers to allow for compiling with ct and eunit specific options without stepping all over the test profile
also of note, this addresses #158 but doesn't implement any of the solutions in that issue (except the third, the non-solution)

this needs to go in before #139 and that will need to be rebased before it can be merged, or #139 can go in first and i can rebase this with the fixes added

closing this as #201 supersedes it


[Question] How can I extract the ASCII string for a DxfObject (Group code 1000)

How can I extract the ASCII string for a DxfObject (Group code 1000)?
I have a dxf file containing a number of Traces, and am able to extract and manipulate these fine, but each Trace also has some extra meta-data stored in the objects ASCII string (Dxf group code: 1000).
If I open the dxf file with a text editor I can see each trace, and under each trace I can see the contents of the ASCII string (Group code 1000), but I an unable to figure out how to get that ASCII text from within the netDxf library.
Is there a way to do this with netDxf, or do I need to implement it myself?

Found it.
I have failed to get the XDataRecord from the XDataDictionary.
Thanks for the awesome library, it is so simple to use!


fbdev: adding support for monochrome framebuffer

Currently, fbdev driver does not support monochrome framebuffers.
This pull request addresses this issue. I've tested on linux with ssd1307 frame buffer driver (https://github.com/torvalds/linux/blob/master/drivers/video/fbdev/ssd1307fb.c) and it worked perfectly.

Additionally I've added a 'fbdev_exit' function in order to allow a clean exit, whenever it's needed.

Well done! Thank you very much!


Fix unit tests

Coverage increased (+2.7%) to 99.454% when pulling 6e2e07458c1f25de6e4c5e1febb32a4211b465f6 on mng/fix-broken-tests into d9f9803396cb9c01902edf29825ff155336fa976 on 1.4.x.


Revert "Manifest Update fore Piriform.Speccy v1.32"

Duplicate - Reverts microsoft/winget-pkgs#14266
Updated available #14671
Microsoft Reviewers: Open in CodeFlow

The information in #14671 is wrong.


Fixes #314 "Other" IR devices which are already off will now not toggle state when turned off

As per https://github.com/OpenWonderLabs/homebridge-switchbot/issues/314
This is a fix so that when an "Other" IR device is already off, telling it to turn off again will simply re-transmit the "off" command instead of toggling it to an "on" command.

@donavanbecker Hi! Would it be possible to merge this into the beta branch?

Sorry haven't been able to look over this, I did merge so should push out a new beta.

Thanks for merging! I can confirm that right now on the current beta, the reversed signal is no longer sent at the wrong time, at least.

After looking this over, this might have to be reverted. This was put into place so that commends weren't sent twice.

Ooh gotcha. I wasn't sure what the desired behaviour was. I'll send another PR which adds the appropriate if (this.Active) and if (!this.Active) checks to avoid repeated signals. (Within the next day - it's late here! :)
If I am reading the code right, reverting this PR entirely won't have the correct result, because this segment of this PR does fix the issue of ActiveSet toggling the state of an accessory instead of reading the incoming value parameter.


predict

How do you make a direct prediction?

Hi @lucky-asia, you can use image_predictor_2d.ipynb as an example: https://github.com/MedicineToken/Medical-SAM2/pull/38

Hi @rabiaedayilmaz, there is no  image_predictor_2d.ipynb file. Did you forget to upload this file?

Hi @dragonlee258079, actually it is there in that PR#38?
https://github.com/MedicineToken/Medical-SAM2/blob/c90a7a7bb182d2382afe4fc9afcfc87ad80643cf/notebooks/image_predictor_2d.ipynb

thank you

@rabiaedayilmaz, Thank you

How do you make a 3d direct prediction?I encountered some problems when I was reasoning.The program error shows that I made an error when calling image _ encoder, memory _ attention and memory _ encoder. The network I loaded is missing these three parameters.


Nodemanagers: Load more option working intermittently in case of check/uncheck of the checkbox

https://jam.getfiddler.com/sessions/8292e76e-8827-41a6-968e-07f13e9e3c05?t=wygw%2B0R6JadNvcbgJS2ToOJiQVqx67gpSZRKtcm%2BV6Bu55KCJ4imQZaOB%2FE%2BnjwF


gpu

#3764
[Enter feedback here]

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

ID: e9d1fa38-809e-5525-1241-d2dca23c705d
Version Independent ID: a3b2385f-5cf3-7ac6-ebce-d71dc39c83d9
Content: Build an OpenGL ES application on Android and iOS
Content Source: docs/cross-platform/build-an-opengl-es-application-on-android-and-ios.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@jereytucker
I'm sorry, I don't see any actionable issue here. If you'd like to elaborate on what's incorrect or missing from the documentation, we can revisit this issue.


New-TfsWorkItem not returning created work-item

Using version 2.3.1 New-TfsWorkItem creates a work-item, but is not returning a WorkItem object.  Return is null.

Thank you, I did not understand the Passthru parameter, but I've tested and can confirm it works as designed.


readme fix

hi
thanks for your work.
change the description for
Tapp Network - Laravel Auditing : Resource locking when other user begins editing a resource.
Shuvro Roy - Spatie Laravel Health : Resource locking when other user begins editing a resource.

Ah, thanks for reminding


Create instances bulk method

Hello, it would be nice to have a method to create multiple instances at the same time.
Im not sure if this already exists but i wasnt able to find it

@m-strzelczyk Is there a nice way to do this with the current API surface?

I think there are 2 ways you can approach this:

Create a Managed Instance Group (MIG) and set its number of replicas to whatever you want. You it's easy to manage and quite flexible way to create/destroy large numbers of VMs.
Just use a for-loop to send multiple instance creation requests. You don't have to wait for one request to be completed before sending the next one. Just collect all the operation IDs for your request and after the loop make sure they are all finished.

@Emilianocm23 do you have any specific requirements that wouldn't be met with one of the approaches I have mentioned?

I think there are 2 ways you can approach this:

Create a Managed Instance Group (MIG) and set its number of replicas to whatever you want. You it's easy to manage and quite flexible way to create/destroy large numbers of VMs.
Just use a for-loop to send multiple instance creation requests. You don't have to wait for one request to be completed before sending the next one. Just collect all the operation IDs for your request and after the loop make sure they are all finished.

@Emilianocm23 do you have any specific requirements that wouldn't be met with one of the approaches I have mentioned?

Thanks for your reply @m-strzelczyk !
I was using the second option, i did a for loop but i need to collect all the instances IPs, so i would need to wait for the response of each instance? or how do i make it faster (please if possible some example code)?

I wrote this simple code sample, it won't work as is, but should give you a proper idea of what I had in my mind. Yes, in the end you'll need to wait for each instance to be created, but they will be created in parallel, so creating 10 instances should take more or less the same time as creating 1 instance.
import time

import googleapiclient.discovery

PROJECT = 'project-name'
ZONE = 'your-zone'

def create_instance(compute, project, zone, name, *whateverelse) -> dict:
    """
    This is your function creating a new instance, up to you what you
    put here, just make sure to return the operation ID.
    """
    # operation_id = compute.instances().insert(
    #     project=project,
    #     zone=zone,
    #     body=config).execute()
    # return operation_id

def wait_for_operation(compute, project, zone, operation):
    """
    Wait until the operation is finished or failed.
    """
    while True:
        result = compute.zoneOperations().get(
            project=project,
            zone=zone,
            operation=operation).execute()

        if result['status'] == 'DONE':
            if 'error' in result:
                raise Exception(result['error'])
            return result

        time.sleep(1)

def create_bulk_instances(number_of_instances):
    """
    Create multiple instances in parallel, return their IP addresses.
    """
    compute = googleapiclient.discovery.build('compute', 'v1')
    operations = []
    instance_names = []
    for i in range(number_of_instances):
        operations.append(create_instance(compute, PROJECT, ZONE, f"instance-{i}"))
        instance_names.append(f"instance-{i}")

    for operation in operations:
        wait_for_operation(compute, PROJECT, ZONE, operation['name'])

    ips = {}

    for instance_name in instance_names:
        instance = compute.instances.get(project=PROJECT, zone=ZONE, instance=instance_name).execute()
        # Internal IP:
        # ips[instance['name']] = instance['networkInterfaces'][0]['networkIP']
        # External IP:
        ips[instance['name']] = instance['networkInterfaces'][0]['accessConfigs'][0]['natIP']

    return ips

Note: The way you acquire the IP address of the instance might be different depending on your setup. I assumed the most default one.

Thank you it works perfectly!
Its a perfect way of doing it


Reconsider to have a number for each layer

I know that you discuss these already but I think is a nice idea to have the numbers in layer's name, specially that you have now many of them

After a while using the project, we did not found cases where new layer additions can break the numeration, so let's vote again for that. My suggestion is to use tens for the layer group and alphabet for the layer itself, according haiticss triangle:

0x config
1x base
2x abstractions
3x content
9x overrides

The result should look like:

0a_settings
0b_foundations
0c_tools
1a_generic
1b_elements
1c_material
2a_objects
2b_animations
2c_color-schemes
9a_scopes
9z_utilities

Please, use thumb up & down reactions to vote this, or feel free to add your proposal.
Knock knock @area73 @judabelli @arnau-pujol @d-asensio @nucliweb

I find it messy, I prefer to keep it as is now. It's an important choice, so we can not change it easily (a user already using haiticss will be forced to change imports in it's project), besides that, I think it's better to document it well than prefixing folders to get the desired sorting. And even more, we're assuming an alphabetical sorting but what if the consumer use date sorting for it's project.
To not to prefix folders it's more flexible 😄
But just my opinion!

In my opinion, the numbers/letters combination is a little bit strange and chaotic.
The numbers used to be quite well, but I think that are not actually needed. Taking a look at [this image](I agree with @d-asensio) the layers order is crystal-clear and after a while working with them you can remember the order (or check it again).
My vote is the same as @d-asensio: Keep the layers name with no prefix.

I think that prefixes could be useful. It's true that people can check the inverted triangle image wherever they want to check the order, but why not make it clear directly? We can see the order directly in the code editor, and I that would be more friendly for HaitiCSS users. So why not?
That's my opinion.


Integrate into SageMath

If I understand correctly, integrating this solution into SageMath would require ESPRESSO being available in it, is that right?
Regarding that, I see that you have already asked on the SageMath google groups some time ago about how that'd work (see https://groups.google.com/g/sage-devel/c/fECjDlKAroU/m/y89rkByzBAAJ).
What other prerequisites would there be, to upstream your implementation to SageMath?

Actually, in the paper you mention that you used ESPRESSO, but I cannot find any hint on this in the provided source code in this repository?

Hi Fredrick,
Thanks for your question.
Regarding upstreaming our S-box tool to SageMath, yes, we only need the ESPRESSO being available in SageMath.
Concerning your second question, we have actually provided a dedicated repository for our S-box tool here:
https://github.com/hadipourh/sboxanalyzer
Note that the repository of our S-box tool is empty now since I am currently extending the tool in terms of application and providing brief documentation for its usage. I try my best to upload the source codes by July 22, 2022, at the latest. We have provided a Python (SageMath) interface to employ ESPRESSO for extracting and simplifying the MILP/SMT/SAT constraints for encoding the DDT/LAT of S-boxes. I am also extending the tool for encoding the division property and monomial prediction table of S-boxes as well. I will notify you soon after uploading the codes by the way.
The original source code of ESPRESSO comes from the [University of California, Berkeley (https://embedded.eecs.berkeley.edu/pubs/downloads/espresso/index.htm). However this original version is written in old C and thus not compatible with new compilers. Fortunately, an updated version of ESPRESSO is rehosted here which is compatible with new compilers. I also used the updated version in my tool. Another good news is that this package is now available on the Arch User Repository which makes it easier to use for Arch-based Linux users.
I am interested to integrate this tool into the SageMath if possible. The first and actually the main challenge is integrating the ESPRESSO logic minimization tool into the SageMath. As far as I know, you have already contributed to cryptographic modules of SageMath and I appreciate it if you let me know your opinion concerning this aim.

Alright, then this issue should be opened in the sboxanalyzer repository, I think. I'll close this one.
Regarding adding ESPRESSO to sage: lets see if we get an answer in the google groups thread. I have not yet worked on including new packages into sage.


[6.0] Merge alternate symbol declarations across symbol graphs

Explanation: This fixes a bug where alternate symbol declarations were only ever showing as being available only on one platform, regardless of the symbol being supported across different platforms.
Scope: Alternate symbol declarations, specifically their availability.
Issue: rdar://128573538
Risk: Low.
Testing: Validated by rendering symbol graphs locally and via unit testing.
Reviewer: @QuietMisdreavus
Original PR: #933

@swift-ci Please test


chore(requirements): update Django REST Framework to 3.4.0

http://www.django-rest-framework.org/topics/3.4-announcement/
Not making use of any of the new functionalities in this change. Those can come later
Requires deis/workflow-e2e#272

[Current coverage][cc-pull] is 85.67%

Merging [#892][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.03%

@@             master       #892   diff @@
==========================================
  Files            30         30
  Lines          3008       3008
  Methods           0          0
  Messages          0          0
  Branches        502        502
==========================================
- Hits           2578       2577     -1
- Misses          287        288     +1
  Partials        143        143

Powered by Codecov. Last updated by [4053e51...e319c63][cc-compare]
[cc-base-branch]: https://codecov.io/gh/deis/controller/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/deis/controller/compare/4053e51bccf242002f50bd2df16f502653cbcef0...e319c6393ef6be12d7c04bce10a74999699e9a6a?src=pr
[cc-pull]: https://codecov.io/gh/deis/controller/pull/892?src=pr

e2e actually passed but one of the phases after the actual tests is what failed. Merging


Fix GCP cloud vulnerabilities

https://support.synthesized.io/a/tickets/137
https://support.synthesized.io/a/tickets/140

Summary
The synthesized-sdk-service in GKE gave excessive authority when defining Service Account named "synthesized-sdk-service-1-serviceaccount-2580". Besides, this Service Account is mounted in a deployment named "synthesized-sdk-service-worker", witch makes it possible for attackers to raise rights to administrators.
Detailed Analysis
I deployed synthesized-sdk-service in the marketplace of Google's GKE cluster.
The clusterrole named "synthesized-sdk-service-1:serviceAccount-r0" defines the "create" verb of "pods" and the "create" verb of "pods/exec". And this clusterrole is bound to the Service Account named "synthesized-sdk-service-1-serviceaccount-2580".
Attacking Strategy
If a malicious user controls a specific worker node which has the deployment mentioned above , or steals the Service Account token mentioned above. He/She can raise permissions to administrator level and control the whole cluster.
For example,
With the "create" verb of "pods", attacker can elevate privileges by creating a pod to mount and steal any Service Account he/she want.
Mitigation Discussion
Developer could use the rolebinding instead of the clusterrolebinding to restrict permissions to namespace.
Developer could delete the "create" verb of "pod" and "pod/exec" defined in clusterrole.
A few questions
Is it a real issue in synthesized-sdk-service?
If it's a real issue, can synthesized-sdk-service mitigate the risks following my suggestions discussed in the "mitigation discussion"?
If it's a real issue, does synthesized-sdk-service plan to fix this issue?

Summary
The synthesized-sdk-notebook-byol in GKE gave excessive authority when defining Service Account named "synthesized-sdk-notebook-byol-serviceaccount-dc07". Besides, this Service Account is mounted in a deployment named "synthesized-sdk-notebook-byol-1-sdk", witch makes it possible for attackers to raise rights to administrators.
Detailed Analysis
1. I deployed synthesized-sdk-notebook-byol in the marketplace of Google's GKE cluster.
2. The clusterrole named "synthesized-sdk-notebook-byol-1:serviceAccount-r0" defines the "create" verb of "Pod/exec". And this clusterrole is bound to the Service Account named "synthesized-sdk-notebook-byol-serviceaccount-dc07".

Attacking Strategy
If a malicious user controls a specific worker node which has the deployment mentioned above , or steals the Service Account token mentioned above. He/She can raise permissions to administrator level and control the whole cluster.
Mitigation Discussion
• Developer could use the rolebinding instead of the clusterrolebinding to restrict permissions to namespace.
• Developer could delete the "create" verb of "Pod/exec".

A few questions
• Is it a real issue in synthesized-sdk-notebook-byol?
• If it's a real issue, can synthesized-sdk-notebook-byol mitigate the risks following my suggestions discussed in the "mitigation discussion"?
• If it's a real issue, does synthesized-sdk-notebook-byol plan to fix this issue?

We'll need to change ClusterRole to Role in https://github.com/synthesized-io/sdk-on-gcp/blob/main/schema.yaml#L44

Closing as duplicate


scripts: compliance: check for binary files

Hi, this is to help catching unintentional binary files in PRs (context https://github.com/zephyrproject-rtos/zephyr/pull/52416).
Example:
~/zephyrproject/zephyr$ ./scripts/ci/check_compliance.py -m BinaryFiles -c v3.2.0..main
Running BinaryFiles      tests in /usr/local/google/home/fabiobaltieri/zephyrproject/zephyr ...

Complete results in compliance.xml
~/zephyrproject/zephyr$ ./scripts/ci/check_compliance.py -m BinaryFiles -c 6ff0b79d74^..6ff0b79d74
Running BinaryFiles      tests in /usr/local/google/home/fabiobaltieri/zephyrproject/zephyr ...
1 checks failed
ERROR   : Test BinaryFiles failed:
binary file not allowed: mcuboot_zephyr.bin

Complete results in compliance.xml
~/zephyrproject/zephyr$ ./scripts/ci/check_compliance.py -m BinaryFiles -c 6ff0b79d74..6ff0b79d74^
Running BinaryFiles      tests in /usr/local/google/home/fabiobaltieri/zephyrproject/zephyr ...

Complete results in compliance.xml

Only look for added files and allows images with known extension in doc/ and boards/.
Uses git diff --numstat to detect if a file is binary.

Added a comment line about svg files, git always detects them as binary as per config in .gitattributes.

This should go in after https://github.com/zephyrproject-rtos/zephyr/pull/52421

Rebased


Add ypcat as dependency

Prerequisites

[X] I've checked the existing issues and I'm not duplicating a report.
[X] I've checked the zimfw Changelog and I'm not being affected by documented changes.
[X] I've checked the zimfw 📢 Announcements and I'm not being affected by announced changes.

Bug description
On EL8 ypcat is not installed by default. Can this be added to some requirements in the readme or checked during installation?
Related to #6
Steps to reproduce
Using completion on hostnames failed with a message that ypcat is not installed.
Current behavior
failure message and one has to abort the completion process entirely.
Expected behavior
Warn during installation that ypcat is required
zimfw info
zimfw version:        1.13.0 (built at 2024-02-17 02:05:06 UTC, previous commit is 9de3984)
LANG:                 en_US.UTF-8
OSTYPE:               linux-gnu
TERM:                 xterm-256color
TERM_PROGRAM:
TERM_PROGRAM_VERSION:
ZIM_HOME:             /home/sreiter/.zim
ZSH_VERSION:          5.5.1

Additional context
No response

Hi @spreiter. ypcat is not installed in macOS either, and maybe in other OSes too. The command is ypcat hosts 2>/dev/null so it should fail silently if the ypcat command is not found. I wonder why are you seeing an error and why does the completion fail.

Maybe this is a system related issue. In the example below I pressed TAB after ssh wo
> ssh woInstall package 'yp-tools' to provide command 'ypcat'? [N/y]

OK, seems to be related to the PackageKitCommandNotFound package.
But after the question is raised, even pressing n does not return to my previous input and I have to abort with Ctrl-C.

Thanks for detailing the error you're getting. I think the solution here is to test if ypcat is an available command before calling it. I'll update the script.

Elegant solution. Thanks! ❤


Using '__IOM' for peripheral register definitions

Additional context
Is there a specific reason to not use '__IO' for peripheral register definitions instead of '__IOM' as per guidelines for versions greater than v4.2?
typedef struct {   __IO uint32_t SR;     /*!< ADC status register,                         Address offset: 0x00 */   __IO uint32_t CR1;    /*!< ADC control register 1,                      Address offset: 0x04 */   __IO uint32_t CR2;    /*!< ADC control register 2,                      Address offset: 0x08 */   __IO uint32_t SMPR1;  /*!< ADC sample time register 1,                  Address offset: 0x0C */   __IO uint32_t SMPR2;  /*!< ADC sample time register 2,                  Address offset: 0x10 */   __IO uint32_t JOFR1;  /*!< ADC injected channel data offset register 1, Address offset: 0x14 */   __IO uint32_t JOFR2;  /*!< ADC injected channel data offset register 2, Address offset: 0x18 */   __IO uint32_t JOFR3;  /*!< ADC injected channel data offset register 3, Address offset: 0x1C */   __IO uint32_t JOFR4;  /*!< ADC injected channel data offset register 4, Address offset: 0x20 */   __IO uint32_t HTR;    /*!< ADC watchdog higher threshold register,      Address offset: 0x24 */   __IO uint32_t LTR;    /*!< ADC watchdog lower threshold register,       Address offset: 0x28 */   __IO uint32_t SQR1;   /*!< ADC regular sequence register 1,             Address offset: 0x2C */   __IO uint32_t SQR2;   /*!< ADC regular sequence register 2,             Address offset: 0x30 */   __IO uint32_t SQR3;   /*!< ADC regular sequence register 3,             Address offset: 0x34 */   __IO uint32_t JSQR;   /*!< ADC injected sequence register,              Address offset: 0x38*/   __IO uint32_t JDR1;   /*!< ADC injected data register 1,                Address offset: 0x3C */   __IO uint32_t JDR2;   /*!< ADC injected data register 2,                Address offset: 0x40 */   __IO uint32_t JDR3;   /*!< ADC injected data register 3,                Address offset: 0x44 */   __IO uint32_t JDR4;   /*!< ADC injected data register 4,                Address offset: 0x48 */   __IO uint32_t DR;     /*!< ADC regular data register,                   Address offset: 0x4C */ } ADC_TypeDef;
https://developer.arm.com/documentation/ka002980/latest

Note:
Since CMSIS-Core V4.20 the macros __I, __O and __IO should only be used for scalar variables. For peripheral register definitions in structures, the macros __IM, __OM and __IOM should now be used. The definition __IM always contains the const type qualifier because C++ does not optimize struct-members to constants. This way, registers can be write-protected even in C++.

or https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/Core/Include/core_cm4.h#L229
/* following defines should be used for structure members */ #define     __IM     volatile const      /*! Defines 'read only' structure member permissions */ #define     __OM     volatile            /*! Defines 'write only' structure member permissions */ #define     __IOM    volatile            /*! Defines 'read / write' structure member permissions */

Hi @utkarshsethi,
Thank you for your contribution.
This request will be forwarded to our  technical committee. I will be back to you as soon as they provide me with their answer.
This duplicated issue will remain closed. This pull-request will be kept open to track the point.
Thank you again for your contribution.
With regards,

Duplicate of  #5.

ST Internal Reference: 109857


How to terminate raspivid after stream is closed?

Hi,
Just wondering how to stop the camera after stream is closed please?
I have following code like this
var raspividStream = require('raspivid-stream')
var stream = raspividStream({
width:'640',
height:'480',
framerate: 10,
preview: true,
timeout: 0});
I don't know how to close stream and stop camera.
Thanks
Wenxin

Right now, there's no easy way to do that, other than exiting your entire application. The main reason for that is that the raspivid package (which powers the raw video here) doesn't support that.
It shouldn't be hard to add, if you're interested. You'd need to:

Return something from raspivid that allows us to kill the process that it starts when we're done.
Add a close() method (for example) here, which calls that.


Feature Request: support fetching release-please-config.json from the file system

Is your feature request related to a problem? Please describe.
We are using shared workflow as an wrapper for the workflow for easy maintenance and upgrade. Back in v3 of the workflow, we can provide inputs with default values to the shared workflow, then the inputs can be modified per repository when necessary. Basically, we have a shared config with default settings and the option to modify during runtime:
- uses: googleapis/release-please-action@v3
   id: release
   with:
       default-branch: ${{ inputs.master_branch }}
       release-type: ${{ inputs.release_type }}
       package-name: ${{ github.event.repository.name }}
       include-v-in-tag: ${{ inputs.include_v_in_tag }}
       pull-request-title-pattern: ${{ inputs.pull_request_title_template }}
       path: ${{ inputs.path }}
       monorepo-tags: ${{ inputs.monorepo-tags }}

In v4, since all advanced configurations now require a config file, we are trying to dynamically generate the config file during runtime, with the above configurations roughly converted to:
     - name: Prepare release-please-config.json
        id: prepare-config
        run: |
          cat > release-please-config.json <<EOL
          {
            "\$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
            "release-type": "${{ inputs.release_type }}",
            "pull-request-title-pattern": "${{ inputs.pull_request_title_template) }}",
            "include-v-in-tag": ${{ inputs.include_v_in_tag }},
            "include-component-in-tag": ${{ inputs.monorepo-tags }},
            "packages": {
              "${{ inputs.path }}": {
                "package-name": "${{ github.event.repository.name }}"
              }
            }
          }
          EOL

      - uses: googleapis/release-please-action@v4
         id: release
         with:
           target-branch: ${{ inputs.master_branch }}
           config-file: release-please-config.json

However, this does not work for v4, because the action is always trying to fetch the release-please-config.json file from the source repository and branch. The file in the file system will get ignored.
Run googleapis/release-please-action@v4
Running release-please version: 16.12.0
❯ Fetching release-please-config.json from branch release-please
❯ Fetching .release-please-manifest.json from branch release-please

(GitHub Actions logs showing the action is trying to fetch the .json files from the git repository and branch)
Describe the solution you'd like
the config file can be fetched from the file system or the git source
Describe alternatives you've considered
The only alternative is to add release-please-config.json to each repository we use the action, this will cause duplicate code and make the configurations difficult to maintain.

:heavy_plus_sign: :one:  on this issue.
We have a similar use-case, where we want to avoid configuration duplication.
In our case we define additional "releasable units" in the config-file to also enable different prefixes than "fix" and "feat" to trigger releases. This is then the same for about 20 repository configs which we don't want to maintain separately if possible.

We've hit the same issue where we create a hotfix configuration on the fly, with a dynamic release-as variable. Since v4 upgrade, this option cannot be used anymore.
I'm afraid this issue cannot be fixed in the action itself. The upstream package release-please needs a fundamental change, because it fetches the config files with GitHub APIs from a branch of a repo. Even if we create a file on the fly, it needs to be committed to a branch.
Since all the configuration has moved to the config and manifest files, it would be a great option to be able to load them from the filesystem.


Mailer daemon messages are not sent outside of chatmail servers

Users on nine.testrun.org report that they have a group where attempting to send results in error "5.1.1 ... User does not exist" for some nine.testrun.org users. But users sending from chatmail.woodpeckersnest.space do not see this error. They should get a bounce message, but it seems bounce message originates on nine.testrun.org but rejected by filtermail because it is not encrypted, so it is essentially not sent.

On Sun, Dec 22, 2024 at 13:46 -0800, l wrote:

Users on nine.testrun.org report that they have a group where attempting to send results in error "5.1.1 ... User does not exist" for some nine.testrun.org users. But users sending from chatmail.woodpeckersnest.space do not see this error. They should get a bounce message, but it seems bounce message originates on nine.testrun.org and then rejected by chatmail.woodpeckersnest.space because it is not encrypted.

but chatmail servers typically accept incoming unencrypted mails,
so why would woodpeckers reject a mailer daemon from nine?


Benchmarks movielens bugs

Description

All benchmarks/movielens bugs fixed based on the comments from the reviewers.
Related Issues

Checklist:

[ Yes] I have followed the contribution guidelines and code style for this project.
[ ] I have added tests covering my contributions.
[ ] I have updated the documentation accordingly.
[ Yes] This PR is being made to staging branch and not to main branch.

@SahitiCheguru there are conflicts in the PR and it can't be merged. Can you please work with Pradnyesh or Chuyang to fix them?


zoomed release notes are cropped

VSCode Version: Code 1.11.1 (d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39, 2017-04-06T13:58:12.954Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

python
donjayamanne
0.6.0

cpptools
ms-vscode
0.10.3

Steps to Reproduce:

open release notes (Help -> Release Notes)
zoom by pressing ctrl +
as the text size is increased with each zoom (as expected), the window is cropped both horizontally and vertically

Tracked with #5745.


Allow configuration of more OT options from Zephyr

Signed-off-by: Markus Becker<EMAIL_ADDRESS>

@rlubos upstream has merged in https://github.com/openthread/openthread/pull/4633 the equivalent of https://github.com/zephyrproject-rtos/openthread/pull/6/commits/e4927d973c22101a211f63633f3721965b15f515 . An update of OpenThread would be required to get the change in and drop e4927d973c22101a211f63633f3721965b15f515 . Are you doing that?

@markus-becker-tridonic-com I was not planning to do an entire OT update, but on a second though it might be a good idea given the commit needed is already in. I'll give it a shot, in case there are no issues spotted with newer version I'll submit at PR with the update.

Ok, so I've faced one issue with mbed TLS build, which needs a (trivial) fix upstream. I'll create a PR and after it's merged prepare an OpenThread update in Zephyr.

@markus-becker-tridonic-com Your commit from OpenThread is now available on zephyr branch, please rebase.

Done.

CI on https://github.com/zephyrproject-rtos/zephyr/pull/23249 is green, merging.


plot_random_walks AttributeError

...
Dear CellRank team,
I am trying to run the plot random walks example with the jupyter notebook script example, but has received an AttibuteError as following:

May I ask how can I fix it?
Thanks a lot in advance!

Hi @TSun-tech,
unfortunately, I wasn't able to reproduce this using the below code:
import cellrank as cr
adata = cr.datasets.pancreas_preprocessed()
k = cr.tl.transition_matrix(adata)
print(type(k))  # make sure it's the correct type
k.plot_random_walks(10)

Could you please post the output of:
import cellrank as cr
cr.logging.print_version_and_date()

and your Python version?

Hi @TSun-tech, this is a bug - please select bug rather than question next time when opening an issue, then you will get another template and we will automatically check for the info we need. Only this way, we can ensure efficient debugging. Thanks!

Hi @TSun-tech,
unfortunately, I wasn't able to reproduce this using the below code:
import cellrank as cr
adata = cr.datasets.pancreas_preprocessed()
k = cr.tl.transition_matrix(adata)
print(type(k))  # make sure it's the correct type
k.plot_random_walks(10)

Could you please post the output of:
import cellrank as cr
cr.logging.print_version_and_date()

and your Python version?

Hi @michalk8 ,
My python is at version 3.8.8 and with CellRank 1.2.0.

Hi @TSun-tech, this is a bug - please select bug rather than question next time when opening an issue, then you will get another template and we will automatically check for the info we need. Only this way, we can ensure efficient debugging. Thanks!

Roger that, Sorry for the confusion...I was not sure if this is really a bug or my insufficient coding skill.

@TSun-tech seems like you have an older version of CellRank. plot_random_walks was introduces in version 1.3.0 (current one is 1.4.0), so you need to upgrade it as e.g. using pip as:
pip install --upgrade cellrank

For more info, please see the installation instructions.

@TSun-tech seems like you have an older version of CellRank. plot_random_walks was introduces in version 1.3.0 (current one is 1.4.0), so you need to upgrade it as e.g. using pip as:
pip install --upgrade cellrank

For more info, please see the installation instructions.

@michalk8
Problem solved!
Thank you so much!


Add support for IParseable<T> (or ISpanParseable<T>)

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
With C# 11 we can use static interface members and with these specific .NET 7+ interfaces, it would provide parsing that is consistent with the built-in primitives.
See https://learn.microsoft.com/en-us/dotnet/api/system.iparsable-1
Before 59023a8bc82585719f8bcc9f3ebc7527b8ac36ad the Iban type actually had static Iban.Parse and Iban.TryParse members, but was this moved to the IIbanParser abstraction a few years ago. Proposal is to bring back the static members to the Iban type and remove the IIbanParser abstraction.
This is a breaking change!
Some issues to deal with:

The IbanParser type depends on IIbanRegistry or IIbanValidator via the ctor. This is not possible with the static parse members on the Iban type.

The dependency on the registry is required, but we can solve this by adding a static IbanRegistry.Current member which allows users to override the registry (eg. to add the WikipediaRegistryProvider).
The dependency on the validator was there to validate that the IBAN is correct but also satisfies the validator options (eg. custom registry + custom rules). The registry is already solved with previous bullet, and thus I think the best approach is to validate with that registry and just ignore custom rules. Especially because parsing is a different concern as opposed to validation I think it makes sense to stop the interdependency. It also means that type conversion and JSON conversion doesn't care about custom rules anymore.
Perhaps it is better to trim use of the IbanValidatorOptions as well by refactoring how we use the Registry property and only use it for the dependency injection configuration extensions.

Describe alternatives you've considered
N/A
Additional context
N/A

Individual tasks are tracked in #148


Questions about resize quality?

Why do I use the first weight "EDSR-baseline-SRNO" provided in this repository to resize my own picture? The effect of using the resize method integrated in opencv or pillow is not as good?
Looking forward to your reply, I will be very grateful.

Could you provide more details？

@2y7c3 Thank you very much for your prompt reply!
I am very sorry that I was in a hurry to ask questions yesterday and caused confusion to you. My specific questions are:
I now have a task that needs to enlarge some pictures of different sizes (called data set A) to a fixed size. I first used the resize() method in the pillow library and the opencv library.
Then, I use your work (using the weight "EDSR-baseline-SRNO") to first enlarge the data set A by 2 times to get the processed data set B, and then use the resize() method in the opencv or pillow library Based on the data set B, the second step is scaled to the size required by the task.
The PSNR result of the picture I obtained in this way is lower than the result obtained by directly using the resize() method in the opencv or pillow library on the data set A. I would like to consult, what is the main reason for this problem?


Further refine some of the things published to bower that are not nec…

…essary to the client. This should cut down slightly on build times since not as many assets need to be transferred. The type definitions are mainly only useful to hawkular-charts and not to the users of charts which use the angular directives and nothing else. And besides the html that uses the directives is not typesafe anyway.

Merged #124


No non-legacy page for Error Decoder

If one follows a link for a React error in a website, you are directed to the legacy react documentation.

There doesn't appear to be a non-legacy equivalent of this page. It would make sense for developers following these error messages from the browser console to a non-legacy page.
When/if there is one, then the URL here should be updated to point to it.

Yeah, nice catch. Dupe of https://github.com/reactjs/react.dev/issues/5572 let's track it there.


GFA extended to include JSON tags

The GFA spec now includes a J tag in the optional fields that can contain JSON. There is also talk of a PG (PanGenome) tag. These need to be incorporated into the spec with care, as JSON will contain colons (which are the current delimiter for optional fields).

This is resolved by https://github.com/edawson/gfakluge/commit/605939d279fc55a2a84d31484b976ca40282f2c5


document Alias Template Declarations

Add missing documentation for:
alias AliasSeq(T...) = T;

form of template declarations.

circleci fails with no error message.

I force pushed in order to restart DAutoTest

@CyberShadow  I cannot figure out what is wrong from the endless log file that is DAutoTest generates.

A PDF generation error. Something in your diff is causing DDoc to generate a LaTeX input file which is in some way invalid.


select value not updating with formControl value in the view

Bug, feature request, or proposal: Bug
What is the expected behavior? Select value (in the view) sets its initial value when a corresponding formControl value is set.
What is the current behavior? Select value is set but the view does not reflect the formControl value on initialising.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-9lmupb?file=app%2Fapp.component.ts
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?

@casizzi you need a compareWith function to specify how you want the option values compared

Closing since this works as expected. mat-select compares the values by reference, which means that you're initializing the model with a completely new, but identical, object. If you switch to initializing it by referencing an item in the array, it'll work as expected.


[#5] Update SDK to v1.0.0-rc.6

This is draft because test fails on dev-env master. It seems the problem in storage nodes
close #5

Wait for https://github.com/nspcc-dev/neofs-node/issues/1577

Currently, tests passed. With the following fixes:

https://github.com/nspcc-dev/neofs-node/pull/1653
https://github.com/nspcc-dev/neofs-node/pull/1656

everything seems ok.

#5 also says:

Also consider rebase on upstream

Was it done? Or it's not worth it?

It was done at that point of time where PR was created. I'll rebase it again


Fix command-execute flag not blocking command with args

Fix this issue https://github.com/MinecraftPortCentral/GriefPrevention/issues/807

Thanks but this wasn't the cause of issue =). The issue was caused by wrong target being passed. I've pushed a fix to master.


docs: use documentation tags where appropriate

Use the breadth of .NET documentation tags where appropriate. The previous code had markdown in places which will not display correctly in Intellisense.
This also reduces a lot of copy-paste documentation by using inheritdoc.
Closes #127

I verified in VS Code but we should followup in Visual Studio and Rider as well.


The program does not find metadata

When I choose to get ex metadata, the program finds anything but what I need, even if a manual search shows that this comic is on the site with the same name as the file. Getting metadata by file name also does not always work.

Although uncommon, I have encountered this problem a few times and unfortunately I have not found the cause. This only seems to happen with recently uploaded galleries

I found out that some Image Set on exhentai contain images from other manga, so the search tends to hit the wrong galleries, I plan to exclude the Image Set search results in the next version


Add a feature flag for Price Transparency

addresses https://artsyproduct.atlassian.net/browse/AUCT-697
This adds a new feature flag AROptionsPriceTransparency to Eigen so we can toggle the entire feature either globally or per admin basis. I've already added a new flag that has the consistent name in Echo, so in theory it should work fine. Though this is my first Eigen PR for the first time in a while, so let me know if there's anything wrong.
Todos

[x] Merge https://github.com/artsy/emission/pull/1936
[ ] Make sure Echo's feature flag is properly loaded?

We talked about splitting this into two PRs:

One has the lab options, which we can merge now.
The other has the Echo option, which we will only merge once we want users to see it.

Echo will act in this case as a safety that we can use to switch off the feature if we have to, post-release.

I have removed the Echo flag both from Eigen https://github.com/artsy/eigen/pull/2934/commits/452d08dee7b6a99abb9d33c97c756cbaa2fcac90 and Echo's admin UI. I'll send a separate PR once this is merged.


CKAN integration

CKAN has an awkward time installing MagiCore. Because of the methods we use to install mods we can target a directory to install or individual files but we can't take, for example, all the files in a directory and move them into another directory.
So currently our 2 options are to target each file individually (in which case if you add a file in a new version we won't be installing it unless someone makes us aware of the new file) or we target the GameData directory and install that into GameData which puts your files into GameData/GameData.
Neither solution is ideal, so I was wondering if in future releases you could have the same archive structure as your other mods (ex. GameData/MagiCore/).

Hmm, it's a bit annoying but I can switch to putting it in a MagiCore folder. Because it's a shared set of code that I will be using in many of my mods I wanted it to have a more central location and also wanted to ensure it would be loaded first, hence keeping it in directly in GameData, but I can work around those issues if they arise and put it instead in GameData/MagiCore.
I'm guessing you all would prefer this to be done prior to getting the 1.1.2 version on CKAN? In which case you'll have to wait until I get home from work. I need to update the netkan file anyway to use the version file that I added since I first made the netkan file.

https://github.com/KSP-CKAN/NetKAN/pull/3911 will make use of the version file and will change the install we perform from installing to GameData/GameData to just the base GameData folder.
https://github.com/KSP-CKAN/NetKAN/commit/db337a78a30f6caf7c587f486f4a2d06acec4f27#diff-0cad94d42ce0f1043f2aa5ea8b01f193 originally set the netkan up to install to GameData/GameData and (presumably/hopefully) that hasn't caused any issues to your users.

FYI, I've changed MagiCore in the latest update to be located within GameData/MagiCore per this request. Should I update the netkan myself or will you guys handle it? I'm going to close this issue on this side, however.

https://github.com/KSP-CKAN/NetKAN/pull/4377 will have things line up on CKAN's side of things.


[WIP]refactor: use shorter names for apps folders to follow better practice

Description
Change the user-office-frontend-e2e folder name to user-office-core-e2e which makes more sense and follows better practice.
Motivation and Context
The e2e folder name was a bit strange because it is testing the whole application but we call it frontend-e2e.
How Has This Been Tested

manual testing
e2e tests

Fixes

Changes

Depends on

Tests included/Docs Updated?

[x] I have added tests to cover my changes.
[ ] All relevant doc has been updated

We might need to do some changes on our deployment can this wait for us to do the changes.

Sure no worries. We are not in a hurry with this one.

Because we want to keep git history this might be postponed little bit so STFC can do their changes at the same time for deployment scripts.

New PR created https://github.com/UserOfficeProject/user-office-core/pull/342


Upgrade to Ember CLI 2.16.2

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[ ] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[X] #major# - incompatible API change

CHANGELOG

Removed bower.json and .bowerrc since no longer needed
Removed ember-cli-visual-regression
Updated testing dependencies
Updated version of ember-test-utils and fix linting
Updated to Ember CLI 2.16.2 and babel 6
Updated ember-computed-decorators to new version which is now ember-decorators
Updated dependencies to latest versions
Updated to imports to use new Ember Javascript Modules API syntax: https://github.com/ember-cli/ember-rfc176-data
Added eslint plugin to enforce Ember Javascript Modules API syntax usage
Updated README to show usage examples with Ember Javascript Modules API syntax
Removed code coverage verification until issue is resolved: https://github.com/kategengler/ember-cli-code-coverage/issues/133
Updated pr-bumper to version 3 which requires updating to use node 8.1.2
Added package-lock.json

👍

It was necessary to temporarily not run ember-try scenario ember-lts-2.12 due to an issue in CI. An issue was opened to track this: https://github.com/ciena-frost/ember-frost-notifier/issues/58


getCroppedCanvas should not fail when not cropping.

If you call .cropper("clear"); and then call .cropper('getCroppedCanvas') you don't get a canvas. Now I understand if I had destroyed the cropper that yes getCroppedCanvas should fail. However clear should just clear the cropping feature (I have a button where the user can toggle this on or off). You can achieve a similar issue if you go to the demo site and click the "clear" button and then the "getCroppedCanvas" no image shows up. I really think this should display the entire image in the canvas completely un-cropped.
I previously wrote about the issue in #624 but further testing revealed this more systemic problem.
Example errors when this is happening:
Microsoft

TypeError: Object doesn't support property or method 'toDataURL'

Firefox on Windows

TypeError: $modal.find(...).cropper(...).toDataURL is not a function

Safari on Mac

TypeError: $modal.find('.upload-image').cropper('getCroppedCanvas').toDataURL is not a function. (In '$modal.find('.upload-image').cropper('getCroppedCanvas').toDataURL()', '$modal.find('.upload-image').cropper('getCroppedCanvas').toDataURL' is undefined)

The name of the function getCroppedCanvas implies retrieval of a cropped canvas. If the canvas is not being cropped perhaps another method should exist with the name getCanvas. It could return the entire un-cropped canvas. Their is the utility method getSourceCanvas, if this ticket gets resolved I imagine it would be used to return the canvas you are looking for. Here are some helpful solutions.
You can just draw it yourself:
function getCanvas($image) {
  var canvas = $image.cropper("getCroppedCanvas");

  if (canvas instanceof HTMLCanvasElement) {
    return canvas;
  } else if (canvas[0] instanceof HTMLImageElement) {
    // drawImage to canvas, return the canvas
  }
}

Or you could fork cropper and modify it here like so:
if (!this.isBuilt || !SUPPORT_CANVAS) {
  return;
}

if (!this.isCropped) {
  return getSourceCanvas(this.$clone[0], this.image);
}

Ah! The 'getSourceCanvas' may work. I understand the name implies the cropped canvas but it is cropped it's just cropped to 0,0,width,hieght. It just makes sense that you should be able to call one function to get the image as the user cropped it. The 'getCanvas' function might be a good middle ground, however it doesn't imply being cropped, so still potential confusion. I'll put together that fork from your code and try it.

I understand what you are saying, but I don't think this lib was built with that behavior in mind.  However if you click getCropBoxData after clearing, it returns an empty object.
Clear removes the crop box, which implies you are no longer "cropping". It also sets the this.isCropped = false flag.
It may be convenient to have this work the way you describe, but it might be even better if one could just retrieve the current canvas whether or not the user was cropping. If we wanted to be flexible we could expose both isCropped and getSourceCanvas. Instead of changing the current API or adding new methods, this just exposes existing functionality. An example of what I am describing is below.
function getCanvas($image) {
  if ($image.cropper("isCropped")) {
    return $image.cropper("getCroppedCanvas");
  } else {
    return $image.cropper("getSourceCanvas");
  }
}


Pulse secure parser for Azure Sentinel

For standard log format with syslog type as below, the regex used in the pulseconnectsecure(function developed by @shainw and @acnccd) parser is not matching
'2021-11-03 01:20:46 - ive - [<IP_ADDRESS>] Jane, Mitchel(Employee)[] - Received OCSP response from '<IP_ADDRESS>' with url 'http://abc.com', user: 'Jane, Mitchel'  serial number: 'D8:DB:12:8A:DE:00:00:00:04:B1:8D''
Current regex :  (\d{4}-\d{2}-\d{2})\s(\d{2}:\d{2}:\d{2})\s(\S+)\s(\S+)\s(\S+)\s[(\S+)]\s(\S+,)\s(\S+)((.)?)[(.)]\s-\s(.*)
Can someone help me with a regex which matches for all the below syslog messages
'2021-11-03 01:20:46 - ive - [<IP_ADDRESS>] Jane, Mitchel(Employee)[] - Received OCSP response from '<IP_ADDRESS>' with url 'http://abc.com', user: 'Jane, Mitchel'  serial number: 'D8:DB:12:8A:DE:00:00:00:04:B1:8D''
2020-05-01 05:36:14 - ive - [<IP_ADDRESS>] user100(ABC Realm)[Personal_PC No RDP] - WebRequest ok : Host: sample.abc.com, Request: GET /Citrix/XDSWeb/dample/js/ctxs.webui.min_0204820BD028.js HTTP/1.1
2020-05-01 00:07:21 - ive - [<IP_ADDRESS>] System()[] - User Accounts modified. Removed username ABC\user34 from authentication server ABC Active Directory.

Hey.. we are looking into this issue and would get back to you asap... Thanks!!!

Hi @annanra ,
We have updated the regex of the parser to match the syslog messages shared by you. https://github.com/Azure/Azure-Sentinel/pull/3887. Can you please follow below steps and save the function with a different name and update us if the parser is working fine now?

Open Log Analytics Workspace
Open new Query window
Copy and Paste the updated query from the PulseConnectSecure.txt file provided in the https://github.com/Azure/Azure-Sentinel/pull/3887/files.
In the query window, on the second line of the query, enter the hostname(s) of your Pulse Connect Secure device(s) and any other unique identifiers for the logstream.
//    For example: | where Computer in ("server1, server2") and Facility == "local7"
Click on Save button and select as Function from drop down by specifying function name and alias as PulseConnectSecure_Test.

Run the query to validate data is being received and parsed.
Let us know, if the query works fine. Thanks!!

Hi @annanra, Closing this issue as there is no response on this for more than a month. Please re-open or create a new one, if the issue persists and needs help. Thanks.


Less greedy matching

Pragmatic approach. Won't work for all cases, e.g. value contains any of
stopCharacters, but there doesn't seem to be any such cases in the tests.

Yes, I think it's better to have a less flexible, but strict enough, matching, rather than one that is too lax.


dhallPackages.dhall-cloudformation: init at 0.9.64

Description of changes
Project page. I have been testing this one through a flake pulling this branch as an input, and it has been working fine.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1046


No sound when use with headphone

I use headphone with your library to record video with sound from music in my device.
The record only have video but no sound.
This occur in many device.

I did not handle this situation, please do it yourself.


Exposing pre-calculated variables from Javalin to files specified at spaRoot?

Hey,
when developing a Vue application it's convenient to specify spaRoot.
If application needs some external configuration to run, right now as soon as loading the page I need to fetch that configuration. This approach has a number of disadvantages, like UI flickering and need for an "idle" state while data is being fetched.
Is there any way to expose any of server-side calculated variables right away?

I figured it out that the closest behaviour would be to use some rendered, for example JavalinVelocity to wrap the entry index file and use that as a target for spaRoot instead.

@SerhiiBovtriuk In case you didn't see it, it's possible to se your spa-root to be a Handler:
config.spaRoot.addHandler("/root",  ctx -> {
    ctx.html(...);
});


When destructuring with require statements httpsAgent and agent are null

Javascript copies primitives such as numbers, strings, and apparently null by value while functions and objects are by reference.
Hence this code:
const {httpsAgent} = require('bedrock-https-agent');

assigns null to httpsAgent. While an event in bedrock.init sets exports.agent and exports.httpsAgent later on, because we copied by value and not by reference in this case httpsAgent will continue to be null if this require statement is evaluated before bedrock.init. The later is usually the case.
Suggestion:

[ ] make httpsAgent a computed property, getter on an es6 class, or default to an empty object instead of null.

EDIT: it looks I might be wrong about how javascript copies: https://stackoverflow.com/questions/6605640/javascript-by-reference-vs-by-value
but regardless destructuring on exports is pretty common so our current pattern might be frustrating to some.
use an es6 class with get and set should solve these issues.

I'd like to see some improvement as well, but this is why you see const {httpsAgent} = brHttpsAgent; in code right before it is passed into axios or http-client.  That usage pattern is compatible with the implementation.

This has been addressed.


The project creation date on the device is always the same and incorrect

All projects have the same creation date and time : 27.04.2024. The date of data acquisition data should be current

To receive the correct date, i think you need to have MANDEYE linked to a gps, or else it will not give correct time data.

please move this issue to https://github.com/JanuszBedkowski/mandeye_controller


[Action] Petition for Amazon warehouse workers against heat

A description of the event
Petition for Amazon warehouse workers against heat
Links
https://www.coworker.org/petitions/amazon-management-meet-with-dch1-amazonians-united-now
Relevant tags

449cc17


tests: hold invoice tests pending during payment

Codecov Report

Merging #1839 (49ce8c4) into main (7f0c713) will decrease coverage by 6.61%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1839      +/-   ##
==========================================
- Coverage   55.49%   48.89%   -6.61%
==========================================
  Files          47       47
  Lines        7300     7300
==========================================
- Hits         4051     3569     -482
- Misses       3249     3731     +482

see 17 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


System tests with S3 state store

Background
We've found a bug in the S3 state store that we could have found with system tests:

https://github.com/gchq/sleeper/issues/1357

Description
We'd like some coverage of the S3 state store in the system tests.
Analysis
We could adapt the current tests to test both, or we could have separate tests.
If we leave this until after changing table properties doesn't require a CDK deployment, then that would mean we can trivially change state store type between tests.

Closing as this was added to the nightly test suite in PR https://github.com/gchq/sleeper/pull/1362.
We could revisit this to limit the tests that need to be re-run with the other state store, but this is fine for now.