Create a tool to check function definitions

We will create a tool tentatively called kore-check-functions which will check the following properties of function definitions:

For every equation in a function definition, the right-hand side of the equation is a function pattern.
For every pair of equations in a function definition, the equations cannot match the same term.

Recall the interpretation of function rules in Kore. We will use that notation in the following.
To check the first property is very simple, so we will use that task as an opportunity to set up infrastructure: taking the definition as input, validating it, getting the list of equations, etc.
To check the second property, we will instantiate the pair of equations E₁ and E₂ at the same term e.g. fun({X}) and evaluate
Pre₁({Y}) ∧ Args₁({X}, {Y}) ∧ Prio₁({X}) ∧ Pre₂({Y}) ∧ Args₂({X}, {Y}) ∧ Prio₂({X})

If this predicate is unsatisfiable, then the equations can never match the same term.

@dopamane For the second part, remember that equations are grouped according to the symbol at the top. Let [E1, E2, ..., En] be one of these groups, we should generate all unordered pairs (Ei, Ej) and evaluate the predicate in the description. We need to check that all of the results are \\bottom, for every group of equations.


Web Access for guests

Basically  I would like to see just a "web access" for guest people who doesn't have access to PC with visual code or visual studio for at least to see what is going on and give some thoughts  and ideas and continue to work on it. It can be access from mobile phone or public laptop/pc. Mostly I would like to see on mobile systems. But more advance web access would be better for "doing some quick changes" and "check what's wrong and give ideas and move on" would be awesome to see it.
Thank you.

Adding @Chuxel, @lostintangent, and @jonwchu.

I used to use Skype Interviews extensively and was just straight forward and worked well (most of the time). I've tried to use Live Share, but this puts a burden on candidates to install and configure software on their machines. Additionally it requires them to create a Microsoft account. If a candidate fails to install it before the interview, it takes time from the interview to have everything working.
Once it is setup, it worked well so far - this was the obvious web client part :)
One problem I've got is that I wasn't able to figure out how to rejoin a reusable session link after I've created it, so I default to send a new link just before the interview.
Altogether, LiveShare seems more targeted towards pair programming and not interviews. If compared to other products such as Skype Interviews (RIP), Codility or even the crappy Collabedit, LiveShare has just a bunch of features I don't need on interviews and the features I need for interviews are more complex to use than in other products.
Just to be fair, I like VS Code and the Live Share feature, it is just not a great tool for interviews. It would be a great tool, if it would work as easy as Skype Interviews did - Share a time limited session link, both can use the same link over the browser (it is ok if I need to use VS Code, but not the candidate), does not require candidates to authenticate.
Things like code execution and calls are goodies, but not really required for me. I also don't need to have a whole workspace with multiple directories/files or servers, etc. One document is sufficient.

We just released preview support for our web client, which you can learn more about here: https://aka.ms/vsls-web. Let us know if you have any feedback. Thanks!


ERROR: No such service: alice

Background
Ttying to establish a lightning network cluster running on the testnet.
Describe your issue here.
I was following the instructions in this file https://github.com/lightningnetwork/lnd/tree/master/docker
But when i try to run Alice with command: docker-compose up -d "alice";
I got this error: ERROR: No such service: alice
Your environment

version of lnd
0.7.1-beta

which operating system (uname -a on *Nix)
Ubuntu 18.04 64bit

version of btcd, bitcoind, or other backend

any other relevant environment details

Steps to reproduce
Run docker-compose run -d --name alice lnd_btc to create a new container.
Colse it first, then run docker-compose up -d "alice" to bring it back.
Expected behaviour
Container Alice should back online.
Actual behaviour
Error, could not find Alice

Are you referring to this line? Yeah, I don't think that works. Would you like to submit a PR changing that line to:
docker-compose run -d --name alice lnd_btc; docker exec -it "alice" bash

? :)

#3411

Are you referring to this line? Yeah, I don't think that works. Would you like to submit a PR changing that line to:
docker-compose run -d --name alice lnd_btc; docker exec -it "alice" bash

? :)

I think simply fixing this problem won't help much. This version of instruction is out of data and can not be used directly to switch the network from simnet to testnet.


Flask of Crimson Tears and Flask of Wondrous Physick missing in generated tool data and icons

It seems the Spectral Steed Whistle has the Flask of Crimson Tears overlayed on top?
https://assets.erdb.workers.dev/icons/tools/558/high

It seems the Spectral Steed Whistle has the Flask of Crimson Tears overlayed on top? https://assets.erdb.workers.dev/icons/tools/558/high

that's for when torrent dies and you have to use a flask charge to resummon


less ringing for anime

Before:

Encoding         kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm   PSNR   QABPP  SmallB  DCT4x8     AFV  DCT8x8    8x16    8x32      16   16x32      32   32x64      64       BPP*pnorm   Bugs
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
jxl:d0.5:epf0      18611  5479933    2.3554609   1.509  12.777   1.46929085  96.88926767   0.37647436  44.44   2.404  0.9800 30.2407  2.0092  7.8113 26.9791  0.0000 28.9949  1.2462  2.3218  0.1100  0.0880  0.886770637752      0
jxl:d1:epf0        18611  3508576    1.5081049   1.656  16.754   2.00846314  88.72175729   0.60622312  40.78   2.182  0.8662 21.5691  2.1378  5.8592 20.2723  0.0000 29.9783  7.8787 12.0216  0.1100  0.0880  0.914248035020      0
jxl:d3:epf0        18611  1669936    0.7177951   1.664  17.846   4.98670959  72.20533049   1.27575973  35.18   2.333  0.6086 12.2248  1.9635  3.9541 13.4727  0.0000 15.2416 29.6028 23.5040  0.1210  0.0880  0.915734062060      0
jxl:d5:epf0        18611  1165821    0.5011094   1.697  19.615   8.08750057  61.37866336   1.80637807  32.76   2.393  0.4175  8.5176  1.6007  2.8881 11.4136  0.0000 11.7149 35.3770 28.6207  0.1210  0.1100  0.905192985726      0
jxl:d7:epf0        18611   923480    0.3969430   1.731  19.765   8.91376781  52.73544364   2.24875514  31.35   2.423  0.3005  6.6260  1.3328  2.3235 10.2837  0.0000 10.2500 38.2160 31.1846  0.1541  0.1100  0.892627612088      0
jxl:d15:epf0       18611   504842    0.2169982   1.785  23.170  13.02580166  23.46301169   3.93721079  28.54   2.331  0.0849  2.3239  0.5289  0.6833  6.4386  0.0000  6.2763 40.8652 43.0412  0.4291  0.1100  0.854367655546      0
Aggregate:         18611  1610535    0.6922625   1.671  18.027   4.89866383  60.10304511   1.29224853  35.10   2.343  0.4202 10.0749  1.4557  3.0654 13.3135  0.0000 14.6742 15.8836 17.1227  0.1507  0.0984  0.894575158503      0

After:

Encoding         kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm  SSIMULACRA2        pnorm   PSNR   QABPP  SmallB  DCT4x8     AFV  DCT8x8    8x16    8x32      16   16x32      32   32x64      64       BPP*pnorm   Bugs
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
jxl:d0.5:epf0      18611  5496222    2.3624625   1.564  13.856   1.47659278  97.26210424   0.38644012  44.58   2.390  1.0502 38.8054  2.0353 12.7839 26.1552  0.0000 18.3144  1.0701  0.3686  0.1100  0.0880  0.912950280511      0
jxl:d1:epf0        18611  3535924    1.5198600   1.723  16.990   1.92720914  89.03142591   0.61247234  40.97   2.144  0.9542 28.1930  2.1863  8.9629 21.6568  0.0000 32.6247  2.6712  3.3341  0.1100  0.0880  0.930872188891      0
jxl:d3:epf0        18611  1689795    0.7263312   1.720  20.160   4.46157885  72.71894229   1.26152649  35.49   2.261  0.7060 16.1353  2.1058  5.2550 14.1412  0.0000 21.1987 20.4642 20.5550  0.1320  0.0880  0.916285995930      0
jxl:d5:epf0        18611  1162266    0.4995813   1.754  21.980   5.79033136  61.60695433   1.79438423  33.00   2.276  0.4917 10.6427  1.7018  3.4459 11.4852  0.0000 16.6831 29.2287 26.8271  0.1651  0.1100  0.896440832190      0
jxl:d7:epf0        18611   901694    0.3875786   1.786  23.813   7.27849674  52.50562320   2.26222307  31.50   2.277  0.3518  7.6517  1.3548  2.4335  9.6716  0.0000 14.0628 34.6205 30.3373  0.1871  0.1100  0.876789337789      0
jxl:d15:epf0       18611   503748    0.2165280   1.802  24.490  12.82622719  24.00047824   3.88351047  28.59   2.258  0.1310  2.6574  0.5512  0.7070  5.7955  0.0000  8.1194 40.3562 41.4621  0.8473  0.1541  0.840888606386      0
Aggregate:         18611  1608780    0.6915080   1.723  19.832   4.35933622  60.46884398   1.29456363  35.27   2.267  0.5022 12.5030  1.5112  3.9094 13.1440  0.0000 16.9989 11.5619  9.7375  0.1863  0.1041  0.895201081400      0

What corpus are these numbers for?
Could you share some examples before/after where it makes a noticeable difference?
Could you do a same-bpp comparison around d2? (say d2 before, d2.03 after or whatever is needed to match corpus bpp)

numbers are with jyrki31 pepped with some anime snippets and some other difficult images
best if you try with a different corpus and form a new opinion, I have stared at these for a few days

