chore: update flags comments

Description:
Update comments on header flags in reader.go
Related Issues:
N/A
Checklist:

[x] Review the CONTRIBUTING.md documentation.
[x] Add a reference to a related issue in the repository.
[x] Add a description of the changes proposed in the pull request.
[x] Add unit tests if applicable.
[x] Update documentation if applicable.
[x] Add a note in the CHANGELOG.md if applicable.
[x] Sign the Google CLA.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.20%. Comparing base (6777d60) to head (4154a90).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #24   +/-   ##
=======================================
  Coverage   43.20%   43.20%
=======================================
  Files           7        7
  Lines         810      810
=======================================
  Hits          350      350
  Misses        404      404
  Partials       56       56

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


Robert Longson: Watch botanicalfarmscbdgetnow.wordpress.com

Robert Longson requests the watch of the watch_keyword botanicalfarmscbdgetnow\.wordpress\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

botanicalfarmscbdgetnow\.wordpress\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


fix(build): fixes old IE issue

Avoid leaving default unquoted, which breaks old IE

+1

Coverage remained the same at 83.83% when pulling 6f2d353dd3ace2014d90856008447f00ad97b478 on jnewman-fix-key-quotes into aeae4d0e8d2ec2e11f95c3e5cc870e327af6dae3 on master.

Coverage remained the same at 83.83% when pulling fe0de4018167011ecd4075906009281668a7935e on jnewman-fix-key-quotes into aeae4d0e8d2ec2e11f95c3e5cc870e327af6dae3 on master.

Coverage remained the same at 83.83% when pulling fe0de4018167011ecd4075906009281668a7935e on jnewman-fix-key-quotes into aeae4d0e8d2ec2e11f95c3e5cc870e327af6dae3 on master.


Compiling error leafletMaps

I'm reporting an installation/build bug.
I've installed using git clone repository, i've installed all necessary libraries, i've done npm install and, at finish, i've run npm start: than going to localhost from console error i see a console error of Cannot resolve module 'leaflet/dist/leaflet.css in src\app\pages\maps\components\leafletMaps
in leafletMaps.loader.ts 2:0 -48

Browser: all
Windows 10
Node 4.4.4
NPM 2.15.1

Hi @TheLand, please take a look at this issue #11 and update your npm to > 3 version as per requirements https://github.com/akveo/ng2-admin/blob/master/package.json#L131 .


Test Azure OpenAI (v1) Python SDK

[ ] Test Azure OpenAI (v1) Python SDK
[ ] Add samples

For now I face InternalServerError: Error code: 500 when I use the Python V1 SDK. Via the REST API the same request does work.
import os
from openai import AzureOpenAI

os.environ["AZURE_OPENAI_API_BASE"] = "https://apim-xxx.azure-api.net"
os.environ["AZURE_OPENAI_KEY"] = "" # Marketing key

client = AzureOpenAI(
    azure_endpoint = os.getenv("AZURE_OPENAI_API_BASE"),
    api_key = os.getenv("AZURE_OPENAI_KEY"),
    api_version = os.getenv("OPENAI_API_VERSION", "2023-09-01-preview")
)

response = client.chat.completions.create(
    model = "gpt-35-turbo", # model = "Azure OpenAI deployment name".
    messages = [
        {"role": "system", "content": "You are a friendly chatbot"},
        {"role": "user", "content": "Choose a random planet and describe it to me in 3 sentences."}
    ],
    stream = False
)

print(response.choices[0].message.content)

Seems that Python V1 SDK uses Bearer {token value} as the Authorization header. Python SDK v1 works with my OpenAI resource directly, but not with this APIM project.

Python library seems to add an auth header
Add a line in the proxyserver to remove any existing auth header, before injecting the Managed Identity Token. ProxyServer uses MI for auth against AzureOpenAI
please retry

Thanks for the quick fix, @azureholic! This should be the culprit indeed.

discovered and fixed this already this afternoon in my own repo - my own Python test had the same error....
https://github.com/azureholic/Azure.OpenAI

Works indeed! Tested normal ChatCompletion + Streaming via SDK v1.


utils changes not propagated

Describe the bug
The reorganization of utils was not propagated throughout pysat's code
To Reproduce
Steps to reproduce the behavior:

Try to run anything in model_utils

Expected behavior
It causes an error exit, since the utils routines are no longer in the same location
Desktop (please complete the following information):

OS X Sierra

Closing with merge of #257.


Allow closing of hidden window in ReactView only when application has no more windows opened

All Window object trigger Closing event on CMD + Q click. We shouldn't close hidden react window unless application was closed

broke the logic with last commit, but it worked somehow anyway.... Need more testing to understand what happens here


Storybook > Check scrollbar position in storybook It is not right aligned properly

While going through the application process, found following issue,
Actual Result:

Check scrollbar position in storybook It is not right aligned properly.

Screenshot:

Completed -


Add read-only CSR MCONFIGPTR test

Description
mconfigptr is a read-only CSR defined in priv spec 1.12.  The test attempts a read/write (illegal instruction exception expected)/read.  The read data value is implementation dependent so the read data value is ignored.
Related Issues
Requires sail update for signatures to pass: https://github.com/riscv/sail-riscv/pull/293
Ratified/Unratified Extensions

[X ] Ratified
[ ] Unratified

List Extensions
MCONFIGPTR exists in the priv spec 1.12 and used by the discovery task group.
Reference Model Used

[X] SAIL
[X] Spike
[ ] Other - < SPECIFY HERE >

Mandatory Checklist:

[X] All tests are compliant with the test-format spec present in this repo ?
[X] Ran the new tests on RISCOF with SAIL/Spike as reference model successfully ?
[ ] Ran the new tests on RISCOF in coverage mode
[ ] Link to Google-Drive folder containing the new coverage reports (See this for more info): < SPECIFY HERE >
[ ] Link to PR in RISCV-ISAC from which the reports were generated : < SPECIFY HERE >
[ ] Changelog entry created with a minor patch

Optional Checklist:

[ ] RISCV-V CTG PR link if tests were generated using it : < SPECIFY HERE >
[ ] Were the tests hand-written/modified ?
[ ] Have you run these on any hard DUT model ? Please specify name and provide link if possible in the description
[ ] If you have modified arch_test.h Please provide a detailed description of the changes in the Description section above.

This also needs a coverage definition, or this will fail when riscovof runs the coverage command

This PR is on halt since last 3,4 months. @dansmathers please update the test and add coverpoint definitions so that it can be merged.

Sorry, removed the CHANGELOG.MD by mistake, need to be reverted

This PR stayed halt for an year, there has been no updates on this one, and it requires major rebase. Closing this one out


Fix profile selection upon discarding changes in SUI

PR Checklist

[x] Closes https://github.com/microsoft/terminal/issues/8881
[x] CLA signed.
[ ] Tests added/passed
[ ] Documentation updated.
[ ] Schema updated.
[ ] I've discussed this with core contributors already.

Detailed Description of the Pull Request / Additional comments

Preserve profile GUID upon item Tag creation.
Use this GUID rather than the current profile GUID to select an item
upon settings update.

So even if the profile was renamed and the GUID has changed,
the GUID in the tag remains unchanged and can be found
upon discarding.

@msftbot make sure @carlos-zamora signs off on this
(he's out for the week, but I believe he'll be back Monday)

I'm fine with this in Carlos' absence. @carlos-zamora if this troubles you, feel free to stage a revert. Thanks!


Add support for Newtonsoft.Json 8

Released a few days ago https://github.com/JamesNK/Newtonsoft.Json/releases/tag/8.0.1

I propose we release 1.7.2 as is against json.net 7 then do a NEST1.8 release next week. It be nice if we figure out a way to support both 7 & 8 sanely in both the 1.x and master branches.
Vote to bump to 1.8 :+1: /cc @gmarz @russcam

Another option (perhaps the most sane one) is to internalize our JSON.NET dependency. This might have some implications with peoples custom converters though,

Please bump to 1.8 :+1:

Latest release is now 8.0.2
https://github.com/JamesNK/Newtonsoft.Json/releases/tag/8.0.2

We now support both versions 7 and 8.
Closed via a7090a81799f1617885b3532fcb7d613eaaa9dde


Failed to parse a transaction in the ledger?

When I use xrplclient.transaction to parse the transaction, and under the payment condition, I found that the amount field is inconsistent, and there are xrp transfers and other currency transfers in the ledger. What makes me headache is that the amount is XrpCurrencyAmount when parsing the xrp transfer. When analyzing other currencies, it is ImmutableIssuedCurrencyAmount. What I want to ask is how to distinguish between xrp payment and other.
The transaction hash in question is 5E089C0CD4C52D3ECD85E5E1F38FC255F43FAFAF4FD5C42DD48A8A1B6C36DF5E.
The correct xrp payment transaction is 2AB2C29C22F7ADDA7F9FB1230646C48485A535442BD97BDEF748C00D0B3A8F43.
Finally, if it is convenient, can you pull me into the community exchange group or WeChat group?

