excluded_fields doesn't work on register(User) in Django

Describe the bug
When exluced_fields "exclude" some fields in history's table,
then we expected to see only new entries in the historical table for
changes made not in excluded fields.
To Reproduce
Got code:
from simple_history import register
from django.contrib.auth.models import User

apply_history_to_User = register(
    User, app='core', excluded_fields = ['password', 'last_login'],
    table_name='auth_historicaluser',
    use_base_model_db=True, inherit=True,
)

# change to `app=__package__`

Expected behavior
last_login field is excluded so when user log in it should not
add any record to history's table, but it's not true.
Every login created a new record in history table and values are same
(Except internal history_date of course and history_id)
Environment (please complete the following information):

Django                          2.2.9
django-simple-history           2.8.0
Database Version: [Mysql 5.7.28]

@slenart this is expected behavior. The columns are excluded, but django-simple-history functions naively. It creates a new record in the history table every time a save is made, regardless of whether or not fields have changed. There's been a decent amount of discussion about using something like django-dirtyfields to handle this differently, but I haven't had enough time to look into, and neither has anyone in the community. Going to close this since it's expected behavior


Feat 41 test database schema

All Python devs, your DB volume will have an incompatible alembic_version after merging this, so please either:

delete volumes with docker-compose down -v (recommended)
or, if you want to keep your data, add this row to alembic_version:

navigator=# select * from alembic_version;
 version_num
-------------
 0004

This all looks good. I think the numeric revision ids will make it much clearer to see the migration order.
I'm a little confused by the purpose of generate-sql.sh though. @opyate can you clarify this?
Regarding the test in test_actions.py that adds records to Geography, ActionType etc. Should this be moved into a different test as test_post_action relates to testing a post to the api?

I'm a little confused by the purpose of generate-sql.sh though. @opyate can you clarify this?

When you run it, it created "up" and "down" SQL:
docker-compose run --rm backend alembic/generate-sql.sh

Output, up:
BEGIN;
-- Running upgrade 0003 -> 0004

ALTER TABLE source ALTER COLUMN name TYPE VARCHAR(128);

UPDATE alembic_version SET version_num='0004' WHERE alembic_version.version_num = '0003';

COMMIT;

Output, down:
BEGIN;
-- Running downgrade 0004 -> 0003

UPDATE alembic_version SET version_num='0003' WHERE alembic_version.version_num = '0004';

COMMIT;

This allows us to upgrade the DB by hand, and downgrade if need be.

Regarding the test in test_actions.py that adds records to Geography, ActionType etc. Should this be moved into a different test as test_post_action relates to testing a post to the api?

With the newly-added ForeignKey declarations in the model, this test fails without these records.

Thanks for the explanation @opyate that makes sense now.


Errors or irregularities with roboticision of the player character

There seem to be errors or irregularities with the roboticision process of the player character when choosing the You, but fleshy pet at the start.
Starting the game with a mutant character with mutations present, the game spawns the fleshy pet and an invalid object (w/ a question mark icon) which has the following description (I allowed myself to sanitise it and removed my username from the path):
[invalid blueprint:Books_YouButFleshy]

Failed building: Books_YouButFleshy

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00053] in <695d1cc93cca45069c528c15c9fdd749>:0
at XRL.World.Parts.Books_FleshyPet.HandleEvent (XRL.World.ObjectCreatedEvent E) [0x000a0] in /home/$USER/.config/unity3d/Freehold Games/CavesOfQud/Mods/YouButFleshy/fleshy_pet.cs:53
at XRL.World.ObjectCreatedEvent.handlePartDispatch (XRL.World.IPart Part) [0x0000b] in <c9053bb7be674933afa09c355b2e2476>:0
at XRL.World.GameObject.HandleEventInner (XRL.World.MinEvent E, System.Int32 ID) [0x0004b] in <c9053bb7be674933afa09c355b2e2476>:0
at XRL.World.GameObject.HandleEvent[T] (T E) [0x0024b] in <c9053bb7be674933afa09c355b2e2476>:0
at XRL.World.ObjectCreatedEvent.Process (XRL.World.GameObject Object, System.String Context, XRL.World.GameObject& ReplacementObject) [0x00086] in <c9053bb7be674933afa09c355b2e2476>:0
at XRL.World.GameObjectFactory.CreateObject (XRL.World.GameObjectBlueprint Blueprint, System.Int32 BonusModChance, System.Int32 SetModNumber, System.Action`1[T] beforeObjectCreated, System.Action`1[T] afterObjectCreated, System.String Context, System.Collections.Generic.List`1[T] provideInventory) [0x009f3] in <c9053bb7be674933afa09c355b2e2476>:0
at XRL.World.GameObjectFactory.CreateObject (System.String ObjectBlueprint, System.Int32 BonusModChance, System.Int32 SetModNumber, System.Action`1[T] beforeObjectCreated, System.Action`1[T] afterObjectCreated, System.String Context, System.Collections.Generic.List`1[T] provideInventory) [0x00043] in <c9053bb7be674933afa09c355b2e2476>:0

The player character fails to be roboticised as well. However, this happens only when one starts with a mutant character with mutations - as opposed to True Kin or a mutant who in the character creation is deliberately assigned no mutations, who gets roboticised. The issue probably lies in the mutation removal method in line 53 of fleshy_pet.cs.
Moreover, in the case of True Kin characters or mutant character without any mutations, the game dumps all the water from the inventory at the start (c.f. line 55 of fleshy_pet.cs), which - while not an error - is not ideal, as even robots, when controlled by the player, need to drink. That provides a problematic start for the player, who is deprived of water.
Reproduced on Caves of Qud version: <IP_ADDRESS>; <IP_ADDRESS>.

the game dumps all the water from the inventory at the start

This was technically as designed, since the inventory gets recreated inside the pet, so you can trade with your fleshy self for the water. However, I do admit that it is not exactly made clear


New ASSERTMSG and DASSERTMSG

They allow even more flexible assertion messages with full printf argument generality.
Example:
ASSERTMSG (a[i] == 0, "bad array value, a[%d] = %g", i, a[i]);

LGTM


TCK fixes to make it run as a single dependency

@radcortez looks good to me.
But, before merging your PR, can we first get my PR https://github.com/eclipse/microprofile-telemetry/pull/60 reviewed and merged - there will be merge conflicts (again), because of the changes on the test classes...
Can you eventually review and merge it, if ok?
And afterwards merge your changes in - the Otel Java version will then be set to 1.19.0 too.

This can go after #60. But I need these changes to run the TCK in SmallRye OpenTelemetry smoothly.

@Azquelt can you create a separate issue with a proposed PR as this one has closed? We plan to do another RC with OTel 1.19 alignment asap.

Yes, this can also be removed.


LESQ-708: Removes expired lesson coming soon

Description
Music year: 1980 - https://www.youtube.com/watch?v=hDHW5wXBvLw

Removes coming soon from unit cards

Issue(s)
Fixes #LESQ-708
How to test
Screenshots
How it used to look (delete if n/a):

How it should now look:

:tada: This PR is included in version 1.389.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Disable case-sensitivity on Login column

As it stands, the Login column in the Accounts table is case sensitive. This leads to some unwanted interactions when logging in:  the user would capitalize one or more letter of their already existing username and create a new account.
For this, a database migration will be needed to change the column to COLLATE NOCASE - but there may also be duplicate accounts that need to be merged or deleted. We should be able to provide some sort of script to solve the majority of these issues.
Note: be sure to modify all known public server owners so that they can run the script and upgrade smoothly.

Implemented in 2eb64540d1e0e0832512ef691d1c509736339144.


fix(docs): prevent escape from throwing error when no toast is open

Pressing escape on api reference page causes an error due to some weirdness with vueaury + vue-sonner. We just patch the package to add an additional type check for vue-sonner for whether the contains function is available.
Resolves:
Uncaught TypeError: r.contains is not a function on openapi spec page

https://docs.uploadthing.com/api-reference/openapi-spec tried pressing escape in a bunch of ways but didn't get any error. Can you record the issue you're seeing?

https://docs.uploadthing.com/api-reference/openapi-spec tried pressing escape in a bunch of ways but didn't get any error. Can you record the issue you're seeing?

https://github.com/pingdotgg/uploadthing/assets/11494384/740eef77-746f-498a-bf55-a5b0b0a4863d

Thanks @markflorkowski -- that's the one.
Seems like the preview still has the issue. I'm wondering if the vercel deploy is using cache, otherwise it could be something off with the patching which was kind of finicky to implement with bun.

Seems like the preview still has the issue. I'm wondering if the vercel deploy is using cache, otherwise it could be something off with the patching which was kind of finicky to implement with bun.

Being on the docs site, I would not be surprised if this were the case. We have had a ton of build cache issues with Nextra :/


test: compare resource consumption with iterative multiplication

