flameshot: 12.1.0 -> 12.1.0-unstable-2024-07-02; allow enabling wlroots support

Description of changes

flameshot: move to by-name
flameshot: use unstable version in update script
flameshot: 12.1.0 -> 12.1.0-unstable-2024-07-02
flameshot: add flag for wlr support

fixes #292700
requires using (pkgs.flameshot.override { enableWlrSupport = true; }) in config

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

On the fence if I should add a new attr flameshot-wlr or something, or enable wlr support by default (not sure if enabling the grim flag will break anything for non-wlr users?). I've tested with wlr support on sway, and screenshots appear to work as hoped.


FR: Ability to enable raise_for_status for all requests on a Session object

Hey there,
Firstly, I absolutely adore requests, it's the reference library for Python and would like to thank you greatly for creating it.
Today I found the little utility function raise_for_status which I think is very useful, but I think it's a little tedious having to call this for each request if this is the way you prefer to work.
Would you please consider a way to allow for this to be run automatically each time a request is made?  I was thinking you could have a kwarg to Session which enables it for all requests, and possibly a kwarg for requests.get and so forth?
Thanks again! :smile:
Fotis

Sorry @fgimian, it looks like this got lost!
Generally I don't believe automating a single function call is a particularly good idea. The cost of doing that is that it makes it hard to tell from reading code exactly what exceptions a given call into Requests might raise, because they depend on the Session object elsewhere in the code.
Given that the only advantage is to save you a single function call, I think this is probably not worthwhile. Sorry!

Thanks for your reply @Lukasa, I understand where you're coming from.  Really appreciate you considering my idea :smile:


Change the current sensors to use UART

The current sensing function is much too rapid to occur over a GATT characteristic and only occurs via notifications of a change.
As such, this should likely occur over UART for more constant updates if turned on.
The on/off switch should likely still be a characteristic so the power isn’t being wasted with nothing listening.

When enabled, having the log stream flow to the Bluetooth device could be super helpful for people using it that don’t have a debugger.


Avoid setting default text size

Problem
The library sets the default text size of many components to text-sm by default which breaks/restricts the base configuration of tailwind.
e.g. form inputs https://github.com/petalframework/petal_components/blob/main/lib/petal_components/form.ex#L473
Solution
:scissors: text-sm from components and provide a property e.g. prop :text_size, :string

If we remove text-sm then by default some of the components might look a little off - the goal of the library is to have nice-looking components work out of the box so developers don't have to worry too much about design.  So were you wanting to be able to change the base config of tailwind and see all your components change?

If we remove text-sm then by default some of the components might look a little off - the goal of the library is to have nice-looking components work out of the box so developers don't have to worry too much about design.  So were you wanting to be able to change the base config of tailwind and see all your components change?

@mplatts I feel like you always need to have escape hatches. If you want to apply a base text size you can set it in a custom theme.

Closing as you should be able to modify this with configurability.
https://petal.build/blog/Petal-Components-v1-0-released-Configurability-is-here


Update cve vuln

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
https://github.com/Alluxio/alluxio/issues/16968
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

CLA has been signed @Xenorith

closing in favor of independent changes


Missing dependencies

Hi,
I just tried to set this up and a number of requirements were missing. I'm not sure if specific versions are required or not so haven't put those in.