Did you see an error when calling xrplClient.transaction or are you just asking how to distinguish between the different types in the Payment.amount field?
If I'm understanding correctly, you are just asking how to figure out if a Payment was an XRP payment or an issued currency payment. Is that correct? If so, if a Payment is an XRP payment, the amount field will be of type XrpCurrencyAmount, which is just a wrapper of UnsignedLong. If the Payment was an issued currency payment, the amount field will be of type IssuedCurrencyAmount, which has three fields (see here).
Both XrpCurrencyAmount and IssuedCurrencyAmount extend CurrencyAmount, which has two convenient methods to handle either case. See CurrencyAmount

您是在调用时看到错误xrplClient.transaction还是只是询问如何区分Payment.amount字段中的不同类型？
如果我理解正确，您只是在问如何确定 aPayment是 XRP 付款还是已发行的货币付款。那是对的吗？如果是这样，如果 aPayment是 XRP 付款，则该amount字段的类型为XrpCurrencyAmount，它只是UnsignedLong. 如果Payment是已发行的货币付款，则该amount字段的类型为IssuedCurrencyAmount，其中包含三个字段（请参阅此处）。
既XrpCurrencyAmount和IssuedCurrencyAmount延伸CurrencyAmount，它有两个方便的方法来处理这两种情况下。看CurrencyAmount

When I looked at the source code, I saw the distinction. I was similar to this before. I was the object to get the result, and then to judge whether it was XrpCurrencyAmount, or just filter it out. This is the same as the xrplclient processing method, but I think your method is more attractive and professional, I still use isAssignableFrom to distinguish, it feels more convenient and the code is more readable.
Finally, thank you very much for your reply.


[v6] [cherry-pick] Fix: ANCV ignoring existing orders & not working as intended via custom pay button

(cherry picked from commit cfc8d2922e14434097da6731549fbe9269391ddd)

Summary

Tested scenarios

Fixed issue:

Can anything be done to expand/add unit tests to fix the the "7.7% Coverage on New Code" message?


Lack of mentions of step in log() and log_dict() of Fabric

📚 Documentation
In these following docs

https://lightning.ai/docs/fabric/stable/api/fabric_methods.html#log-and-log-dict
https://lightning.ai/docs/fabric/stable/guide/logging.html

I think there should be some examples about step argument. For example, in the following code, to make the csv logger actually prints to disk, you need to specify the step argument.
import torch
from lightning.pytorch.demos import WikiText2, Transformer
import lightning as L
from tqdm import tqdm
from lightning.fabric.loggers import CSVLogger

logger = CSVLogger(root_dir=".", flush_logs_every_n_steps=1)
fabric = L.Fabric(accelerator="cuda", devices=1, loggers=logger)
fabric.launch()

dataset = WikiText2()
dataloader = torch.utils.data.DataLoader(dataset, batch_size=64)
model = Transformer(vocab_size=dataset.vocab_size)
optimizer = torch.optim.SGD(model.parameters(), lr=0.1)

model, optimizer = fabric.setup(model, optimizer)
dataloader = fabric.setup_dataloaders(dataloader)

model.train()
for step, batch in enumerate(tqdm(dataloader)):
    input, target = batch
    optimizer.zero_grad()
    output = model(input, target)
    loss = torch.nn.functional.nll_loss(output, target.view(-1))
    fabric.backward(loss)
    optimizer.step()
    fabric.log("nll_loss", loss.item(), step)

cc @borda

@dinhanhx Thanks for the suggestion.
The step argument is not actually required, but I see what you mean. Thank you for reporting it. I can send a fix for this issue and then the documentation will reflect the intended behavior.


Unable to run tests from project

PFA zip file -
https://github.com/ajijshaikh/hardening/blob/master/myproject.zip

@ajijshaikh this compiles, but there is no description or what is expected, closing as invalid

Can you check title I am saying I am unable to run the tests-
command - mvn clean test
this only compile but not runs the tests


"Dochia" and "Bălușești" are listed in the drop-down menu

Description:
"Dochia" and "Bălușești" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Dochia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Dochia, NEAMȚ (Dochia)" and "Comuna Dochia, NEAMȚ".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Bălușești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Bălușești, NEAMȚ (Dochia)".


Enhancement: Unhandled type: Map

Recently array support was implemented: https://github.com/SoftwareBrothers/admin-bro/issues/90
However currently Maps are not supported yet.
Apart from this feature request is there a way to work around this issue, e.g. representation as string (via its JSON form)?

can you write the example schema - maybe I will be able to help from there.

@wojtek-krysiak
import Mongoose, { Schema } from 'mongoose';

const {
  Map,
  String,
  Boolean,
  ObjectId,
} = Schema.Types;

const schema = new Schema({
  config: Map,

  url: String,

  component: {
    type: String,
  },
}),

Hello, is this feature implemented?
I'm trying to use it but not working for me
`  @Prop({ type: Map })
@ApiProperty({
example: { "1605689439": 30.32, "1605689445": 20.35 }
})
samples: Map<string, number>;
@Prop(raw({
firstName: { type: String },
lastName: { type: String }
}))
details: Record<string, any>;`

I have the same issue, any workaround?

Currently we don't have plans to implement such type. It would be very hard considering current data model in AdminJS.

Hi @trevex @krzysztofstudniarek just wanted to check since its been around 2 years since the last update on this thread, is adminjs now supports mongoose maps? below is my schema structure:
import mongoose, { Schema } from "mongoose";
const scenarioSchema = new Schema({
scenario: { type: String },
status: { type: String },
minPlayer: { type: Number },
maxPlayer: { type: Number },
imagePath: { type: String },
wideImagePath: { type: String },
articlePath: { type: String },
youtubePath: { type: String },
aparatPath: { type: String },
isCustom: { type: Boolean, default: false },
abilities: {
type: Map,
of: [
{
ability: {
type: Schema.Types.ObjectId,
ref: "Ability",
},
count: {
type: Number,
required: true,
min: 1,
default: 1,
},
},
],
},
});
export default mongoose.model("scenario", scenarioSchema);
and everytime i try to open this in adminJs i am getting the following error:
2024-03-07T01:12:50.935Z error: Error Handler Middleware - Error: {"method":"GET","path":"/admin/api/resources/scenario/actions/list","errorMessage":"There are no resources with given id: "Ability"\nThis is the list of all registered resources you can use:\nuser, ability, room, scenario, malicious","stack":"Error: There are no resources with given id: "Ability"\nThis is the list of all registered resources you can use:\nuser, ability, room, scenario, malicious\n    at AdminJS.findResource (file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/adminjs.js:183:13)\n    at PropertyDecorator.reference (file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/backend/decorators/property/property-decorator.js:77:36)\n    at file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/backend/utils/populator/populator.js:14:52\n    at Array.filter ()\n    at populator (file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/backend/utils/populator/populator.js:14:36)\n    at Object.handler (file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/backend/actions/list/list-action.js:71:36)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ActionDecorator.handler (file:///Users/moe/Desktop/gorgine-backend/node_modules/adminjs/lib/backend/decorators/action/action-decorator.js:56:19)\n    at async file:///Users/moe/Desktop/gorgine-backend/node_modules/@adminjs/express/lib/buildRouter.js:24:22"}

Is Map implemented yet?
It's been almost 2.5 years, How do @adminJS team expect someone to use this in production.
To be honest, I love the admin JS, dashborad, but these kind of bugs just keeps arriving time to time in adminJS, Can't really use this in production setup now.

@codeit13 Its very frustrating for us too - we are already in production and cant use 2 collection at all because of this issue


Support for "$type"

Is there a way to support something like "$type"?
This would allow the following scenario:

    public class A { }

    public class B :A{ }

    public class C : A { }

public void Method()
{
         var list = new List<A>
            {
                new B(),
                new C()
            };
            var bytes = Utf8Json.JsonSerializer.Serialize(list);
            var dList = Utf8Json.JsonSerializer.Deserialize<List<A>>(bytes);

}

Currently no.
I recommend if you want to use Typeless feature, use MessagePack for C#.
Here is the reason.
https://github.com/neuecc/Utf8Json#which-serializer-should-be-used

@neuecc Thanks a lot, I will try with MssagePack.


fix: Temporizer filters don't correctly render: missing column names or value

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (ab59670) 89.39% compared to head (0dbd743) 89.31%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   89.39%   89.31%   -0.08%
==========================================
  Files         122      122
  Lines        1141     1142       +1
  Branches       90       90
==========================================
  Hits         1020     1020
- Misses         94       95       +1
  Partials       27       27

Files
Coverage Δ

...ke/Modeling/Statements/Filters/BeforeTemporizer.cs
25.00% <0.00%> (-8.34%)
:arrow_down:

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


rofi-unwrapped: 1.6.0 -> 1.6.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/davatorium/rofi/releases.
meta.description for rofi-unwrapped is: "Window switcher, run dialog and dmenu replacement"
meta.homepage for rofi-unwrapped is: "https://github.com/davatorium/rofi"
meta.changelog for rofi-unwrapped is: ""
Updates performed

Version 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

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.6.1 with grep in /nix/store/ww7g2q9k41lpviafq1pclfid6hs0njj8-rofi-unwrapped-1.6.1

directory tree listing: https://gist.github.com/772272e4fc2350dc7cffd850de4c6d27

du listing: https://gist.github.com/20e9274bdab8b58a51f5a8f3bb3ba693

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

30 total rebuild path(s)

11 package rebuild(s)