Is your feature request related to a problem? Please describe.
Recursive multiplication is correct to the mathematical definition but extremely inefficient computationally.
Describe the solution you'd like
Test out an iterative formula for $H_A \times H_B$
Describe alternatives you've considered
In case of comparable speed, no need to refactor

At first I have tried to optimise the execution time by marking the multiplication table as constexpr so that it is prepared at the compilation time already. That led to a cascade of problems:

Due to a lot of operations performed to generate the matrix the compiler raised an error, safeguard against infinite constexpr evaluations; g++ has no flag to modify the cutoff
clang++ has a flag -fconstexpr-steps which I could set to a high number but that would require moving to that compiler exclusively, that is pretty limiting.
changing compilers needs to be followed by installation of another tool in the ci llvm to have a code coverage report generated after compilation with clang not g++.
The coverage report was generated successfully but the unit test "do not cover" new functions, ofc. they are compile-time. I have tried various flags to exclude these lines from coverage measurement but nithing worked.

In the end I believe it makes more sense to drop the constexpr idea altogether.
I don't think we will use THAT much time by generating that matrix once for every program run.
In case we ever need to revisit the code I developed for that approach: 5a9af587af2667cd44742ab9add275e225b2af9c


Meetings listed far away

I wonder if there’s a bug in yap. I was going to test and see if I put a note about a closed meeting it would print that note out. So I used a zip code of a meeting tomorrow night that’s closed and has a note. It only printed out one meeting close to the zip the first time. The others are 79 miles, 85 miles, 175 miles and 206 miles. I waited about an hour using the same zip and it still printed 2 meetings pretty far away.... (175 and 206 miles) It used to not spit out meetings so far away. Do I need to adjust some setting?
I'm using version 2.5.1
iphone 6+
same response on text and call.

it seems like if there were no more meetings today near 38117 it would print out tomorrow's meetings... which it did the 2nd time i used the zip about an hour later.  step write in and doing this thing.

Can you email me your config.php and the access logs for that time period?
What time period was this SMS sent?

FYI this looks like it's working correctly.  This is the BMLT query that was executed:
Zip 38117 geocodes to the latitude and longitude and gets passed to your root server as seen below.
[tennesee_root_server]/client_interface/json/?switcher=GetSearchResults&sort_results_by_distance=1&long_val=-89.901957&lat_val=35.1103341&geo_width=-50&weekdays=3
Results

Lunch Bunch in Memphis, TN (filtered out because it started at Noon)
You + Me = We in Memphis, TN (filtered out because it started at 8 AM)
Simplicity is the Key in Memphis, TN  (filtered out because it started at 6:30 PM)
Clarity in Cordova, TN 8PM meeting (listed as 7 miles away) (1st result shown)

This is working as expected.

those are good.  but why did it list Clarksville, dickson, jackson dyersburg the first time I tried it?  plus clarksville is still in the 2nd one.

What time did you send those texts?

so i need to fix my settings or something so that it doesnt show meetings so far away.  don't you think?  i didn't really know there were those other settings we could add.  or maybe i knew at one time i just never thought i needed them since i'd never seen it do this before.

I have no opinion on how you configure your Yap instance here.


Blank page in PDF - KG not shown

If there is a blank page in a PDF, it means there is no slide KG existing
The system shows the message that is default for: if No Slide.KG - show this message
The system should differentiate between if the page is blank or if the slide level KG doesnt exist.
This case is also applicable to the scenario in which there is some content on the page e.g. an image but no text is extracted and no slide level KG is created for that.

the issues still exists @jeanqussa


Chat widget doesn't show up when I disable with hidewhennotconnected

Hi, I tried to make hideWhenNotConnected to false, but it was not showing me the chat widget. Below is the screenshot for the same.

I'm having the same issue. Did you try changing the localhost to the rasa server ip address?

I'm having the same issue. Did you try changing the localhost to the rasa server ip address?

Yes I did, then too same issue


PlayerJoinCallback doesn't work for me

I'm using the following code and it does not fire. Does the server I join need the mod too or something?
val playerJoinCallback = PlayerJoinCallback callback@{ serverPlayerEntity: ServerPlayerEntity, minecraftServer: MinecraftServer ->
    println("Hello")

    MinecraftClient.getInstance().player?.sendChatMessage("Heye " + serverPlayerEntity.displayName.asString())

    ActionResult.PASS
}

PlayerJoinCallback.EVENT.register(playerJoinCallback)

The mod is server side only, if you try to use it on the client it won't work. Which language is this?

Thank you. It's Kotlin


Allow () for Tag

Currently, Tag requires a &[u8], which causes all kinds of issues regarding copying the resulting data around. It would be nice if the resulting type could also be () to throw the data away.

Hi,
The code has been refactored in the 0.8 branch, and this is now supported in branch dev/refactor-v0.2: the order of attributes describes the actions, so it is now possible to specify
#[derive(Nom)]
struct IgnoreTag {
    #[nom(Ignore, Tag(b"TAG"))]
    tag: (),
    a: u16,
    b: u16,
}

This is planned for 0.8


API for Metadata management

How metadata records are supposed to get into MetadataStore? For now, there is no API for that, only some test values get stored during Nifi extension initialization.

We plan to replace MetadataStore with Contracts, ContractOffers, Assets, AssetIndex etc, see https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/docs/Terminology.md
Assume there will be multiple implementations in future, e.g. an AssetIndex that is backed by an existing data catalog (e.g. ApacheAtlas) but also a solutions that offer REST APIs to manage metadata of Assets.
 Moritz Keppler<EMAIL_ADDRESS>Daimler TSS GmbH, legal info/Impressum

Closing this as these capabilities are implemented by the AssetIndex and DataLoader framework.


Test/PHPUnit/ is not compatible with PHP8 method signatures...

To get PHPUnit working with DBUnit in PHP 8 I need to use a PHP8 compatible DBUnit fork, such as Kornrunner/dbunit. This package has return types in its method signatures that are not present in Test/PHPUnit.
sample error:
Fatal error: Declaration of Zend_Test_PHPUnit_Db_DataSet_QueryTable::loadData() must be compatible with Tests\Library\Vantage\PHPUnit\Db\Dataset\QueryTable::loadData(): void in /Users/jjjjj/projects/xxx/vendor/shardj/zf1-future/library/Zend/Test/PHPUnit/Db/DataSet/QueryTable.php on line 57

@jakemonO is this still the case, with the latest release, pls?


Turned Path and Shape into separate types

addresses https://github.com/elm-lang/core/issues/234

Merge this? You (@evancz) agreed in #234 that this separation should be enforced.

Merged current master to make sure this still compiles.

Thanks! This finally became a requirement with the new documentation tool.
Also, thanks for all the great PRs! The are always reasonable improvements with well-done PRs :)


Error after running terraform apply

I'm following the guide here for bootstrapping terraform, https://itnext.io/bootstrapping-kubernetes-clusters-on-aws-with-terraform-b7c0371aaea0 . After execution of terraform apply, i get the following error. I ssh into the machine 35.81.x.x and see that the /home/ubuntu/admin.conf has a permission of root:root still as though the chown command isn't being respected from the main.tf in the ../modules/cluster/main.tf file.
│ Error: Error running command 'alias scp='scp -q -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
│ scp ubuntu@35.81.x.x:/home/ubuntu/admin.conf /Users/alluser/aws/terraform-kubeadm/selected-lark.conf >/dev/null
│ ': exit status 1. Output: scp: /home/ubuntu/admin.conf: Permission denied
Did something happen with a recent update? Running on version
module "cluster" {
source  = "weibeld/kubeadm/aws"
version = "~> 0.2.4"
}

From what I see the admin.conf file is owned by root and other users do not have read access to it.
scp cannot elevate its privileges on the remote server, so a better option is to use rsync
I replaced lines 256 and 257 in .terraform\modules\cluster\main.tf with
alias rsync='rsync --rsync-path="sudo rsync" -e "ssh -q -i ${var.private_key_file} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"'
rsync ubuntu@${aws_eip.master.public_ip}:/home/ubuntu/admin.conf ${local.kubeconfig_file} >/dev/null
This worked for me.
I will open a Pull Request with this change, so the code owner can review it and merge it

I am getting the following error on my local machine as well as the ec2 master node:
@C02FGA9JMD6M terraform-kubeadm % kubectl --kubeconfig admin.conf get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?

as well as the already mentioned scp error, but was able to copy the config file with rsync.

@friendshipmarker @mrpaff @greenszpila If you encounter this error, please post the output of:
tail -n 20 /var/log/cloud-init-output.log

This includes the logs of the bootstrap script, so we can see what's going on.
I'm working on fixing these issues.


Where can I learn more?

Say, for example, that I was a docker wizard and I wanted more to learn after this workshop, can you give me some references on where to go?
I'd like some follow-up work after finishing this workshop to learn more on my own time.

Sounds like a good idea. Added to my todo list


[enhancement] can't change font color