note that d0.5, d1, d3 all get a higher ssimulacra2 score, similarly better butteraugli max scores
(I didn't use any automated methods for this change, it was all manual)

Trying on a few random manga images (and just going by the metrics), it does look like a good improvement, but it's at the moment producing higher quality and using more bytes for the same settings.
E.g. on a few random images, I get this:
Before:
Encoding      kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm        pnorm       BPP*pnorm   Bugs
------------------------------------------------------------------------------------------------------------
jxl:d1           4945   352560    0.5703479   1.127  10.134   1.71980071   0.40719574  0.232243242920      0
jxl:d2           4945   253077    0.4094110   1.208   8.889   2.89177322   0.74157528  0.303609077277      0
jxl:d3           4945   206726    0.3344275   1.251   8.815   3.95514226   0.93876976  0.313950384872      0
Aggregate:       4945   264217    0.4274321   1.194   9.260   2.69940567   0.65690997  0.280784385535      0

After:
Encoding      kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm        pnorm       BPP*pnorm   Bugs
------------------------------------------------------------------------------------------------------------
jxl:d1           4945   362999    0.5872354   1.214   8.388   1.45507181   0.37557506  0.220550983400      0
jxl:d2           4945   261046    0.4223027   1.281   7.455   2.42923307   0.66656788  0.281493423449      0
jxl:d3           4945   212363    0.3435466   1.200   7.746   3.09035206   1.04370432  0.358561091164      0
Aggregate:       4945   271999    0.4400215   1.231   7.854   2.21881209   0.63930220  0.281306739740      0

This looks like a very good improvement going by max norm, but the bpp also goes up by 3% or so.
Could you adjust things so instead of improving quality by 10% or whatever it is while making compression 3% worse, we get 1% better compression and 2% better quality, at the same time? That way nobody can complain when they just keep using the same settings as before (if we start producing larger files than before, it requires more explaining, even if the images look better).

This quality improvement allocates more bits in the proximity of smooth areas. If an image has a lot of such smooth areas, it will grow in BPP.
This quality improvement is conservative in the sense that it does not fully solve the problem, but only about 50 % of the ringing occurances are fixed (at least with epf0). I don't want to make it less effective or more conservative.
When a corpus has photographic images (usually close to 0.8-1.0 in BPP*pnorm) those images get slightly less BPP, and the anime/sharp-edged images get slightly more.


Add fuctionality to add Json schema to metadata

Add Json schema for metadata
The metadata in a subscription is completely unrestricted and can have anything.
This functionality is to make metadata descriptive in a __schema__ for the frontend to be able to render the metadata and know what to do with typing.
example how to update the __schema__:
from orchestrator.graphql.schemas.subscription import MetadataDict

class Metadata(BaseModel):
    some_metadata_prop: list[str]

MetadataDict.update({"metadata": Metadata})

This will result in json schema:
{
    "__schema__": {
        "title": "Metadata",
        "type": "object",
        "properties": {
            "some_metadata_prop": {
                "title": "Some Metadata Prop",
                "type": "array",
                "items": {
                    "type": "string"
                }
            }
        },
        "required": [
            "some_metadata_prop"
        ]
    }
}

Codecov Report

Merging #367 (71e9da2) into main (df326f3) will decrease coverage by 0.11%.
The diff coverage is 63.63%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
- Coverage   72.91%   72.81%   -0.11%
==========================================
  Files         184      184
  Lines        8807     8817      +10
  Branches     1441     1441
==========================================
- Hits         6422     6420       -2
- Misses       2198     2212      +14
+ Partials      187      185       -2

Files
Coverage Δ

orchestrator/graphql/schemas/subscription.py
64.63% <63.63%> (-0.65%)
:arrow_down:

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


Log polling interval can be configured

By allowing the poll interval to be configured in the monolith, the omniwitness operator can now control how often the witness will poll logs to look for new checkpoints. This includes disabling polling, which allows the witness to be deployed in a bastion-only mode.

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 33.52%. Comparing base (3c58af4) to head (2d545a8).
Report is 113 commits behind head on main.

Files with missing lines
Patch %
Lines

omniwitness/omniwitness.go
0.00%
8 Missing :warning:

cmd/omniwitness/monolith.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #277       +/-   ##
===========================================
- Coverage   51.05%   33.52%   -17.53%
===========================================
  Files          11       23       +12
  Lines         903     1384      +481
===========================================
+ Hits          461      464        +3
- Misses        374      823      +449
- Partials       68       97       +29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Error after importing the DataTable component

Hi,
I just installed the Data Table component and followed the instructions: https://ui.shadcn.com/docs/components/data-table
But I'm getting an error on the import of { cn } from "@/lib/utils"
"Cannot find module '@/lib/utils' or its corresponding type declarations.ts(2307)"
I mean, technically I don't have such folder in my project. I don't understand why the component didn't include it as well upon installation. Am I missing something here?

The utils.ts file is created when you run the init command of the shadcn-ui cli. Did you run npx shadcn-ui init?


possible fix to make 3.4 mac builds faster

it appears they are not using prebuilt wheels

Coverage remained the same at 98.463% when pulling 3388ad2fb1846c5a056f24240d8795ba560c587c on fix_wheel_mac_34 into e9d37d90eb248b1a59a2d3eb6d92378181bfbea3 on master.

Coverage remained the same at 98.463% when pulling 3388ad2fb1846c5a056f24240d8795ba560c587c on fix_wheel_mac_34 into e9d37d90eb248b1a59a2d3eb6d92378181bfbea3 on master.

Coverage remained the same at 98.463% when pulling d5e52b107186f2777c1e39604e154d3b189d9a72 on fix_wheel_mac_34 into e9d37d90eb248b1a59a2d3eb6d92378181bfbea3 on master.

One issue I found while working on the HTTPS issue is that  the pip from Python3.4 is outdated.  I have forced the update by using pip install -U pip in line 38 and it worked just fine.

Coverage remained the same at 98.463% when pulling 0e5a1aaa3f971a5e089c5dcbbb7233eb4b9c802c on fix_wheel_mac_34 into e9d37d90eb248b1a59a2d3eb6d92378181bfbea3 on master.

looks like that fixed it, will merge once all checks are there

Coverage remained the same at 98.463% when pulling edf63a2ba8034e7922811b965f724549032d15e5 on fix_wheel_mac_34 into e9d37d90eb248b1a59a2d3eb6d92378181bfbea3 on master.


Tooltip in vehicle sheet (special of weapons)

The tooltip of weapon specials isn't at the text where it should be, but on top of the sheet (see screenshot)

Yep.  I'll fix this shortly.  Thanks for finding all these issues :)

Fixed by CStadther, will be in the next update.


Akonadi server not starting anymore

Describe the bug
A previously working akonadi server does not start anymore after reboot.
Steps To Reproduce

akonadictl start --verbose

Expected behavior
Akonadi server starts up cleanly.
Actual behavior
This is the output of akonadictl start --verbose
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl:    done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Found mysql_install_db:  "/nix/store/rwjkcmlknikrz9yb3l30293nlzsdc81h-mariadb-server-10.6.8/bin/mysql_install_db"
org.kde.pim.akonadiserver: Found mysqlcheck:  "/nix/store/rwjkcmlknikrz9yb3l30293nlzsdc81h-mariadb-server-10.6.8/bin/mysqlcheck"
org.kde.pim.akonadiserver: Using mysqld: "/nix/store/rwjkcmlknikrz9yb3l30293nlzsdc81h-mariadb-server-10.6.8/bin/mysqld"
org.kde.pim.akonadiserver: mysqld reports version 10.6.8 (MariaDB)
org.kde.pim.akonadiserver: Found a mysqld pid file, checking whether the server is still running...
org.kde.pim.akonadiserver: No mysqld process with specified PID is running. Removing the pidfile and starting a new instance...
org.kde.pim.akonadiserver: Executing: "/nix/store/rwjkcmlknikrz9yb3l30293nlzsdc81h-mariadb-server-10.6.8/bin/mysqld" "--defaults-file=/home/fps/.local/share/akonadi/mysql.conf --datadir=/home/fps/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid"
org.kde.pim.akonadiserver: Executing:  "/nix/store/rwjkcmlknikrz9yb3l30293nlzsdc81h-mariadb-server-10.6.8/bin/mysqlcheck" "--defaults-file=/home/fps/.local/share/akonadi/mysql.conf --check-upgrade --auto-repair --socket=/run/user/1000/akonadi/mysql.socket akonadi"
akonadi.collectionattributetable
Error    : Table 'akonadi.collectionattributetable' doesn't exist in engine
status   : Operation failed
akonadi.collectionmimetyperelation
Error    : Table 'akonadi.collectionmimetyperelation' doesn't exist in engine
status   : Operation failed
akonadi.collectionpimitemrelation
Error    : Table 'akonadi.collectionpimitemrelation' doesn't exist in engine
status   : Operation failed
akonadi.collectiontable
Error    : Table 'akonadi.collectiontable' doesn't exist in engine
status   : Operation failed
akonadi.flagtable
Error    : Table 'akonadi.flagtable' doesn't exist in engine
status   : Operation failed
akonadi.mimetypetable
Error    : Table 'akonadi.mimetypetable' doesn't exist in engine
status   : Operation failed
akonadi.parttypetable
Error    : Table 'akonadi.parttypetable' doesn't exist in engine
status   : Operation failed
akonadi.pimitemflagrelation
Error    : Table 'akonadi.pimitemflagrelation' doesn't exist in engine
status   : Operation failed
akonadi.pimitemtable
Error    : Table 'akonadi.pimitemtable' doesn't exist in engine
status   : Operation failed
akonadi.pimitemtagrelation
Error    : Table 'akonadi.pimitemtagrelation' doesn't exist in engine
status   : Operation failed
akonadi.relationtable
Error    : Table 'akonadi.relationtable' doesn't exist in engine
status   : Operation failed
akonadi.relationtypetable
Error    : Table 'akonadi.relationtypetable' doesn't exist in engine
status   : Operation failed
akonadi.resourcetable
Error    : Table 'akonadi.resourcetable' doesn't exist in engine
status   : Operation failed
akonadi.tagattributetable
Error    : Table 'akonadi.tagattributetable' doesn't exist in engine
status   : Operation failed
akonadi.tagremoteidresourcerelationtable
Error    : Table 'akonadi.tagremoteidresourcerelationtable' doesn't exist in engine
status   : Operation failed
akonadi.tagtable
Error    : Table 'akonadi.tagtable' doesn't exist in engine
status   : Operation failed
akonadi.tagtypetable
Error    : Table 'akonadi.tagtypetable' doesn't exist in engine
status   : Operation failed

Repairing tables
akonadi.collectionattributetable
Error    : Table 'akonadi.collectionattributetable' doesn't exist in engine
status   : Operation failed
akonadi.collectionmimetyperelation
Error    : Table 'akonadi.collectionmimetyperelation' doesn't exist in engine
status   : Operation failed
akonadi.collectionpimitemrelation
Error    : Table 'akonadi.collectionpimitemrelation' doesn't exist in engine
status   : Operation failed
akonadi.collectiontable
Error    : Table 'akonadi.collectiontable' doesn't exist in engine
status   : Operation failed
akonadi.flagtable
Error    : Table 'akonadi.flagtable' doesn't exist in engine
status   : Operation failed
akonadi.mimetypetable
Error    : Table 'akonadi.mimetypetable' doesn't exist in engine
status   : Operation failed
akonadi.parttypetable
Error    : Table 'akonadi.parttypetable' doesn't exist in engine
status   : Operation failed
akonadi.pimitemflagrelation
Error    : Table 'akonadi.pimitemflagrelation' doesn't exist in engine
status   : Operation failed
akonadi.pimitemtable
Error    : Table 'akonadi.pimitemtable' doesn't exist in engine
status   : Operation failed
akonadi.pimitemtagrelation
Error    : Table 'akonadi.pimitemtagrelation' doesn't exist in engine
status   : Operation failed
akonadi.relationtable
Error    : Table 'akonadi.relationtable' doesn't exist in engine
status   : Operation failed
akonadi.relationtypetable
Error    : Table 'akonadi.relationtypetable' doesn't exist in engine
status   : Operation failed
akonadi.resourcetable
Error    : Table 'akonadi.resourcetable' doesn't exist in engine
status   : Operation failed
akonadi.tagattributetable
Error    : Table 'akonadi.tagattributetable' doesn't exist in engine
status   : Operation failed
akonadi.tagremoteidresourcerelationtable
Error    : Table 'akonadi.tagremoteidresourcerelationtable' doesn't exist in engine
status   : Operation failed
akonadi.tagtable
Error    : Table 'akonadi.tagtable' doesn't exist in engine
status   : Operation failed
akonadi.tagtypetable
Error    : Table 'akonadi.tagtypetable' doesn't exist in engine
status   : Operation failed
org.kde.pim.akonadiserver: MySQL version OK (required "5.1" , available "10.6" )
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: checking table  "SchemaVersionTable"
org.kde.pim.akonadiserver: "CREATE TABLE SchemaVersionTable (version INTEGER NOT NULL DEFAULT 0, generation INTEGER NOT NULL DEFAULT 0)  COLLATE=utf8_general_ci DEFAULT CHARSET=utf8"
org.kde.pim.akonadiserver: "\nSql error: Can't create table `akonadi`.`schemaversiontable` (errno: 184 \"Tablespace already exists\") QMYSQL: Unable to execute query\nQuery: CREATE TABLE SchemaVersionTable (version INTEGER NOT NULL DEFAULT 0, generation INTEGER NOT NULL DEFAULT 0)  COLLATE=utf8_general_ci DEFAULT CHARSET=utf8"
org.kde.pim.akonadiserver: Unable to initialize database.
org.kde.pim.akonadiserver: terminating connection threads
org.kde.pim.akonadiserver: terminating service threads
org.kde.pim.akonadiserver: stopping db process
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/nix/store/y2g9cfxqi6k686gkrhkir40v3zl3x04v-akonadi-22.04.1/bin/akonadiserver' exited normally...

Additional context
Akonadi worked with Kalendar and CalDAV sync before reboot.
Notify maintainers
@ttuegel @vandenoever @nyanloutre
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.53, NixOS, 22.05 (Quokka), 22.05.1711.c06d5fa9c60`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(fps): `""`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

@ttuegel @vandenoever @nyanloutre any ideas on what to try here, workarounds or ways to debug this further? This happens on 22.05 channel and I would consider Akonadi server central for a full-featured KDE experience.

Yeah, for me korganizer cannot add caldav servers, only something called knut.

@ttuegel @vandenoever @nyanloutre gentle reminder (https://github.com/NixOS/nixpkgs/issues/181832#issuecomment-1243032939) also happens after upgrade to 22.11 (akonadi 22.08.3). Any hints would be appreciated.

I don't think this is relevant for plasma6 anymore.


Interactive tutorial that teaches people about workspaces, trees, pointers, etc.

From the REACH experiments:

currently once you click “get started”, the timer starts right away. this is kind of jarring. we should probably have an intermediate page that warns people to get ready and explains the ui (see the next point).

the buttons “done for now”, “done and return budget” are not really self-explanatory. i told people what they do, but it’s easy to forget. the intermediate screen could help with that, or we could have some sort of built-in tutorial.

People should see a sample workspace without time limit before they are thrown into the timed space.

Given the current training material and no time limit, maybe this issue can be closed (?)


Allow for custom alt

Seems like a good idea. Would be happy to take a PR.

looking forward ~~~

It's already supported just pass in alt="" as a prop on the component. And it will override the default set one.


Any adversarial attack that sustains after resize attack

Hi,
This is Bala. I have a query regarding adversarial attack.
Is there any adversarial attack that sustains/consists of added noise, after resize attack ? (adversarial image -> converting into High / low resolution image -> resize to original adverarial image size)
Thanks,
Bala

Hi Bala, you mean attack or defense? I don't quite follow your question.

Hi Sir,
Sorry for  late reply. I was out of work for last few days.
Thanks for your reply. I need a attack which is robust after resize attack.
I am expecting like below:
target noise added to image of size 28x28 -> resize to 65x75 -> resize to
28x28 and target label should available or sustain.
Tested the process and observed like below:
target noise added to image of size 28x28 -> resize to 65x75 -> resize to
28x28 and observed that target label disturbed (not available).
I checked with PGD and BIM attacks using foolbox. the added noise is
removed or disturbed.
please let me know your suggestions.
On Mon, Dec 16, 2019 at 8:17 PM Zhitao Gong<EMAIL_ADDRESS>wrote:

Hi Bala, you mean attack or defense? I don't quite follow your question.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gongzhitaao/tensorflow-adversarial/issues/11?email_source=notifications&email_token=ALTLTFXUVAXW4URY4E3N623QY6IG7A5CNFSM4J3IDDF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG66CEI#issuecomment-566092049,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALTLTFRN3IVXVE5TRIOR2F3QY6IG7ANCNFSM4J3IDDFQ
.

So if I understand it correctly, you want an attack that survives the resizing, right?
The resizing attack is a bit confusing, it should be resizing defense?
As far as I know, resizing is not an effective method to defend against the adversarial images.  It will lower the attack success rate, but will not solve the problem.  Basically many of the adversarial examples are still adversarial even after resizing.  Some of the early papers, (e.g., FGSM) on adversarial examples have related results.
Hope this helps.

Hi @gongzhitaao , What do you think about advface[1] or amora[2]. These adversarial attacks changing a few pixels in image. So, I think these methods more vulnerable to resize operation. What do you think about this ?
1: https://arxiv.org/abs/1908.05008
2: https://arxiv.org/abs/1912.03829

Hey @mhmddpkts, I haven't read the papers yet.  Sorry I'm not working on adversarial attack/defense now (it was long time ago), so my opinions might be outdated. :smile:

When I search this problem in google, I found this page. Therefore, I asked you. Anyway, thanks your reply @gongzhitaao


Enable config for anonymous sessions

Since anonymous sessions are not part of a different deployment, they get the same configuration as registered sessions, this should not be the case.
We need a way to specify configurations for server resource request options, culling time, enforcement of CPU for anonymous/registered sessions differently.

@pameladelgado culling (for inactivity) can already be defined separately.
https://github.com/SwissDataScienceCenter/renku-notebooks/blob/master/helm-chart/renku-notebooks/values.yaml#L222-L224

Also I am getting into semantics here but I would consider this a feature request and/or enhancement.
If the things you describe above function properly (but are the same for anonymous and registered sessions) then I think this is not a bug. But it does not matter - we can keep the label.
We should discuss though how high of a priority this should be. Especially considering that only a handful of renku deployments use anonymous sessions.
And perhaps just some aspects of this issue - enforcing CPU limits differently should be prioritised differently than the rest.


Batch un-setting categories crashes the app

Steps to reproduce

Start Mihon (either the latest stable or latest preview)
Mark at least two entries in your library
Tap "Set Categories" (the action button on the bottom left)
Untick the category (in my case, I'm currently removing finished entries in one of the categories)
Tap OK

Expected behavior
Hopefully doesn't crash
Actual behavior
Stable 0.16.5:

Beta r6697:

Crash logs
Logs from the stable build:
Stable 0.16.5 mihon_crash_logs.txt
Logs from the latest beta build:
Beta 0.16.5-6697_mihon_crash_logs.txt
Mihon version
Stable 0.16.5/Beta r6697
Android version
Android 11 (for stable)/Android 13 (for beta)
Device
Realme 6i (used in stable)/WSA version 2311.40000.5.0 (used in beta)
Other details
When batch adding entries to another category, it doesn't crash the app; only happens when you remove the entry from that category.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Additional Info: While it crashes the app by unsetting the category of two or more entries, it seems to bizarrely work.
Here's an example with a filtered category (Completed) with a total of 25 entries:

Duplicate of #93


Allow target argument

When cross compiling Rust code you need to specify which target you should compile to. This PR allows this argument to be supplied also when building the dependencies through cargo-build-deps.

@rpsrosario  Thanks for the PR, just merged. Sorry for the delay.


Show custom action for specific model only

Hey All,
I wrote a custom action for my rails_admin app. I only want this action to show on in the list view of a specific model. I was finally able to achieve this by adding the action name to the default action list like so:
config.actions do
  # root actions
  dashboard                     # mandatory
  # collection actions
  index                         # mandatory
  new
  export
  history_index
  bulk_delete
  # member actions
  show
  edit
  delete
  history_show
  show_in_app
  duplicate_program # This is the custom action
end

In my rails_admin_duplicate_program.rb file, I set the visibility like this:
register_instance_option :visible do
      bindings[:object].class.name.downcase == 'program'
 end

Gists of these files are here:
https://gist.github.com/1894506
https://gist.github.com/1894513
My question is, is there a better way to only show a custom action for a specified model?
Thanks.

Thanks bbenezech!

Does this not work for me, due to rails_admin 1.4.2 version?
RailsAdmin.config do |config|
  RailsAdmin::Config::Actions.register(RailsAdmin::Config::Actions::WhoHere)
...
  config.actions do
    who_here do
      only Market::Model::Angar
    end
  end
end

The action renders successfully in every model.
I could enforce the constraint myself if I had access to the config at this point:
module RailsAdmin
  module Config
    module Actions
      class WhoHere < RailsAdmin::Config::Actions::Base
        register_instance_option :visible? do
          config.actions.who_here.only.include? bindings[:abstract_model].model_name

I can’t understand if it is possible to access the configuration in this place and how.


Loading dependency graph...jest-haste-map: Watchman crawl failed.

🐛 Bug Report
Loading dependency graph...jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
Usually this happens when watchman isn't running. Create an empty .watchmanconfig file in your project's root folder or initialize a git or hg repository in your project.
Error: Watchman error: unable to resolve root /: cannot watch "/". Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html.
To Reproduce
react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
Environment
React Native Environment Info:
System:
OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
CPU: (4) x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Memory: 1.34 GB / 15.37 GB
Shell: 5.4.2 - /bin/zsh
Binaries:
Node: 8.12.0 - ~/.nvm/versions/node/v8.12.0/bin/node
Yarn: 1.7.0 - /usr/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v8.12.0/bin/npm
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28
Build Tools: 26.0.2, 26.0.3, 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.4 => 0.59.4

There's 30 similar issues to this one, please use search: https://github.com/facebook/react-native/issues?q=is%3Aissue+sort%3Aupdated-desc+Watchman+crawl+failed+is%3Aclosed


add branch_match_type in missing policies

Please make sure the code is following contribution guidelines in CONTRIBUTING.md
Addresses issue: https://github.com/Azure/azure-devops-cli-extension/issues/563

[ ] : This PR has a corresponding issue open in the Repository.
[ ] : Approach is signed off on the issue.

What happens if I give releases* with branch match type as 'exact'?

What happens if I give releases* with branch match type as 'exact'?
same behavior as REST api


encoding/json:How can I know which field is an "empty value" of a decoded struct?

What version of Go are you using (go version)?

$ go version
go version go1.13.4 linux/amd64

Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/home/wangyalou/go/bin"
GOCACHE="/home/wangyalou/.cache/go-build"
GOENV="/home/wangyalou/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/wangyalou/go"
GOPRIVATE=""
GOPROXY="https://goproxy.io"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build435379182=/tmp/go-build -gno-record-gcc-switches"
What did you do?

type User struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Age      int    `json:"age,omitempty"`
}

func main() {
	var u User
	d := json.NewDecoder(bytes.NewBufferString(`{"username":"foo","password":"bar"}`))
	_ = d.Decode(&u)
	fmt.Println(u.Age)
}

How can I know the printed 0 is a parsed value or an empty value?
What did you expect to see?
There should be a method that decode a json string into a struct and returns a map indicating which fields has been appeared in the the json string and which has not.
What did you see instead?
No such method

When you need to know whether a field appeared or not, use a pointer.
https://play.golang.org/p/3YIUzyrjlHb


dosfstools: upgrade is causing tests failures

Issue description
135fe56183a2c125a777ce59aa5e78f51f3dfec2 &
346482c8d586de299ff8f457d69653917a4d62e2 are causing tests to fail:
Usage size: 10676566
Image size: 12582912
mkfs.fat 4.0 (2016-05-06)
Total number of sectors (24576) not a multiple of sectors per track (63)!
Add mtools_skip_check=1 to your .mtoolsrc file to skip this test

Steps to reproduce
$ nix-build '<nixos/release.nix>' -A tests.boot.biosUsb.x86_64-linux

see http://hydra.nixos.org/build/35505675/nixlog/1
cc @nckx

cc @dezgeg who seems to have a solution involving export MTOOLS_SKIP_CHECK=1

You could also align the fs size correctly so that you don't need to skip
this check.
On Wed, May 11, 2016 at 4:41 PM obadz<EMAIL_ADDRESS>wrote:

see http://hydra.nixos.org/build/35505675/nixlog/1
cc @nckx https://github.com/nckx
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/15394#issuecomment-218619003

Not sure what's the benefit - all this cylinder-head-sector business should be long obsolete.

Reverted upgrade for now…

triage: I’m gonna close, feel free to reopen.


Data simulation and augmentation

Can you detail the way you are using to make the noise audio for training?
Does it the same with described in the paper?

Are you using kaldi or any tool for this, and can you share your noise dataset !
Thank rishikksh !

Hi, have you solved this problem?

Hi, have you solved this problem?

With my experiment, the data augmented with Kaldi give better results than some methods that augment on the fly

Are the parameters the same as those set in the paper? Can you provide me the corresponding processing script? thanks.

I think the parameter depending on the test set / practical problem you want to solve.
My config is SNR between 10dB and 30dB, use MUSAN as additive noise
You can check out the public source code here: https://github.com/zhaoyi2/audio_augment

This helped me a lot, thanks！

@v-nhandt21 I simply added audiomentations (RoomSimulator, Backgroundnoise) and stored to separate directory, which I use in "input_wavs" params after step for postnet training (250k in my case, though it's 500k in the default config).

@v-nhandt21 I simply added audiomentations (RoomSimulator, Backgroundnoise) and stored to separate directory, which I use in "input_wavs" params after step for postnet training (250k in my case, though it's 500k in the default config).

Yep, it seems hard for the model to converge on the fly augmentation

Hi, have you solved this problem?

With my experiment, the data augmented with Kaldi give better results than some methods that augment on the fly

Hi, Bro
Can I get a copy of your processed training data about this code, I don't understand the specific definitions of the folders and file trees in the code, such as gt_noise, gt_clean, generated, etc.


Consider adding "upload_type": "software" to ZenodoObject

In CFF 1.0.3 and 1.1.0, it is assumed that the metadata describes software. Also, schema.org and codemeta have SoftwareSourceCode as their type so it would be consistent.

Done, closing


Get http://localhost:8080: readLoopPeekFailLocked: read tcp [::1]:60834->[::1]:8080: read: connection reset by peer

Running the example test here and 10000 users with a hatch rate of 50.  I get:
readLoopPeekFailLocked: read tcp [::1]:60834->[::1]:8080: read: connection reset by peer

I have had it running at 30,000 users with one Boomer.
mac OS Sierra, 8GB, 2 cores
Thanks

Ran:
 go get github.com/myzhan/boomer

Now:
Get http://localhost:8080: net/http: HTTP/1.x transport connection broken: http: putIdleConn: too many idle connections

Don't put a time.Sleep in your code, you may need boomer's max RPS support.
Try to run with --max-rps 10000.

Thanks, I noticed that last night. Any chance of a linear ramp-up to 10,000 RPS?

Try this
https://github.com/myzhan/boomer/blob/master/examples/pacing_rps.go

Do you feel there is any value to the Locust UI now, especially users and hatch rate?

You mean https://github.com/locustio/locust/issues/646 ?
Locust has no support for RPS control, so far.

go get github.com/myzhan/boomer
Removed to the 1 second sleep
go build -o a.out main.go
locust -f dummy.py --master --master-bind-host=<IP_ADDRESS> --master-bind-port=5557
./a.out --max-rps 20000 --master-host=<IP_ADDRESS> --master-port=5557 --rpc=zeromq
go run server.go

http://localhost:8089
Swarm 20000 and hatch rate of 100.
2018/06/21 09:56:24 Max RPS that boomer may generate is limited to 20000
2018/06/21 09:56:24 Boomer is built with gomq support.
2018/06/21 09:56:24 ZMQ sockets connected
2018/06/21 09:56:24 Boomer is connected to master(<IP_ADDRESS>:5557|5558) press Ctrl+c to quit.
2018/06/21 09:58:56 Hatching and swarming 20000 clients at the rate 100 clients/s...
2018/06/21 09:59:01 Get http://localhost:8080: read tcp [::1]:60849->[::1]:8080: read: connection reset by peer

I will try the pacing.

Copied your pacing_rps.go and added as a task:
https://github.com/bbc/locust-load-tests/blob/master/examples/urlbash/url_bash.go#L30-L48
We have the same package - main, so built both files
go build .

As soon as I run ./a.out, the log.Println("Current RPS", currentRPS)
prints to stdout (so probably comment that out and the publish to Locust)
When I kick the test off through the locust UI (10000, 100), I eventually get
Get http://localhost:8080: read tcp [::1]:63884->[::1]:8080: read: connection reset by peer

Thanks

Ah yes. Call my function within your coworker.

Sorry for the spam everyone, but I think this is what you are inferring.
https://github.com/bbc/locust-load-tests/tree/master/examples/urlbash
However, the hatch rate, Locust RPS and server RPS are out of sync.

1000 users with a hatch rate of 1 in the  Locust UI.
--max-rps 1000

The hatch rate is related to the number of goroutines(users), not the RPS. In this case, 10 users or 1000 users, make no difference.
If you run with --max-rps 1000, the RPS of both locust and server, should be very close.

And they are, thank you very much. Do you think we could also increase file descriptors, decrease TCP TIME_WAIT and increase idleConnections?

Only if you want to know how many long connections the server can handle, not the max requests it can process per second.

I am willing to pay a bounty to add a linear ramp-up as a command line flag (e.g.) -rps=1 which would increase to the --max-rps. adrian underscore lewis at hushmail dot com.

Adding a command line flag (e.g.) -rps-rate=1 which would increase from zero to -max-rps, or infinity if max-rps is disabled.

Hi @myzhan Shall I put the request on here: https://www.bountysource.com?

Cool, thanks for letting me know such a website.


Is it possible to connect to a server:namespace in read-only mode?

Some of our caché servers host some of our code and some code from our supplier.
I would like to connect to use the export function (as .cls with arborescence) but would like for the option "import amnd compile" not to be there so as to avoid human error.
Is this possible from the extension's side, Or should I think about a read-only username in the DB?

Hi @jpa95, I'm not sure I understand what you're asking for. If you want to export the files to your local file system, but then don't want to save any potential edits on the server, you can make your server connection inactive after performing the exports.


Docs: docs-table-ref command is missing from CLI section

It's a development command, so it's only on the development page, to not confuse regular users with an irrelevant command. That page had a bad link in the toctree, now fixed 32b7191: https://kingfisher-views.readthedocs.io/en/latest/develop.html


Textfield component proposed changes

There are certain cases where it is important to show the help text, even though the Textfield is not focused, so that the user with just a glance will know exactly what should be typed in. This is especially true when there is an error; then the error message should always be visible.
There are also other cases, where an error message is needed, defined in the component props. I know we could do this programmaticaly, but I believe that defining it as a prop is more flexible.
So I edited your Textfield component and added

errormessage The string to display instead of the message in case the error is true
showmessage When this is present, the message (or error message) is always visible

You can see the changes here. You are free to incorporate any / all of these changes to the library, in any way you see fit, even changing the names of the variables etc.
Once again, thanks for a great piece of software

placeholder can be used as usual to show a help text without focused, but only when the value is empty

Yes you are right, but placeholder is not designed for this - actually I personally believe that it shouldn't be used.

for example, you create a password textarea, and you set

the message to "Min. 6 characters, alpha/numbers and -+_ are allowed"
the error would be

123$456 unsupported character

1234 Password should be at least 6 characters

123x-6  (No error, so we show the message to remind him of the valid chars because he may want to add more characters in there)

Now, add the "passwords don't match" in the mix, and you get the idea :)


[Resolved] Variational autoencoder example fails

Never mind: I see there was a recent pull request that resolved this issue.
I am using Keras version 1.0.5 with Python3. Using the variational autoencoder example found here: https://raw.githubusercontent.com/fchollet/keras/master/examples/variational_autoencoder.py
I obtain the error:
Exception: Thecompute_maskmethod of layer "lambda_1" should return one mask tensor per output tensor of the layer. Found: [None, None]
I am sure there is an easy fix for this error, but it would be good to out out-of-the-box functioning examples. I've ensured that this behavior is the same across both the Theano and Tensorflow backends.

I still have the same problem what is the solution?


Arabic Scripts

I know RTL languages are currently not supported, but just as a note for the isOpenTypeJsReliable function: The OpenType char-by-char approach is not viable for some scripts (like arabic), because characters are different depending on whether they are standalone, or merged together.
Was the canvas measuring a speed concern, or why was the OpenType measuring mechanism chosen?

Yes, OpenType measuring was chosen for performance. Currently, both OpenType and the fallback canvas mechanism both use the char-by-char approach. However, I think it should be quite doable to use a multi-char measurement approach for canvas for sure.
For opentype, char-by-char could still work: it depends on what you're calling "merged characters" have a single unicode char value, and whether the font has a corresponding glyph for that char. Do you have an example?

The way it works is that a character looks different if it's at the beginning, the middle, the end, or standalone (sort of like longhand writing).
My understanding (I'm no expert) is the following: Each character is just a single unicode code point. The Font uses contextual OpenType features to choose what to render.
I see that CodeMirror uses the DOM to measure text. Is that something you have considered too?
https://github.com/codemirror/CodeMirror/blob/67365d2646551a0dcf9a18e2d1998686907233cd/lib/codemirror.js#L1849

I see that CodeMirror uses the DOM to measure text. Is that something you have considered too?

I did consider that but a) I couldn't figure out the implementation :-), and b) I didn't spend too much time on it because I think it is a lot slower. For prosemirror that's probably ok but Ritzy needs these numbers a lot more often (because the surface layout is controlled completely by Ritzy). I could be wrong though. Probably worth trying out now that Prosemirror figured out the implementation.


Decide whether to keep glms in the mix

In its current form, our glm SDM has no regularization and only includes linear terms for each climate variable.  Is it worth keeping this SDM in the mix if we have a lasso model (that allows for quadratic terms) and a GAM?  Note that lasso and GAM models performed better than a GLM in Valavi et al. 2021.

I suspect vanilla GLMs will not make the final cut for the paper, but I'm inclined to keep the workflow kicking around for educational/training purposes.

For record-keeping purposes, I updated the run_glm() function and associated template scripts so we can keep glms in our pile of SDMs.  I did, however, add bits so we're standardizing all the (linear) effects in the glm.


[Request] Integrate SDI - Snappy Driver installer

I've had a pretty good experience with SDI and it seems like this might be a good feature to implement at the end of the cleaning process
https://sdi-tool.org/
SDI also provides a few CLI options - http://snappy-driver-installer.sourceforge.net/en/usage.php

This is a TERRIBLE idea. While driver updaters may "seem" like a good idea, easy to use and all that - they cause more trouble than they're worth.
Despite two devices sharing identical USB controllers and various components, quite often there are minor differences which certain motherboard vendors have to support with changes to the manufacturer generic drivers.
Best practices are to use ONLY the drivers provided by your motherboard/PC manufacturer, as they are certified for use with your particular device and have been thoroughly tested.
In fact, I even typically recommend that people disable the Microsoft built-in device driver downloading functionality from Windows Update, as often the drivers end up breaking things, rather than functioning as expected.
There are MANY driver updaters out there, but if you choose to use them, you're going against the recommendations of the device manufacturer(and believe it or not, in some cases voiding your warranty) as well as the recommendations of the IT community in general.

also, "newer" isn't always "better", especially in the field of communication with devices.

I totally agree with Kronflux, also it would increase the size of Tron too much if the drivers file are included. Tron is supposed to be light-weight.
Only time you should use a program like that is if you cant get the manufacturer's drivers or there is none supplied by the manufacturer for your current OS.
Also no reasons to update drivers unless you are having problems with your current ones or you are required/need to update them.

You might want to check on the crc of a few of the drivers before commenting as they are grabbed from a repository of manufacture drivers, its not downloading unsigned custom drivers none of this would void warranty as you say. The only real valid comment you've made is newer isn't always better and really that's just up to personal preference. I know I've seen posts in the subreddit complaining that tron has removed bloatware drivers before(remove the bloatware software which took the driver with it),  this would just help alleviate that pain.
@madbomb122 this downloads drivers as needed, would only increase the size by a few mbs.

@d0t1q Yes i know it downloads drivers as needed, but it downloads the driver packs (not the driver itself) which can be from 7mb to 2.5gb (per pack), and yes i see what you are suggesting, is to have the program run after the cleaning process.

@d0t1q As someone who's been in IT, and has worked extensively with device drivers and Windows, I can tell you I've seen literally thousands of issues caused by these types of tools, and the drivers they provide.
You are correct in many instances, where the drivers are straight from the manufacturers. If you read my comment and understood it in full, you'd also understand that that's part of the problem - and the same reason why Microsoft Windows Update provided drivers also cause problems on many systems.
The reason is that the manufacturer drivers are not tailored to the hardware the devices are being deployed on.
The best example I can provide that can help you to understand(this is FAR from the only instance) is in the 2013-2015 range, laptop manufacturers made the decision to put dual graphics cards into their laptops. Intel dedicated graphics and nVidia dedicated graphics. The idea was to give better battery life without the sacrifice of graphics performance, where the system would use the intel dedicated graphics for lower graphics tasks, and use the nVidia for the tasks that demand more video performance.
The laptop manufacturers had to write custom versions of both the Intel drivers as well as the nVidia drivers, otherwise the functionality wouldn't work correctly.
If you installed the drivers straight from nVidia, you'd actually brick the functionality entirely.
The same went for using drivers straight from Intel.
There's no way for driver updaters to know what changes the PC/Laptop/Motherboard manufacturer makes to drivers to achieve the best stability and performance out of the components they use. Which is why it very often leads to more issues.
And no, it's got nothing to do with personal preference. The comment I made about "newer isn't always better" directly relates to experience. There have been MANY instances(unfortunately nVidia is a big focus for a lot of these) where updated drivers even straight from the manufacturer cause more issues than they offered benefits. The GeForce 8800 series was a great example of this. The first few drivers worked fine, but for something like 3 years the updated drivers released by nVidia caused the card to create all sorts of issues ranging from crashing games, to changing the game speed, to even causing visual artifacts.
Trust me when I say I've "looked into" the solution, it's far from a new concept, and they themselves are not a new contender to the battle.
Please take YOUR time to research how drivers work, and how chip manufacturers release drivers versus the way that PC manufacturers do.
Please also note that your tone is not appreciated, the comments being made here are to help the maintainer of the project, and are not directly intended for you, but the idea you presented itself.
Nothing is meant as an attack on you.
ANYone in IT who has any amount of personal experience will tell you exactly the same things as I have.

Just catching up with Tron work, chiming in and closing out the issue.
@d0t1q thanks for the suggestion, I actually often use SDI or SDI Origin myself, and have thought about adding it to Tron, but ultimately  decided not to for the following reasons (some mentioned by @kronflux and others):

Sometimes driver updates brick things, or break touchscreens, etc. It happens infrequently, but I've had it happen enough times that I prefer to leave driver updates as a manually-executed function based on the situation.

It's trivially easy to drop SDI in \resources\stage_8_custom_scripts on your copy of Tron and it will auto-execute the driver updates (just throw a .bat wrapper script in there).

Hope this helps, and thanks everyone for the comments.

(I'm posting this just in case some folks are still using SDI from https://sdi-tool.org.)
The reason that SDI_O_ was created was that whoever took over the development of SDI actually inserted adware in it, so Glenn Delahoy created Snappy Driver Installer Origin to give folks a clean version, which is still in constant development and can be found at https://www.snappy-driver-installer.org.

I personally love SDI/SDI Origin, but it would bloat the size of Tron by too much.
However, a good solution if you want to include it in Tron, is to put SDI in the Stage 8 folder, along with a script to run automatic driver update. The whole reason we implemented the stage 8 custom scripts portion of Tron was for situations exactly like this.


bowstrung, chivareing

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[b,c]

/trunk merge


Remember window size

Every time I start Franz it keeps resetting to the small window size and I have to keep resizing it.
Expected Behavior
Closing down Franz and opening it up should maintain the window size
Current Behavior
The window size resets
Steps to Reproduce (for bugs)

Open Franz
Resize the window
Exit Franz
Reopen Franz

Context
I have an ultrawide 1080p monitor and the size + dpi of it feels way too compact.
Your Environment

Franz Version used: 5.0.0 beta 15
Operating System and version: W10 x64 build 16299

This works for me using beta15 and Windows 10 1709

@blureshadow can you post a screenshot at startup as well as one after resizing before quitting please?

@blureshadow can you try to monitor the file window-state.json in User Home > AppData > Local (and/or Roaming) > Franz before and after quit?

I don't have such a file in that folder. Nor anywhere else on my pc.

@blureshadow that's weird, should be in your Franz settings library folder... did you find this one?

This is all I have in Appdata/Roaming/Franz

Just wanted to say I am having the same issue using Windows 10 and Ubuntu v16.04.
My solution was: Manually create window-state.json file in the above directory. Just right click within the folder -> New -> Text Document -> Change the name to window-state.json and accept the warning box about changing extension names.
Now it remembers the window size.

@joshjayk interesting that there is no window-state.json in Windows...

related to #222 ?

I have the same issue on Arch Linux with DWM window manager. When Franz is a floating window, it does not remember it's size across restarts.

Changed Monitors to one UltraWide... cant even install Franz (its outside of windows somehow...) - I did recover it yesterday with SHIFT+RIGHT CLICK = MOVE, but today I cant ...  Win10 (DELL U3818DW), also did try to change position in json..  (right now im removing left over files, to try to re-install it)

Franz seems to save and restore the window size just fine, except it results in wrong sizes on a multi-screen setup:
In my window-state.json we can see that the height should be 1102:
{
  "width": 1080,
  "height": 1102,
  "isMaximized": false,
  "isFullScreen": false,
  "displayBounds": {
    "x": 3000,
    "y": -286,
    "width": 1080,
    "height": 1920
  },
  "x": 3000,
  "y": -286
}

but when Franz starts up it's restoring the height to be 1050 instead.
I think this is because I have three screens like this:
                          +------------------------------+
                          |               ||             |
                          |               ||             |
                          |               ||             |
+-------------------------+               ||             |
|                        ||               ||             |
|                        ||               ||             |
|       1920x1080        ||   1080x1920   ||  1080x1920  |
|                        ||   (portrait)  ||  (flipped   |
|                        ||               ||  portrait)  |
|                        ||               ||             |
+-------------------------+               ||             |
                          |               ||             |
                          |               ||             |
                          |               ||             |
                          +------------------------------+

There's either some clamping according to the main display or probably a clamping based on all screens going on as that explains the behavior I'm seeing perfectly:
min screen bounds height of all screens - taskbar height == 1080 - 30 == 1050 which I'm getting despite having 1102 in the file.
Is Franz using mawie81/electron-window-state? If so this may be the issue:
https://github.com/mawie81/electron-window-state/blob/e76fe1e006af5eb496e7f66194f3eaadcf4bfc77/index.js#L43-L46
It's using state in the call to getDisplayMatching, which means the saved x, y, width, height of the window are checked against all screens' bounds by Chromium AFAICS. Therefore that call should probably be screen.getDisplayMatching(state.displayBounds) instead! (Note that line 43 already checks for the existence of state.displayBounds so there should be no issues applying this change.)
I'm not a web dev by any means so I'm sure someone else will have an easier time to confirm whether this change in electron-window-state works for Franz and therefore fix a bug in that library.

The issue still applies: Franz remembers window information wrong in a multi-monitor setup.

Bump , can we re-open this. Does not work with multi monitor

Same here

This is still happening on ubuntu 16.04

This need to be reopened - the issue persists on a single HiDPI monitor setup, Manjaro 20, Gnome 3.36.2
Every time I close, and then restart Franz, both the window position and window size are changed/reset. It always opens on the top left of the screen, and in a much smaller size that I set it at when closed.


I normally run dual monitors but if the second screen is no longer available and it was the last screen a sub-window (mod download windows or factorio version manager) was open on then they appear off screen.

Fixed for 1.5.9.


I can't hear anything

Describe your bug here.
I have my volume all the way up, and I can't hear anything in my mod "Dave and Bambi: Railway City". Can you help?
Command Prompt/Terminal logs (if existing)
didnt use any

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no i dont have source

Try pressing plus on your keyboard

Try pressing plus on your keyboard

ok

Try pressing plus on your keyboard

thank

Try pressing plus on your keyboard

thank

No problem
You can close this now


[ISSUE #3906] Mark stream-related request by RequestType

What is the purpose of the change
Mark stream-related request by RequestType
Brief changelog

Plan to add a RequestType in remoting protocol to indicate stream requests including requests driven by PullConsumer and LitePullConsumer.
Stream is an important part of rocketmq and it is not marked and distinguished with the messaging-related requests by now. It is helpful for observability and other features to mark it explicitly

Coverage increased (+0.03%) to 52.062% when pulling 6b0b0bbb856b4bcc5988aeca76ecb167a6455593 on drpmma:feature/stream into aacaf91539a90b18de21a988a204b5e842497352 on apache:develop.

LGTM


Change brand colours

Primarily $brand-primary: red doesn't feel like the best choice for links, primary buttons etc.
Remember to search all config files etc. for #DA0000


qarte: 4.12.0 -> 4.14.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qarte/versions.
meta.description for qarte is: "A recorder for Arte TV Guide and Arte Concert"
meta.homepage for qarte is: "https://launchpad.net/qarte"
meta.changelog for qarte is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0/bin/qarte passed the binary check.
/nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0/bin/.qarte-wrapped passed the binary check.
2 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 4.14.0 with grep in /nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0
found 4.14.0 in filename of file in /nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0

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

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
qarte

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A qarte https://github.com/r-ryantm/nixpkgs/archive/f085b1ac78ccc2ae0d462cffa76bfef8437f15eb.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/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0
ls -la /nix/store/8d05h4rvbf68x6rb2d1zk0kha2w6k4gz-qarte-4.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

qarte

Maintainer pings
cc @vbgl for testing.

This is SPAM.


Code generation fails with latest version

Describe the bug
I was using riverpod generator: ^2.4.3 and it works fine when I build
I've updated to riverpod_generator version: ^2.4.4 and when I build it, it fails.
/Users/___/.pub-cache/hosted/pub.dev/riverpod_analyzer_utils-0.5.5/lib/src/riverpod_ast/widget_ref_invocation.dart:29:10: Error: The getter 'enclosingElement3' isn't defined for the class 'MethodElement'.
- 'MethodElement' is from 'package:analyzer/dart/element/element.dart' ('/Users/___/.pub-cache/hosted/pub.dev/analyzer-6.8.0/lib/dart/element/element.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'enclosingElement3'.
 .enclosingElement3;

To Reproduce
En pubspec.yaml
environment:
  sdk: '>=3.3.4 <4.0.0'
  flutter: '>=3.24.1'
dependencies:
  flutter_riverpod: ^2.5.3
  riverpod_annotation: ^2.5.3
dev_dependencies:
  build_runner: ^2.4.13
  custom_lint: 0.6.7
  isar_generator: ^3.1.0+1
  riverpod_generator: ^2.4.4
dependency_overrides:
  analyzer: ^6.8.0

flutter clean
flutter pub get
flutter pub upgrade`
fvm dart run build_runner build --delete-conflicting-outputs`

 flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale es-ES)
    • Flutter version 3.24.3 on channel stable at /Users/___/development/flutter/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/___/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/___/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] Android Studio (version 2024.2)
    • Android Studio at /Users/___/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.94.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Expected behavior
With the new version I get the error. If I go back to the previous one and rebuild, it is solved.

That can't be, as I can correctly run the generator.
Make sure your analyzer version is up-to-date

That can't be, as I can correctly run the generator.
Make sure your analyzer version is up-to-date

I can't upload analyzer: ^6.8.0 because I use isar: ^3.1.0+1

That doesn't change the fact that the bug is on your side: You specified dependency_override and your code broke because of it.
If isar doesn't support analyzer 6.8, then downgrade riverpod_generator in the meantime

That doesn't change the fact that the bug is on your side: You specified dependency_override and your code broke because of it.
If isar doesn't support analyzer 6.8, then downgrade riverpod_generator in the meantime

That's right, I'm waiting for 'isar' to be updated in the stable version.
It's been 18 months since the last update :(

@thorito you should try to use hive or other DB, this package hasn't been updated in long time

Riverpod is up-to-date here, so closing :)


SQL Interpolator

Add a SQL String Interpolator. Does all the building of queries/etc. for you.
Possible Usage:
import com.simple.jdub.Database
import com.simple.jdub.Interpolator

case class Record(id: String, name: String)

object RecordQueries {
  def mapper(row: Row): Record = {
    Record(
      id = row.string("id").get
      name = row.string("name").get
  }
}

class RecordQueries(val database: Database) {
  def getRecord(id: String): Option[Record] = database {
    sql"""
      SELECT id, name
      FROM   records
      WHERE id = ${id}
    """.map(RecordQueries.mapper)
  }.headOption
}

Also bumped the HikariCP version to the latest point release, 2.4.5

I'm +1
I'll create a follow up PR with documentation on the interpolator code itself.


Fix warning

PR https://github.com/openebs/node-disk-manager/issues/99

Codecov Report

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

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   55.64%   55.77%   +0.13%
==========================================
  Files          41       41
  Lines        1533     1533
==========================================
+ Hits          853      855       +2
+ Misses        623      621       -2
  Partials       57       57

Impacted Files
Coverage Δ

cmd/probe/udevprobe.go
62.03% <0%> (+1.85%)
:arrow_up:

Continue to review full report at Codecov.

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


Documentation: Readme.md - metadata is x-common

Add documentation that makes it clear somehow that the metadata subdirectory is actually the exercism/x-common repository.

@Insti can we close this out? 😄

Yes we can, thanks @nickborromeo


Action cleanup

Applied mkpr on .github/workflows/ci.yml
sed s/null/checkout/

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

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

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
102

Relevant Lines:
453

💛  - Coveralls


Update DevStudio build to latest nightly build

Fix includes direct links to avoid downloading after
new nightly version is published during demo

test this


Validate Pipeline

Use a full week of Season 4 data (e.g.) to make sure that images and phenotypes are consistent
this will be an ongoing effort as transformers come online

@dlebauer Closable?


[themes] Show extension info in Preferences: Color Theme panel

In current Preferences: Color Theme panel, there is no extension info that lets users know which extension provided the themes. I'd like to purge some unwanted theme extensions, but I don't know which one I should uninstall.

It will be great if we can add the extension info at the right of theme name :) Something like the below picture.

An alternative is to open the extensions viewlet and enter @installed @category:themes


Only set the content-type for non-get requests

Coverage remained the same at 100.0% when pulling b8774fe844dcd12063a4119d54d3c3b74ba25863 on clarkperkins:feature/no-content-type-for-get into 4a4c1f1a7a4e61cd6c677b7de88e49b03d9efbb5 on cha55son:master.

Coverage remained the same at 100.0% when pulling 51df400c17b30acd447c9a7521def01d5009fb0c on clarkperkins:feature/no-content-type-for-get into 4a4c1f1a7a4e61cd6c677b7de88e49b03d9efbb5 on cha55son:master.

Coverage remained the same at 100.0% when pulling 51df400c17b30acd447c9a7521def01d5009fb0c on clarkperkins:feature/no-content-type-for-get into 4a4c1f1a7a4e61cd6c677b7de88e49b03d9efbb5 on cha55son:master.

Coverage remained the same at 100.0% when pulling 94c875bfad96466d086bf21d16c988d7c6e10f4f on clarkperkins:feature/no-content-type-for-get into 4a4c1f1a7a4e61cd6c677b7de88e49b03d9efbb5 on cha55son:master.

Coverage remained the same at 100.0% when pulling 94c875bfad96466d086bf21d16c988d7c6e10f4f on clarkperkins:feature/no-content-type-for-get into 4a4c1f1a7a4e61cd6c677b7de88e49b03d9efbb5 on cha55son:master.


Support for rome total war directx 9.0b

Hello, the following game isn't supported on dxvk despite being a directx 9.0b game, could this be supported in the future?
Game Link: https://store.steampowered.com/app/4760/Rome_Total_War__Collection/

I have no idea what the actual issue is cause you ignored the template entirely.
Please fill it out.

Not a bug really more liek request. Dxvk doesnt activate for this game, later i found out this  is d3d8 game, then used https://github.com/crosire/d3d8to9/releases, but dxvk still doesnt activate.

Please just fill out the basic information on the template so I have some idea as to what setup/system you are running so I can actually help you.

ok form filled

Requested feature: if possible to run dxvk over d3d8to9 https://github.com/crosire/d3d8to9/releases

It's already possible. I've been doing it for a few years now and have reported several bugs for D3D8 games which got fixed in DXVK thanks to @Joshua-Ashton .
All you have to do is grab the d3d8.dll from d3d8to9, copy it to your Wine prefix in the windows/syswow64 and windows/system32 dirs (it's also a good idea make a backup of the existing dlls first), then add an override in wine for d3d8 -> native. D3D8 games should now translate D3D8 -> D3D9 via d3d8to9, then D3D9->Vulkan with DXVK.

Then why does DXVK_HUD=full doesnt show on rome total war with d3d8t9 enabled?

lol taht did it!
d3d8 -> native in winecfg

@Joshua-Ashton @WinterSnowfall Could this be mentioned in the wiki somehow i wouldnt be able if use d3d8to9 with dxvk if it werent for your comment!?

lol that did it!

Keep in mind that unless you specify an override, Wine will just use the builtin module for a dll that it also provides. That's how things work. With no override you'd fall back to WineD3D. It's not a DXVK specific thing, so I don't see why it would be documented here.

i thought it was native,builtin by default shoulkd have worked out of the box

i thought it was native,builtin by default should have worked out of the box

Last I checked it was the other way around. Builtin then native by default.

oh my mistake, anyways thx, i am closing this since it is not dxvk related


Support python 3.7

I'm  required to use Python 3.7 due to an annoying binary dependency. Although I like the new syntax, it isn't supported.

Looks like more work is needed to actually support Python 3.7. If I do it I'll open a new PR.


Add GitHub actions checks on documentation examples

What
This PR introduces a GitHub action which runs axe checks for every component @example we have in our documentation by using @axe-core/cli. This will exit if any failures, and will also generate a report which can be accessed as an artifact. Failed violations can also be viewed in actions output.
Why
#543 introduced accessibility checks into our integration tests. This is nice because we don't have to wait for actions to run these checks and can run locally. This also allows for axe to run after UI changes are evoked in behavioral (javascript) components.
The problem is, most of our components don't have integration tests/previews. See discussion. On the otherhand, most of our components have examples which are shown to consumers in docs. This action will help catch issues in those examples and may help us integrate fixes into the component.

ON HOLD
Exploring alternative after pair session with Joel

Hey @koddsson, thanks for the thoughtful review ✨
After pair sesh with @joelhawksley, we're thinking of pursuing an alternate path which involves:

Auto-generating view component previews from the examples in documentation. (call bundle exec rake docs:build )
An integration test that loops through these previews and calls assert_accessible.

This path allows us to make use of the gems and systems put in place in #543 PR and means no bash gnarlyness.
Have a look #587 !


How to rename many columns at once

There was a fairly popular tweet 298 likes on 2022/03/07 about how to rename many columns at once. Like we'd do for survey data.
I think this would be a nice blogpost. Particularly highlighting how there are complex and tidy data solutions to the problem.
I'd suggest that we consider containing Micah to ask them about linking to their tweet in the blogpost.

See also https://twitter.com/PipingHotData/status/1497014703473704965

Ahh, I love that method because it uses deframe(). I just noticed a blog in the replies that mention 52 methods to rename columns that doesn't include joining!


exec error: Error: Command failed: npm audit --json

I'm getting the following error:
$ npm-audit-ci
exec error: Error: Command failed: npm audit --json

I'm running Node.js v12.12.0 on macOs 10.15.1 with npm 6.12.1.

@mastertinner I tried to reproduce this issue and seems like it works fine for me.
Do you have any extra details which I can use to reproduce this?

I'm getting the error in this project of mine: https://github.com/mastertinner/shuttrstockr
You're right, I just tried it in another project and there it worked fine. However, the repo where it doesn't work should be a pretty standard npm project so I'm not sure why it doesn't work there...

I got the same error, but I also have good news: with the newer versions of npm it is not anymore necessary to use this package, just use npm audit --audit-level=moderate

Update : The bug seems to appear when the global audit-level is higher than the one passed to npm-audit-ci
Way to reproduce :
npm config set audit-level low
npm-audit-ci -h


chore: integrate api7/types.

Codecov Report

Merging #134 (fdd9e0e) into master (e58e6d6) will decrease coverage by 0.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   34.40%   33.75%   -0.66%
==========================================
  Files          28       27       -1
  Lines        1212     1185      -27
==========================================
- Hits          417      400      -17
+ Misses        761      756       -5
+ Partials       34       29       -5

Impacted Files
Coverage Δ

pkg/ingress/apisix/annotation.go
30.43% <ø> (ø)

pkg/ingress/apisix/route.go
0.00% <ø> (ø)

pkg/ingress/apisix/service.go
0.00% <ø> (ø)

pkg/ingress/apisix/tls.go
92.00% <ø> (ø)

pkg/ingress/apisix/upstream.go
87.80% <ø> (ø)

pkg/seven/apisix/route.go
31.73% <ø> (ø)

pkg/seven/apisix/service.go
7.69% <ø> (ø)

pkg/seven/apisix/ssl.go
12.06% <ø> (ø)

pkg/seven/apisix/upstream.go
6.25% <ø> (ø)

pkg/seven/state/builder.go
0.00% <ø> (ø)

... and 4 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 e58e6d6...fdd9e0e. Read the comment docs.


Revert "chore: update o-f/api dependency to v0.17 (#2848)"

This reverts commit bd97e32644f5a6c5a2b87668df5261a4da62a2a6.
Signed-off-by: Anik Bhattacharjee<EMAIL_ADDRESS>
Description of the change:
Motivation for the change:
Architectural changes:

Testing remarks:

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

/lgtm

/approve


Allow overriding python3 & pip3 binary in Makefile

This is a simpler (and hopefully better) attempt to solve the problem in #665.
I believe it is still needed because on some platforms like RHEL8 (which won't be EOL until 2029), python3 still points to python3.6 by default, which is too old for mkdocs.

:+1:

Not entirely sure why, but the build is failing with this: https://github.com/binwiederhier/ntfy/actions/runs/6899040178/job/18769998509?pr=949

Ah oops sorry my bad.


bug report: cant import component

hi im trying to import the daterangepicker component and im getting this error:

im importing like this:
import { DaterangepickerComponent } from 'angular-datetimerangepicker/daterangepicker/daterangepicker.component';
and i do have the module in my app.module.ts

Hey you should not import component. But you should import daterangepicker module instead.
Check this example here
https://stackblitz.com/edit/angular-datetimerangepicker-demo-without-bootstrap
Also check the https://technikhil314.netlify.app/docs/daterangepicker/how-to-use
You just need to add two lines to your app.module.ts and then start using the component

here is what im trying to do , when changing the date from a different source, in my case buttons that move the selected time frame to next week/previous week and today i want this to be reflected on the date picker(you can see the picture in the previous request i made)
im referencing your component as #datepicker

then im changing the date on it dynamically like this, i cant use the actual component because of that error and i m forced to use "any" instead

Probably you are using it in wrong way. You simply need to change the options object in viewDateChange function. And it should work. Cause daterangepicker component handles ngOnChanges event already. Check the stackblitz example. See how the options change dynamically in that example. What you are doing is hacky way.

things ive tried:

this didn't work, had no effect on values

this worked only if i added setRange, without it the changes werent propagating to the value of the input
with:

without:

Ok got your use case now. I will release new version for this.

Please use v2.3.1
You simply need to pass new options object from your viewDateChange function. something like
viewDateChange(date: Date) {
    this.daterangepickerOptions = {
        ...this.daterangepickerOptions,
        startDate: Dayjs(date).startOf('day'),
        endDate: Dayjs(date).add(7, 'day').endOf('day')
    }
}

This should work now need of calling setRange etc.

works well now ,thanks for the quick fixes


[Question]: Is there any reason why 3.241.0 is not the latest release instead of 3.240.1?

Describe your question
Hi, just curious -- 3.241.0 is not tagged as a pre-release, but is also not showing as the latest release (currently showing as 3.240.1). Is there any reason for this, or is this just a mistake? Should it not be the latest release?
I have a script that downloads the latest agent releases, but saw that our agent hasn't been updated in ~2 months so just took a quick look into why as we typically see a monthly release cycle.
Thanks!
Versions
3.241.0, 3.240.1
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Operation system
No response
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response

Hi @d-miles, with the new flow, we remove the pre-release label at the second internal stage of the version release and mark it as the latest version when it has been released to all users.
We'll update the documentation to address such updates, thanks for the heads up!

Hi @KonstantinTyukalov, I guess I'm not understanding. Does that mean 3.241.0 should currently be the latest or not? Or are you saying it is not released to all users yet?
It is not marked as a pre-release, so does seem to be released to all users (unless you mean something else by this), so I'm just not sure if this is a mixup of the release labels or not.
Is there actual existing documentation that actually describes this release/pre-release labeling process, as to what you are referencing that you say needs to be updated?

i have 3.241.0 but latest is v3.240.1, just makes it more wilder. So i am also more confused.

Now v3.242.1 is installed and tagged with latest. Must have happend this morning.

Now we have the same issue again. A new release comes out during the day and has no pre-release label. I also have scripts that is dependent on knowing if a new version is pre-release or latest. I don't want to trigger an update of a an agent if the version is very new. I created a separate ticket for this new release 3.243.0 https://github.com/microsoft/azure-pipelines-agent/issues/4937_

Guys, look at this issue. Same thing.


Confidence level down after upgrading the Rasa version from 1.4.3 to 1.6.2

Hi,
Previously I was using Rasa 1.4.3 and it was giving good confidence level for the trained questions. But it was taking more than 1 hr  to train a model for approx 250 intents.
Now I created different environment with version 1.6.2, now the training time has been improved but the confidence level of trained question has been down and because of this Rasa is not responding with the proper answer.
I am using below config:
language: en
pipeline: supervised_embeddings
policies:

name: AugmentedMemoizationPolicy
name: MappingPolicy
name: FormPolicy
name: TwoStageFallbackPolicy
nlu_threshold: 0.8
core_threshold: 0.5
fallback_core_action_name: action_did_not_understand
fallback_nlu_action_name: action_did_not_understand
deny_suggestion_intent_name: general_out_of_scope

Example: I trained for "what is the diff between drop and delete"
In the version 1.4.3 conf level is 0.99 while in 1.6.2 conf level is 0.63
Thanks and Regards
Harsh

This known behavior due to the fact that softmax confidences saturate with number of classes. We implemented renormalization in rasa 1.7 version: https://github.com/RasaHQ/rasa/pull/4902

Thanks for the reply @Ghostvv !!
Do you mean that this issue has been resolved in rasa 1.7 version?
Thanks and Regards
Harsh

Yes, it should be resolved. Could you please try 1.7 version

Hi,
I upgraded rasa with the below command:
pip install -U rasa --extra-index-url https://pypi.rasa.com/simple
It installed successfully but below error came:
ERROR: rasa-x 0.24.6 has requirement rasa~=1.6.1, but you'll have rasa 1.7.0 which is incompatible.
So, I updated rasa-x with:
pip install -U rasa-x --extra-index-url https://pypi.rasa.com/simple
It uninstalled 1.7 version and installed 1.6.2 to match the compatibility. Got below output:
Installing collected packages: networkx, rasa-sdk, rasa, rasa-x
Attempting uninstall: networkx
Found existing installation: networkx 2.4
Uninstalling networkx-2.4:
Successfully uninstalled networkx-2.4
Attempting uninstall: rasa-sdk
Found existing installation: rasa-sdk 1.7.0
Uninstalling rasa-sdk-1.7.0:
Successfully uninstalled rasa-sdk-1.7.0
Attempting uninstall: rasa
Found existing installation: rasa 1.7.0
Uninstalling rasa-1.7.0:
Successfully uninstalled rasa-1.7.0
Attempting uninstall: rasa-x
Found existing installation: rasa-x 0.24.6
Uninstalling rasa-x-0.24.6:
Successfully uninstalled rasa-x-0.24.6
Successfully installed networkx-2.3 rasa-1.6.2 rasa-sdk-1.6.1 rasa-x-0.24.7
Finally again 1.6.2 version is there.

we will release a compatible rasa x version in the next days

And I hope with the new release the below open issue will also get resolved.
#4768

Hi,
I have updated with the latest versions for both rasa and rasa-x. Now training time is good and conf has been improved but not that great. In most of the question its running TwoStageFallbackPolicy. Now for the straight forward questions its giving conf level around .78 and i have set 0.80 threshold. In the earlier version it was working perfectly with 0.99 or 0.98 conf level.
Thanks and Regards
Harsh

The algorithm have changed. Would it work for you if you change threshold levels?


Cameraroll is moved to RNC repo

https://github.com/react-native-community/react-native-image-editor/blob/87fc5b99947b6e139b93aea78a16a568694ceb93/example/src/App.js#L13
This example will soon not work anymore, the import should be changed to the new rnc cameraroll package:
https://github.com/react-native-community/react-native-cameraroll\
or rewritten to work without the cameraroll dependency.

#24 Is going to fix this.


Testing with authenticated and anonymous client at the same time gives mixed results

I want to test the unauthenticated endpoints of my application, after creating an authentication-required resource, and I am getting that the anonymous client is actually authenticated :-/.
import pytest

@pytest.fixture(scope="module")
def app():
    app = create_app()
    app.test_client_class = APIAwareFlaskLoginClient
    yield app

@pytest.fixture
def client(app):
    with app.test_client() as client:
        yield client

@pytest.fixture
def authenticated_client(app):
    with app.test_client() as client:
        client.post("/api/auth/login", json=dict())
        yield client

@pytest.fixture
def create_resources(authenticated_client):
    response = authenticated_client.post('/api/myresource', json=dict())
    return response

def test_participant_not_logged_in(client, create_study):
    study_id = create_study.json['id']

    questions_response = client.get(f'/api/studies/{study_id}/questions')
    assert questions_response.status_code == 401

The test test_participant_not_logged_in should fail because the client is not authenticated. When breaking on the first statement of that function I verify that the cookie jar of the client is empty (so, is not authenticated), but when hitting the url with the get... it comes as authenticated. How is this possible? I have been looking around and cannot explain this behavior. Am I doing something wrong, or this is a bug?
Environment:

Python version: 3.10.8
Flask version: 2.2.2

Nothing in your tests require with client, because you're not looking at request or g after a request is made. Remove the with client block completely. If you do need to preserve the context, use with client as locally as possible, only around the specific request being tested, not during an entire test.

@davidism I have made the changes you suggested (by the way, thank you very much), but I am still hitting the same error. This how the code looks now, with two more tests:
import pytest

@pytest.fixture(scope="module")
def app():
    app = create_app()
    app.test_client_class = APIAwareFlaskLoginClient
    yield app

@pytest.fixture
def client(app):
    return app.test_client()

@pytest.fixture
def authenticated_client(app):
   client = app.test_client():
   client.post("/api/auth/login", json=dict())
   return client

@pytest.fixture
def create_resources(authenticated_client):
    response = authenticated_client.post('/api/myresource', json=dict())
    return response

def test_participant_not_logged_in(client, create_study):
    study_id = create_study.json['id']

    questions_response = client.get(f'/api/studies/{study_id}/questions')
    assert questions_response.status_code == 401

def test_participant_not_logged_in_forced_logout(client, create_study):
    client.post('/api/auth/logout')
    study_id = create_study.json['id']

    questions_response = client.get(f'/api/studies/{study_id}/questions')
    assert questions_response.status_code == 401

def test_participant_not_logged_in_forced_logout2(client):
    response = client.post('/api/auth/logout')
    assert response.status_code == 200

Should I break on the first statement of test_participant_not_logged_in and look in the cookie jar of client, it shows empty. However, I am still able to do the client.get successfully (and if I break on the server side, it comes up with a user).
on test_participant_not_logged_in_forced_logout, I am getting a "Bad request" error (because the CSRF token is missing... this error is extremely extrange, but read the next line)
on test_participant_not_logged_in_forced_logout2, the test succeeds

So: it looks like for some reason the fixture create_study is "interfering" (for the lack of a better word) with client. I have another set of tests, on another module, that just call the unauthenticated client and all those succeed / fail as expected.

@davidism Forget my last comment. The problem seems to be on how flask-login is managing the authenticated user, when it is assigning the current_user and so. I am sorry for having bothered you with this. I will continue on their github project. Thank you!


Upgrade node, npm and specify/lock node-gyp versions.

Description
Going to the latest version and locking for trialing building on ARM laptop.
Checklist:

[x] My pull request is properly named
[x] The changes respect the code style of the project ($ npm run lint)
[x] I tested/previewed my changes locally

Do we really need exact versions? E.g., Arch only has nodejs 14.16.0 (even in [testing]). The package was already flagged out of date, but will probably require a couple of days before getting updated. Nevertheless (safe for the version incompatibility error introduced by this PR), I have no problems with building Ferdi.

Do we really need exact versions? E.g., Arch only has nodejs 14.16.0 (even in [testing]). The package was already flagged out of date, but will probably require a couple of days before getting updated. Nevertheless (safe for the version incompatibility error introduced by this PR), I have no problems with building Ferdi.

In which case, do you want to hold off for a few days and then merge this PR? If so, I will wait for your explicit approval before merging this.

Is there something specific in 14.17.0 that we need to arm macs? In that case, I'm ok with holding this off for a bit and then merging. But looking through distro packages e.g., at https://pkgs.org/search/?q=nodejs it seems many distributions only carry 14.16, and those are likely on slower update cadences than Arch. So if we merge this, we (temporarily) exclude a bunch of distros from building Ferdi. (I only looked at distros on this list that package nodejs 14. Those on 12 are likely to use nvm, anyway, but it's nice to be able to rely on the native package if one is available with the correct major version.)
If 14.16 is enough, I'd be more comfortable with something like ^14.16.0 (and caret dependencies for node-gyp and npm, too, as most distros wouldn't update at exactly the same time).

Yes - Im ok with changing to the ^ based notations for dev/build-time-system-deps. Let me make that commit.

In the end, the PR got changed to only be used to enforce the <major>.<minor> versions for the system-level dependencies. Upgrades have been rolled back since linux contributors might not be in a position to upgrade.