11 x86_64-linux rebuild(s)
9 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
9 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
clerk
i3-layout-manager
rofi
rofi-calc
rofi-emoji
rofi-file-browser
rofi-menugen
rofi-pass
rofi-systemd
rofi-unwrapped
rofimoji

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ww7g2q9k41lpviafq1pclfid6hs0njj8-rofi-unwrapped-1.6.1 \
  --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 rofi-unwrapped https://github.com/r-ryantm/nixpkgs/archive/c4cf80687a0dd44ece977bfd21b886a36abeb21f.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/ww7g2q9k41lpviafq1pclfid6hs0njj8-rofi-unwrapped-1.6.1
ls -la /nix/store/ww7g2q9k41lpviafq1pclfid6hs0njj8-rofi-unwrapped-1.6.1/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 1

11 packages built:

clerk
i3-layout-manager
rofi
rofi-calc
rofi-emoji
rofi-file-browser
rofi-menugen
rofi-pass
rofi-systemd
rofi-unwrapped
rofimoji

Maintainer pings
cc @mbakke for testing.

Result of nixpkgs-review pr 105063 run on x86_64-darwin 1

1 package marked as broken and skipped:

rofi-menugen


Api Endpoint: Get a participant its own record from registration service

What this PR changes/adds

This PR adds an endpoint in registration service which add ability to get a participant its own record from registration service. Its usages client DID for that.
Updated CLI to support this command.
Test coverage.
Introduced DTOs as we do not want to expose internal domain states in API responses.
Some additional methods and fields are marked Deprecated in Participant and ParticipantDTO as they are going to be removed in upcoming PR.

Why it does that

So, a participant can get its own registration service record.
Later in MVD participant onboarding this endpoint will be used to get a participant onboarding status.

Linked Issue(s)
Relates to https://github.com/agera-edc/MinimumViableDataspace/issues/46
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Could you move the DTOs into the :extension:registration-service, into a module called model, sitting at the same level as api, auth, etc?

Updated.


Add new layer to sidebar when computing with VPL

Every time we combine layers with a visual programming language, we are adding the layer to the three js buffer geometry, but we are not adding the layer information to the sidebar. We should create a new layer object to add to the sidebar. When this function is called, we also need to use the reducer that adds the layer to the side bar and to the state.

Questions:

Does the new layer can be use with VPL again ?  Yes
Does the new layer would be control by parallel-coordinates too ? ??

Closed


Add a callback to get_parameter_data to follow data loading

Hi all,
In the effort to use qcodes as the data loader of the pyplotter I added a callback to get_parameter. This is usefull to track the progress of the data download.
Since sqlite3 does not allow to keep track of the data loading progress, we compute how many sqlite requests correspond to a certain percentage of progress which is dictated by a config parameter. Then we perform x sql request instead of one, running the callback everytime.
The whole process add an overhead of ~13% on my laptop when used which is not negligible.
However, I would argue that keeping track of the download progress for a GUI is precious and is worth the overhead.
To test the download time
import qcodes as qc
from time import time

def callback(progress):
    # print(progress)
    pass

qc.initialise_or_create_database_at('test.db')

start = time()
qc.load_by_id(2).get_parameter_data('phase')
stop = time()
dt1 = stop-start
print(dt1)
start = time()
qc.load_by_id(2).get_parameter_data('phase', callback=callback)
stop = time()
dt2 = stop-start
print(dt2)

print(dt2/dt1)

I kept the change minimal hoping other people will have comments.

Hi all,
I am writing to keep the thread and see if anyone has comments on it.
See you.

test.zip
Please find the test database and the test file so that you can see the difference with and without callback.

All should be done.
I had trouble incorporating Florian Blanchet changes from commit b476b7935c636937a3b8671bdda16cee0133edde, I hope everything is alright.
When I benchmarked the merged code I saw that:

SQL request where 2 to 3 times faster than before the merging (maybe an effect of Florian's work).
The overhead increased from 20% to 50% while using the callback.

@edumur Looks like some mypy issues have creapt in. will you be able to have a look?

I had to add callback: Callable[[float], None] | None = None, in get_parameter_data in data_set_in_memory.
But I do not know what I did here so please someone check.

The types looks good. Left a few comments inline. There is now a test.db file which should not be committed

Hi all,
All things seem correct (I think).
I do not understand the "Lint with Darker" error and I do not know what it is checking ^^'.

Darker runs the black formatter on only the part of the code that you have changed. We do this because we would like to move to a more consistent formatting but not rewrite all out code in one go losing history. You can run these lints automatically by installing the pre-commit hooks defined in https://github.com/QCoDeS/Qcodes/blob/master/.pre-commit-config.yaml using the pre-commit tool. https://pre-commit.com/ For now don't worry about it and I will run it when merging

I really appreciate you spending time checking this.
I updated the code so that it works now.
I tested it with various database and various percentage and so far it worked 🤞.


type_object: remove layout and base type from PyTypeInfo

This PR removes some associated types from PyTypeInfo which are really just implementation details of #[pyclass]:

Layout: moved to PyClassImpl. This doesn't make sense in the long term anyway, because if we inherit from native types where we don't know the layout information (#991, #1344) we need #[pyclass] to work without layout information.
BaseType - moved to PyClassImpl. Not all Python types have a base type (e.g. PyAny), or we might not statically know them (e.g. #991). All #[pyclass] do have a base type and we'll always know what it is.
BaseLayout - removed entirely.
Intitializer - moved to PyClassBaseType (which is renamed from PyBaseTypeUtils).

Making this change frees us up to make internal implementation changes to eventually support #991 and #1344.
In addition, it also simplifies a lot of trait bounds dotted around the public interface and simplifies the macros in types/mod.rs.

(I'm going to add some more tests before merging)


Add support for reading the module information stream for modules, iterating over module private symbols.

This patch adds a PDB::module_info function to get the module info stream
for a specific module, a new ModuleInfo struct to hold that stream's data,
and a ModuleInfo::symbols function to get a SymbolIter to iterate over
the module's private symbols.
It was also necessary to change SymbolIter::next to accept symbols that are
exactly 2 bytes in length, since there are symbols like that in the in-tree
test PDB (S_END, among others).
The pdb_symbols example was also changed to iterate over and print module
private symbols, although that's less useful than one might think because
Symbol::parse doesn't support the full set of symbol records that show
up there.
The module information stream also contains line info, so adding support for
that on top of this change should be straightforward.
I tried to add useful doc comments and examples, hopefully I followed the project conventions well enough!

Looks great!


Codeunit 5752 new event on procedure GetRequireShipRqst

Hi,
We need a new event on Codeunit 5752 procedure  GetRequireShipRqst :
....
var
        Location: Record Location;
        LocationCode: Text;
   ....
    begin
        // > New event
        IsHandled := false;
        OnBeforeGetRequireShipRqst(WhseRqst, IsHandled);
        if  IsHandled then
            exit;
        // < New event

        if WhseRqst.FindSet then begin
            repeat
                if Location.RequireShipment(WhseRqst."Location Code") then
                    LocationCode += WhseRqst."Location Code" + '|';

...
[IntegrationEvent(false, false)]
    local procedure OnBeforeGetRequireShipRqst(var WarehouseRequest: Record "Warehouse Request"; 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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fix capitalization for class names

Currently inheritance can break between classes as classes might be capitalized or not. This leads to classes inheriting from Color but the class color was not capitalized. By default all class names should be CamelCased, also to avoid clashes with built-ins (like set and Set).

Also: property names need to be lower case to avoid name clashes with class names.

Fixed in 0de562afe81eb2849f06898e8e49d18e28d35418

Classes are now CamelCase or at least Titlecase (upper case letters always win, so favoring CamelCase)
Methods are now lowercase
Attributes are now UPPERCASE

A fair amount of attributes clashed with python keywords if they were lowercase
Easier to distinguish methods and attributes at a glance

Might follow up with a specialty rule to change cases where methods might clash with keywords (currently they are removed, but might rename them to avoid naming clash instead).


Integrate server-side rendering

Do not turn impress into laravel.
Ssr should be a separate npm package

We don't need internal implementation, just integration

Nice!


DP Solution for Fibonacci

Provided a dynamic programming solution to find the nth number of the Fibonacci series

OK :+1: (lgtm)


Charmap ISSUE - mIRC to Web and Web to mIRC problem

Hello this is my problem,
IRC server inspircd 2.0
Any oppinions?

We had #987 opened some time ago that didn't make it, but I'm not sure what are the plans for this.

@astorije its same thing what i figured out. Encodings help a bit, but not completely. There is no iconv setting what converts it correctly.

Any plan for solve this?

I don't believe any maintainers will be prioritizing this themselves. Open to contributions though.

I will do it asap, if there is a way to implement it. One option is to wait if iconv or irc-framework chooses to make or include a iso-8859-1/utf8 multibyte encoder, other way is to use my monky patch what does same thing. I dont know if there a third way, if there is, im up to make it.

Agree with TuSuNaMi.  It's also something that is fixed in both mIRC and other clients.

I left a pull request at irc-framework, which seemed like the most correct place to fix it: https://github.com/kiwiirc/irc-framework/issues/7
I suppose I should follow up with another one here, to add configuration options?

Closing as a duplicate of https://github.com/kiwiirc/irc-framework/issues/7 and https://github.com/thelounge/thelounge/issues/371


Tasklist Assets Bridge

Deadline
To Do

[x] player animations
[x] scroll/inventory (where you drag animals from and to) (Raffael)
[x] reset stage (delete all animals) button (Raffael)
[x] last stage button (Raffael)
[x] mode switch button (Raffael)
[x] goal menu (Katja)
[x] pause menu (Katja)
[x] cliff / land tiles
[x] water / riverbed tiles
[x] bramble tile(s)
[x] background
[x] for background: a branch coming off of a tree that is positioned in a way that it looks like the fox is standing on it while drag mode is activated, so it doesnt float in the air while waiting
[x] update background

Additional Information

For the comprehensive list of overall needed assets, see #10

was finished in #289 (sorry)


run pandas with arrow dtypes

update pandas 2.0

# old run
![image](https://user-images.githubusercontent.com/3023000/223054483-3c655614-78e3-47e7-bb13-7d4afc363bfb.png)

Closing this as the code has been updated to leverage pyarrow types.


Change how InformationSchema sources are exposed

With Java 8 method refs it is no longer necessary to wrap everything
into a Supplier class.

Current coverage is 81.49% (diff: 100%)

Merging #4653 into master will decrease coverage by 0.10%

@@             master      #4653   diff @@
==========================================
  Files          1307       1307
  Lines         44962      44948    -14
  Methods           0          0
  Messages          0          0
  Branches       7082       7070    -12
==========================================
- Hits          36691      36631    -60
- Misses         5571       5630    +59
+ Partials       2700       2687    -13

Powered by Codecov. Last update 7b5167e...21fbb05


New package: sikalabs.slu version 0.66.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

This package is expecting arguments:
SikaLabs Utils, v0.66.0

Usage:
  slu [command]

Available Commands:
  argocd            ArgoCD Utils
  aws               AWS Utils
  awx               AWX Utils
  base64            Base64 Utils
  chaos-monkey      Chaos Monkey Utils
...


Add "ping-to-domain" support

Allow option to make the server ping to multiple domains and return the result (OK or NOT OK).

Would also love this.

Here's a code snippet for a bash doing this:
SERVERS=("https://google.com", "https://github.com")
    for SERVER in ${SERVERS[@]}; do
      CURL_RESULT=`curl -s -o /dev/null -w "%{http_code} %{time_total}" $SERVER`
      CURL_CODE=`echo "$CURL_RESULT"| awk {'print $1'}`
      CURL_TIME=`echo "$CURL_RESULT"| awk {'print $2'}`
      echo "  $SERVER $CURL_CODE $CURL_TIME"
      if [ $CURL_CODE != "200" -a $CURL_CODE != "302" -a $CURL_CODE != "301" ]; then
        echo "  SERVER ERROR!"
        slack "Error connecting to $SERVER!\nResult was $CURL_CODE"
      else
        echo "  SERVER OK!"
      fi
    done


Error when following the Sample Data Page

I am fairly new to InfluxDB and I am trying to load sample data into a database.
I am using the latest version of InluxDB on Windows.
Here is the page I am following: https://docs.influxdata.com/influxdb/v1.7/query_language/data_download/
After loading the data in the terminal with:
curl https://s3.amazonaws.com/noaa.water-database/NOAA_data.txt -o NOAA_data.txt
When I am trying to write data into influx via the influxdb shell with:
influx -import -path=NOAA_data.txt -precision=s -database=NOAA_water_database
I am getting this error:
ERR: error parsing query: found influx, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line 1, char 1
Somebody got a solution for this?

OK, there are a few unresolved questions here, but I tested the steps on my Mac and learned a few things that might be relevant... @Solicus might have tried running the influx -import ... command from within the shell ... that's the only way I could reproduce that error message. Running the command without the -database argument still generates that error, if run within the shell.
On my Mac, I tested using the influx -import ... from the docs, with and without the -database argument, and the database gets created and loaded without errors. The NOAA_data.txt file includes a DDL statement that creates the database. So, I can remove that argument in the command and it sounds like it will work OK on Macs and Windows then. I'll modify the steps so they're a bit clearer too.

Thanks, @Solicus and @andrewthad, for helping improve the docs and make these steps easier for the next users!


Pretrained ActivityNet

Dear Kensho
Thanks for your github, which is very useful for the community!  I wonder if any pre-trained ActivityNet model could be downloaded?
Thanks & Bests
OM

Hi,
Thank you for your interest in this work.
I plan to upload other models including pre-trained on ActivityNet at next month or earlier.
Please wait until then.

Just want to follow-up and see if the pre-trained models using ACtivityNet are available? Thanks


Accelerometer calibration should handle differences between x- and y-axes.

The Arduino 101 I'm using has differences in the different axes. We should correct for that in the calibration routine by calculating separate resting values for the x- and y-axes and adjusting their live data separately.

Another thing that might be useful to support is providing hard-coded values for the zero G and one G numbers and then using those to calculate the extent to which the actual readings are off.

Another option would be to ask for two calibration samples, one with the accelerometer upright (Z facing up) and one with it upside down.


Clarification on Numerical Values in GRAPH_OBJ_TRANSFORM

Hello,
The implementation and thought process  of this project are impressive and have been very insightful.
And,I have a question regarding the GRAPH_OBJ_TRANSFORM dictionary in the code. The specific section is as follows:
GRAPH_OBJ_TRANSFORM = {
    "stability": {"scale": 1 / 2.0, "shift": 2.0},
    "log_fluorescence": {"scale": 1 / 7.0, "shift": -4.0},
}

Could you please clarify how the values for "scale" and "shift" were determined for the "stability" and "log_fluorescence" transformations?
Are these values derived from the mean and variance of the training data, or is there another method or rationale behind their selection?
Understanding the origin and reasoning behind these values would help in better comprehending the data preprocessing steps.
Thank you!
Best regards,

hi, thanks for the kind words :)
the intent of the transform is to shift and rescale the objectives to [0, 1]. They are supposed to be computed from the data, e.g.
shift = -1 * data.min()
scale = 1 / data.max() - data.min()

upon inspection I think I forgot to update these values when I transitioned the code from an internal use case to the public version, thanks for flagging! Will double check that these values are consistent with the data and push an update if not

Looks like they are in fact incorrect. If you're curious, this is how I compute them
import pandas as pd
from cortex.data.dataset import TAPEFluorescenceDataset, TAPEStabilityDataset

train = TAPEFluorescenceDataset(
    root="./.cache",
    download=True,
    train=True,
)
test = TAPEFluorescenceDataset(
    root="./.cache",
    download=True,
    train=False,
)

df = pd.concat([train._data, test._data], ignore_index=True)

min = df.log_fluorescence.min()
range = df.log_fluorescence.max() - min

print(f"Min: {min}")
print(f"Range: {range}")


Camera accesory as stream gateway - raspberry

Is there a way how to forward stream from other servers (f.ex another raspi with camera streaming its camera) via this accessory? As I looked into Camera.js module, there is a ffmpeg command that starts the stream from local camera. I can change the ffmpeg to take the other servers stream and forward it, but I am having issues with that ffmpegCommand in Camera.js. But Iam not able to make the ffmpeg command work even with simple dummy movie streaming.
I installed precompiled ffmpeg deb package on my raspi. When I used that ffmpeg command it immediately stopped. The problem is that srtp link has parameters. Even the srtp link doesnt work f.ex. in vlc.

Update: On my

I'm not sure I get it, do you mean using a video feed as the source?

Edit: you can install avconv on your raspberry (ffmpeg is not included in packages)
sudo apt-get install libav-tools
Then in lib/Camera.js in handleStreamRequest, you change ffmpeg to avconv
and you can use command like this:
'-re -i http://SOME-STREAM/LALALALA -threads 0 -vcodec libx264 -an -pix_fmt yuv420p -r '+ fps +' -f rawvideo -tune zerolatency -vf scale=320:240 -b:v '+ bitrate +'k -bufsize '+ bitrate +'k -payload_type 99 -ssrc 1 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params '+videoKey.toString('base64')+' srtp://'+targetAddress+':'+targetVideoPort;

Yes exactly, for me it is better to use other streaming hardware as a source, which does not act as a homekit device. Then write a hap accesory and use existing stream.
I dont know if I made myself clear :/


Jetson Nano support

Noting any issues involved with porting this codebase to the Jetson Nano, as referenced in
https://twitter.com/Quintus23M/status/1124760771496308736

deviceQuery output:
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "NVIDIA Tegra X1"
  CUDA Driver Version / Runtime Version          10.0 / 10.0
  CUDA Capability Major/Minor version number:    5.3
  Total amount of global memory:                 3963 MBytes<PHONE_NUMBER> bytes)
  ( 1) Multiprocessors, (128) CUDA Cores/MP:     128 CUDA Cores
  GPU Max Clock rate:                            922 MHz (0.92 GHz)
  Memory Clock rate:                             13 Mhz
  Memory Bus Width:                              64-bit
  L2 Cache Size:                                 262144 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 32768
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z):<PHONE_NUMBER>, 65535, 65535)
  Maximum memory pitch:<PHONE_NUMBER> bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 1 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            Yes
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device supports Compute Preemption:            No
  Supports Cooperative Kernel Launch:            No
  Supports MultiDevice Co-op Kernel Launch:      No
  Device PCI Domain ID / Bus ID / location ID:   0 / 0 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.0, CUDA Runtime Version = 10.0, NumDevs = 1
Result = PASS

Hey! :) I am also working on this topic. Any updates? @vielmetti

Hey @akrolic - no updates at this time - but I will let you know what progress I do make.


Team 23

Mate: @qrie (kel)
Setting up the environment was the hard part

@gdude2002 done in readme ✔
@1mn means a lot, ty :D

For your information, there is a continuation for this entry in a separate branch. I'm planning on bringing improvements to perlin-sneks and Snakes & Ladders


[bug] nexus.vmoptions is unmodifieable

nexus.vmoptions is unmodifieable
there are various situations when a user might want to change parameters of nexus.vmoptions
such as changing memory consumption or
adding parameters that are not editable via UI for common maven repositories such as maven.oracle.com
-Dnexus.remoteStorage.enableCircularRedirectsForHosts=maven.oracle.com
-Dnexus.remoteStorage.useCookiesForHosts=maven.oracle.com
The solution for this problem would be either moving nexus.vmoptions to a volume with nexus_data
or
creating additional data volume
or
providing environment variables that are responsible for this parameters in a Dockerfile

Place your custom nexus.properties into <nexus-data-dir>/etc/nexus.properties and it will work.


Can we show list of times instead of input to change time?

Can we show list of times instead of dropdown to change time?
Now we are showing like the follow.

Can we show list of time instead of input box?

Something of this sort would be quite interesting.


shutil 'module' object has no attribute 'which' ($ scons -j4)

When I ran scons -j4, it shows the following error:
scons: Reading SConscript files ...
AttributeError: 'module' object has no attribute 'which':
File "/home/martin/openpilot/SConstruct", line 221:
SConscript(['cereal/SConscript'])
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec file in call_stack[-1].globals
File "/home/martin/openpilot/cereal/SConscript", line 14:
if shutil.which('capnpc-java'):
Operating system: [Ubuntu 16.04  Python 3.7.3]

shutil.which() has been part of python since 3.3. Make sure you're actually running python3.

I has already used Python 3.7.3 in conda

Make sure you install scons using pip instead of using the ubuntu supplied one.


Alcatraz 1.1.6 installation not working

I'm using Xcode 6.4 and Alcatraz 1.1.6. Other plugins are installing fine. Xprobe installs fine when I cloned and built it (after resolving code signing issues).

Hi, The code signing issues are likely the problem. Occurs when user has more than one “iOS Developer” profile as you have no doubt seen. Not sure what the solution would be.

Alright, thanks for the quick response, I'd like to help but any reason for why would be over my head.

Got it, thanks for the quick response.


ValueError: invalid literal for int() with base 10: 'lengt'

Hello.
I first ran the single bins(2159kb) and he was able to output the results properly, but when I merged the 1472 bins (3.39Gb)into one fasta file and ran it again, the following error was reported,
cctyper ~/virus/viwrap_input/merge.fa ~/virus/CRISPRCasTyper --prodigal meta --threads 12
[2024-03-20 14:32:44] INFO: Running CRISPRCasTyper version 1.8.0
[2024-03-20 14:32:57] INFO: Predicting ORFs with prodigal
[2024-03-20 18:56:28] INFO: Running HMMER against Cas profiles
100%|████████████████████████████████████████████████████████████████████| 705/705 [4:57:48<00:00, 25.35s/it]
/data4/machuang/miniconda3/envs/cctyper/lib/python3.8/site-packages/cctyper/hmmer.py:85: DtypeWarning: Columns (28) have mixed types. Specify dtype option on import or set low_memory=False.
  hmm_df = pd.read_csv(self.out+'hmmer.tab', sep='\s+', header=None,
Traceback (most recent call last):
  File "/data4/machuang/miniconda3/envs/cctyper/bin/cctyper", line 85, in <module>
    hmmeri.main_hmm()
  File "/data4/machuang/miniconda3/envs/cctyper/lib/python3.8/site-packages/cctyper/hmmer.py", line 26, in main_hmm
    self.load_hmm()
  File "/data4/machuang/miniconda3/envs/cctyper/lib/python3.8/site-packages/cctyper/hmmer.py", line 100, in load_hmm
    hmm_df['Pos'] = [int(re.sub(".*_","",x)) for x in hmm_df['ORF']]
  File "/data4/machuang/miniconda3/envs/cctyper/lib/python3.8/site-packages/cctyper/hmmer.py", line 100, in <listcomp>
    hmm_df['Pos'] = [int(re.sub(".*_","",x)) for x in hmm_df['ORF']]
ValueError: invalid literal for int() with base 10: 'lengt'

The hmmer.log shows
Fatal exception (source file easel.c, line 2248):
unexpected getcwd() error

what is the reason for this, thanks for your help.

It sounds like something on your system is deleting temporary files. Maybe you have a disk space limit for your temporary folder? A fix could be to set the TMPDIR environment variable to somewhere with enough diskspace.

It sounds like something on your system is deleting temporary files. Maybe you have a disk space limit for your temporary folder? A fix could be to set the TMPDIR environment variable to somewhere with enough diskspace.

Fine, I'll give up on making such a large merged file as input, I'll run the code using a loop statement, thanks for the answer!


Problem of timeout with Multi-threaded backend server

Hello,
Since long time I have a problem when I use Bottle with Multi-threaded server: randomly I have a long request answer or a timeout.

The code is simple, just load some data from a database.
I tried with Python 3.2 and now Python 3.6.2
I tried Debian 7 and 9
I use the last version of Bottle
I tried cherrypy and now paste

If someone have an idea how to fix my problem, thank you :)

What server are you using?

Bottle does not do anything fancy that would cause a request to hang or timeout. Thread and IO handling is done by the server backend (cherrypy/paste), not bottle itself. Bottle only blocks if the socket hangs while reading the request body, and that is caused by a slow or unresponsive client (or an overloaded server backend).
Try to increase thread-pool sizes in your server backend, try another one (uwsgi?) and make sure that your client actually sends the entire request, even if an error response is sent early. Clients that stop sending data but keeping the connection open for whatever reasons are misbehaving and will cause timeouts as you have seen.

Thank you for your answer, I will try your advices


Flags

Solves issues #3 and #4
We can now set everything with both, flags and ENV VARs.
The binary is now self-documenting by returning a helpful output when called with the
argument --help or -h.
All flags have useful defaults wherever possible.
We can also choose between a Kubernetes configmap and a simple file as output.
And we vendor now with dep.

I like this cli framework. But this app is not used as a cli tool but as a kubernetes app. Hence we don't need cli help. I don't want to build and run the app to see what variables I have to set. There was no need and task to add this.
Additionally the whole change is too big.

I understand your concerns, when you say "we don’t use this with a CLI, why bothering with CLI flags?"
This is to follow best practices (Industrial Go at Peter’s blog) for writing and configuring self-documenting apps all at once.
A few of the reasons are:

Correctness of documentation: The code is always up to date with itself, so if we pass all config via the framework, we have always a well-documented app with --help. You are right, it is comfortable to add the output to the README.md itself. I added it.
--flag vs. ENV VAR: Flags are for most cases preferable to ENV VARs. Nonetheless we need ENV VARs for specific things and it is if not as if they are gone, they are properly documented now. So we have the best of both worlds now.
Meaningful defaults: It is good to have defaults and it is bad if you have to look into the code just for figuring out what they are.
It all boils down to friendliness towards to future us and future others who use this. And I hold these values to be implicitly true and not something that needs a specific task.

The reason for adding the flag for direct file output is that it was simple, anyway needed for testing and makes the whole discovery more universally useful.
The change is not that big if you factor out the vendoring and the repetitive boilerplate to define all the flags and ENV VARs. Unfortunately the github diff view displays some of the changes in a slightly confusing way because it does not recognise that the newly indented lines are the same.

The main reason is that we have a lot of other things to do that are more pressing than creating something that will not be of use for anyone.

The vendoring change happens now in a separate PR #9 so that concerns are better separated.
Having a --help is part of the GNU standard and KISS.
https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dhelp
Even the Kubernetes sample operator has it, and that one is definitely not run outside Kubernetes.
https://github.com/kubernetes/sample-controller/blob/master/main.go#L77
It is just best practice.
And to address your concern Bernd, I started this while waiting for another PR and we need most of these things anyway, I just put them in here, because it made more sense. Hence there was not much time lost, even if one does not care so much about GNU standards or best practices.

The vendoring change relative to PR #9 which has to be merged first that is.

Just to clarify about k8s operator:
Path to a kubeconfig. Only required if out-of-cluster.")...this is only done for two flags when running outside! of k8s.
I want env listed in the readme. If people just want to run the image, this is all they have to look at.
Since all but one env are mandatory, people need to set them in the deployment yaml! I don't see the benefit, especially now we have an additional dependency for a very small tool with simple envs!

Everything (all the ENV VARs, flags, defaults) is listed in the README.md. Click on the link, it is really nice. And because of the --help it is easy to keep up to date.
In prinicipal #10 is okay.
It just lacks the version, the file-output option, the sensible default values, the --help option and a few other niceties.
Basically the things to make this SD more comfortable and safer to configure and operate.
My heart does not belong to that cli-framework, I just chose it because it looked like it would allow to make all necessary changes in a reasonable speed. I do not think that one more dependency matters much. We have anyway plenty. We can do it all manually with the flag-package if this is important to you though.
I am more worried about time wasted because of bad/inaccessible documentation, lacking defaults and inflexible configuration. A more holistic perspective on where things are going, what they might be used for in the future, how they are used within our and other’s processes and what future processes are already looming on the horizon is much more important.
And to be honest, after all these discussions I can just conclude, that you both also don’t really care that much about the time, otherwise you would have merged it long ago.


CocoaPods does not have 0.4.4 release

Would be nice to have 0.4.4 pushed to cocoapods trunk. Last version shown there is 0.4.3
https://cocoapods.org/pods/Decodable

Please push 0.4.4 to CocoaPods, otherwise those of using Swift 2.3 are unable to build apps that depend on Decodable.

Sorry, I was having problems with it before (or not supported?), and while recently managed to push 0.5 with latest cocoapods rc, I cannot figure out how to push 0.4.4:
It's complaining on SWIFT_VERSION not being set (which to my best knowledge it is).

```
~/D/Decodable  ➤ 0.4.4  pod trunk push Decodable.podspec --verbose                           (18s 922ms)
Updating spec repo master
$ /usr/bin/git pull --ff-only
From https://github.com/CocoaPods/Specs
d73c42f..7e0d125  master     -> origin/master
Updating d73c42f..7e0d125
Fast-forward
Specs/DCKit/1.0.6/DCKit.podspec.json | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Specs/DCKit/1.0.6/DCKit.podspec.json
CocoaPods 1.1.0.rc.2 is available.
To update use: sudo gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Validating podspec
Decodable (0.4.4) - Analyzing on iOS 8.0 platform.
Preparing
[!] Unable to load a specification for the plugin /Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-deintegrate-1.0.1
Analyzing dependencies
Fetching external sources
-> Fetching podspec for Decodable from /Users/Johannes/Developer/Decodable/Decodable.podspec
Resolving dependencies of
Comparing resolved specification to the sandbox manifest
A Decodable
Downloading dependencies
-> Installing Decodable (0.4.4)

Copying Decodable from
/Users/Johannes/Library/Caches/CocoaPods/Pods/External/Decodable/dbc8d314c1752d2f9c2b402472a7c9b2-07ebb
to ../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Decodable

Running pre install hooks

Generating Pods project

Creating Pods project
Adding source files to Pods project
Adding frameworks to Pods project
Adding libraries to Pods project
Adding resources to Pods project
Linking headers
Installing targets

Installing target Decodable iOS 8.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable-umbrella.h

Installing target Pods iOS 8.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h

Running post install hooks
Writing Xcode project file to
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Pods.xcodeproj

Generating deterministic UUIDs

Writing Lockfile in
../../../../var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Podfile.lock
Writing Manifest in
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Manifest.lock
Running post install hooks
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Building with xcodebuild.
xcodebuild clean build -target Pods CODE_SIGN_IDENTITY=- -sdk iphonesimulator 2>&1
2016-09-14 20:40:11.047 xcodebuild[25063:7009843] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7ff7cf328d60:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
2016-09-14 20:40:11.048 xcodebuild[25063:7009843] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7ff7cf328df0:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
Build settings from command line:
CODE_SIGN_IDENTITY = -
SDKROOT = iphonesimulator10.0

=== CLEAN TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Decodable (0.4.4) - Analyzing on OS X 10.9 platform.
Preparing
[!] Unable to load a specification for the plugin /Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-deintegrate-1.0.1
Analyzing dependencies
Fetching external sources
-> Fetching podspec for Decodable from /Users/Johannes/Developer/Decodable/Decodable.podspec
Resolving dependencies of
Comparing resolved specification to the sandbox manifest
A Decodable
Downloading dependencies
-> Installing Decodable (0.4.4)

Copying Decodable from
/Users/Johannes/Library/Caches/CocoaPods/Pods/External/Decodable/dbc8d314c1752d2f9c2b402472a7c9b2-07ebb
to ../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Decodable

Running pre install hooks

Generating Pods project

Creating Pods project
Adding source files to Pods project
Adding frameworks to Pods project
Adding libraries to Pods project
Adding resources to Pods project
Linking headers
Installing targets

Installing target Decodable OS X 10.9

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable-umbrella.h

Installing target Pods OS X 10.9

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h

Running post install hooks
Writing Xcode project file to
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Pods.xcodeproj

Generating deterministic UUIDs

Writing Lockfile in
../../../../var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Podfile.lock
Writing Manifest in
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Manifest.lock
Running post install hooks
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Building with xcodebuild.
xcodebuild clean build -target Pods 2>&1
2016-09-14 20:40:12.253 xcodebuild[25085:7009922] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7f9f92d46a30:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
2016-09-14 20:40:12.253 xcodebuild[25085:7009922] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7f9f92d46ac0:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
=== CLEAN TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Decodable (0.4.4) - Analyzing on tvOS 9.0 platform.
Preparing
[!] Unable to load a specification for the plugin /Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-deintegrate-1.0.1
Analyzing dependencies
Fetching external sources
-> Fetching podspec for Decodable from /Users/Johannes/Developer/Decodable/Decodable.podspec
Resolving dependencies of
Comparing resolved specification to the sandbox manifest
A Decodable
Downloading dependencies
-> Installing Decodable (0.4.4)

Copying Decodable from
/Users/Johannes/Library/Caches/CocoaPods/Pods/External/Decodable/dbc8d314c1752d2f9c2b402472a7c9b2-07ebb
to ../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Decodable

Running pre install hooks

Generating Pods project

Creating Pods project
Adding source files to Pods project
Adding frameworks to Pods project
Adding libraries to Pods project
Adding resources to Pods project
Linking headers
Installing targets

Installing target Decodable tvOS 9.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable-umbrella.h

Installing target Pods tvOS 9.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h

Running post install hooks
Writing Xcode project file to
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Pods.xcodeproj

Generating deterministic UUIDs

Writing Lockfile in
../../../../var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Podfile.lock
Writing Manifest in
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Manifest.lock
Running post install hooks
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Building with xcodebuild.
xcodebuild clean build -target Pods CODE_SIGN_IDENTITY=- -sdk appletvsimulator 2>&1
2016-09-14 20:40:13.271 xcodebuild[25101:7009983] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7fb3597b6f80:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
2016-09-14 20:40:13.271 xcodebuild[25101:7009983] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7fb3597b7010:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
Build settings from command line:
CODE_SIGN_IDENTITY = -
SDKROOT = appletvsimulator10.0

=== CLEAN TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Decodable (0.4.4) - Analyzing on watchOS 2.0 platform.
Preparing
[!] Unable to load a specification for the plugin /Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-deintegrate-1.0.1
Analyzing dependencies
Fetching external sources
-> Fetching podspec for Decodable from /Users/Johannes/Developer/Decodable/Decodable.podspec
Resolving dependencies of
Comparing resolved specification to the sandbox manifest
A Decodable
Downloading dependencies
-> Installing Decodable (0.4.4)

Copying Decodable from
/Users/Johannes/Library/Caches/CocoaPods/Pods/External/Decodable/dbc8d314c1752d2f9c2b402472a7c9b2-07ebb
to ../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Decodable

Running pre install hooks

Generating Pods project

Creating Pods project
Adding source files to Pods project
Adding frameworks to Pods project
Adding libraries to Pods project
Adding resources to Pods project
Linking headers
Installing targets

Installing target Decodable watchOS 2.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Decodable/Decodable-umbrella.h

Installing target Pods watchOS 2.0

Generating Info.plist file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Info.plist
Generating module map file at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods.modulemap
Generating umbrella header at
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Target Support Files/Pods/Pods-umbrella.h

Running post install hooks
Writing Xcode project file to
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Pods.xcodeproj

Generating deterministic UUIDs

Writing Lockfile in
../../../../var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Podfile.lock
Writing Manifest in
../../../../private/var/folders/p9/t36w85qs5qz0p7gy_cn7r8wm0000gn/T/CocoaPods/Lint/Pods/Manifest.lock
Running post install hooks
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Building with xcodebuild.
xcodebuild clean build -target Pods CODE_SIGN_IDENTITY=- -sdk watchsimulator 2>&1
2016-09-14 20:40:14.221 xcodebuild[25117:7010027] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7fdd8f471b70:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
2016-09-14 20:40:14.222 xcodebuild[25117:7010027] [MT] DVTToolchain: Failed to load toolchain: DVTFilePath:0x7fdd8f471c00:'/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain': Error Domain=DVTToolchainErrorDomain Code=6 "Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings" UserInfo={NSFilePath=/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a.xctoolchain, NSLocalizedDescription=Info.plist:OverrideBuildSettings:{SWIFT_LINK_OBJC_RUNTIME,SWIFT_DISABLE_REQUIRED_ARCLITE,ENABLE_BITCODE} must contain a string or array of strings}
Build settings from command line:
CODE_SIGN_IDENTITY = -
SDKROOT = watchsimulator3.0

=== CLEAN TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET Decodable OF PROJECT Pods WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
-> Decodable (0.4.4)
- ERROR | xcodebuild: Returned an unsuccessful exit code.
[!] The podspec does not validate.
/Users/Johannes/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-trunk-0.6.4/lib/pod/command/trunk/push.rb:114:in validate_podspec' /Users/Johannes/.rvm/gems/ruby-2.2.0@global/gems/cocoapods-trunk-0.6.4/lib/pod/command/trunk/push.rb:59:in run'
/Users/Johannes/.rvm/gems/ruby-2.2.0@global/gems/claide-0.9.1/lib/claide/command.rb:312:in run' /Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:47:in run'
/Users/Johannes/.rvm/gems/ruby-2.2.0/gems/cocoapods-0.39.0/bin/pod:44:in <top (required)>' /Users/Johannes/.rvm/gems/ruby-2.2.0/bin/pod:23:in load'
/Users/Johannes/.rvm/gems/ruby-2.2.0/bin/pod:23:in <main>' /Users/Johannes/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in eval'
/Users/Johannes/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `'
</details>

Additionally, I thought setting `SWIFT_VERSION` in your podspec on a release targeting Swift 2.2 was a common workaround. Does that not work here? (The only difference between Decodable's 0.4.4 and v0.4.3 is the `SWIFT_VERSION` setting)

Any workaround for this?

@alexito4 Use this in your podfile:
pod 'Decodable', :git => 'https://github.com/Aniviking/Decodable.git', :tag => '0.4.4'
or pod 'Decodable', :git => 'git@github.com:Aniviking/Decodable.git', :tag => '0.4.4' if you use ssh urls

The issue comes when you want to do that in a Podspec for the private frameworks that your apps use.


Build fail on latest OR version using spdlog 1.9.2

Describe the bug
I try to build latest OR on Ubunutu 22.04 LTS, and I get the following build error:
[ 92%] Building CXX object src/drt/CMakeFiles/drt.dir/src/dr/FlexGridGraph_maze.cpp.o
In file included from /usr/include/spdlog/fmt/fmt.h:25,
                 from /usr/include/spdlog/common.h:36,
                 from /usr/include/spdlog/details/os.h:6,
                 from /tmp/OpenROAD/src/utl/include/utl/Logger.h:51,
                 from /tmp/OpenROAD/src/odb/include/odb/isotropy.h:50,
                 from /tmp/OpenROAD/src/odb/include/odb/geom.h:40,
                 from /tmp/OpenROAD/src/drt/include/triton_route/TritonRoute.h:42,
                 from /tmp/OpenROAD/src/drt/src/dr/FlexDR.h:31,
                 from /tmp/OpenROAD/src/drt/src/dr/FlexGridGraph_maze.cpp:29:
/usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = drt::frDirEnum&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
/usr/include/fmt/core.h:1855:77:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int&, odb::Point&, unsigned int&, unsigned int&, drt::frDirEnum&, unsigned int&, int&, int&}; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, odb::Point, unsigned int, unsigned int, drt::frDirEnum, unsigned int, int, int}]’
/usr/include/fmt/core.h:1872:38:   required from ‘constexpr fmt::v8::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int&, odb::Point&, unsigned int&, unsigned int&, drt::frDirEnum&, unsigned int&, int&, int&}]’
/usr/include/fmt/core.h:3119:44:   required from ‘std::string fmt::v8::format(fmt::v8::format_string<T ...>, T&& ...) [with T = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, odb::Point&, unsigned int, unsigned int, drt::frDirEnum, unsigned int, int&, int&}; std::string = std::__cxx11::basic_string<char>; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, odb::Point&, unsigned int, unsigned int, drt::frDirEnum, unsigned int, int&, int&>]’
/tmp/OpenROAD/src/drt/src/dr/FlexGridGraph_maze.cpp:53:28:   required from here
/usr/include/fmt/core.h:1728:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1728 |       formattable,
      |       ^~~~~~~~~~~