there is no option to change font color of percentage shown inside the circular progress bar

#4

#4 resolved


Help!

I am relatively new to nvim and I have no idea how to setup the UI(i somehow figured out other plugins).....
I really liked the the style in readme so I would request some sort of guide in setting the config like that.....

See typecraft youtube tutorials it will help you also you can search it on google , there're so many relevant blogs and tutorials.

Some video resources:

Understanding lua with neovim conf 2022 talk
Typecraft
Vhyrro Understanding Neovim
](https://www.youtube.com/playlist?list=PLx2ksyallYzW4WNYHD9xOFrPRYGlntAft)
Devaslife full neovim setup

I would recommend using kickstart.nvim as a good starting point for your config.
As for the screenshots see the note section in the readme for what is used:

That has links to the actual tabby and feline files that I was using. These were all custom and I have them linked in nightfox.


PrismaClientInitializationError: P1003 The SQLite database file (sqlite.db) does not exist

An error occurs when using sqlite database provider.
prisma db push will push the database in prisma folder, next to the schemas, but when connecting with the client, it tries to read the database from the root folder.
I made a proof of concept
version 5.0.3

@TanaseHagi I think this issue should be added to FQA. The root cause of this problem is the difference between the base directory of Prisma CLI and the real working directory of Dart Runtime.
Prisma CLI chooses <project>/prisma/ as the base directory. No matter where the url of your .env or datasource configuration is located, the CLI is based on the schema.prisma directory.
And Dart usually requires AOT compilation, which will cause a situation. We don't need the prisma directory. Usually the path in the environment variable is based on PWD. This is a conventional rule.
So Prisma CLI is a special case, and the recommended way to make it compatible is to set directUrl:
schema:
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
// Why need directUrl ?
// The Prisma CLI tool uses the file URL relative to the prisma directory when it is configured at runtime. The Dart runtime uses PWD
directUrl = env("DIRECT_DATABASE_URL")
}

.env
DATABASE_URL="file:./prisma/dev.db" # Dart rintime using
DIRECT_DATABASE_URL="file:./dev.db" # Prisma CLI using

This is to make it compatible with this situation.
You can see this solution in the demo at https://github.com/medz/prisma-dart/tree/main/examples/with_sqlite.

Maybe, I can make an enhancement tool to find the schema.prisma file from PWD, and when setting the database to SQLite connection string, if the schema.prisma file is found, reset the database connection URL.
But I don't want to do this. If you try to compile a Node project into a runnable JS or single file and move it out of the project directory, you will find that you will face the same problem.

The official approach of Prisma is to look for the schema.prisma file and then rewrite the path to SQLite. But I have always thought this is a misleading feature. Ideally, the URL written in .env should be based on the location of .env to be consistent. But .env is usually in string format KV format.
The general practice is to use PWD as the base directory once you encounter the path configured by the environment variable. But Prisma CLI is a special case.


Adds dependencies to pom, adds get and post to retrieve & post info i…

…n datastore in java, creates basic homepage in html, adds function in js to fetch contents of datastore, and adds basic styling in css to book display

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.


Customizable line properties of suggested routes