Hi @goetzk,
These packages are defined as dependencies of Wagtail (https://github.com/torchbox/wagtail/blob/master/setup.py), and so should get installed automatically when Wagtail is installed - if that doesn't happen, there's something else wrong with your setup.

On 20/10/16 19:20, Matt Westcott wrote:

Hi @goetzk https://github.com/goetzk,
These packages are defined as dependencies of Wagtail
(https://github.com/torchbox/wagtail/blob/master/setup.py), and so
should get installed automatically when Wagtail is installed - if that
doesn't happen, there's something else wrong with your setup.

Hi Matt,
Thats odd. I wonder why they were missing. I'm not sure if I'll be
installing another demo from scratch now I have one running but will
keep this in mind for future installs.
thanks,


FortiGate global limit 300k

Hi @romainmarcoux ,
First of all, many thanks for your project ! It's just amazingly useful 💕
I just need to confirm something with you. According to FortiOS documentation (https://docs.fortinet.com/document/fortigate/7.4.0/new-features/677896) the 300k limit is global (and shared between vdom). So when you add a second 300k file, the result is an empty threat feed. Depending to you environment, especially if you have other IP Address Threat Feed, the 40k seems to be the solution.
Someone can add more than 300k entries on a FortiGate ?
Thanks

No, unfortunately.
I am currently negotiating with Fortinet to review the distribution to increase the number of IP addresses.

Ok thanks @romainmarcoux,
I think for know you already have done the job for us 🙏 with the 40k list !


JSMA_bug_fix

I think there is a bug in jsma_symbolic. The reduction of constant from already-used features should be dependent on the action on pixels(increase/decrease). Please have a look.

Is the behavior you are trying to implement in the bug fix not already implemented through increase_coef? See https://github.com/tensorflow/cleverhans/pull/457/files#diff-7c744e6cc2d9648195be4db1c389e9b8R495

I missed that. The increase_coef is handling it.


User-defined type guard failing for object properties in scope

TypeScript Version:  2.5.2
The issue is that object property loses type information if determined with user-defined type guard.
Apologies if this is a duplicate (I couldn't find related issue) or if I misunderstood how it should actually work.
Code
type Fish = 'Fish'

function isFish(pet): pet is Fish {
    return pet === 'Fish';
}

function fnWithError (obj: { pet: string }): Fish[] {
  if (!isFish(obj.pet)) {
    throw new Error('not a fish!')
  }

  // resolved that obj.pet is a 'Fish'

  return [1, 2, 3].map((num) => obj.pet)

  // ERROR
  // Type 'string' is not assignable to type 'Fish'
}

function withoutGuard (obj: { pet: Fish }): Fish[] {

  return [1, 2, 3].map((num) => obj.pet)

  // compiles successfully
}

function assigningPropToVar (obj: { pet: string }): Fish[] {
  if (!isFish(obj.pet)) {
    throw new Error('not a fish!')
  }

  // resolved that obj.pet is a 'Fish'

  // assigning obj.pet in variable
  const pet = obj.pet

  return [1, 2, 3].map((num) => pet)

  // compiles successfully
}

Expected behavior:
fnWithError should compile
Actual behavior:
fnWithError fails to compile with an error:

Type 'string' is not assignable to type 'Fish'

See #11498. Long story short we don't now that map executes immediately, thus we don't know that the condition you checked at the top of the function is still true by the time the callback executes. You can use a const instead since we know that won't change:
function fnWithError(obj: { pet: string }): Fish[] {
    const p = obj.pet;
    if (!isFish(p)) {
        throw new Error('not a fish!')
    }

    // OK
    return [1, 2, 3].map((num) => p)
}

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


HostConfig will be deprecated since Docker 1.12

Description

With Docker 1.12, the following error will happens when deploying chaincode with hyperledger fabric.
[dockercontroller] Start -> ERRO 02e start-could not start container API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

Describe How to Reproduce

Use Docker 1.12, and deploy chaincode with hyperledger fabric.

for clarity, this is the deprecated feature that is currently being used https://docs.docker.com/engine/deprecated/#hostconfig-at-api-container-start
The offending code is here: https://github.com/hyperledger/fabric/blob/master/core/container/dockercontroller/dockercontroller.go#L109

So it looks like we just need to move this to the create call rather than the start call I think

@mastersingh24 I believe so

Since no one claims working on this, I will try to fix it.

@yeasy thanks!

In this mean time, to make the patch #2263 works, we also need to get
github.com/fsouza/go-dockerclient
github.com/docker/docker
github.com/docker/engine-api
github.com/docker/go-units
github.com/hashicorp/go-cleanhttp
github.com/Sirupsen/logrus
github.com/opencontainers/runc
into the vendor directory.

@stylixboom
The github.com/fsouza/go-dockerclient is already inside the vendor.json.
You mean the current vendor.json does not work?
If so, we may update it in another patch.
Thanks!

@yeasy
Yes, the go-dockerclient probably outdated after a fresh git clone of hyperledger/fabric.
So, manually fetch the recent version with it's dependencies above make this patch #2263 works fine for me.
BTW, thank you for your patch.

@yeasy thanks from me too.


Complying with v1.0.1 of PS007 spec

:tada: This PR is included in version 1.3.3 :tada:
Your semantic-release bot :package::rocket:


"Global" setting for animations

For some nodes you want their animation to be at the same point no matter when they were spawned in. (Coins. Tiles. etc.)
I propose we add a setting (much like autoplay) to animations to make them "Global" when played.
I consider it a semi "Retro" effect as in old games some animations were all updated at the same time to save on memory however it definitely looks good in a lot of circumstances.
I've seen a many instances where it would have made a game look far better.
(Generally when you have a lot of the same object onscreen, if the animation timings are inconsistent it's distracting)

For animating sprites, perhaps AnimatedTexture should be better suited for it, because it allows re-using it in a natural way in many instances or tilemaps.
In the current state of things I can hardly imagine AnimationPlayer doing this on its own, other than having a script or system playing them all at the same time (using groups maybe), which gives the desired effect, without the re-use gain.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Implement SMX and PTH file format readers

Useful for the map show case (see #11)

Added through 8e869891a53dff2472c268056dd703cb93acb572


Cleanup: remove TsBuffer.h from MIME.cc

libswoc related cleanup - remove ts::Buffer and replace with MemSpan.

[approve ci autest]


DB not threaded

Running more then 500 workers and using a changed version of this without problems, now upgraded to the latest commit and have this:
Exception in thread worker-179:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "worker.py", line 466, in run
    self.main(service, api_endpoint, access_token, profile_response)
  File "worker.py", line 497, in main
    session.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 801, in commit
    self.transaction.commit()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 392, in commit
    self._prepare_impl()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 372, in _prepare_impl
    self.session.flush()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2019, in flush
    self._flush(objects)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2137, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
    compat.reraise(exc_type, exc_value, exc_tb)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2101, in _flush
    flush_context.execute()
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
    rec.execute(self)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
    uow
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
    mapper, table, insert)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 800, in _emit_insert_statements
    execute(statement, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
    return meth(self, multiparams, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
    return connection._execute_clauseelement(self, multiparams, params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 202, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
OperationalError: (sqlite3.OperationalError) database is locked [SQL: u'INSERT INTO sightings (pokemon_id, spawn_id, expire_timestamp, normalized_timestamp, lat, lon) VALUES (?, ?, ?, ?, ?, ?)'] [parameters: (19, u'47b18c1070d',<PHONE_NUMBER>.419473,<PHONE_NUMBER>, 53.560029272416344, 10.079304464214422)]

there is already #47 which will fix this one.

Or you can use something different than SQLite. I think it's not safe for multithreaded access, is it?
I'm using MySQL personally and it's working like a charm.

@modrzew can you add that to the guide? you clearly suggest using SQLite in the Readme

Can we also get quick directions on how to switch?
Is all we have to do swap it out and it's instantly thread safe?

I am also having these errors, and I am pretty clueless when it comes to switching over to mysql. Can anyone make a guide an update? Please :)

So I'm a complete novice at python, only just started fiddling with it because of pokemongo, but I got mysql working. This is what I did. I am running my miner on Ubuntu 16.04 so it may not work for your operating system

Run 'apt-get install mysql-server'. This will install MySQL on your server. You will be prompted to set a root MySQL password when installting so note this down so you don't forget it.
Run apt-get install libmysqlclient-dev to install mysql_config which is required. I got an error without having this installed and this fixed it for me
Run pip install mysql-python. This will install the python mysql connector
Run mysql -u root. You will then get a prompt for a password. Enter the password you choose when setting up MySQL. The password won't show when typing so just enter it then press enter
Once logged into MySQL, run create database pokemon;. This will create the database we are going to store all our sightings in
Close out of MySQL prompt by typing exit
Change into the directory of your pokeminer code using cd /path/to/directory
Edit config.py with your preferred editor and change `DB_ENGINE = 'mysql+mysqldb://root:PASSWORD@localhost/pokemon' and then save
Run python -i
Run import db and db.Base.metadata.create_all(db.get_engine()) . This will create the required database table we need.
You should now be able to run your worker and it will now save into the MySQL database. If you get errors about lat and lon being too long for the field run the following in MySQL prompt. alter table sightings modify column lat varchar(128); and alter table sightings modify column lon varchar(128);

Hopefully this works for you guys. These steps worked for me.

Awesome, thanks. Now to merge all of the sqlite db records over...

Yeah same. I'm a php developer so I'll probably just write a script in PHP
to pull it all from sqlite and into mysql
On 29 Jul 2016 01:12, "fu20161234"<EMAIL_ADDRESS>wrote:
Awesome, thanks. Now to merge all of the sqlite db records over...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/modrzew/pokeminer/issues/52#issuecomment-235925588,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHQfrRLr8GLHlvu7s_VmLjsGmKik-Xg8ks5qaMb3gaJpZM4JWeyN
.

Feel free to share that if you want. Otherwise I'll be doing a bash equivalent.

Does /report work normally for you after switching to mysql?

Yeah, seems to. You'll need to wait an hour for it to gather data.
On 29 Jul 2016 10:53, "suppoo"<EMAIL_ADDRESS>wrote:

Does /report work normally for you after switching to mysql?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/modrzew/pokeminer/issues/52#issuecomment-236067210,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHQfrdVoyNam5ohaFF1hCkSvxDdMz6huks5qaU8YgaJpZM4JWeyN
.

fixed with lots of try's

i am a complete newbie to this so can anyone plz help me on how i can shift to MySQL on 32bit win7!!
i am new to all these things and just doing it cause of pokemon go..so plz help!!


Remove misc unused backrefs

Refs various, general parent is https://openscience.atlassian.net/browse/OSF-5674
Purpose
We are attempting to reduce the number of unused backrefs on our models, as backrefs create side effects (record locking) that are not ideal.
This PR is intended to encompass the low-hanging fruit: backrefs that aren't used at all, in various places.
Summary of changes

Remove various unused backrefs (see diff)

Side effects/ testing notes
Should be no side effects because these backrefs were unused. Migration probably unnecessary. Where relevant, below are notes on how to hit endpoints where these models are used.

The MailRecord model is used to track email submissions to conferences (OSF For Meetings); I wasn't able to test this locally.

Also try creating embargoed and retratcted registrations, as well as approving a registration when asked to do so via email

Very quickly confirm the box addon works as expected (usersettings recognized)

Subtasks
https://openscience.atlassian.net/browse/OSF-5897
https://openscience.atlassian.net/browse/OSF-5902
https://openscience.atlassian.net/browse/OSF-5903
https://openscience.atlassian.net/browse/OSF-5905
~~https://openscience.atlassian.net/browse/OSF-5909~~ (moved to a different PR)
https://openscience.atlassian.net/browse/OSF-5910
https://openscience.atlassian.net/browse/OSF-5918

LGTM. RTM as soon as the build passes :fire:

Looks like you did the same thing with Dataverse that you did with Box. Should QA test that equally?

According to my notes, some dataverse work is also being done in this open PR: https://github.com/CenterForOpenScience/osf.io/pull/4979
I'll defer to @mfraezz to answer whether the overlap in tickets has any implications for QA.

Realistically, neither Box nor Dataverse should require QA due to this PR. The one removed field was used exclusively for a migration that (among other things) removed the dependency that the model had for that field. At most, a check to make sure a user's [addon] account can be imported to a node after being connected via the user settings page should suffice.
If you're feeling adventurous, @brianjgeiger, #4979 has been RTM for 42 days


[Help] Topics Restored by Clean Session

Can Topics subscribed in the last session got restored in a new session?
Hi there, I am wondering if topics subscribed in the last session can be restored in a new session? The two sessions will use the same clientID to connect to the broker. And these two sessions get their clean-session set to be 0.
From what I have tested, I found there is no way to restore a topic like that. I did the following:
First, I created a new connection, namely connection 1. In this connection, I used clientID client1 to connect to the broker. Then, I subscribed to a topic, namely topic1. Next, I disconnected connection 1 before creating another connection named connection 2. In connection 2, I used the same clientID client1 as before. But I saw no topic1show up in the subscription list.
Would you mind dig into this? Is there something I did wrong, or we do not currently support this feature? The broker I chose is EMQX and nanoMQ (currently underdeveloping).
Thank you.

Hi @Hongwei-W, Sorry for the late reply! It is currently unsupported. Each Connection Topic should be independent. I wonder what is your purpose for doing this? Maybe after I understand, I can use other methods to help you.

Hi @ysfscream, no worries about the delay! The MQTT protocol says that when clean_session is set to be 0 for a disconnected client session, the broker should cache all the un-send QOS messages and the topic the client subscribed to. And when that client connects to the broker again with clean_session still set to be 0, the broker needs to resend those QOS messages and resubscribe those topics.  It is just one of the functions written in the MQTT protocol. And the reason why I am asking you this is that I am developing this function (when clean_session = 0) for our broker, nanoMQ.


i can not use tool

i open file test.cpp but when i hit a button to modify this tool absolutely close. I don't know why this happen.
https://user-images.githubusercontent.com/75968004/127254815-161f3de5-ccbf-40aa-825f-8d8f7eecb295.mp4
Thanks for your help

Hello @Hungpro3112,
Thank you for reporting the issue.
I apologize for the late reply. We had some issues due to the new LLVM 12.0.1 format options. A release will be coming this week to fix this issue. We'll let you know when the update is deployed.

@Hungpro3112, the release has been published. Open the Editor and the Updater should prompt you to install the update.
Let me know if you find any issues.


Todo

Run locally a huge amount of random corner detection and see if anything particular pops out.
test the corner detection on the real data to see if that's what's tripping it.

Done.


[CT-3106] Refactor ManifestLoader.load method

This method is quite long and difficult to understand its overall logic - let's start refactoring it by extracting methods and using them in ManifestLoader.load

what should we do with this ticket if it isn't finished this sprint? reassign? since you're out @aranke


FEATURE Make LinkListObject versioned

allows an uploaded file for a Link to be published via owns for a better CMS UX
extra config to publish an unpublished file when added to a Link
template update to only display a Link if the LinkListObject has a Link

Versioning seems to be a breaking change - all of my previously existing links were marked as archived. Looks like we used this in CMS5 for Sheboygan Water and our intranet site. Maybe we need a task to at least save these as draft?


Issue running Ubuntu 18.04

Hello, how are you.
I have an trouble trying to run in a single server only, I have other server running ok.
When I try to collect the metrics with the comand:
curl http://<IP_ADDRESS>:9272/metrics?vsphere_host=<IP_ADDRESS>
I receive below on the exporter:
FirstError[#0, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'AttributeError'>: 'NoneType' object has no attribute 'field'
My config.yml
default:
collect_only:
datastores: True
hosts: True
snapshots: True
vmguests: True
vms: True
ignore_ssl: True
specs_size: 5000
fetch_custom_attributes: False
fetch_tags: False
vsphere_host: <IP_ADDRESS>
vsphere_password: 'password'
vsphere_user: 'root'
I tryed to run as root and as normal user.

Someone could help me ?

We prefer to run inside the docker container. For setup instructions refer to the DockerFile. This looks like an issue with pulling the data from vcenter. Validate credentials have access to everything in vsphere.

Thank You... its running under docker... but, is there anyway to get metrics about twice or more vpshere hosts under one docker ?

@pryorda is there anyway to get metrics about twice or more hosts under one docker ?

Not sure I understand that question.

I need to get metrics about 3 vmware hosts on the same docker, is it possible ?

Yes, you just need to set up different sections. The readme describes this.

Thank you so much!!!


ADManagedServiceAccount: The term 'Get-LocalizedData' is not recognized

Details of the scenario you tried and the problem that is occurring
Trying to use the ADManagedServiceAccount resource to create a service account with the current pre-release of the DSC module fails with an ObjectNotFound exception.
Importing the module manually also fails.
Verbose logs showing the problem
Importing module MSFT_ADManagedServiceAccount failed with error - The term 'Get-LocalizedData' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Suggested solution to the issue
Unknown
The DSC configuration that is used to reproduce the issue (as detailed as possible)
PS C:\Users\Administrator> Import-Module ActiveDirectoryDsc
Get-LocalizedData : The term 'Get-LocalizedData' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Program Files\WindowsPowerShell\Modules\ActiveDirectoryDsc\6.1.0\Modules\ActiveDirectoryDsc.Common\ActiveDirector
yDsc.Common.psm1:7 char:25
+ $script:localizedData = Get-LocalizedData -DefaultUICulture 'en-US'
+                         ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-LocalizedData:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The operating system the target node is running
OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Version and build of PowerShell the target node is running
Name                           Value
----                           -----
PSVersion                      5.1.17763.1007
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1007
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Version of the DSC module that was used
6.1.0-preview0002

It seems 6.1.0-preview0001 also had this problem. Will revert back to 6.0.1.

Hi @alexmartinio. Thanks for reporting this, I'll take a look.
The last big refactor of the ADManagedServiceAccount resource was released in version 5, so there is nothing to be released in 6.1.0 that changes this resource, so no need to use the preview versions.


Adding combined child element for two paths

As a user I would like to create a combined child element for skills that require elements of two different paths to be created.
Example: The user has to decide between two different paths (A and B) both can't be accomplished since there are not enough ressources to follow both paths. It should show the User the possible decisions and the consequences (what can/can't be accomplished if i chose different paths).

This feature would help me a lot. Your program is great and I really like how you can visualise additional information to each point of the skill-tree.

Hi, thanks for your kind message. I like the idea.
I have marked this issue as duplicate of #23.
Unfortunately we can't implement this feature until it has been implemented in the library "React Beautiful Skilltree".
Maybe you can create skilltrees for paths A and B and then another skilltree for the path that can be reached from both A and B. It can be added to the same view, i.e. you can add multiple skilltrees in your design. I don't know if this works for you.


Reference frame is set to world

The imu is linked to world as reference frame.
It is benificial to have the reference frame as parameter such that it can be changed in the params file

Setting the pub_transfrom parameter under param/xsens_mti_node.yaml will disable the creation of a transform between the world frame and the imu frame. You can then set the parent frame for the imu without having disconnected trees.


Update Restore-SPEnterpriseSearchServiceApplication.md

Added missing placeholder text.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Restore-SPEnterpriseSearchServiceApplication.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


failed when trying to include a new system

the warning is as follows: (18:53:16) WARNING >> hmm_meta.tsv - Missing values () in required columns - ET (e.value.threshold), HC (hmm.coverage.threshold), TC (target.coverage.threshold) - see below
padloc --fna GCF_902849975.1_HP-ISR-7_genomic.fna --force --data /miniconda3/envs/padloc/padloc-db/ --debug --raw-out
(18:53:13) DEBUG  >>  $FAA_FILE:
(18:53:13) DEBUG  >>  $FNA_FILE: /test/GCF_902849975.1_HP-ISR-7_genomic.fna
(18:53:13) DEBUG  >>  $GFF_FILE:
(18:53:13) DEBUG  >>  $HMM_DATABASE: /miniconda3/envs/padloc/padloc-db//hmm/padlocdb.hmm
(18:53:13) DEBUG  >>  $YAML_DIR:/miniconda3/envs/padloc/padloc-db//sys/
(18:53:13) DEBUG  >>  $HMM_META: /miniconda3/envs/padloc/padloc-db//hmm_meta.txt
(18:53:13) DEBUG  >>  $SYS_META: /miniconda3/envs/padloc/padloc-db//sys_meta.txt
(18:53:13) DEBUG  >>  $OUT_DIR: .
(18:53:13) DEBUG  >>  $CPU: 1
(18:53:13) >> Predicting protein-coding genes with prodigal
(18:53:13) DEBUG  >>  prodigal -i /test/GCF_902849975.1_HP-ISR-7_genomic.fna -f gff -o ./GCF_902849975.1_HP-ISR-7_genomic_prodigal.gff -a ./GCF_902849975.1_HP-ISR-7_genomic_prodigal.faa -q
(18:53:15) DEBUG  >>  Finished @ mar nov  2 18:53:15 CET 2021 ... SUCCESSFUL
(18:53:15) >> Scanning GCF_902849975.1_HP-ISR-7_genomic for defence system proteins
(18:53:15) DEBUG  >>  hmmsearch --cpu 1 --acc --noali --domtblout ./GCF_902849975.1_HP-ISR-7_genomic.domtblout /miniconda3/envs/padloc/padloc-db//hmm/padlocdb.hmm ./GCF_902849975.1_HP-ISR-7_genomic_prodigal.faa
(18:53:15) DEBUG  >>  Finished @ mar nov  2 18:53:15 CET 2021 ... SUCCESSFUL
(18:53:15) >> Searching GCF_902849975.1_HP-ISR-7_genomic for defence systems
(18:53:15) DEBUG  >>  Rscript //miniconda3/envs/padloc/bin/bin/padloc.R -d ./GCF_902849975.1_HP-ISR-7_genomic.domtblout -f ./GCF_902849975.1_HP-ISR-7_genomic_prodigal.gff -h /miniconda3/envs/padloc/padloc-db//hmm_meta.txt -s /miniconda3/envs/padloc/padloc-db//sys_meta.txt -y /miniconda3/envs/padloc/padloc-db//sys/ -o . -b 1 -q 0 -p 1(18:53:16) DEBUG >> Start time: 2021-11-02 18:53:16
(18:53:16) DEBUG >> Reading hmm_meta.txt
(18:53:16) WARNING >> hmm_meta.tsv - Missing values () in required columns - ET (e.value.threshold), HC (hmm.coverage.threshold), TC (target.coverage.threshold) - see below
hmm.acc      hmm.name hmm.description protein.name

1 PDLC02225 PglZ_bacteria     phosphatase         PglZ
2 PDLC02227 BrxC_bacteria          ATPase         BrxC
system.definition.shortcut   author number.seq length.hmm e.value.threshold
1                        Payne LJ         NA         NA             1e-05
2                        Payne LJ         NA         NA             1e-05
hmm.coverage.threshold target.coverage.threshold system literature.ref
1                     NA                        NA   BREX      10/ggqhzm
2                     NA                        NA   BREX      10/ggqhzm
database.ref comments
1
2
(18:53:16) WARNING >> hmm_meta.tsv - Filling with defaults (1E-05, 0.3, 0.3)
Warning message:
One or more parsing issues, see problems() for details
(18:53:16) DEBUG >> Reading sys_meta.txt
(18:53:16) DEBUG >> Reading GCF_902849975.1_HP-ISR-7_genomic.domtblout
(18:53:16) DEBUG >> Reading GCF_902849975.1_HP-ISR-7_genomic_prodigal.gff
(18:53:17) DEBUG >> Merging domain, alias, and feature tables
(18:53:17) DEBUG >> Searching for defence systems
(18:53:17) >> Nothing found for GCF_902849975.1_HP-ISR-7_genomic
(18:53:17) DEBUG >> End time: 2021-11-02 18:53:17
(18:53:17) DEBUG >> Run time: 1.26394128799438

Hi Alexander, would you mind attaching your edited hmm_meta.txt file here or email it to me so I could have a closer look? Thanks!

Hi Alexander, would you mind attaching your edited hmm_meta.txt file here or [email it to me](mailto:leighton.payne@postgrad.otago.ac.nz?subject=[padlocbio/padloc] failed when trying to include a new system (Issue #11)) so I could have a closer look? Thanks!

hmm.accession	hmm.name	hmm.description	protein.name secondary.name	author	hmm.nseq	hmm.length	e.val.threshold	hmm.coverage.threshold	target.coverage.threshold	system	literature.ref	database.ref	comment
PDLC02225	PglZ_bacteria	phosphatase	PglZ		Goldfard T			1E-05	0,3	0,3	BREX	10/ggqhzm		NA
PDLC02227	BrxC_bacteria	ATPase	BrxC		Goldfard T			1E-05	0,3	0,3	BREX	10/ggqhzm		NA
Hi, this is the test file hmm_meta.txt

Cheers!
I believe the warning is due to the use of commas (,) to represent decimals in the thresholds. Decimals need to be expressed using periods (.) rather than commas (i.e. 0.3 instead of 0,3). I've attached an hmm_meta.txt file that should work in your case.
We hope to be adding BREX systems in the near future so keep an eye out if you're interested.
Use this: hmm_meta.txt

Cheers!
I believe the warning is due to the use of commas (,) to represent decimals in the thresholds. Decimals need to be expressed using periods (.) rather than commas (i.e. 0.3 instead of 0,3). I've attached an hmm_meta.txt file that should work in your case.
We hope to be adding BREX systems in the near future so keep an eye out if you're interested.
Use this: hmm_meta.txt

Thank you.


Editing data in the sheets

Apologies if I missed something but I didn't see this answered in the documentation or current/closed issues: is it possible to make the sheets editable in some way from within Magic Mirror? Either make some/all cells editable, or forms, or anything else that would allow simple editing of the data within some cells. I don't need to edit formats, create new columns, etc. - just modify the data within existing cells, I could even use a dropdown from Sheets (doesn't seem to work now).

@adonati this is not currently possible but it's a good idea!
What does your use case look like? Do you want the data to be editable directly from the screen (like the dropdown you mentioned) or editable via the javascript through some kind of API? If you describe your use case a little more we can nail down what this feature may look like!

Sure!
I'm building an interactive family board to replace a whiteboard in the kitchen. Using a touchscreen display.
One use case is the ability to add/remove items, and set quantities of each, to keep an inventory of what's in our deep freezer.
This is an example using MMM-GoogleSheets:

I'd like to be able to at least change the numbers in the right column, directly from the screen by touching the number and either typing in a new one with an on-screen keyboard, or even better selecting from a dropdown.
It would also be nice to type words in the left column, again directly from the screen. This is not an absolute requirement for this use case (I can pre-fill the list with all common items), but it's a requirement for a couple of other lists I need to add.
I have looked at a few integrations with established list products like AnyList, and that would be fine except they all seem to be read-only also. I understand why Magic Mirror modules tend to be read-only, I'm hoping I can help get more interactivity in.

@adonati I think this is a great feature idea!
I think the dropdown implementation would be much more straight-forward to implement so I will plan to start there. I do think adding a keyboard is possible but would be a future goal after the dropdown support is added.
I can't give an exact timeline on when I can get to this but hopefully soon.
Thank you for the idea!


Create 0000-01-02-elleshel.md

created a branch, created a file and made a commit, and opened a pull request


chore(GameIdentifier): remove engineVersion; rename String version to displayVersion

See discussion.
Companion to #654. Split in hopes of more reviewable changes.
Contributes to #651.
Largely reverts e1e530f3fa03cdaf87efd160b6c7ada2f50a9cf4 (#647). Reviewers may want to compare this to the state of things before #647: 8d928d37a1c59bfb375899fb115c7c4abd836b13...fix/removeEngineVersion#diff-eb9f4ead54
I think the GameManager and RepositoryAdapters are what want the closest scrutiny there.

JenkinsRepositoryAdapter is not quite back to its pre-#647 behavior: https://github.com/MovingBlocks/TerasologyLauncher/compare/8d928d37a1c59bfb375899fb115c7c4abd836b13...fix/removeEngineVersion#diff-0aa9f2a209932ac1aa89399ead549d10d3cea93f42394eafb59542b2f409ed93L99-R99
https://github.com/MovingBlocks/TerasologyLauncher/blob/801d347ede3cbcea437123adb637d6f762acafbf/src/main/java/org/terasology/launcher/repositories/JenkinsRepositoryAdapter.java#L96-L100
ignores jenkinsBuildInfo.number and is using the versionInfo.properties buildNumber instead.
@skaldarnar What do we want here, in the interim before we get distribution versioning?

go back to using the build number reported by the Repository
concatenate both build numbers (engine+distribution)
use engine build number (the current state of this PR)

What do we want here, in the interim before we get distribution versioning?

Hm, let me try to list the pros and cons that come to my mind here:

use engine build number (the current state of this PR)
:x: I think only using the engine build number is not a good choice. On the one hand, we have this potential one-to-many mapping, and many bugfixes actually happen in module land these days, not necessarily in the engine. In other words, I do think the distribution build number is the more important info for differentiating Omega builds.

go back to using the build number reported by the Repository
✔ ❔  According to my statement above, I think the distribution build number is more important for identifying the "game release". However, the fact that we depend on the Repository to determine this number is not good - we should be able to identify such a release regardless of whether we get it via Jenkins, Github, or whatever.

As the launcher controls how games are installed (and just dropping games manually in the install dir is neither recommended nor in any way supported) we could live with getting the build number from the Repository and persisting it with an installation of the game (to be able to match it back).

concatenate both build numbers (engine+distribution)
✔ ❔  I think this would be possible, as we have <engineVersion>+<engineBuildNumber> in the version info file, which makes up the GameIdentifier#engineVersion. In lack of proper distribution versioning we then need to assume that the base version for engine and distribution are the same, but for GameIdentifier#version we'd use <engineVersion>+<jenkinsBuildInfo.number>...

I think the situation here may get better when we also change how GameIdentifier looks like...

I've put it back to the pre-#647 method of using the distribution Jenkins.Build.number.


 It takes a transaction, and does the two-step process of taking a raw transaction to certified effects in the end, by communicating with a quorum of validators.
The creation of this component also returns a channel which the caller can subscribe for cert+effects combos.
The API can also support 3 different calling modes:

async: returns immediately
partial async: returns when there is a cert
sync: returns only when there is a certified effect

This is added in https://github.com/MystenLabs/sui/pull/2515.


High CPU spikes with v0.12.1-beta

Background

We have high CPU spikes on the exact 30 minute mark of most hours throughout the day. Seems like some cron/batch process?
Your environment

version of lnd

v0.12.1-beta

which operating system (uname -a on *Nix)

ubuntu 20.04

version of btcd, bitcoind, or other backend

bitcoind (zmq) 0.21.0

any other relevant environment details

LND is the cause of the CPU spikes verified by running htop during one of the spikes.
Logs don't show anything that constitutes a pattern with the spikes.
Running an EC2 ubuntu instance t3.medium. (2 CPU, 4 GB RAM)
Steps to reproduce
run 0.12.1-beta - using docker image
Expected behaviour
Maybe CPU spikes every week? for auto db compaction, but not every hour.

Any chance you know why this is happening?, or would you be able to instruct on how to get more information to help debug this?

We landed a PR in master recently that'll ensure if we fail validating a chan ann, then all the other updates are ignored as well. I looked at the reject cache and realized it doesn't always add failed channel announcements to the cache, which is fixed here: https://github.com/lightningnetwork/lnd/pull/5192
I see this at times myself, AFAICT, there're nodes that for some reason have never removed closed channels, so then they'll continually re-send them, nodes validate them, realized they're closed, the the cycle repeats. That PR I linked should finally fix this, once and for all.

We are running 213b264e4c0f92a23c7dd8a42e0b68e4958a7e3a
After about a week we see spikes coming in again, however not quite as frequently.. at least not yet. We also noticed it took about 1 week for the spikes to happen on 0.12.1-beta for us as well.
I think this would warrant a re-opening of this issue?

We'll need CPU profiles to tell what's going on. Enable the profile flag on your node (flag takes a port to listen on) and whenever you experience high CPU usage, you can ran curl http://localhost:PROFILE_PORT/debug/pprof/profile and provide the resulting file here.

@miketwenty1 I think you might've referenced the wrong commit hash?

Ah yeah, the commit should be https://github.com/lightningnetwork/lnd/commit/d5aedbcbd9db510c974c9f7be5ab177ad6546994 or later.

referring to https://github.com/lightningnetwork/lnd/issues/5191#issuecomment-816989400

We landed a PR in master recently ...

The impression was master at the time was a good choice. (213b264). So are you sure this is the wrong commit hash?
Would you recommend getting a CPU profile first on the current version or bumping to d5aedbc ?

There's two PRs which should both help, #5133 and #5192. @Roasbeef was referring to #5133 at the time, so if you pulled master then, you only have that one. You should bump to https://github.com/lightningnetwork/lnd/commit/d5aedbcbd9db510c974c9f7be5ab177ad6546994 and enable profiling.

will look into this and report back when i have some data.


Emit BuildChanged events

https://build-server-protocol.github.io/docs/specification#onbuildtargetdidchange-notification
Created/Deleted should be easy to detected (diff the aspect result with cache).
Updated though, I am unsure.

Can I query bazel?
Maybe I can hash aquery mnemonic Scalac? How do I detect updates, poll?

It seems that https://github.com/bazelbuild/bazel-watcher uses https://github.com/fsnotify/fsnotify which uses inotify (for linux). So maybe using a WatchService (fs2) is the way to go and just looking at the BUILD files.
Maybe the following is fine:

Watch the root dir.
On any set of changes, filterered for BUILD files.
Re-query labels via aspect and construct added/deleted/modified set.
BuildChanged events.

We should probably also look for new or deleted Scala files.

To avoid complications with looking though deps, srcs, resources and so on.
1 Save previous build targets
2 On event chunk get get build targets
3 Do crud between build targets to find removed/added labels
4 Import anything that was not removed/added if there are more than 0 modified events (naively)
Paths that were Added and Removed in the same even chunk should be disregarded (some editors create short lived temp files, for instance on save)
If we can keep track of a file -> bulidTarget.label mapping, we can (heuristically) optimize step 4.
If only files that occur in this set of known file belongings change then we can do a targeted import instead.
Then we can implement a heuristic for the most common changes (BUILD.bazel bazel query and *.scala from step 2's sources).


make CheckDSTXes() private, execute it on both client and server

mapDSTX should be cleared on both sides, CheckDSTXes should not be exposed.
NOTE: this commit is not included into #1735 because this one actually changes the behavior (fixes the bug).

rebased

rebased again


Is GLFW_PLATFORM_ERROR really a bug in GLFW / OS ?

We've run into an issue where we presumed that GLFW_PLATFORM_ERROR is a bug in GLFW / OS, as described by the GLFW Error Code docs:

A platform-specific error occurred that does not match any of the more specific categories.
Analysis
A bug in GLFW or the underlying operating system. Report the bug to our issue tracker.

In particular, we've received a GLFW_PLATFORM_ERROR due to a strange/non-existent joystick support on a Linux box:

Linux: Failed to watch for joystick connections in /dev/input: No space left on device

My question boils down to:

Should GLFW_PLATFORM_ERROR only be generated if there is a bug in GLFW or the OS?

If so, this is a bug in GLFW / the OS.

Or does GLFW_PLATFORM_ERROR get generated in many more situations (such as a user's invalid system-configuration)?

If so, the GLFW docs should probably be updated to reflect this stance more clearly.

The answer is option two. I will clarify the documentation.


[Bug Report] There's something wrong with the "gutter" class

Element UI version
1.4.3
OS/Browsers version
win10 / Firefox, Edge, IE
Vue version
2.4.2
Reproduction Link
https://jsfiddle.net/9dr49jb8/5/
Steps to reproduce
please open the link in firefox or edge or IE
What is Expected?
After you open the link, you would see the horizontal scrollbar reaches to the left side of right-fixed column, but you cannot scroll it. and there appears the vertical scrollbar, after you scroll it to the bottom, you would see the table body and the right-fixed column are misaligned. well, i didn't dig deep into the source code, but i found there a container with "gutter" class and the end of table row which has 1px wide solid border in browsers like FF, edge, ie, etc. however chrome interprets pretty ok. I modified the width of gutter in "index.css" from 1px to 0px, and the problem solved, so i suppose there's some tiny compatibility issues with the "gutter" class among different browsers.
What is actually happening?
.el-table--fit th.gutter, .el-table--fit td.gutter {
border-right-width: 1px;
}
==>
.el-table--fit th.gutter, .el-table--fit td.gutter {
border-right-width: 0px;
}

Duplicate of #5251


osds get  wrong crush location

i run ceph cluster with docker, but my osd seems to get wrong crush location, and all pgs are in creating status.
ceph osd tree
-1 1.28998 root default
0 0.42999     osd.0         up  1.00000          1.00000
1 0.42999      osd.1         up  1.00000          1.00000
2 0.42999     osd.2         up  1.00000          1.00000
ubuntu 16.04
docker 17.03.1-ce
image  ceph/daemon:tag-build-master-jewel-centos-7    c829a2f208bc    12 hours ago    660 MB
my shell script
for i in $(seq 1 $OSD_NUM)
do
docker run -d
--name=osd$i
--hostname=osd$i
-e OSD_TYPE=directory
-v /etc/ceph:/etc/ceph
-v /var/lib/ceph/osd$i:/var/lib/ceph/osd
-v /var/lib/ceph/bootstrap-osd:/var/lib/ceph/bootstrap-osd
-v /var/lib/ceph/bootstrap-mds:/var/lib/ceph/bootstrap-mds
-v /var/lib/ceph/bootstrap-rgw:/var/lib/ceph/bootstrap-rgw
ceph/daemon:$IMG_TAG osd
done
osd logs
ownership of '/var/run/ceph/' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-mds' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-osd' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw/ceph.keyring' retained as ceph:ceph
ownership of '/var/lib/ceph/bootstrap-rgw' retained as ceph:ceph
changed ownership of '/var/lib/ceph/mds/ceph-mds-osd1' from root:root to ceph:ceph
ownership of '/var/lib/ceph/mds' retained as ceph:ceph
changed ownership of '/var/lib/ceph/mon/ceph-osd1' from root:root to ceph:ceph
ownership of '/var/lib/ceph/mon' retained as ceph:ceph
changed ownership of '/var/lib/ceph/osd' from root:root to ceph:ceph
changed ownership of '/var/lib/ceph/radosgw/osd1' from root:root to ceph:ceph
changed ownership of '/var/lib/ceph/radosgw' from root:root to ceph:ceph
ownership of '/var/lib/ceph/tmp' retained as ceph:ceph
2017-07-25 06:07:03  /entrypoint.sh: static: does not generate config
2017-07-25 06:07:03  /entrypoint.sh: Creating osd with ceph --cluster ceph osd create
2017-07-25 06:07:03  /entrypoint.sh: OSD created with ID: 0
changed ownership of '/var/lib/ceph/osd/ceph-0/' from root:root to ceph:ceph
2017-07-25 06:07:03  /entrypoint.sh: created folder /var/lib/ceph/osd/ceph-0/
ownership of '/var/lib/ceph/osd/ceph-0/' retained as ceph:ceph
2017-07-25 06:07:03.741834 7f822ed82800 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
2017-07-25 06:07:03.801764 7f822ed82800 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
2017-07-25 06:07:03.802088 7f822ed82800 -1 filestore(/var/lib/ceph/osd/ceph-0) could not find #-1:7b3f43c4:::osd_superblock:0# in index: (2) No such file or directory
2017-07-25 06:07:03.857568 7f822ed82800 -1 created object store /var/lib/ceph/osd/ceph-0 for osd.0 fsid cfaccf06-cbd6-490a-966c-31e77bc3bebb
2017-07-25 06:07:03.857602 7f822ed82800 -1 auth: error reading file: /var/lib/ceph/osd/ceph-0/keyring: can't open /var/lib/ceph/osd/ceph-0/keyring: (2) No such file or directory
2017-07-25 06:07:03.857701 7f822ed82800 -1 created new key in keyring /var/lib/ceph/osd/ceph-0/keyring
HEALTH_OK
added key for osd.0
2017-07-25 06:07:04  /entrypoint.sh: done adding key
ownership of '/var/lib/ceph/osd/ceph-0//keyring' retained as ceph:ceph
create-or-move updating item name 'osd.0' weight 0.43 at location {root=default} to crush map
ceph-0: /usr/bin/ceph-osd --cluster ceph -f -i 0 --osd-journal /var/lib/ceph/osd/ceph-0//journal -k /var/lib/ceph/osd/ceph-0//keyring
2017-07-25 06:07:04  /entrypoint.sh: SUCCESS
forego   | starting ceph-0.1 on port 5000
ceph-0.1 | starting osd.0 at :/0 osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0//journal
ceph-0.1 | 2017-07-25 06:07:04.814805 7fdd98639800 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
ceph-0.1 | 2017-07-25 06:07:04.821158 7fdd98639800 -1 osd.0 0 log_to_monitors {default=true}

fixed in https://github.com/ceph/ceph-docker/pull/732


added Azure Pipelines hosted CI

This proof-of-concept demonstrates Visual Studio Team Services running the Django test suite on Linux and Windows against SQLite. The files in this PR define the pipeline, and I have a testing instance of VSTS ready to connect to the Django repo.
Carlton Gibson and I have been corresponding about the feature gaps in Microsoft's CI offering with respect to big open source projects. I'm asking to stand this up as a demo working against the real Django repo in order to have more pointed conversations about what's missing, what's not as nice as Jenkins, etc. It'll run alongside the existing Jenkins infrastructure, adding one additional gate on PRs (which can be set to not required).

Hi @vtbassmatt. Thanks for this. I was discussing this with Tim internally.
Adding these files would allow us to set up the integration with VSTS, so we could see it in action right? (Are all three necessary in the repo? I don't necessarily mind them... just asking?)
A couple of queries:

Obviously just SQLite doesn't cover our needs so, could you outline how the matrix would grow to cover the other databases? (MySQL, Oracle, Postgres, and on the radar MariaDB)
The "Hosted Linux Preview": what sort of system is that? And how could we ensure we could keep it up to date? (One issue raised with Travis is the base box being stuck some versions behind what we'd want, and are able to control ourselves using Jenkins.)

Many thanks for taking a look!

Adding these files would allow us to set up the integration with VSTS, so we could see it in action right?

Yes. These files will tell VSTS how to configure a pipeline. Once they exist, it's easy to go into the VSTS account, choose "new build > from GitHub", point at this repository, and then the right webhooks and status APIs are automatically configured.
In full disclosure, there's also a UI-based "designer" for builds which wouldn't require checking in any files. (Well, a note on that below.) It's equally powerful, but not as transparent as the YAML-based system. It seems that config-as-code is the new reality, and it's where we're putting most of our muscle right now.

Are all three necessary in the repo?

The two YAML files define the pipeline. They could be moved into a single file, though it would repeat itself. (build.yml is a template for the "phase" or job; .vsts-ci.yml invokes the phase multiple times in different configs.) A pattern I've seen in some repos is to create a dedicated folder at the root to contain CI stuff. It seemed presumptuous to do so here, but I can move things around if you prefer.
The third is an alternate settings file since I needed to specify the TEST_RUNNER. If there's a way to pass that on the command line to runtests.py, then the separate file could be deleted. (Even if the build were configured in the designer rather than YAML, I think this file would be needed.)

[H]ow the matrix would grow to cover the other databases

We are putting the finishing touches on running phases/jobs in containers. My thought is to use existing community containers for those databases where they exist, and building up custom containers out on Docker Hub as needed. It's on my radar to get this prototyped next.

[W]hat sort of system is that [Hosted Linux Preview]? And how could we ensure we could keep it up to date?

Hosted Linux Preview points to an Ubuntu 16.04 image we maintain. It was convenient and quick to get started, but the mentioned container solution will give much finer-grained control.
VSTS can also talk to self-hosted ("private") agents running Windows, Linux, or macOS. I'd consider it a failure in this case if we had to go there, though, as I really want our hosted offering to serve the needs of 99% of open source projects.

Thanks @carltongibson. I tried doing a .vsts/ directory, but since that's not a legal Python module identifier, I couldn't pass it to runtests.py --settings. Instead, I tidied everything up into a ci/ directory.

Hi @vtbassmatt.

I tried doing a .vsts/ directory, but since that's not a legal Python module identifier, I couldn't pass it to runtests.py --settings

So pulling your PR and moving ci/ to .vsts, I can run the test suite setting the PYTHONPATH environment variable.
django/tests $ PYTHONPATH=$(cd ../.vsts/ && pwd) ./runtests.py --settings=ci_settings.sqlite

(I also moved the settings into .vsts/ci_settings/sqlite.py to avoid the naming collision with test_sqlite.py, which is in my cwd as I'm running it here.)
Can you give that a go? I think it would be nicer to use the .vsts folder.
Thanks.

Will do! Sorry, this got lost in a pile of other mails today.
On Fri, Aug 10, 2018 at 10:29 AM Carlton Gibson<EMAIL_ADDRESS>wrote:

Hi @vtbassmatt https://github.com/vtbassmatt.
I tried doing a .vsts/ directory, but since that's not a legal Python
module identifier, I couldn't pass it to runtests.py --settings
So pulling your PR and moving ci/ to .vsts, I can run the test suite
setting the PYTHONPATH environment variable.
django/tests $ PYTHONPATH=$(cd ../.vsts/ && pwd) ./runtests.py --settings=ci_settings.sqlite
(I also moved the settings into .vsts/ci_settings/sqlite.py to avoid the
naming collision with test_sqlite.py, which is in my cwd as I'm running
it here.)
Can you give that a go? I think it would be nicer to use the .vsts folder.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/django/django/pull/10259#issuecomment-412098786, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AArmK5by1Kibb_8Uh80EohU7vLsJgiJ0ks5uPZi0gaJpZM4VsIGV
.

I'm putting the finishing touches on adding a MySQL run, plus reacting to our rebrand (from VSTS -> Azure Pipelines).

Added MySQL, squashed, and rebased.

I've left a few comments based on my experience with pipelines in gitlab. I have no azure experience, so some of those might be completely wrong. All in all the complexity of this PR surprises me.

I didn't review in detail but I noticed that the CACHES setting is missing. For Jenkins, we have:
CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
    },
    'memcached': {
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
        'LOCATION': '<IP_ADDRESS>:%s' % memcached_port,
        'KEY_PREFIX': '%s_%s_%s_memcached' % (PY_VERSION, DATABASE, ASCII_BUILD_NAME),
    },
    'pylibmc': {
        'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
        'LOCATION': '<IP_ADDRESS>:%s' % memcached_port,
        'KEY_PREFIX': '%s_%s_%s_pylibmc' % (PY_VERSION, DATABASE, ASCII_BUILD_NAME),
    },
}

(where the constants come from Jenkins environment variables).

@apollo13 thank you for your review. I tried to comment on each one, and will make changes where indicated.
@timgraham thanks as well. I'm embarrassed as a Django user to have never successfully set up caching (not needed on my little one-user projects), so it didn't occur to me to try. I will look at that next.

Hey all. Anything else I can do to help move this along? I added memcached already. Would testing on macOS add value?

Hey Matt. As I mentioned to you on the email, it would be nice to be able to run the CI here and see this in action without needing to merge this PR into master. (we do a lot of work to keep the commit history clean...)
It’s on my list to have a look at, but I haven’t got there yet. (I’d like to see what’s available.) Sorry for the delay. It’s just bandwidth.

Hi @vtbassmatt,
there recently has been quite some work on https://github.com/orf/django-docker-box and the results so far are rather interesting. If we do something on azure I think it would be interesting and go into a similar direction -- ie. in the end we might be able to switch between travis and azure with not effort (or use windows on azure and linux on travis etc…).
How hard do you think would it be for you to run the docker-compose stuff from django-docker-box on azure with for instance windows/linux? The main idea here would be that if we add a new CI variant it should be easy for endusers to run our setup locally (this is what docker-compose allows for relatively nicely). Currently if we have issues on Jenkins that are not reproducible easily, someone from the ops team has to look at the tests in the live system and I rather not have a similar situation on azure (read vendor lock in).

I'll investigate tomorrow. That sounds really interesting and gives me a chance to get smarter about containers 🤘

Great idea @apollo13. @vtbassmatt if Azure CI is able to run Windows based docker images (specifically the windows server variants) that would be amazing, we could add these to the compose setup and create images for them.
If you need any help feel free to reach out to me here or via email (which is in my profile) 👍

I'm sorry, I ran out of time to look at this today. Rather than set and blow through another expectation, let me amend and say I'll look at it this week :)

Hi matt, we are all doing this in our free time so absolutely no need to be sorry. You will get to it when you get to it!

Or you can squash and force push here. Up to you: do you think the discussion here has value?
Points I'd save from this discussion:

Can we use arbitrary images? Looks like yes.
Need to tweak images a lot may lead to a messy history. Can we avoid that? (If we can point to an external project, e.g. django-docker-box then maybe...)

Oh, the discussion here was definitely valuable -- thank you all! Because of the discussion, my approach changed dramatically, and I was thinking it might be cleaner to start fresh. (Also, selfishly, I was hoping to change the source branch name.)
We can run arbitrary container images. With the new approach, you should only need commits in the Django repo for adding/dropping Python releases and adding/dropping databases.

Rebased and squashed my new approach here.

It doesn't highlight the GitHub-side integration with Checks, but you can see how the test runs are visualized here.

OK, I've got a sample set up where you can even see how the GitHub-side Checks integration looks.
vtbassmatt/django is a fork of django/django. Here's an example PR showing the Checks integration. (Ignore the one labled "django-CI", that's from an earlier testing thing I was doing.) You can click through the Details view over to the run on the Pipelines side, where you'll see test results. In the very near future, instead of reporting just one global Check for the whole build, we'll report each job individually.

Hi @vtbassmatt. Thanks for all the work you did here. I'm going to close this now, as we're investigating GitHub Actions as an alternative.
Just one question if I may: we discussed being able to keep the workflow config in a separate repo (so that that couldn't be edited in a PR). I remember you getting some way towards that, but can't seem to find it right now. Do you happen to know if it's possible/feasible to have an action pull a workflow from a separate repo/branch/commit?
Thanks for the effort here! 🥇

@carltongibson somewhat ironically, Azure Pipelines is gaining native support for that capability very soon - like this sprint or next. I don't know what GitHub Actions's plans are here - @chrispat should.


Reorder some PKB initialization steps.

Cleans up some of the extraneous information that is printed when it is not needed.
For example, there is no reason to print warnings about other flags if --version is set.

LGTM


Build restructure. Eliminate nss_wrapper

Fixes #105

@helio-frota I am going to go ahead and merge this once CI finishes (assuming success). I just want you to take a look at it. And we should talk about the overall structure and big-ish changes going forward.


Remove bundle and use resourcedetectionprocessor for heroku metadata

This PR is a breaking change as it removes the bundle from the heroku release.
Using the new resourcedetection processor detector for heroku, the collector now can apply heroku metadata to metrics, traces and logs.

Is it necessary to remove bundle monitor availability instead of just adopting the new heroku detector?


Apply the OOTX properties to light timings

Based off of
https://github.com/nairol/LighthouseRedox/blob/master/docs/Light Emissions.md
and
https://github.com/nairol/LighthouseRedox/blob/master/docs/Base Station.md
Need to use this information to find out how the angle from center should be corrected.  Right now my conversion is:
hmd_point_angles[id*2+isy] = ( avgTime - 200000 ) / 200000 * 3.1415926535/2.0;

Clearly wrong.  Need to find out how the fcal.0.phase, fcal.0.tilt, fcal.0.curve, fcal.0.gibphase, and fcal.0.gibmag play into it.

@nairol - any ideas?

Alan Yates recently posted some explanation what the values mean.
I'm going to use pseudo code here...
angle(axis0) = 2*PI * (sensor_hit_time/800000)
fcal.n.phase: Constant offset to every angle measurement. (Not sure if you need to add or subtract it.)
corrected_angle(axis0) = angle(axis0) + fcal.0.phase
fcal.n.tilt: Non-constant offset to every angle measurement: Offset depends on same sensor's angle in the other scan direction.
corrected_angle(axis0) = angle(axis0) + ... +  tan(fcal.0.tilt) * predicted_angle(axis1)
predicted_angle() could just be a function that adds the difference of the last 2 angle measurement to the last one.
fcal.n.curve: Could be a quadratic term? I'm guessing here...
corrected_angle(axis0) = angle(axis0) + ... + some_function(fcal.0.curve) * predicted_angle(axis1)²
fcal.n.gibphase/gibmag: Also guessing... "first Fourier term"... hmm...
corrected_angle(axis0) = angle(axis0) + .. + fcal.0.gibmag * sin(angle(axis0)+2*PI*fcal.0.gibphase)
Ok, here is the final formula:
corrected_angle(axis0) = angle(axis0) + fcal.0.phase +  tan(fcal.0.tilt) * predicted_angle(axis1) + some_function(fcal.0.curve) * predicted_angle(axis1)² + fcal.0.gibmag * sin(angle(axis0)+2*PI*fcal.0.gibphase)
Btw. all the plus signs could as well be minus signs.
Maybe just try phase and tilt... :)
I only know the base station firmware code, that loads these values out of EEPROM and packs them into the OOTX frame. I haven't looked at the client side code that does the corrections (since that is really hard to find). I have no idea how the official software does it.

Didn't Yates also say that gibbious phase/ magnitude would better be named eccentricity?  I wish I would have saved off the chat logs.

Is it possible to get precise, quantitative location values out of the production vive code?  I can envision a test setup where we simulate data and send it into the vive stack either through hardware or software means and watch how different lighthouse calibration data affect the output.  I.e. put in a crazy high value for tilt, and see which way everything skews.  It's a brute force approach and seems like a lot of work; there may be other ways that are a lot easier.

My question on whether we can get quantitative location data out of Vive was answered in Discord.  Copying here so the answer doesn't get lost:
SketchStick
I believe vrcmd in the steamvr stack has a pollposes option?
There's a bunch of debug commands: strings vrcmd | grep '--'

I've been using this in my solver and it seems to work quite nicely. I haven't tested them comprehensively, but two 60 second runs seem to converge to lighthouse positions that differ by only 1mm, whereas the uncorrected values differ by 80mm. I think the key was to treat the tilt and curve parameters on the Euclidean sensor pose, and the 0th and 1st order Fourier components on the polar angles.
// Given a point in space, predict the lighthouse angle
template <typename T>
static void Predict(T const* params, T const* xyz, T* ang, bool correct) {
  if (correct) {
    ang[0] = atan2(xyz[0] - (params[0*NUM_PARAMS + PARAM_TILT] + params[0*NUM_PARAMS + PARAM_CURVE] * xyz[1]) * xyz[1], xyz[2]);
    ang[1] = atan2(xyz[1] - (params[1*NUM_PARAMS + PARAM_TILT] + params[1*NUM_PARAMS + PARAM_CURVE] * xyz[0]) * xyz[0], xyz[2]);
    ang[0] -= params[0*NUM_PARAMS + PARAM_PHASE] + params[0*NUM_PARAMS + PARAM_GIB_MAG] * sin(ang[0] + params[0*NUM_PARAMS + PARAM_GIB_PHASE]);
    ang[1] -= params[1*NUM_PARAMS + PARAM_PHASE] + params[1*NUM_PARAMS + PARAM_GIB_MAG] * sin(ang[1] + params[1*NUM_PARAMS + PARAM_GIB_PHASE]);
  } else {
    ang[0] = atan2(xyz[0], xyz[2]);
    ang[1] = atan2(xyz[1], xyz[2]);
  }
}

// Given the lighthouse angle, predict the point in space
template <typename T>
static void Correct(T const* params, T * angle, bool correct) {
  if (correct) {
    T ideal[2], pred[2], xyz[3];
    ideal[0] = angle[0];
    ideal[1] = angle[1];
    for (size_t i = 0; i < 10; i++) {
      xyz[0] = tan(ideal[0]);
      xyz[1] = tan(ideal[1]);
      xyz[2] = T(1.0);
      Predict(params, xyz, pred, correct);
      ideal[0] += (angle[0] - pred[0]);
      ideal[1] += (angle[1] - pred[1]);
    }
    angle[0] = ideal[0];
    angle[1] = ideal[1];
  }
}


Output truncated in Node.js 6

In Node.js 6 the output is sometimes (seems to happen when there is more than a few lines in the output) truncated because the process is killed before process.stdout is flushed.
The fix for this is to stop using process.exit() and instead use process.exitCode = .

Also seeing this.

Having the same issue

@LinusU You could better to ping @dylang via email. Got it from git commits.

Fixed in 5.2.2


Add udev package to fix  get_driverid task and start lldp daemon

depends on: https://github.com/RackHD/on-imagebuilder/pull/68

@RackHD/corecommitters @brianparry @geoff-reid @tannoa2 @uppalk1

@keedya : Could you give some more info on the problem you encountered with get_driveId? So that we all are aware of such problem in future.
Add @pengz1 as he is the owner of get_driveId script.

@yyscamper , the dockerized image didn't have access to /dev/ (it is unsafe to mount /dev/ to a container but get drive_id relies on it and on udev to build the data). @pengz1 is there  another way to generate this data like using lshw cmd?
Docker image works with the current discovery. We can make changes in the future if we decide to replace the drivId script

@keedya  maybe it's a 'have-to' to let the device related command in docker have the privilege to access /dev/* devices? especially some old tools access /dev/* devices as a default path.

Thanks @keedya

@keedya, lshw does include all PCI info, but it is difficult to pick and parser drive info. Also I am not sure if I can find enough info like serial number, wwn.


Add VCTK

Adding a Dataset

Name: VCTK
Description: This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various accents. Each speaker reads out about 400 sentences, which were selected from a newspaper, the rainbow passage and an elicitation paragraph used for the speech accent archive.
Paper: Homepage: https://datashare.ed.ac.uk/handle/10283/3443
Data: https://datashare.ed.ac.uk/handle/10283/3443
Motivation: Important speech dataset
TFDatasets Implementation: https://www.tensorflow.org/datasets/catalog/vctk

If interested in tackling this issue, feel free to tag @patrickvonplaten
Instructions to add a new dataset can be found here.

That sounds great @jaketae - let me know if you need any help i.e. feel free to ping me on a first PR :-)


v5.4 timestamped links are broken

Script version
5.4
Describe the bug
When opening a link with a timestamp at the end (for example &t=494s), it does not go to the specified time, but starts the video from the beginning.
Desktop
Firefox on Windows 11

I believe an embed in the latest 5.4 version overlaps the actual video, causing these issues. For me, the 5.0 version is working fine. You can use the following link to downgrade the script:
https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases/download/v5.0/Youtube-Ad-blocker-Reminder-Remover.user.js


Automatic links to existing pages?

Discussed in https://github.com/silverbulletmd/silverbullet/discussions/460

Originally posted by TheNomad11 July  9, 2023
There is alrealdy a kind of automatic linking to existing pages if you start with [[ - it would list existing pages, but it would be even more convenient if one would just write a text, save it and then voila Silverbullet would automatically insert links to existing page titles that occur in my text as in Mediawiki https://www.mediawiki.org/wiki/Extension:LinkTitles I find this extension extremely useful for connecting existing content. What do you think?

Many PKM systems have a feature called “unlinked mentions” which is exactly what you mean here. I think this can be done, either inline or in a separate panel (like most other PKMs like Obsidian and LogSeq) do. Some rules would need to apply, for instance if you happen to create a page named a you probably don’t want every instance of the word “a” in your space to link to that page, but I’m sure there’s some filtering that can be done here (such as a minimum length).

Would "unlinked mentions" make sense as part of the existing Backlinks plug? Excited for this!

Yes I'm thinking of adding an additional panel at the bottom of the page that could both show backlinks and not linked mentions as well.


gobject-introspection: 1.58.3 -> 1.60.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gobject-introspection/versions.
meta.description for gobject-introspection is: '"A middleware layer between C libraries and language bindings"'.

Checks done (click to expand)

built on NixOS
/bin/sh 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.
found 1.60.0 with grep in /nix/store/bhfhmfvnzkjr2f0fdbfsffz3chi5qfc7-gobject-introspection-1.60.0
directory tree listing: https://gist.github.com/eea7436d4fb89734cb0cd02492ba9918
du listing: https://gist.github.com/a2403354fc7c2b42f72f95c283e122a6

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

13710 total rebuild path(s)
4627 package rebuild(s)
4619 x86_64-linux rebuild(s)
4203 i686-linux rebuild(s)
960 x86_64-darwin rebuild(s)
3928 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
AgdaSheaves
AgdaStdlib
DisnixWebService
R
SDL_mixer
TotalParserCombinators
_20kly
a2jmidid
aacskeys
abcl
abcm2ps
abiword
accountsservice
acoustidFingerprinter
adapta-gtk-theme
adobe-reader
adoptopenjdk-bin
adoptopenjdk-hotspot-bin-11
adoptopenjdk-jre-bin
adoptopenjdk-jre-hotspot-bin-11
adoptopenjdk-jre-openj9-bin-11
adoptopenjdk-openj9-bin-11
adwaita-qt
aegisub
aesop
afew
afterstep
agdaBase
agdaIowaStdlib
agdaPrelude
ahoviewer
airtame
aj-snapshot
akonadi
akregator
alarm-clock-applet
albert
alchemy
aldor
alfred
aliceml
aliza
allegro5
alloy
alloy4
alloy5
almanah
alot
alsaTools
alt-ergo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bhfhmfvnzkjr2f0fdbfsffz3chi5qfc7-gobject-introspection-1.60.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gobject-introspection https://github.com/r-ryantm/nixpkgs/archive/84fb39b95954cad5356211c3d24a88278145e67d.tar.gz

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

cc @lovek323 @lethalman for testing.

Part of gnome-3.32


Remove the old bimap based mutable dictionary implementation

Codecov Report

Merging #1438 into master will increase coverage by 0.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1438      +/-   ##
==========================================
+ Coverage   67.15%   67.92%   +0.76%
==========================================
  Files         792      785       -7
  Lines       38574    38166     -408
  Branches     5050     4970      -80
==========================================
+ Hits        25906    25924      +18
+ Misses      10989    10561     -428
- Partials     1679     1681       +2

Impacted Files
Coverage Δ

...dex/loader/invertedindex/InvertedIndexHandler.java
68.57% <0%> (-11.43%)
:arrow_down:

...not/core/query/pruner/DataSchemaSegmentPruner.java
53.65% <0%> (-4.88%)
:arrow_down:

...com/linkedin/pinot/core/common/DataBlockCache.java
76.51% <0%> (-0.68%)
:arrow_down:

...regation/function/customobject/QuantileDigest.java
55.36% <0%> (-0.43%)
:arrow_down:

...manager/realtime/LLRealtimeSegmentDataManager.java
69.16% <0%> (+0.2%)
:arrow_up:

...ntroller/helix/core/PinotHelixResourceManager.java
58.5% <0%> (+0.22%)
:arrow_up:

.../pinot/core/segment/index/SegmentMetadataImpl.java
79.04% <0%> (+0.63%)
:arrow_up:

...not/broker/requesthandler/RangeMergeOptimizer.java
90.32% <0%> (+1.61%)
:arrow_up:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
87.93% <0%> (+3.44%)
:arrow_up:

...pinot/controller/validation/ValidationManager.java
81.01% <0%> (+6.48%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


gen-manifests: derrive seedArg from filename and env

To ensure that manifests get random(ish) and stable UUIDs we set the seed arg based on the filename and the environment (OSBUILD_GEN_MANIFEST_RNG_SEED).
This should fix the issue discovered in
https://github.com/osbuild/manifest-db/pull/124
that duplicated UUIDs for xfs/btrfs can trigger random(ish) and hard to diagnose errors.
[draft as it lacks testing, I don't know yet how to do that]

I think we might want to get rid of this cmd and only keep the one in images.  We'd have retool some things in manifest-db maybe so let's discuss it tomorrow and do it all then.

Unless this is urgent

If we get rid of this command I will close this PR and open one that removes the command  - otherwise we could simply import the helper from https://github.com/osbuild/images/pull/674 here now

Closing in favor of https://github.com/osbuild/osbuild-composer/pull/4152


Write a code of calculator

Hey @playerg7 , I would like to b assigned to this issue.

Hey @playerg7 , I would like to be assigned to this issue.

Create Readme.md FIle in which will be assign all detail about your project with output.

I do not understand, I made a pull request on a coded calculator for this issue. Am I also required to do the read.me file for the calculator to be approved?

I do not understand, I made a pull request on a coded calculator for this issue. Am I also required to do the read.me file for the calculator to be approved?
I have merged your PR but ,
Please do not share this repo to anyone else


QPDF fails to compile in C++20 mode due to incomplete type since vector's destructor is now constexpr

I realize this may be a bit premature, but I would like to be able to compile QPDF under C++20 mode without local patches.
C++20 makes more standard library types like std::vector constexpr than previously.
This can cause compilation errors when T is an incomplete type when when some code using the vector is compiled. I found some background discussion about the issue here if you'd like further details.

W.R.T. QPDF I believe this is only a problem in one spot in the file include/qpdf/JSON.hh:
class JSON
{
    ...
    struct JSON_array: public JSON_value
    {
        JSON_array() :
            JSON_value(vt_array)
        {
        }
        virtual ~JSON_array() = default;
        virtual void write(Pipeline*, size_t depth) const;
        std::vector<JSON> elements;
    };
   ...
};

Here JSON is an incomplete type when the (constexpr) std::vector destructor is compiled, triggering a compilation error on certain C++20 compilers, which throw an ugly message similar to:
include/c++/v1/vector:839:62: error: arithmetic on a pointer to an incomplete type 'JSON'
        __alloc_traits::destroy(__alloc(), std::__to_address(--__soon_to_be_end));
...
JSON.hh:383:17: note: in instantiation of member function 'std::vector<JSON>::~vector' requested here
        virtual ~JSON_array() = default;

For the moment I workaround this with a local patch which forward declares JSON_array:
class JSON
{
    ...
    struct JSON_array;
    ...
};
struct JSON::JSON_array : public JSON_value
{
    ...
};

Here is my best shot at a reduced testcase:
#include <vector>

struct JSON {
  struct JSON_value {
    virtual ~JSON_value() = default;
  };
  struct JSON_array : JSON_value {
    virtual ~JSON_array() = default;
    std::vector<JSON> elements;
  };
};

Note that it can be challenging to trigger the compilation error since it requires both a sufficiently new compiler and library version.  So let me know if you want more details reproduction steps.
With my reduced testcase I can reproduce the issue with godbolt clag and -std=c++20 flag. Or on my work (gLinux) system with clang++ -v main.cc -std=c++20 -stdlib=libstdc++.
However I wasn't able to easily reproduce the issue on my personal Debian computer. Presumably I either misconfigured something or the compiler or standard library wasn't new enough to tickle the problem.

I really looking forward to being able to use C++-20. There are a few enhancements that will be much easier with with. While I'm not close to being ready to require C++-20 yet (we just bumped to 17), I would accept a PR that allows the code to work with C++-20 while not breaking C++-17 support (or anything else).

Fixed by #966 which is the same change as #943 .


[Git Repos] Bug fix for #8887

Description
Resolves #8887: getting default browser throws an exception when the plist is not in binary format.
The default browser bundleId is used when opening an app to decide whether to open the path to the file, or the remote url. The proposed fix is to just catch and ignore the error when fetching bundleId, and instead also maintain a list of all installed common browsers (list maintained by get-installed-browsers package). If the default browser bundleId is unset (due to the binary plist exception), then for most browsers, the app name will be matched against the installed browsers list, allowing proper remote url opening.
Additionally, the "Open in All Applications" action wasn't using the same target logic, so it would always open the file path, even for browsers. This is now fixed.
Considerations
Checking against the list of browsers will happen for every single app (not just browsers) in the user's list of preferences, so there is theoretically a minor performance hit. However there's a maximum of 5 apps and unlikely to be more than say 5 browsers installed for most people, so this shouldn't be a huge issue.
The only advantage I see, besides the browser opening option continuing to work when the plist parsing fails, is that the user would be able to set a non-default browser to open their repos (unlikely scenario).
Screencast
Reproducing what I think is the bug on the published build:

And the same thing with the new patch (nothing exciting):

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for your contribution @nitishpdmn 🔥
@moored do you mind checking this?

Looks good


Any plan to add unit tests?

Hi, I think this is a great project that gives many implementation and great guidance for number theory learning. But I think it would be better to add test cases for these functions.
I have good willing to add unit tests to these splendid functions.  Call for more discussion about this topic here.

Very good idea.  I had some unit tests laying around for my own use, but a more cleanly done set would improve the project.

Made a start with an existing unittest script for numbthy.py, running under Travis.  More work is needed, primarily for the other files.

Congratulation! Do you have a priority list? I can have a try.

No priority list - it's all open.  Any suggestions are good.


Fix Key Ratios Download

Made some changes to work with a new version of python. Also added a referral link to the key ratios download so that it will work again.

Hello,
Do you have connection errors using PyMySQL? I keep getting an error saying I can't connect to MySQL server on 'db_host' when trying to run good_download.py.


test(transformer): move transformer conformance snapshots into separate directory

#5917  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Resolved Index page issue

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EM-4010
Change description
Resolved Index page issue
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Wrongly added CDAM changes in to this branch


Various updates for k-point symmetry related stuffs

This PR adds the following new features:

Add symmetry adapted crystalline GTOs for symmorphic space groups. For non-symmorphic space groups, the factor system for the projective representation is not 1, which can be added in the future if needed.
Allow using symmetry adapted GTOs in PBC SCF calculations.
Add k-point symmetry adapted KRCCSD. The current implementation, at the best case, reduces both the memory footprint and the CPU time by a factor of the order of the point group. This code is meant to be a template, and k-point symmetry can be applied to other methods following the same strategy. A benchmark is shown below (run on 16 CPU cores). To further improve the performance, we will need an efficient sparse tensor contraction engine which also considers space group symmetry.

In addition, this PR also fixes the following issues:

fix occupation number error in pbc.khf_ksymm.get_occ (issue #1470)
fix dimension error in pbc.df.df.CDERIArray (issue #1563)

Codecov Report

Merging #1578 (a298f69) into master (c0c4dbc) will increase coverage by 0.06%.
The diff coverage is 81.20%.

:exclamation: Current head a298f69 differs from pull request most recent head 17b13b0. Consider uploading reports for the commit 17b13b0 to get more accurate results

@@            Coverage Diff             @@
##           master    #1578      +/-   ##
==========================================
+ Coverage   85.36%   85.43%   +0.06%
==========================================
  Files         772      779       +7
  Lines      153383   155189    +1806
  Branches    16613    16899     +286
==========================================
+ Hits       130933   132581    +1648
- Misses      18991    19097     +106
- Partials     3459     3511      +52

Impacted Files
Coverage Δ

pyscf/pbc/scf/addons.py
87.90% <ø> (ø)

pyscf/pbc/symm/pyscf_spglib.py
76.66% <ø> (ø)

pyscf/pbc/scf/kghf_ksymm.py
63.41% <24.39%> (-20.50%)
:arrow_down:

pyscf/pbc/scf/kuhf_ksymm.py
66.01% <40.62%> (+0.41%)
:arrow_up:

pyscf/pbc/symm/group.py
60.14% <55.82%> (+60.14%)
:arrow_up:

pyscf/scf/ghf_symm.py
89.35% <68.75%> (-0.65%)
:arrow_down:

pyscf/pbc/symm/space_group.py
77.16% <73.33%> (+1.51%)
:arrow_up:

pyscf/pbc/cc/kccsd_rhf_ksymm.py
76.35% <76.35%> (ø)

pyscf/pbc/lib/ktensor.py
78.46% <78.46%> (ø)

pyscf/pbc/gto/cell.py
86.41% <83.78%> (+1.53%)
:arrow_up:

... and 41 more


"Propose a Government Action" Guide entry needs writing.

This page is currently blank: https://docs.sanchogov.tools/how-to-use-the-govtool/using-govtool/governance-actions/propose-a-governance-action
The flow for proposing does not work at the moment, so this issue is blocked.

This has been done


Enable sourceMap in devMode without FOUC

I'm submitting a

[ ] Bug report
[x] Feature request
[ ] Performance issue
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior
Enable css-loader sourceMap option will cause FOUC.
Expected behavior
No FOUC when sourceMap enabled for css-loader.
Minimal reproduction of the problem with instructions
In webpack.config.base.babel.js:
...
      // Use a list of loaders to load css files
      {
        test: /\.css$/,
        use: [
          devMode ? 'style-loader' : MiniCssExtractPlugin.loader,
          { loader: 'css-loader', options: { sourceMap: !devMode, importLoaders: 1 } }, // TODO: enable sourceMap in devMode without FOUC
          { loader: 'postcss-loader', options: { sourceMap: true, plugins: () => [postcssImport, postcssPresetEnv, cssnano] } },
        ],
      },
      // Use a list of loaders to load scss files
      {
        test: /\.scss$/,
        use: [
          devMode ? 'style-loader' : MiniCssExtractPlugin.loader,
          { loader: 'css-loader', options: { sourceMap: !devMode, importLoaders: 2 } }, // TODO: enable sourceMap in devMode without FOUC
          { loader: 'postcss-loader', options: { sourceMap: true, plugins: () => [postcssImport, postcssPresetEnv, cssnano] } },
          { loader: 'sass-loader', options: { sourceMap: true } },
        ],
      },
...

simply change !devMode to true will cause the FOUC.
What is the motivation / use case for changing the behavior?
SourceMap support in development.

Related:
https://github.com/webpack-contrib/css-loader/issues/613
https://github.com/facebook/create-react-app/pull/3202


fix(backup): enqueue volumes with correct names

Which issue(s) this PR fixes:

Issue # longhorn/longhorn#5411, longhorn/longhorn#10057
What this PR does / why we need it:
In enqueueVolumesForBackupVolume of volume controller, it needs to use BackupVolume.Spec.VolumeNameto get volume CR instead ofBackupVolume.Name`.
Special notes for your reviewer:
Additional documentation or context
Run test cases:
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7981
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7986
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7995
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/8001
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/8012
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/8013
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/8014
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/8015

@Mergifyio backport v1.8.x

@mergify backport v1.8.x


wheres the app?

i installed it and yet does not show up in any folders or anywhere.. is this a fake software?

nvm i found it..


son-access: integration with workspace

addresses issue #132

test this please

test this please

test this please

test this please


Teleporter Range is Unproportional.

Teleporting up works properly, I assume, and the teleporter block aiming down has less of a range.
Ex of Up range being proportional. http://i.imgur.com/nH7oGol.jpg
EX Of Down range not working. http://i.imgur.com/FNcBBmJ.jpg
If I am doing something incorrectly, I would love input.

If this is at the absolute range limit this could be due to you being one block closer to target when on the lower anchor and one further away when you are on the upper anchor. Assuming the range is calculated from your person to the target anchor as opposed to between the anchor you're on to the target anchor.

That's exactly what's happening. I don't personally think it's an issue, as physically you ARE closer to the upper teleporter when standing on the bottom one than vice versa.


( Songselect Ver.1 ) Updated icon to new design

Part for use with Songselect Ver.2 But i apply to Ver.1 First

done
anyway i change color bar too


Flatten binary tree into linked list

hey @tanus786  i want  to add this issue...
please asisgn me asap...and add hacktoberfest tag

You can directly add the file and make PR I'll merge it. And give this repo a star also✨

Sure..also give this repo a like✨

i have made pull request please look into it...

did you fork the repo?
its not showing any PR on my profile

I have fork the repository and commit the change into main branch and made pull request...
please check and add hacktoberfest accepted label...

done

can you please give me follow back

add same in my pull request also...

can you please give me follow back

sure...

you can also follow me if don't mind...

add same in my pull request also...

please do this asap...

and if you don't mind we collab and work together...in CP field as well as in web development...

Sure I'd like to work together.✨

And i think your PR is accepted please check on HackOctober website.

And i think your PR is accepted please check on HackOctober website.

yaa just checked


FB: set messenger_extensions: true

Is it somehow  possible to set messenger_extensions: true in fb messenger?
Perhaps even as default true for webview?
Like it seems Payload is the only possibility for this add the moment?

This library does support platform-specific (e.g. Facebook, Actions on Google, Slack) features including Facebook Messenger configurations.  Please use Payload for platform specific communication.


curl: apply patch for CVE-2023-38545

Description of changes
https://curl.se/docs/CVE-2023-38545.html

Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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

[X] Fits CONTRIBUTING.md.

@ofBorg build curl


OAuth not working when GitLab still requires acceptance of TOS

Summary
When the GitLab instance that the user wants to OAuth with has a TOS that still needs to be accepted the mobile app will only return: Could not parse auth data out of gitlab user object
Environment Information

Device Name: LG Nexus 5X
OS Version: Android 8.1
Mattermost App Version: 1.9
Mattermost Server Version: 4.9.1

Steps to reproduce
Enable some kind of TOS for the users to accept in the GitLab instance used for OAuth and try to login with the mobile app without having accepted the TOS
Expected behavior
I would expect some kind of screen to either tell the user what the problem is, or even give the user the possibility to accept the TOS from within the app.
Observed behavior
App only returns a screen that says:
Could not parse auth data out of gitlab user object
Note
I'm not 100% sure this is the right place to post this as this could also be seen as an issue with the OAuth implementation that GitLab uses/the information GitLab returns when trying to authenticate using OAuth.

Hi @svelle! Thank you for reaching out.
Next step is that I will test this out / ask a colleague to help test this.

@svelle Came to my mind - which build version of 1.9 are you using?

@amyblais So this is still happening with the 1.9 stable release. On Android and iOS. Server Version is still 4.9.1

@hmhealey Do you know if this is a known issue or would it help if I ask QAs to test it and then open a ticket if they can repro? Is this at all related to the ticket open here: https://mattermost.atlassian.net/browse/MM-10573?

It's the same issue as that, but this one affects the mobile app instead of the web app. I think we should file a separate ticket for this issue on mobile since it requires some more work than the web app which just needs better error text.

Thanks for the report @svelle and thanks for filing that @amyblais!

This was actually fixed in Mattermost 5.0 by https://github.com/mattermost/mattermost-server/pull/8949. If you're using the bundled Mattermost instance, the latest version of GitLab now ships with Mattermost 5.0