/usr/include/fmt/core.h:1728:7: note: ‘formattable’ evaluates to false
make[2]: *** [src/drt/CMakeFiles/drt.dir/build.make:310: src/drt/CMakeFiles/drt.dir/src/dr/FlexGridGraph_maze.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6135: src/drt/CMakeFiles/drt.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Expected Behavior
Build should be clean.
Environment
I am using stock spdlog with this version:
libspdlog-dev/jammy,now 1:1.9.2+ds-0.2 arm64 [installed]

To Reproduce
Do a standard build on Ubuntu 22.04 LTS.
Relevant log output
See above.

Screenshots
No response
Additional Context
No response

Please use the dependency installer to get the supported version.

spdlog version 1.8.1 (which works fine, and I build it locally now for OR) is ca. 4 years old. Until ca. 8 weeks back, 1.9.x worked fine with OR, so maybe an upgrade to a more modern version of spdlog would be worth the effort?

I'm a complete newbie to fmt and c++, but the error message states that currGrid.getLastDir() is an enum and it seems that fmt just doesn't know what of print for that. The other two fmt::format statements compile just fine.
Commenting out currGrid.GetLatDir() makes the compile go thru on MacOS M1 that had the same issue as Ubuntu 22.
 53   dump_file_ << fmt::format(
 54       "{} {} pt {} cost {} pathCost {} lastDir " // "{} "
 55       "estCost {} gridX {} gridY ",
 56       "{} ",
 57       keyword,
 58       currGrid.z(),
 59       pt,
 60       currGrid.getCost(),
 61       currGrid.getPathCost(),
 62 //      currGrid.getLastDir(),
 63       currGrid.getCost() - currGrid.getPathCost(),
 64       gridX,
 65       gridY);

Its time https://github.com/The-OpenROAD-Project/OpenROAD/pull/6315

Merged


Error retrieving tails file to check for revocation

We are facing an error during a proof presentation while downloading the tails file to check the revocation status of anoncreds.
The proof includes multiple fields from the same credential, and it seems Credo is trying to download the tails file for each of the fields, although it is the same credential. Hence, it may end up storing the same file multiple times, and I think that if the hash is calculated each time, at some point it may be calculated while one of those downloads are being stored, and then it fails with Hash of downloaded file does not match expected hash.
This does not always happen, and it makes sense if it is a race condition.
 LOG  2024-06-28T07:24:06.104Z [ARIESAGENT][LOG] Using ledger 'did:sov' to retrieve revocation registry deltas with revocation registry definition id 'did:indy:did:sov:VecAQ6Q2TdWo9h3vVqTaA4/anoncreds/v0/REV_REG_DEF/27/emergencycontact_emergencycontact_1.0/0bbc6214-c2b5-45fe-b153-8a51adc90748' until<PHONE_NUMBER>
 LOG  2024-06-28T07:24:06.105Z [ARIESAGENT][LOG] Submitting get transaction request to ledger 'did:sov'
 LOG  2024-06-28T07:24:06.110Z [ARIESAGENT][LOG] Saved tails file to FileSystem at path /data/user/0/org.unicc.undigitalid/cache/.afj/cache/anoncreds/tails/4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT
 LOG  2024-06-28T07:24:06.114Z [ARIESAGENT][LOG] Using ledger 'did:sov' to retrieve revocation registry deltas with revocation registry definition id 'did:indy:did:sov:VecAQ6Q2TdWo9h3vVqTaA4/anoncreds/v0/REV_REG_DEF/27/emergencycontact_emergencycontact_1.0/0bbc6214-c2b5-45fe-b153-8a51adc90748' until<PHONE_NUMBER>
 LOG  2024-06-28T07:24:06.116Z [ARIESAGENT][LOG] Submitting get transaction request to ledger 'did:sov'
 LOG  2024-06-28T07:24:06.122Z [ARIESAGENT][LOG] Saved tails file to FileSystem at path /data/user/0/org.unicc.undigitalid/cache/.afj/cache/anoncreds/tails/4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT
 LOG  2024-06-28T07:24:06.123Z [ARIESAGENT][LOG] Using ledger 'did:sov' to retrieve revocation registry deltas with revocation registry definition id 'did:indy:did:sov:VecAQ6Q2TdWo9h3vVqTaA4/anoncreds/v0/REV_REG_DEF/27/emergencycontact_emergencycontact_1.0/0bbc6214-c2b5-45fe-b153-8a51adc90748' until<PHONE_NUMBER>
 LOG  2024-06-28T07:24:06.124Z [ARIESAGENT][LOG] Submitting get transaction request to ledger 'did:sov'
 LOG  2024-06-28T07:24:06.132Z [ARIESAGENT][LOG] Saved tails file to FileSystem at path /data/user/0/org.unicc.undigitalid/cache/.afj/cache/anoncreds/tails/4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT
 LOG  2024-06-28T07:24:06.133Z [ARIESAGENT][LOG] Using ledger 'did:sov' to retrieve revocation registry deltas with revocation registry definition id 'did:indy:did:sov:VecAQ6Q2TdWo9h3vVqTaA4/anoncreds/v0/REV_REG_DEF/27/emergencycontact_emergencycontact_1.0/0bbc6214-c2b5-45fe-b153-8a51adc90748' until<PHONE_NUMBER>
 LOG  2024-06-28T07:24:06.134Z [ARIESAGENT][LOG] Submitting get transaction request to ledger 'did:sov'
 LOG  2024-06-28T07:24:06.139Z [ARIESAGENT][LOG] Error while retrieving tails file from URL https://tailserver.../VecAQ6Q2TdWo9h3vVqTaA4:4:VecAQ6Q2TdWo9h3vVqTaA4:3:CL:27:emergencycontact_emergencycontact_1.0:CL_ACCUM:0bbc6214-c2b5-45fe-b153-8a51adc90748 {"error": [CredoError: Hash of downloaded file does not match expected hash. Expected: 4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT, Actual: EaRWN78m86Kfvj3QJtn4XqtaAWvWLASsgZS2sDx854zL]}
 LOG  2024-06-28T07:24:06.141Z [ARIESAGENT][LOG] Error retrieving revocation registry for proof request {"error": [CredoError: Hash of downloaded file does not match expected hash. Expected: 4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT, Actual: EaRWN78m86Kfvj3QJtn4XqtaAWvWLASsgZS2sDx854zL], "proofRequest": {"name": "Emergency contact UNJSPF v1", "non_revoked": {"from":<PHONE_NUMBER>, "to":<PHONE_NUMBER>}, "nonce": "1197045659185484348975297", "requested_attributes": {"email": [Object], "first_name": [Object], "last_name": [Object], "middle_name": [Object], "phone_number": [Object], "staff_relationship": [Object]}, "requested_predicates": {}, "version": "1.0"}, "selectedCredentials": {"attributes": {"email": [Object], "first_name": [Object], "last_name": [Object], "middle_name": [Object], "phone_number": [Object], "staff_relationship": [Object]}, "predicates": {}}}
 WARN  2024-06-28T07:24:06.160Z [ARIESAGENT][WARN] [useAgentProofs] Error reading link  [CredoError: Hash of downloaded file does not match expected hash. Expected: 4jxyNBbTFQEjtxij7FUnDkQ9jUhZSPQJ67dzf6jjDmnT, Actual: EaRWN78m86Kfvj3QJtn4XqtaAWvWLASsgZS2sDx854zL]

I reviewed the code and I think this should be sequential and not a Promise.all:
https://github.com/openwallet-foundation/credo-ts/blob/6faff7dd08458053af43d58cf16e6e7854648cb6/packages/anoncreds/src/anoncreds-rs/AnonCredsRsHolderService.ts#L848

We should probably dedupe upfront based on timestamp and id, which can help with downloading it multiple times. And then we should probably look when downloading to also include the timestamp in the filename. Then we'll never have clashes.
The promise.all does help in keeping things faster instead of doing it sequentially.
What do you think?

The problem with the Promise.all approach is that:

If we add the timestamp of the query then we will download the file multiple times if there are multiple attributes requested for the same credential.
If we add the timestamp of the revocation query then we will be overwriting the same file and will end up with the same problem.

I just added a patch in the meanwhile to do a for loop. As it is checking the filesystem for the file it only downloads once. It is sequential, but it is only downloading once per credential.

Ah of course, we don't need the timestamp for it. Well then we can just dedupe up front to only download the tails file for each registry once. There's still a slight chance of error if multiple processes (different presentation flows) are executing at the same then


undefined method `connect!' for ActionSubscriber::RabbitConnection:Module (NoMethodError)

After merging 1.05 I am getting errors at
https://github.com/moneydesktop/action_subscriber/blob/master/lib/action_subscriber.rb#L68
https://github.com/moneydesktop/action_subscriber/blob/master/lib/action_subscriber.rb#L74
Looks like it got missed in the last update when we switched to publisher_connection & subscriber_connection

Dangit! When I was removing that method I kept thinking to myself, "does this get used anywhere?" I grepped the ActionSubscriber codebase 3 times. But of course it was used in babou.
Do you think it would be better to add the method back in with a deprecation warning? Or should we just change the ActionSubscriber module to call RabbitConnection.subscriber_connection to force the connection to load up-front?

I think just change it to use subscriber_connection unless you guys need backward compatibility in order to roll it out in your environment.

:+1: I'll just change it in babou for now (and change babou to require 1.0.5+ of this gem)


cleanup links for C# 12

Some of the attributes and inclusion properties for C# language preview specs are specified in docfx.json. Make those updates.
Fixes #36674

closing and reopening for a fresh build.


A system for pre-registration of an event callback for wasmd

Summary
Add the capability for registering a callback that invokes an ExecuteContract in response to an event emitted in a block.
Problem Definition
There are times when it would be very useful if a smart contract could register an event callback that is invoked when an event is seen in a future block.  This would allow a contract to respond to new bids/offers by executing a matching function, evaluate asset transfer if a loan is repaid in full, or numerous other potential responses to on chain activity.
Having this capability would allow more complex features to be built using smart contracts which have traditionally been associated only with modules which are able to hook into the begin/end block flows for continuous processing.
In order for this feature to be built changes will be needed to the processing pipeline itself for blocks which means changes to the SDK itself are likely required.  In addition the methods for registering new callbacks make the most sense to add to the wasmd module.  Along with these upstream components the wiring will likely need to be part of the Provenance blockchain itself.
This capability would need to be carefully handled to ensure that gas costs are recovered, fees are paid, and reentrancy or infinite loops are prevented.  There should be careful consideration of the load placed on the system when an event listener is added and limits/expiration concepts should be evaluated to prevent zombie hooks from slowing down the chain indefinitely.
Proposal
A detailed description of this feature is not yet available as this is an early concept placeholder.
A basic workflow could be:

A user registers a callback hook by using a wasmd method (or a dispatch from a smart contract) which contains information on who is paying for the processing (fee grant), which event type to listen for, optionally the value that should be present within the event, and a gas limit for this transaction
The wasmd module will employ end block handlers that review events emitted during a block for any matches.  If a match is found then a record should be added so the dispatch occurs in the next block.
[maybe] During the proposal of a block when transactions are selected any previously recorded dispatches should be structured into new transactions with the event data as arguments.
[maybe] At the start of the block the recorded dispatches should be processed as new transactions that invoke the ExecuteContract method with the event data as arguments.
The fee grant should cover the cost upto the gas limit for the execution

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

A simple way to mitigate MEV risk here is probably to delay the execution a parameterized number of blocks post event detection before the callback is triggered ... something like 2-5 blocks makes sense...

I wonder if we could do this without modifying the wasmd module and write event detection logic outside of it. They have options that allow users to configure components and inject them. The closest thing to this would be to add a new decorator for the WasmVMContractResponseHandler. The events are known before they call this Handler so the signature would also have to be updated to include the events.
Drawbacks would be that we would have to immediately act on the events inside the handler or build a new module that we can queue them up for a future BeginBlock.

We probably have to modify the wasmd module or add our own module or at least ante handler hook system to pull this off.    It actually makes sense to step away from the concept of wasm/smart contract response to events entirely and just have a set of msgs that get dispatched when an event occurs.  I don't know if there would be a way to provide context to these messages of the event that actually caused them to be dispatched, but that would be a desired goal.  With this type of generic setup a smart contract invoke could be done just as easily as a simple bank send.

Thinking more about this and talking with @SpicyLemon  about it... seems like we don't need to get complicated here.  When the user submits a request to be invoked in response to a future event ... they know what that event will be so they can appropriately add arguments to enqueued messages at that time.  No further binding to the actual event is required.
If the msgs interact with part of the system that can respond to the state of the event then they are perfectly able to query the current system state (such as within a smart contract).  This approach also means that we definitely need to wait at least one block from when the event fires so that queries for state that was updated in response to the event have a chance to be finalized in the block.

Closely related to the concept of invoking when a future event occurs ... we should let users register for invoke at a specific future date/time or blockheight.  This would round out the delayed execution concept into a pretty complete package.
On the gas for future transaction aspect, adding the notes from the discussion in slack:  When the delayed execution transaction is recorded the last step should be to capture the current amount of gas consumed vs the amount available.  This remaining amount should be saved as the limit for the future execution.


Connecting with Kaggle

How to succesfully use Kaggle Tesla GPU, to train models. Transfer code to Kaggle.

Open Kaggle Notebook

Name opened notebook

File -> Link to GitHub

Type in new code cell:  !git clone https://repozytorium

Kaggle settings / create new API

Put loaded file.json to : Notebook / Input / Upload / (our file.json)

Run this code cell in Notebook:

(it creating new directory, in Kaggle)
import os
import shutil
os.makedirs('/root/.kaggle', exist_ok = True)
shutil.copy('/kaggle/input/kagglejson/kaggle.json', '/root/.kaggle/kaggle.json')
os.chmod('/root/.kaggle/kaggle.json', 0o600)

add this befor importing everything:
import sys
sys.path.append('/kaggle/working/Team_project_PWR')

Next download prepared dataset.
Create dataset.zip   and put this to Inputs/Upload/Dataset on Kaggle in our notebook

Then change paths to every file  add kaggle/input/prepareddata/...
To install what you need : install like in your terminal
yust put in kaggle notebook code cell for example:
!pip install livelossplot


"Lueta" and "Băile Chirui" are listed in the drop-down menu

Description:
"Lueta" and "Băile Chirui" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Lueta" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Lueta, HARGHITA (Lueta)" and "Comuna Lueta, HARGHITA".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.