I suggest a visual improvement to the online routing interface.
Problem
When using the newly introduced cyclosm layer in the online router (#317 ), there are two related problems:

It can be difficult to distinguish the route suggested by graphhopper from the blue cycle infrastructure of the basemap.
The suggested route obscures valuable information of the basemap below ("Is the thing below the route a cycle path or a road?")

Example
Here it is hard or impossible to tell whether the route leads along a cycle track or a road.
Suggested solution
Add a few simple slidebar controls to set the line properties:

colour
transparency
width
style (solid, dashed, dotted)

The user can then change them as they deem fit.
Additionally to my suggestion, it may make sense to already set the defaults to different values when cyclosm is used as baselayer.

A probably simpler solution is to define a key with which it is possible to hide the route as long as the key is pressed. Komoot uses the `m' key for this.

m like moooooooore basemap!

If someone has a suggestion how to improve the current color/style/width we could also change it instead of adding controls.

I think it's good if the line is dashed.
How about a thin dashed yellow line (somewhere around #fff176) with a semi-transparent black halo (#000000a0 or so) ?

So what do you propose?

I'm fine with whatever solution that solves the problem. Obviously, there are various ways to do this. I've tried to make constructive suggestions and they were rejected. I don't feel like I have the authority to decide this, nor do I have the skills to implement any of the solutions discussed.


Binaries created in CI do not have the proper version

The latest release still says v0.0.0.
~/Downloads via 🐹 v1.14.9
❯ ./func_linux_amd64 --version
v0.0.0

I think this may be resolved when run as a kn plugin, because SetMeta is being called with explicit values here.
https://github.com/boson-project/func/blob/8143ea1056626b238c40010fb0ede3bdc5fb5065/plugin/plugin.go#L28
But, when running in CI, it's expecting a git tag on the current commit hash.
https://github.com/boson-project/func/blob/8143ea1056626b238c40010fb0ede3bdc5fb5065/Makefile#L11-L14
I'm not sure what's going on exactly. The release-please task runs before the build, but as you can see from this build of v0.11.0 the Makefile thinks it's tip.
https://github.com/boson-project/func/runs/1743466022?check_suite_focus=true#step:6:43

Assuming this works in our next release, this can be closed. Will reopen if needed.


Add hasQueryHs

This adds a function hasQueryHs that allows users to see if they need to add explicit Hs to molecules being queried.
There are two ways to run the function
To see if the query mol has query hs (these require explicit hydrogen atoms) use:
hasQueryHs(mol) # returns if there are query hs in the molecule

To see if we have query Hs that MergeQueryHs will not fix:
hasQueryHs(mol, unmergableOnly=True)

Note that this doesn't check for mapped or isotopic Hs.

@greglandrum if this seems ok, I'll ensure the other wrappers work.

I think the changes look good and agree that it's a useful function. Want to go ahead and do the wrappers and fix the conflicts?

@greglandrum python wrappers work, I'll do Java tomorrow.

Nice! I will be out until Wednesday afternoon. So I'll take a look at the end of the week


Update to Laravel 10

Plugin needs to be updated to Laravel 10.
This PR is ready: https://github.com/bugsnag/bugsnag-laravel/pull/518
Thank you!

Released in v2.26.0


BCH sent to CoPay disappeared

I sent ~ $250 in BCH to a BCH wallet address in CoPay and the money has disappeared into thin air. I now kick myself that I didn't do a small amount of research into the CoPay reputation before diving in and blindly throwing my coins into the bitpay ether.
Every case I've read here ends the same way unsuccessfully. I've yet to find someone who walked away with their cash. I hope someone here can help me do that.
I'm curious why the Wallet Service URL (https://bws.bitpay.com/bws/api) is not available. Is that an issue?
If the app can't get blockchain information how can it function?
Please help me.

Yes, I do have a questio/problem with copay. I sent $250 worth of BCH to the BCH wallet address in CoPay and it has not arrived. In my experience BCH is very quick in comparison to BTC eg; 10 minutes compared to 40 min? It's been 20 hours since I sent the funds and there is no sign of them.
I sent 0.1958808 BCH to the address 16KM4r69Lew3arqJGC2kjosxcDFvJv5NMT given to me by CoPay (about $248) and there is no sign of it in CoPay but the address at blockchair shows $276 going in and coming out.
https://blockchair.com/bitcoin-cash/transaction/df69c7c7c7ca7570c2fa7274ad1ec575512644ba3cb2946fcf592ac436d7297a
I see it in there
https://blockchair.com/bitcoin-cash/address/qqa9ph0r8w6jmhj8gvzckdhf535hh6dljggvw564cd
but why doesn't copay take it out?
How can I get it back? Thank you for you help.
Gregg

Hello @greggluhring
Your case is, you need to recover some BCH funds from a Copay wallet right?
In that case, you can follow #8586. If you did not have a BCH wallet you will have to duplicate the BTC wallet and then recover the funds. All of that is explained in #8586
Please try that solution and let us know what happens.
 So many people losing btc/money from this platform. People I suggest you get your funds and don't look back.


feat: API to resolve following list

We should have an API method to receive a list of a specific account's followings, the list would return:

All the addresses you follow from Farcaster
... from EFP https://efp.vercel.app
... from Lens

This will allows us later to show for example what your following are voting for.

EFP API not ready for public use yet

This is currently a test API with fake data and will receive updates with additional functionality over time. It is intended to be used to test integrations in preparation for EFP’s mainnet launch.


Variable Explorer Refreshing

Spyder IDE
The Scientific Python Development Environment | Spyder-IDE.org
Python 3.11.5 64-bit | Qt 5.15.2 | PyQt5 5.15.7 | Windows 10
This is my Spyder version.
If I click the variable refreshing button, then the screen seems to go to the middle of the list, while I just want to stay on the particular part of the list that I am looking at.
Can it stay on the part that I am looking at though I click the refresh button of the variable explorer?

Hi @sangheumcho thank you for the feedback! I'm not totally sure to follow what you mean, sorry! Could it be possible for you to share here a screen record video/GIF to better understand what do you mean? Also, could you post here the Spyder version info that comes from clicking the Copy version info from the Spyder About dialog? Let us know!

I think what @sangheumcho meant is what was already reported on issue #21508: restore the vertical scrollbar position after the Variable explorer is refreshed or updated.
Given that they are basically the same feature request, I'm going to close this issue in favor of that one.


Emit unhandled rejection events in Node

Hey, I've written the following proposal here: https://gist.github.com/benjamingr/0237932cee84712951a2
I'd love your feedback.

I have no particular objection to this.  I would suggest submitting a pull request to add this spec as the readme for https://github.com/promises-aplus/unhandled-rejections-spec so it can be discussed by the Promises A+ community.  If it is accepted there, I will definitely implement it.

Bluebird added this and RSVP and es6promise are adding this soon. iojs said they're interested in the idea and are positively considering it.
I don't think this belongs to the spec since it's a node-only feature.

Updating that io.js pull request has been made - this will likely land in the next version and is being discussed in the TC meeting for approval.

Now in io.js, please consider adding it for compatibility.

:+1: to this

+1, no errors are thrown in node which makes debugging super hard

Now in Q, you guys and RSVP are the only ones left - you can see the Q PR this is not a lot of code to add and it solves a problem for many users - please consider.

Now in native promises, this is now a divergence from the native NodeJS behavior.

for those who stuck to catch unhandled rejections with then/promise.
Take a look at non standard .done() method. Maybe it will save you as it saved me..
promise
    .then(function() {
        throw 'BOOM'
    })
    .done() // exception thrown outside

Or use one of the libraries that implements this.

@ForbesLindesay ping, both browsers and Node emit these events now for a while. The adjustments to the ES spec has even been done https://github.com/tc39/ecma262/pull/76
Any chance this will work in then/promise?


Document Node.js 20 requirement

Is your feature request related to a problem? Please describe.
This action runs on Node.js 20 and that isn't documented anywhere.
Describe the solution you'd like
The README mentions that in order to work on this project one requires Node.js 20. Perhaps one could mention that the Action itself runs on Node.js 20, if that's not too verbose.

Solved by https://github.com/xalvarez/prevent-file-change-action/pull/836


Improve Retry Logic to Only Retry on Server-Side HTTP Errors

Changes Implemented
Fixes #861
Selective Retrying in osv.go:
Before: The retry logic did not differentiate between server-side and client-side HTTP errors, potentially leading to unnecessary retries on HTTP 4xx responses.
After: Updated the retry mechanism to only retry when the response status code is in the 500 range (HTTP 5xx). This prevents the system from retrying requests that are likely to fail due to client-side issues, thereby optimizing performance and reducing redundant network calls.
osv_test.go:
Verified that the updated retry logic correctly differentiates between HTTP 5xx and HTTP 4xx responses.
Ensured that retries are only attempted for HTTP 5xx errors by running and passing the TestRetryOn5xx test case.

Hi @G-Rath,
While running run_lints.sh, I found couple of issues, so I made some updates to the makeRetryRequest function and adjusted the osv_test.go file based on your feedback. Now, the script runs without any issues on my end, aside from a few spacing warnings in other functions. Just let me know if you’d like me to fix those up too.

aside from a few spacing warnings in other functions

would you mind posting a couple of those here? as there shouldn't be any output, and my local doesn't give any

I'm not sure if this is what you are doing but If you're trying to run the script in PowerShell, it likely won’t work and will just return a blank output. Try using Git Bash instead.
here is the command from script:
go install<EMAIL_ADDRESS>golangci-lint run ./... --max-same-issues 0

and here are the warnings:
pkg\osv\osv.go:160:6: func checkResponseError is unused (unused)
pkg\osv\osv.go:322:28: G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand)
pkg\osv\osv_test.go:53:3: The copy of the 'for' variable "tc" can be deleted (Go 1.22+) (copyloopvar)
pkg\spdx\verify.go:1: File is not gofmt-ed with -s (gofmt)
I'm fairly certain that running go fmt should resolve these warnings. I'll go ahead and fix the warnings related to osv_test.go. Let me know if you'd like me to address the other warnings as well.

@VishalGawade1 only the last one is about spacing, the others are legitimate issues to be addressed in your pull request, along with other changes from my review that you're yet to make such as restoring the for i := range loop.
The pkg\spdx\verify.go warning is interesting - I'm happy if you want to just apply that and push it up so we can take a look at what actually gets changed, even though it won't belong in this PR

If you're trying to run the script in PowerShell

I'm not since the script is a shell script not a powershell script 😅

@VishalGawade1 only the last one is about spacing, the others are legitimate issues to be addressed in your pull request, along with other changes from my review that you're yet to make such as restoring the for i := range loop.
The pkg\spdx\verify.go warning is interesting - I'm happy if you want to just apply that and push it up so we can take a look at what actually gets changed, even though it won't belong in this PR

If you're trying to run the script in PowerShell

I'm not since the script is a shell script not a powershell script 😅

@VishalGawade1 only the last one is about spacing, the others are legitimate issues to be addressed in your pull request, along with other changes from my review that you're yet to make such as restoring the for i := range loop.
The pkg\spdx\verify.go warning is interesting - I'm happy if you want to just apply that and push it up so we can take a look at what actually gets changed, even though it won't belong in this PR

If you're trying to run the script in PowerShell

I'm not since the script is a shell script not a powershell script 😅
edit: right I misread - yeah I develop in WSL so it's all going through linux; by "blank output" I mean it will give you this:
osv-scanner on  main [$?] via 🐹 v1.22.7 via  v20.11.0 via 🐍 v3.10.12 took 2s
❯ scripts/run_lints.sh
+ go run<EMAIL_ADDRESS>run ./... --max-same-issues 0

osv-scanner on  main [$?] via 🐹 v1.22.7 via  v20.11.0 via 🐍 v3.10.12 took 10s
❯

yeah, I assumed just to be safe 😄 Sure, I will take look at other warnings and will update you.

@G-Rath
I need your suggestion, what should I do with the checkResponse function? Should I just remove it? Is that a good Idea?

I need your suggestion, what should I do with the checkResponse function? Should I just remove it? Is that a good Idea?

Generally speaking I think your current implementation is a bit ... lets say nil-y (I don't want to say "messy" as I wouldn't go that far, but.. there are a lot of != nil checks in there), and I would recommend you review that to see how you could clean it up.
I believe that's why the checkResponse function existed in the first place, and it's why you've added getStatusCode - ultimately, I think the end solution will probably benefit from one utility function that is likely a combo of both of those functions, and that's why I recommend you review the whole implementation of the loop.

I need your suggestion, what should I do with the checkResponse function? Should I just remove it? Is that a good Idea?

Generally speaking I think your current implementation is a bit ... lets say nil-y (I don't want to say "messy" as I wouldn't go that far, but.. there are a lot of != nil checks in there), and I would recommend you review that to see how you could clean it up.
I believe that's why the checkResponse function existed in the first place, and it's why you've added getStatusCode - ultimately, I think the end solution will probably benefit from one utility function that is likely a combo of both of those functions, and that's why I recommend you review the whole implementation of the loop.
(that is to say, technically "yes it should go because it's not being removed anymore", but I might as well frontfoot the introduction of a new similar function while we're at it 🙂)

I totally understand, sorry about that, and I really appreciate your feedback. I'll work on making the code cleaner and more readable. I'll remove getStatusCode and checkResponse and incorporate error handling directly into makeRetryRequest. I’ll also make the test cases a bit more comprehensive and address the warnings. I'll update you soon!

Hi @G-Rath ,
I’ve removed both checkResponse and getStatusCode functions and consolidated error handling directly within makeRetryRequest. Additionally, there are no warnings when running run_lints. Let me know if this approach works for you. 😄

Please review the changes. Due to the merge conflict, some modifications were added back during the restore

Added, please have a look!

@VishalGawade1 could you modify the commit messages following the guide?

@cuixq since pull requests are squashed when merged, all that really matters is that the resulting commit follows the convention which I believe by default comes from the pull request title but you always have a chance to change this before the merge actually happens (after hitting the "squash/merge" button, it'll give you a form with the commit title and message).
It's probably worth updating the contributing docs to reflect that.
@VishalGawade1 I assume you've given maintainers permission to edit and push to your pull request which should mean @cuixq can edit the title themselves, but either way if you want to save them some work, that's what you can do
(my permissions are not enough for me to be able to actually check or do the edit)

yes I mean the PR title

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

Project coverage is 67.12%. Comparing base (9d28c7f) to head (4e0cff0).

Files with missing lines
Patch %
Lines

pkg/osv/osv.go
57.14%
6 Missing and 3 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1390      +/-   ##
==========================================
- Coverage   67.32%   67.12%   -0.20%
==========================================
  Files         192      192
  Lines       18161    18162       +1
==========================================
- Hits        12226    12191      -35
- Misses       5283     5312      +29
- Partials      652      659       +7

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


Fix access denied error during log rotation

Description
This PR adds a temporal solution (until OpenSearch provides a final solution) to the access denied error that raises during the daily log file rotation.
Issues Resolved
Closes #205
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I downloaded the RPM package to check opensearch_security.policy file. This is its content:
grant {
    permission java.lang.management.ManagementPermission "control";
    permission java.net.SocketPermission "localhost:9600","connect,resolve";
    permission java.lang.RuntimePermission "getClassLoader";
};

grant codebase "file:${java.home}/../lib/tools.jar" {
  permission java.security.AllPermission;
};

grant codeBase "jrt:/jdk.attach" {
    permission java.security.AllPermission;
};

grant codeBase "jrt:/jdk.internal.jvmstat" {
    permission java.security.AllPermission;
};
grant {
  permission java.lang.RuntimePermission "accessUserInformation";
};


demo application doesn't start on windows

Describe the bug
can't start the demo application on Windows 10 with java 17
Relevant log:
java.io.FileNotFoundException: C:\WINDOWS\sqlite-3.36.0-d1d580cc-94e1-44dd-976b-9d0203cd82d9-sqlitejdbc.dll.lck (Access is denied)
	at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
	at org.sqlite.SQLiteJDBCLoader.extractAndLoadLibraryFile(SQLiteJDBCLoader.java:210)

I managed to let it work by migrating to kspid("com.google.devtools.ksp").version("1.9.21-1.0.16"):
https://github.com/google/android-fhir/compare/master...icrc-fdeniger:android-fhir:icrc-ok-pull-data?expand=1#diff-84cb3f8fc96e6909e77e32e7f45a90496814fd34fb2e9822056aea55aaa0e9e7
I believe the root is that I can open a file located the folder  C:\WINDOWS ( not an admin)

Thanks for raising this @icrc-fdeniger
I think I know why ksp works and kapt does not.  The overhead of kapt's stub generation process likely ran into permission problems in your non-admin setup. The exact folders it tried to write to are unknown, but they were probably system-protected.
See more in Why KSP?
Also Android documentation recommends to migrate to ksp!
This seems to be a valid change and I think ksp is safe for room compiler.
Would you like to submit a PR for this ?

Sure I tried with a first draft here :)
https://github.com/google/android-fhir/pull/2471
Not an expert with KSP, KAPT so I'm sure it should be polished. it's ok for me with this configuration but I will need to have feedback on my modification. For instance for the ksp version (1.9.21-1.0.16). It seems it was the only config working for me..
I can do more tests

Thanks and no worries @icrc-fdeniger.  Have left some comments on your PR.


500 - Error: Cannot parse 2024-06-13+08:49:09.971622 00:00 as a valid ISO-8601 date

It looks like Tandem's API might have changed recently (<IP_ADDRESS>) and broken things?
I haven't dug deeper into this yet, but it looks like perhaps the date stamps passed to their server need to be adjusted a bit.
$ tconnectsync --features {BASAL,BOLUS}
2024-06-14 08:49:09 INFO     Enabled features: BASAL, BOLUS
Processing data between 2024-06-13 08:49:09.971622 and 2024-06-14 08:49:09.971622
2024-06-14 08:49:09 INFO     Downloading t:connect ControlIQ data
2024-06-14 08:49:09 INFO     Logging in to ControlIQApi...
2024-06-14 08:49:10 INFO     Reported tconnect software version: t:connect <IP_ADDRESS>
2024-06-14 08:49:10 WARNING  Newer API version than last confirmed working. Saw t:connect <IP_ADDRESS> and expected t:connect <IP_ADDRESS>
2024-06-14 08:49:10 WARNING  If you experience any issues, please report them to https://github.com/jwoglom/tconnectsync
2024-06-14 08:49:12 INFO     Logged in to ControlIQApi successfully (expiration: 2024-06-14T22:49:10.721Z, in 7 hours, 59 minutes)
2024-06-14 08:49:12 INFO     Downloading t:connect therapy_events
2024-06-14 08:49:13 WARNING  No last CGM reading is able to be determined from CIQ
2024-06-14 08:49:13 WARNING  Downloading t:connect CSV data
2024-06-14 08:49:13 WARNING  Falling back on WS2 CSV data source because BOLUS is an enabled feature and CIQ bolus data was empty!!
2024-06-14 08:49:13 WARNING  <!!> The WS2 data source is unreliable and may prevent timely synchronization
2024-06-14 08:49:15 WARNING  No last CGM reading is able to be determined from CSV
2024-06-14 08:49:16 WARNING  last_uploaded_entry with t_to_space: Nightscout last_uploaded_entry 500 response:

    <meta charset='utf-8'>
    <title>Error: Cannot parse 2024-06-13+08:49:09.971622 00:00 as a valid ISO-8601 date</title>

Connect

500 Error: Cannot parse 2024-06-13+08:49:09.971622 00:00 as a valid ISO-8601 date

    at /app/lib/server/query.js:71:17

    at Array.forEach (<anonymous>)

    at enforceDateFilter (/app/lib/server/query.js:62:28)

    at create (/app/lib/server/query.js:120:5)

    at query_for (/app/lib/server/treatments.js:121:12)

    at Function.list (/app/lib/server/treatments.js:115:13)

    at /app/lib/api/treatments/index.js:100:22

    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)

    at next (/app/node_modules/express/lib/router/route.js:137:13)

    at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)

 (HTTP 500)
2024-06-14 08:49:16 INFO     Last Nightscout basal upload: None
2024-06-14 08:49:16 INFO     finalized bolusEvents: []
2024-06-14 08:49:16 WARNING  last_uploaded_entry with t_to_space: Nightscout last_uploaded_entry 500 response:

    <meta charset='utf-8'>
    <title>Error: Cannot parse 2024-06-13+08:49:09.971622 00:00 as a valid ISO-8601 date</title>

Connect

500 Error: Cannot parse 2024-06-13+08:49:09.971622 00:00 as a valid ISO-8601 date

    at /app/lib/server/query.js:71:17

    at Array.forEach (<anonymous>)

    at enforceDateFilter (/app/lib/server/query.js:62:28)

    at create (/app/lib/server/query.js:120:5)

    at query_for (/app/lib/server/treatments.js:121:12)

    at Function.list (/app/lib/server/treatments.js:115:13)

    at /app/lib/api/treatments/index.js:100:22

    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)

    at next (/app/node_modules/express/lib/router/route.js:137:13)

    at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)

 (HTTP 500)
2024-06-14 08:49:16 INFO     Last Nightscout bolus upload: None
2024-06-14 08:49:16 INFO     Wrote 0 events to Nightscout this process cycle
Added 0 items

I think this is a Nightscout time formatting bug, not an issue on Tandem's end. Tconnectsync has logic to try two different timestamp formats when querying Nightscout to work around this, so I think this warning can be ignored in your case.

the date/time returned from Nightscout above in the error message is indeed not a valid ISO-8601 datetime
2024-06-13+08:49:09.971622 00:00
according to the spec, the date/time separator should be a T not the + and the timezone should be separated with the + and not a whitespace
2024-06-13T08:49:09.971622+00:00
are we passing the correct date and Nightscout isn't handling it? or are we passing the invalid date and Nightscout is spitting it back verbatim?

are we passing the correct date and Nightscout isn't handling it? or are we passing the invalid date and Nightscout is spitting it back verbatim?

Older versions of Nightscout appear to accept writes via the API into Mongo with invalid-formatted dates. This means that in some cases the invalid iso-8601 formatted date needs to be sent in order to properly filter dates. Currently, tconnectsync works around this bug by attempting both the "correct" and "incorrect" formats in sequence, and trying the other if such a http 500 occurs.

i got this warning, twice, and started to dig in
since the error message is last_uploaded_entry with t_to_space (important part being the t_to_space), it means that we tried to get the data with the correct datetime format but received a 200 response with zero items
i was able to reproduce the empty list with the offending datetime multiple times but eventually nightscout returned the expected result and i could no longer reproduce :thinking:


How to control the thread in the predict [R-package]

Xgboost is great!
I have a small problem about threads of predict function in R-package.

I trained a xgboost model locally and saved the model as a .Rdata file

Load the .Rdata file in a server and predict

When I predict the answer by something like:

 predict(.SD[1,model_local][[1]],newdata=...)

xgboost will use 32 threads of my server(I hope I can control how many threads I use)
Currently, I add some short training scripts like:
data(agaricus.train, package='xgboost')
data(agaricus.test, package='xgboost')
train <- agaricus.train
test <- agaricus.test
bst <- xgboost(data = train$data, label = train$label, max.depth = 2,
               eta = 1, nthread = 4, nround = 2,objective = "binary:logistic")

After that, the predict will use 4 threads instead.

Do you mean the nthread param for model_1 will affect the number of threads used when predicting on model_2?

Yes, that's right.

You may control the number of OpenMP threads by setting the OMP_NUM_THREADS environment variable to a needed value before starting R.


Lock log file

To prevent multiple calcium instances writing at the same time, producing garbled strings.

Resolved in f132ea06ed373f50edf19f649e69cdbace1af4c4.


fix(apm): Continuation of a trace from another span should use its span id as the parent span id

Correction based on what I see on the JS SDK:
https://github.com/getsentry/sentry-javascript/blob/01cac4ff6c09d7cf4b5e9d6cf595b095a8d036f3/packages/apm/src/span.ts#L202-L207

The incorrect mapping (red arrows) I found from my local development. The blue arrow is the supposedly correct mapping.

TODO

[x] test?

Thx


which twitter account

One week ago I reserved @dlangscience - we could use that account to promote new versions & other outreach - otherwise I also reserved @libmir - which one do you prefer?

@libmir =)

thanks)

Okay, but then we need a logo for Mir :)

now both https://twitter.com/dlangscience and https://twitter.com/libmir are tweeting through the universe.
libmir will be used for announcements of new releases.


[FEATURE REQUEST] Windows Heuristic Detection

Add automated windows heuristic detection for case sensitivity.
When scanning windows targets Index.html and index.html will lead to the same result as it is case insensitive. Detecting this you can reduce the word list to using only lowercase characters.
You can check this during the first result of the target by checking if varying case sensitivity will also lead to the same result.
Can display "OS detection: Windows or Linux"
This could also make it so you no longer need 2 different word lists depending on the target system.

:thinking: that's an interesting idea. It would fit the heuristic model, just need to fire off the requests and act appropriately

How about the web framework that use case sensitive and it can be run in windows/linux? How to detect that?

I think the check about whether web servers use case sensitive URI or not should start when some dirs/files has been found.
And this check could be done by:

randomly change some chars of URI  from lowercase to uppercase
check if the response of modified URI is the same with previous responses or not
if all ( or a ratio, above of 80% ?) responses are the same, we can think the server is URI case insensitive.

For example, if feroxbuster discover aspnet_client.
To make above check, feroxbuster can make requests to aspnet_client,aspNet_cLient,asPnet_clieNt ... and compare their responses (status code, content length, word count, hash of response ...)
If the server is URI case insensitive, all the responses should be the same and feroxbuster could turn on case insentive mode (format wordlists to all lowercase and remove duplicated ones).


CTRL + X  is not reflecting on text-area(#game_description).

    $('#game_description').trumbowyg({
        resetCss: true,
        removeformatPasted: true,
        autogrow: true,
        svgPath: trumbowygIcons
    }).on('tbwchange', function(contents, $editable){
        $('#game_description').val(contents.target.value);
    });

Whenever i pressed CTRL + X then Textarea not updated.

Still not fixed because it cut value from the editor after "tbwchange" event performed.  So "contents.target.value" return the same value as previous.

Need to add a setTimeout 0 hack :/

We can use
.bind('input propertychange', function() {
t.semanticCode(false, true);
t.$c.trigger('tbwchange');
})
instead of
.on('cut', function () {
t.semanticCode(false, true);
t.$c.trigger('tbwchange');
})

Thank you.. :) Now it is working.

Hello, I don't understand how to fix this issue I have too with Ctrl-X not updating the content. Can someone help ? thanks

It should works in the latest version. Are you up to date?

Yes silly me I was using the last version on a cdn and not the one on Github. Thank you so much


Evaluation metric code

Hi!
Do you have any plan to release the code of evaluation metric accuracy.  I am trying to reproduce the experiment. The accuracy has some difference calculating method with small difference like nomalize.

Hi! Good question, I'm happy to release that. Sorry, i want to add a bunch more stuff to this codebase, but haven't had time with traveling to ACL.
For more details on the metric, we first normalized via the SQuAD normalization function:
def normalize_answer(s: str) -> str:
    """Normalization from the SQuAD evaluation script.

    See https://worksheets.codalab.org/rest/bundles/0x6b567e1cf2e041ec80d7098f031c5c9e/contents/blob/
    """

    def remove_articles(text):
        return regex.sub(r"\b(a|an|the)\b", " ", text)

    def white_space_fix(text):
        return " ".join(text.split())

    def remove_punc(text):
        exclude = set(string.punctuation)
        return "".join(ch for ch in text if ch not in exclude)

    def lower(text):
        return text.lower()

    return white_space_fix(remove_articles(remove_punc(lower(s))))

Then, we compute accuracy as:
def accuracy(prediction: str, ground_truths: List[str], **kwargs) -> float:
    """
    Given a prediction and a list of ground truths, compute max accuracy of
    any token span of the prediction.
    """
    normalized_prediction = normalize_answer(prediction)

    for ground_truth in ground_truths:
        normalized_ground_truth = normalize_answer(ground_truth)
        if normalized_ground_truth.lower() in normalized_prediction.lower():
            return 1.0
    return 0.0

Does that answer your question?
Also, I'd love to hear more about whether you were able to broadly reproduce the results.

Thanks very much! This will help me a lot.

Hi!
I noticed that all the experimental results in the article are presented in the form of line graphs. While this effectively showcases the trends, the specific values are not labeled on the graphs. If possible, it would be best to provide detailed data in tabular form in the GitHub project as well. This would make it easier for replication and comparison.

yes, i can work on this, thanks for the suggestion.

Here's the data behind Figure 5 as a table:

Index 0 means that the relevant information is placed at the very start of the context. Higher index = more towards the end of the context (and thus closer to the point of generation).
Hope that helps!


how can the attention distribution from the encoder side be exposed?

I wanted to get access to the attention distribution for the encoder states corresponding to each decoder time step. How can this be achieved ?

The alignment_history attribute of the AttentionWrapperState stores all the attention distribution in past time steps.

@AlexGuoHan Where will get the history as return ?

In the attention_mode.py you will find at the end of the file:
def _create_attention_images_summary(final_context_state):
  """create attention image and attention summary."""
  attention_images = (final_context_state.alignment_history.stack())
  # Reshape to (batch, src_seq_len, tgt_seq_len,1)
  attention_images = tf.expand_dims(
      tf.transpose(attention_images, [1, 2, 0]), -1)
  # Scale to range [0, 255]
  attention_images *= 255
  attention_summary = tf.summary.image("attention_images", attention_images)
  return attention_summary

The third line attention_images = (final_context_state.alignment_history.stack()) will create an array of  attention distributions.

I called stack() on the alignment_history attribute of AttentionWrapperState which is coming out of the dynamic_decode.

[contd.] which is of shape [decoder_length, batch_size, encoder_length]

Do a reshape, tf.transpose(attention_images, [1, 2, 0]). This will produce an array of shape batch_size, encoder_len, decoder_len.

Yeah, exactly.


Skype promp confirm dosen't work for group chat

Hi, I try to use simple confirmation for skype, it works for 1 to 1 chat with bot, but when I use it in group chat I got a attemptsMicrosoft.Bot.Builder.Dialogs.TooManyAttemptsException: too many attempts exception, when I try use same approach to group chat, bot ask me confirmation question again and again
..
 PromptDialog.Confirm(
                       context,
                       MakeOrderConfirmateAsync,
                       "Are you sure you want to make order?");

...
private async Task MakeOrderConfirmateAsync(IDialogContext context, IAwaitable<bool> confirmation)
       {
           if (await confirmation)
           {
               string conversationId = context.MakeMessage().Conversation.Id;
               _conversationService.MakeOrder(conversationId);
               await context.PostAsync($"Ok, I've made order, please wait phone call");
           }
           else
           {
               await context.PostAsync("Ok! Order have been cancelled");
           }

           context.Wait(MessageReceived);
       }

@knpoklonski the problem here is that in a group conversation case the text in the activity is @bot_id <text from user> and as a result Prompt.Confirm fails matching the response with its possible values (Yes/No). For now, you can work around this by removing the @bot_id from activity.Text before sending it to conversation. For example, the code snippet below makes the echo bot work for group conversation cases:
    activity.Text = activity.RemoveRecipientMention();
    await Conversation.SendAsync(activity, () => new EchoDialog());

Closing this issue. Feel free to open a new issue if the issue is not resolved.

@msft-shahins it really works, thank you so much


Admin: Sometimes getting bad gateway for https://admin.rilldata.io/auth/login

I think this is due to some previous state in cookies or elsewhere that is not longer valid. Trying to log in again should reset any existing state and always work.

@begelundmuller Need more context on this. Was there any redirect passed ? In absence of redirect this will redirect to https://admin.rilldata.io/ which is not a valid url? Should we redirect to UI home page ?


[Event Request] Table 37 - "Sales Line" OnBeforeAssignResourceUOM

Dear Microsoft,
We like to have the ability to skip the "hard" Get for ResUnitOfMeasure in the validation of "Sales Line"."Unit of Measure Code". Therefore we hope to see the following publisher added.
field(5407; "Unit of Measure Code"; Code[10])
{
    Caption = 'Unit of Measure Code';
    TableRelation = IF (Type = CONST(Item),
                        "No." = FILTER(<> '')) "Item Unit of Measure".Code WHERE("
    ELSE
    IF (Type = CONST(Resource),
                                 "No." = FILTER(<> '')) "Resource Unit of Measure"
    ELSE
    "Unit of Measure";
    trigger OnValidate()
    var
        Item: Record Item;
        UnitOfMeasureTranslation: Record "Unit of Measure Translation";
        ResUnitofMeasure: Record "Resource Unit of Measure";
        EnvInfoProxy: Codeunit "Env. Info Proxy";
        IsHandled: Boolean; //New local variable
    begin
        TestJobPlanningLine();
        TestStatusOpen();
        TestField("Quantity Shipped", 0);
        TestField("Qty. Shipped (Base)", 0);
        TestField("Return Qty. Received", 0);
        TestField("Return Qty. Received (Base)", 0);
        if "Unit of Measure Code" <> xRec."Unit of Measure Code" then begin
            TestField("Shipment No.", '');
            TestField("Return Receipt No.", '');
        end;
        CheckAssocPurchOrder(FieldCaption("Unit of Measure Code"));
        if "Unit of Measure Code" = '' then
            "Unit of Measure" := ''
        else begin
            if not UnitOfMeasure.Get("Unit of Measure Code") then
                UnitOfMeasure.Init();
            "Unit of Measure" := UnitOfMeasure.Description;
            GetSalesHeader();
            if SalesHeader."Language Code" <> '' then begin
                UnitOfMeasureTranslation.SetRange(Code, "Unit of Measure Code");
                UnitOfMeasureTranslation.SetRange("Language Code", SalesHeader."Language Code");
                if UnitOfMeasureTranslation.FindFirst then
                    "Unit of Measure" := UnitOfMeasureTranslation.Description;
            end else
                if EnvInfoProxy.IsInvoicing then
                    "Unit of Measure" := UnitOfMeasure.GetDescriptionInCurrentLanguage;
        end;
        DistIntegration.EnterSalesItemCrossRef(Rec);
        case Type of
            Type::Item:
                begin
                    GetItem(Item);
                    GetUnitCost;
                    if "Unit of Measure Code" <> xRec."Unit of Measure Code" then
                        PlanPriceCalcByField(FieldNo("Unit of Measure Code"));
                    CheckItemAvailable(FieldNo("Unit of Measure Code"));
                    "Gross Weight" := Item."Gross Weight" * "Qty. per Unit of Measure";
                    "Net Weight" := Item."Net Weight" * "Qty. per Unit of Measure";
                    "Unit Volume" := Item."Unit Volume" * "Qty. per Unit of Measure";
                    "Units per Parcel" :=
                     Round(Item."Units per Parcel" / "Qty. per Unit of Measure",
                    OnAfterAssignItemUOM(Rec, Item, CurrFieldNo);
                    if (xRec."Unit of Measure Code" <> "Unit of Measure Code") and
                        WhseValidateSourceLine.SalesLineVerifyChange(Rec, xRec);
                    if "Qty. per Unit of Measure" > xRec."Qty. per Unit of Measure
                        InitItemAppl(false);
                end;
            Type::Resource:
                begin
                    if "Unit of Measure Code" = '' then begin
                        GetResource;
                        "Unit of Measure Code" := Resource."Base Unit of Measure";
                    end;
//Start new publisher
                    IsHandled := false;
                    OnBeforeAssignResourceUOM(Rec,ResUnitofMeasyure;IsHandled);
                    if not IsHandled then begin
//End new publisher
                    ResUnitofMeasure.Get("No.", "Unit of Measure Code");
                    "Qty. per Unit of Measure" := ResUnitofMeasure."Qty. per Unit of Measure";
                    end; //new end
                    OnAfterAssignResourceUOM(Rec, Resource, ResUnitofMeasure);
                    if "Unit of Measure Code" <> xRec."Unit of Measure Code" then
                        PlanPriceCalcByField(FieldNo("Unit of Measure Code"));
                    FindResUnitCost();
                end;
            Type::"G/L Account", Type::"Fixed Asset",
          Type::"Charge (Item)", Type::" ":
                "Qty. per Unit of Measure" := 1;
        end;
        Validate(Quantity);
        UpdateUnitPriceByField(FieldNo("Unit of Measure Code"));
    end;
}

New publisher
[IntegrationEvent(false,false)]
OnBeforeAssignResourceUOM(var SalesLine: record "Sales Line"; var ResUnitofMeasure: record "Resource Unit of Measure"; var  IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Wrap errors to bring more detailed errors

There are several unwrapped errors in the codebase that could be wrapped to make debugging much easier. For instance in the https://github.com/cerbos/cerbos/blob/main/client/admin.go file, there are some errors could be wrapped to bring a better error tracing.
Let's take this error as an example:
func (c *GrpcAdminClient) auditLogs(ctx context.Context, opts AuditLogOptions) (svcv1.CerbosAdminService_ListAuditLogEntriesClient, error) {
	...
	if err := req.Validate(); err != nil {
		return nil, err
	}
	...
}

We are convey the information that request is not valid but we don't mention in which step the error is occurred. We can add an information that the request validation failed while requesting audit logs.

In case I missed something, can you explain what you would wrap here? The Validate method in this example actually produces  pretty good information about what validation checks failed.
Can you add some more examples from the list you mentioned as well please?

I didn't mean that validation error is not informative, I am saying that when it's happened. Let's take this error as an example:
ERROR: could not get decision logs: invalid ListAuditLogEntriesRequest.Lookup ..."
If we wrapped the error we could add an information like
ERROR: could not get decision logs: could not validate audit log request: invalid ListAuditLogEntriesRequest ..."
It's a bit verbose I can agree, but we shouldn't expecting everyone to be pro enough to understand.

I get the point you're making and agree wholeheartedly that error messages in general could be better.  However, if I am being pedantic, "could not validate audit log request" and "invalid ListAuditLogEntriesRequest" is the same thing worded just slightly differently. Neither gives me a solution to the problem itself -- which is what a user really wants.
I think we spoke about this 1:1. I am not convinced that the solution to the problem is as simple as "wrap all errors". If you wrap the error just before sending it to the user, you don't have a lot of context about what actually went wrong and all you can do is just try to soften the blow by saying something generic.  If you wrap errors religiously through the entire call chain, you can actually make it difficult to handle some errors because they need to be unwrapped first to do anything useful with them. Also, programmer fatigue would set in very soon and the supposedly helpful messages are going to be less and less so.
Let's try to figure out a good, preferably mechanical, solution for this. We already have some prior art in the code base in the form of codegen and compile errors we produce but they are by no means perfect and they were a pain to work with as well. Hopefully, there are better alternatives.


Strange behaviour with Routing

Hi
I'm working on an asp.net core 1.0 project everything looks fine and I like it. But most of the time I spend to understand Routing.  One of my challenges is:
Using Attribute routing:
[Route("[controller]")]
public class AOPController : Controller
{
    [HttpGet("{year:int}/{aopid:int}",Name ="A99")]
    public IActionResult Index(int year,int aopid)
    {
             .......
    }

    [HttpPost]
    public IActionResult GetAop(AOPViewModel vm)
    {
         return RedirectToAction("Index", new {year=vm.Year, aopid = vm.AopId });
    }
}

This works like expected:

When I call the controller /AOP/2016/2  the index(int,int) function will be called
When I submit the Form GetAop is called, and redirect to /AOP/2016/22 this will call the index(int,int) function

Ok. But when I add a second Index method
[HttpGet()]
public IActionResult Index()
{
       .......
}

it never works like before

When I call /AOP the new Index() Function -> fine

When I call the controller /AOP/  the index() function will be called

When I call the controller /AOP/2016/2  the index(int,int) function will be called

When I submit the Form GetAop function is called, but now it redetect to /AOP?year=2016&aopid=12  and this will call the index()

What Im doing wrong ? However adding a method should not change the behavior from an other method.
B.R. Wolfgang

However adding a method should not change the behavior from an other method.

That's not an accurate statement unfortunately. Constructs like RedirectToAction("Index", ...) are based on names of actions and controllers. By adding another candidate for action = "Index" - you're giving the routing system two viable routes to choose from.
If you gave Index() a different method/action name than Index(int, int) this wouldn't happen. You can also use RedirectToRoute("A99", ...) since you gave that action a route-name.

That said, this still looks like the wrong behavior. @ryanbrandenburg fixed some bugs in this area not too long back, I'm wondering if we broke something. I'll try to reproduce this on latest bits.

Are you running on RC1? I'm not seeing this problem in latest/RC2.

Thanks for your answer
I am running 1.0.0-rc1-final  dnvm  upgrade find no rc2

using RedirectToRoute  solve the issue in the controller but  adding the Index() function also breaks all @Url.Action)  functions. the Url.Action now generate a Query string,  before it generates a Rest like url. I chaned all to Url.RouteUrl

I don't want to use  different names because I want to achieve the goal that AOP/ display everything and AOP/2016/12 display filtered.  I also played with optional parameter but had no success

Using  [HttpGet("[controller]/{year:int}/{aopid:int}", Name ="A99")]  cause an 404

.... That's not an accurate statement unfortunately ....  In my opinion it can't  be that adding a function with the wrong name destroy a whole Application. RederictToAction and Url.Action   produce different urls in case of function names. I also wondering why Url filed in in the browser are working but this two function didn't  (if this is fixed in RC2 I can wait)
BTW: Using the [controller] Attribute destroy default mapping from   app.UseMvc in Starup.cs I'll post this as ab separate issue.

BTW: Using the [controller] Attribute destroy default mapping from app.UseMvc in Starup.cs I'll post this as ab separate issue.

This is intended. Attribute routing and conventional routing don't overlap. Actions reachable via attribute routes aren't reachable via conventional routes.

I don't want to use different names because I want to achieve the goal that AOP/ display everything and AOP/2016/12 display filtered. I also played with optional parameter but had no success

The action/method name really has nothing to do with the URL if you're using attribute routing.

Using [HttpGet("[controller]/{year:int}/{aopid:int}", Name ="A99")] cause an 404

Route attributes concatenate between the controller and action. Use / or ~/ at the beginning of a route template to turn off this behavior.
[Route("[controller]")]
public class FooController : Controller
{
    // concats to [controller]/[controller]/Values
    // expands to Foo/Foo/Values
    [HttpGet("[controller]/Values")]
    public IActionResult GetValues()
}

Thanks

This is intended. Attribute routing and conventional routing don't overlap. Actions reachable via attribute routes aren't reachable via conventional routes

Ok got it, How to set default page with Attribute Routing?

The action/method name really has nothing to do with the URL if you're using attribute routing.

Got it now- thanks

In your scenario the longer route  [controller]/{year:int}/{aopid:int}  should be chosen.

That s, what I don't understand
What I have to do that /aop?year=2016 and aop/2016 raouts to the same function ?

That s, what I don't understand
What I have to do that /aop?year=2016 and aop/2016 raouts to the same function?

This is a bug that we fixed for RC2.
If you want to be explicit you can give your shorter route a larger value of Order. This should force the routing system to try the longer route first.
[Route("[controller]")]
public class AOPController : Controller
{
    [HttpGet(Order=1)]
    public IActionResult Index()
    {
             .......
    }

    [HttpGet("{year:int}/{aopid:int}")]
    public IActionResult Index(int year, int aopid)
    {
             .......
    }
}

Thanks a lot


remove HAVE_INTTYPES_H

test always including inttypes.h ... see if it works :)

this is a proposal to make things a bit simpler
all supported platforms should have stdint.h and inttypes.h
currently the application must define HAVE_INTTYPES_H for it to compile.
this is a too strict requirement. it is nicer for the application if it just works.

please merge if you agree ...


kubefirst: 2.1.0 -> 2.1.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kubefirst/kubefirst/releases.
meta.description for kubefirst is: The Kubefirst CLI creates instant GitOps platforms that integrate some of the best tools in cloud native from scratch.
meta.homepage for kubefirst is: https://github.com/kubefirst/kubefirst/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.1.4 with grep in /nix/store/kvydjvb6270yaab6cr32kn5nrclsbajw-kubefirst-2.1.4
found 2.1.4 in filename of file in /nix/store/kvydjvb6270yaab6cr32kn5nrclsbajw-kubefirst-2.1.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubefirst

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kvydjvb6270yaab6cr32kn5nrclsbajw-kubefirst-2.1.4 \
  --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 kubefirst https://github.com/r-ryantm/nixpkgs/archive/923d44a08dd2215089ea240120f03076430976ff.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/kvydjvb6270yaab6cr32kn5nrclsbajw-kubefirst-2.1.4
ls -la /nix/store/kvydjvb6270yaab6cr32kn5nrclsbajw-kubefirst-2.1.4/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:

kubefirst

Maintainer pings
cc @qjoly for testing.

Result of nixpkgs-review pr 238353 run on aarch64-darwin 1

1 package built:

kubefirst


Windows 10 - downlaod from tdoay - does show intro-Screen ...

and then nothing,  I am on the search for a new terminal app. maybe this is hte one.
specially the font rendering from putty and others is horrible
cheers
Thsx1188

Please capture DevTools console logs at the time of the issue: https://github.com/Eugeny/terminus/wiki/Debug-logs

It works with 1.0.112! I had downloaded some image like 1.0.113.nigh.0;
Very nice so far! Great handling!
Thanks!

The right versions fixed it!


App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package.

App will not compile with excel 4.0.3 and flutter 3.24 as of outdated archive 3.4.9 package with error:
/C:/Users/yyyy/AppData/Local/Pub/Cache/hosted/pub.dev/archive-3.4.9/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
UnmodifiableUint8ListView(Uint8List(0));

Please update the package to use archive: ^3.6.1

Same here.

Facing the same issue...
/~/.pub-cache/hosted/pub.dev/archive-3.1.1/lib/src/bzip2/bzip2.dart:9:7:
Error: Method not found: 'UnmodifiableInt32ListView'.
UnmodifiableInt32ListView(Int32List(0));

same issue for me with excel 4.0.2 and flutter 3.24.0

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

+1

What is working for me, after upgrading to flutter 3.24 is to open pubspec.yaml and downgrade excel package to 4.0.2 like so excel: ^4.0.2 and then add archive 3.6.1 like so archive: ^3.6.1 and save the file so it will update the packages as needed.

Apllication will be compiled but excel download functionality is not working.

same here

Also seeing this issue.

As a temporary workaround, it seems to work to use archive 3.6.1 as a dependency override.
Use the 3.6.1 version in the yaml dependencies:
  archive: 3.6.1

Add an override section with archive 3.6.1:
dependency_overrides:
  # Remove this override when the excel package releases 4.0.4+
  archive: 3.6.1

@FauconSpartiate @justkawal Please I am waiting update.

@FauconSpartiate  @justkawal   Please I am waiting update.

Only @justkawal has the permissions

Only @justkawal has the permissions

Doing it today, Sorry for the delay.

Use this temporarily in pubspec.yaml until released to pub.dev
dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

Use this temporarily in pubspec.yaml until released to pub.dev
dependencies:
  excel:
    git:
      url: https://github.com/justkawal/excel.git
      ref: cd926d47af4fc81f31a102f566d0c643c2ef7dcd #Last commit ref

Doing this. Working fine now. But please update the package and release a permanent solution


Look into initiating a bounty via GitHub comments

Per suggestion from this comment in #8, we should look into checking GitHub comments for a string (like "$+20") and queue up a bounty for that user the next time he visits Bountysource.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Is someone working on this yet?

I don't think this is possible given the scale of GitHub and the lack of an API built for this (unless someone knows of one, I couldn't find it).

Although changetip has Github integration IIRC, I think it's built on the mention system. We should look into that. We'd need a user for the bot of course.


Audit Log URLs show 'undefined' for environment id

When clicking on an Audit Log record to view the details of the record, the URL shows 'undefined' for the environment ID but the page loads successfully, e.g. https://app.flagsmith.com/project/18239/environment/undefined/audit-log/1931994. For users that might want to share the URL of an Audit Log record, this is bad UX that we should resolve.

Fixed by #4076


Rustup to rustc 1.14.0-nightly (ad19c32a5 2016-10-06)

This is progress towards rustc 1.14.0-nightly (ad19c32a5 2016-10-06), which may supplant #95. I wanted to push this up since I'm done for the night, and maybe someone else can get it across the finish line in the meantime. The current thing that probably doesn't work is syntex/src/resolver.rs, which needs some research into how we should expand registered macros while at the same time ignoring unknown macros in this new scheme.

Don't merge this in yet, but I got hello world working. Needs testing with the rest of the syntex ecosystem though. For example, I'm not sure if macro_rules is properly ignored.

Shucks, it looks like this patch is also filtering out #[test], so there's still a bit of work left to do.

@dtolnay / @oli-obk: Woohoo the latest version passes all the serde_codegen tests! This is now finally ready for review!
(Worst merge ever!)


Add test project to check dependency version consistency.

In particular the case of System.Security.Cryptography.Pkcs
GxExcel references the version <IP_ADDRESS> (through transitive dependency)
And GXMail references version 6.0.0 through MimeKit reference.

It was intended to be used as a temporal test.