text:
✍ Draft: Facilitating cross-operator patch requests as an alternative to full pairing

Background
The 'Nomad' library was designed to facilitate making convergent state updates from multiple operator-owned nodes or devices.

Adding an event stream from another node as a source is considered 'Pairing' and is recommended to be treated as login-like functionality for a node operator, as it allows a single node operator to bridge their multiple devices.
Problem
'Pairing' is something that should only be done between devices owned by the same 'node operator', since events from a source are always applied to the relevant handler. There's no fancy gating functionality for events between paired devices, because "paired" means "fully trusted", akin to a login.
Further, there's no precedent on how to facilitate "patch requests" across node operators. This is something we need to carefully flesh out, leveraging the existing system when possible.
Observations
Event stream handlers are only needed when you're publishing to the roaming state, as the latest roaming ipns published by other nodes cannot be retrieved when you're also publishing to it.
In other words, roaming data from another node operator is always read-only, and won't need an event stream handler to read the data. It's simple, static json that cannot be modified.
If you wanted to modify a read-only roaming state anyway, you could:

Create an event stream handler with an unpublished/empty event stream, starting at the read-only roaming state.
Use the handler normally to make local-only modifications.

The change won't be reflected in the roaming data since you aren't a paired source, but it would appear locally. This maintains the separation between node operators and offers a solid entry point for designing a "patch request" system.
Proposed Solutions
Given the above observations, we could extend the idea of local-only modifications to a "patch request" system.
Creating event stream diff
We can re-use a modifiable handler to create a diff of event stream entries against the current read-only state for the patch.

Create an event stream handler with an unpublished/empty event stream, starting at the read-only roaming state.
Use the handler normally to make local-only modifications.
When modifications are complete, collect the new event stream entries and publish the patch request for the read-only operator to see.

Publishing patch requests
Patch requests need to work in a fully p2p environment, which includes node operators keeping the common 'roaming' key online even as source nodes go online or offline. This is what Nomad was built to do, so we'll build this "patch request" using a standard Nomad setup.

To publish a patch request in a standard Nomad setup, you need:

A new local event stream key to hold updates to proposed patch diffs and metadata.
A new roaming key to consolidate changes from all nodes owned by a single operator.

Ideally, patch requests are published separately from instead of integrating with existing roaming data. This allows "patch request" events to be added to one or more local event stream while still consolidating those sources into a single "patches" roaming key.

Delivering patch requests
Users will also need a way to deliver the roaming key containing patch requests to the node operator of the read-only roaming data.
Available options are:

Mutual registration with a third party (Routed or registered + recurringly observed)

Depends on a third party to stay online

Ambient discovery (pubsub, real-time)

Works in a fully distributed manner
Discovery is probable, but not guaranteed

Manually added (recurringly observed)

To observe change requests, the roaming cid of another operator is supplied directly by the user or other tooling.

Our best option may be enabling a combination of these.
Handling patch requests
Change requests can either be handled manually or automatically via rulesets.
Open Questions

How is the requester notified of updates regarding their patch request?

Routing is delegated externally, so this depends on the consuming application.
Regardless of patch state reporting, a successful patch should be reflected by roaming/source.

This may be difficult to detect efficiently, depending on if the Cid of the patched event entry changes.

Do patch requests need expiration or cancellation?
How is a patch request stored in the local event stream?

Single, dedicated event entry wrapper?
Raw event entries as-is?
Any additional patch metadata?

Should the timestamp for an accepted patch be the time of request or the time of review?

Prerequisites
Needs https://github.com/Arlodotexe/OwlCore.Nomad/issues/3

Covering exploration of the idea of consuming an event stream source (partial pairing) directly from another node operator (co-operator), it's become apparent that using a single event stream source from another node operator isn't viable, as an event stream only represents one source device and could go offline.
The fix to this is to consume a roaming key instead, at which point your implementations is looking like just another Nomad module that could be bundled separately. Given this, it still makes sense to build a reuseable library for event stream patch requests between operators.


text:
citizens npcs throw error on server start

! [Sat 00:36:09 WARN  PlayerStats] Cannot calculate statistics for player-name: Keymaster! Double-check if the name is spelled correctly (including capital letters), or if any of your config settings exclude them
! [Sat 00:36:09 WARN  PlayerStats] Cannot calculate statistics for player-name: Parkour! Double-check if the name is spelled correctly (including capital letters), or if any of your config settings exclude them
These are npc's.  Although there are 4 other npc's. that do not cause this error.

Interesting, it looks like those NPC's are being registered as players somehow, which results in an error when PlayerStats tries to get a statistic from them. Do you have a hologram or other display with a top or server statistic in it, that loads when the server boots up?
I tried to replicate the issue, but player NPC's I create with Citizens2 don't cause the same error. Which version of Citizens are you using, and could you share the file that contains the NPC settings and save-data?

I do in fact use holograms that display player stats.  The hologram is in spawn.  It shows the players stats who is looking at the hologram.
Server Version 1.19.3
Citizens Version 2.0.30 b2890
DecentHologramsVersion 2.7.9
citizensnpcs.zip

I tried loading the NPC's from your saves.yml file, but that doesn't result in the same issue for me. I'm still very curious how this happens.
What command are you using to get the stats for the player who is looking at the hologram?
Do the errors happen only once at start-up, or do they keep going every 30 seconds or so?
And could it be that the problematic NPC's are looking at the hologram you have in spawn, so that it would try to get statistics for them?

Are you still having this issue with version 2.0 of PlayerStats and 2.0.0 of the PlayerStatsExpansion?
If so, what happens if you try to add one of the problem-causing NPS's to the exclude-list (with /statexclude add Keymaster)?

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
slack OAuth

Set up a complete OAuth flow. we should be able to

send messages as the bot to each user
receive slash commands
send interactive messages
get a list of usernames and user-Ids
send messages as the bot to the general channel

pair program on #25 and this. The two issues are closely related

Solved in #38

authors: alireza-a dtoki

repo: Artris/lazy-jar


text:
🛑 Telecomm-ServerInterno is down

In 6b26d6e, Telecomm-ServerInterno (https://www.telecomm.gob.mx/portal) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telecomm-ServerInterno is back up in 01bdca2.

repo: ArturooT/telecomm


text:
How to load ur gemma model

Hi there,When I load the model by fastchat or ollama there was the unrecognizable characters back to me, here is the example
### Instructions:
Your task is to convert a question into a SQL query, given a Postgres database schema.
Adhere to these rules:
- **Deliberately go through the question and database schema word by word** to appropriately answer the question
- **Use Table Aliases** to prevent ambiguity. For example, `SELECT table1.col1, table2.col1 FROM table1 JOIN table2 ON table1.id = table2.id`.
- When creating a ratio, always cast the numerator as float
### Input:
Generate a SQL query that answers the question `What product has the biggest fall in sales in 2022 compared to 2021? Give me the product name, the sales amount in both years, and the difference.`.
This query will run on a database whose schema is represented in this string:
CREATE TABLE products (
  product_id INTEGER PRIMARY KEY, -- Unique ID for each product
  name VARCHAR(50), -- Name of the product
  price DECIMAL(10,2), -- Price of each unit of the product
  quantity INTEGER  -- Current quantity in stock
);
CREATE TABLE customers (
   customer_id INTEGER PRIMARY KEY, -- Unique ID for each customer
   name VARCHAR(50), -- Name of the customer
   address VARCHAR(100) -- Mailing address of the customer
);
CREATE TABLE salespeople (
  salesperson_id INTEGER PRIMARY KEY, -- Unique ID for each salesperson
  name VARCHAR(50), -- Name of the salesperson
  region VARCHAR(50) -- Geographic sales region
);
CREATE TABLE sales (
  sale_id INTEGER PRIMARY KEY, -- Unique ID for each sale
  product_id INTEGER, -- ID of product sold
  customer_id INTEGER,  -- ID of customer who made purchase
  salesperson_id INTEGER, -- ID of salesperson who made the sale
  sale_date DATE, -- Date the sale occurred
  quantity INTEGER -- Quantity of product sold
);
CREATE TABLE product_suppliers (
  supplier_id INTEGER PRIMARY KEY, -- Unique ID for each supplier
  product_id INTEGER, -- Product ID supplied
  supply_price DECIMAL(10,2) -- Unit price charged by supplier
);
-- sales.product_id can be joined with products.product_id
-- sales.customer_id can be joined with customers.customer_id
-- sales.salesperson_id can be joined with salespeople.salesperson_id
-- product_suppliers.product_id can be joined with products.product_id
### Response:
Based on your instructions, here is the SQL query I have generated to answer the question `What product has the biggest fall in sales in 2022 compared to 2021? Give me the product name, the sales amount in both years, and the difference.`:

and the response of this prompt is
{
    "id": "chatcmpl-xymUktbgLjiVSbnBSttHj9",
    "object": "chat.completion",
    "created": 1712468851,
    "model": "sqlgemma",
    "choices": [
        {
            "index": 0,
            "message": {
                "role": "assistant",
                "content": "\n\nThis is the sql\nA\n 3333333333333333555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555577777778889999888888877777777000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
            },
            "finish_reason": "length"
        }
    ],
    "usage": {
        "prompt_tokens": 6939,
        "total_tokens": 8190,
        "completion_tokens": 1251
    }
}

Is there something wrong when i load the model?

loading model ~
model_id = "aryachakraborty/GEMMA-2B-NL-SQL"
bnb_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16
)

tokenizer = AutoTokenizer.from_pretrained(model_id, token=os.environ['HF_TOKEN'])
model = AutoModelForCausalLM.from_pretrained(model_id,
                                             quantization_config=bnb_config,
                                             device_map={"":0},
                                             token=os.environ['HF_TOKEN'])

here if you are working locally be sure to check that you are using GPU , if not then load the complete model.
Inference ~
Instructions = """Give the NAME who has the highest SALARY"""

Input = """CREATE TABLE `sample` (
  `NAME` text,
  `SALARY` int DEFAULT NULL,
  `STATE` text
)"""

alpeca_prompt = f"""Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: {Instructions}. ### Input: {Input}
### Response:
"""

alpeca_prompt.format(
  Instructions,
  Input)
device = "cuda:0"
inputs = tokenizer(alpeca_prompt, return_tensors="pt").to(device)

outputs = model.generate(**inputs, max_new_tokens=20)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Output ~
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Give the NAME who has the highest SALARY. ### Input: CREATE TABLE `sample` (
  `NAME` text,
  `SALARY` int DEFAULT NULL,
  `STATE` text
)
### Response:
SELECT `NAME` FROM `sample` ORDER BY `SALARY` DESC LIMIT 1

hope it helps 🏷. If any doubt fell free to connect

Hi there，Sorry to interrupt you again，I use the method that you gave to me yesterday.
Instructions = """Give the NAME who has the highest SALARY"""

Input = """CREATE TABLE `sample` (
  `NAME` text,
  `SALARY` int DEFAULT NULL,
  `STATE` text
)"""

alpeca_prompt = f"""Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: {Instructions}. ### Input: {Input}
### Response:
"""

alpeca_prompt.format(
  Instructions,
  Input)

the overall example is worked but if I change the long ddl text about 8120 tokens, the response is change to
### Response:

 below, VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR VARCHAR, 11111

if i change the part of  outputs = model.generate(**inputs, max_new_tokens=20) to outputs = model.generate(**inputs, max_new_tokens=200) it will gave me more response like VARCHAR, How 2 deal with this problem, Thank you for your response.

actually I have fine tuned the Gemma model for texts token size <=512 (because of limited resources). So this token size includes the complete input to the model including instruction & input. If you want to get accurate results for longer texts then you have to fine tune the model on such sample. It's just a demo model, should not be used for long input context.
This is the data I used Data (sample of less token length)
The actual source of this data is [source])(https://huggingface.co/datasets/Clinton/texttosqlv2_25000_v2)
this data contains longer input sequence, so if you want to get accurate results then feel free to fine tune on this whole data.
If you want help on that or any other query feel free to reach me.

actually I have fine tuned the Gemma model for texts token size <=512 (because of limited resources). So this token size includes the complete input to the model including instruction & input. If you want to get accurate results for longer texts then you have to fine tune the model on such sample. It's just a demo model, should not be used for long input context.
This is the data I used Data (sample of less token length)
The actual source of this data is source this data contains longer input sequence, so if you want to get accurate results then feel free to fine tune on this whole data.
If you want help on that or any other query feel free to reach me.

👌，Thank you for ur response!


text:
Add support for auto precision in 'number' template

The 'auto' precision option is not working as expected when using the 'number' template. It would be great if the 'number' template could support the 'auto' precision mode similar to how it works with the 'usd' template, just without the '$' sign. This would provide more flexibility and consistency in number formatting across different templates.

We've fixed the 'auto' precision in the 'number' template in v1.3

authors: gorfist mohammadanaraki

repo: ArzDigitalLabs/reduce-precision


text:
Music not playing

The music is not playing. I hear nothing. Only at the start the "Overtime" (10 seconds) is all I can hear. Please help me to fix it

i closed it accidentaly

Do you have music enabled in settings and music turned on in music settings?

I have turned on everything, here is a screenshot, only the pre-game "Overtime" jingle is everything I hear

Still no music for me after the Hotterfix 1.1.2 :(

I have turned on everything, here is a screenshot, only the pre-game "Overtime" jingle is everything I hear

Normally the "Jukebox/Note Blocks" option would be replaced with "MCC Music":

Are you using Fabric and have Fabric API installed? Can you send your Minecraft log?

Yes, I'm using Fabric and have the API installed as well. Here's my latest minecraft log if you're looking for this
latest.log

[19:09:27] [Render thread/INFO]: Connecting to play.MCCISLAND.net, 25565

play.MCCISLAND.net
https://github.com/AsoDesu/IslandUtils/blob/main/src/main/java/net/asodev/islandutils/state/MccIslandState.java#L29
Island Utils assumes that the IP address is all lowercase, like it should be. ;)

Thank you for helping me it's perfect now :))

authors: FayneAldan LukynkaCZE Standlord

repo: AsoDesu/IslandUtils


text:
Build error when using Anisotropic material

Current Behavior
When we're using the Anisotropic material the textures are correctly exported, but it create an error to build the package.

Expected Behavior
it should not cause any error
Steps To Reproduce

Add a simple mesh with an Anisotropic Material
Select Abd, Comp, Norm and Anisotropic RG textures
Export it
Then build the package

Environment
- OS: Windows 10
- Blender: 3.1.0
- glTF-Blender-IO-MSFS:1.0.0

Anything else?
Anisotropic_test (2).zip

this is an issue on the engine side..it will be fixed on next update

authors: BlueMeshs lpierabella

repo: AsoboStudio/glTF-Blender-IO-MSFS


text:
Strange asteroids displayed with large zoom

Starting with high zoom level, strange objects are displayed:

Not reproducible

repo: Astrarium/Astrarium


text:
fun e

What type of pull request is this?

[ ] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description

Changes

Checklist

[ ] I've formatted my code with Black
[ ] I've ensured my code works on Python 3.10.x
[ ] I've tested my code

/ok-to-test

/ok-to-test

source: gharchive/pull-request


text:
[BUG] AsyncCurrentValueStream element is not public

Unable to use property element. It isn't public
To Reproduce
Steps to reproduce the behavior:

use AsyncStreams.CurrentValue
attempt to print(currentValue.element)
See build error

let currentValue = AsyncStreams.CurrentValue<Int>(1)

Task {
    for try await element in currentValue {
        print(element)
    }
}

print(currentValue.element)  // error will occur

Expected behavior
Expect that element is accessible
Environment:

0.1.0

resolved by https://github.com/AsyncCommunity/AsyncExtensions/pull/5.
Thanks.

repo: AsyncCommunity/AsyncExtensions


text:
I have a question

How to decompile app.bin without downloading MANY other programs?

and also i mean i am trying to decompile it to app.js that will run succesfully

and also i mean i am trying to decompile it to app.js that will run succesfully

Никак
Мы с @lab313ru пробовали создать дизасемблер для View8 но пока не получилось
Я планирую писать что то свое чтобы декомпилировать байткод напрямую в с/с++

repo: AtDeadOfNight/cheats


text:
Added LU decomposition with complete pivoting

Let me know if I should add anything, or if I need to refactor things! I didn't add a number of functions that might be useful, like is_invertible, null_space, chosen_pivots, column_space, etc.

I just had a brief glance at the code, and from what I could see I'm very happy with it. Great job! I'll try to have a more thorough look over the next few days, but I'm due to hand in my thesis next week so please forgive me if I take long :)

Great, thanks! I actually have a question about errors and panics. Right now, FulPivLu::inverse returns an error on a non-square matrix, but somewhat arbitrarily, FullPivLu::det panics. Should they both be panics?
Good luck with your thesis!

A quick glance also looks good to me! Thanks for turning this in so quickly!
As for your question, I agree that this does seem like an inconsistency. My gut feeling is that we probably want to have both panic here as it is a non-recoverable user error. What do you think @Andlon ?

Sounds reasonable. Should trying to invert a non-invertible square matrix also be a panic?

Is decompose designed to work for rectangular matrices? I know it's possible to do LU decomposition for rectangular matrices, but I didn't have it in mind when I wrote PartialPivLu. If it doesn't already assert that the matrix is square in decompose it probably should. In any case, I think we have implicitly made a stance that dimension compatibility is the responsibility of the user and panic as early as possible in that case. To summarize:

We should probably assert this in both places and panic as a defensive measure.
If LU decomposition does not work for rectangular matrices (I don't expect it to?), it should absolutely panic in decompose upon being given a non-square matrix. In this case, det and inverse will never be called with a non-square matrix (but they should probably still assert in case we mess up some time in the future).

Sorry, haven't had the time to study the code in-depth, but I hope perhaps you can answer the question of rectangular LU decomposition!

Should trying to invert a non-invertible square matrix also be a panic?

@prismatica - No I'd say this should be an error. In this case the user might have a matrix which should be theoretically invertible but due to numeric instability is not. Here it would be preferable to give them an error informing them that the matrix could not be inverted.
For an example use case - we often have matrices in machine learning which are theoretically invertible but when computed may be singular. I prefer to see an error here so I can control the message to the user - perhaps suggesting a technique to ensure the matrix is non-singular (normally adding εI to the matrix). We could even automatically choose such an ε by adjusting and checking to see whether the inversion succeeds.

Is decompose designed to work for rectangular matrices?

Good question. So far I'm happy restricting LUP to square matrices (unless @prismatica has some insight here). As for other decompositions I think there are cases where we can work with non-square matrices so it shouldn't become a general restriction.

@prismatica: inverting a non-invertible matrix should return a result. The idea is the following:

Dimensions can be verified by the programmer at compile-time, so should panic.
Invertibility is a property of the data itself, in which case the programmer may not be to blame if the matrix is not invertible (i.e. it may have been supplied from e.g. an external source)

OK, I will make sure that all the new functions panic on dimensionality mismatch, but not on singularity.
As for rectangular matrices, I believe the current FullPivLu will work for them. There are a couple of tests that verify this, but if I overlooked something, please let me know.

@prismatica: I recall there being some notes on LU for rectangular matrices in Golub & Van Loan. Have you checked what it says there? I don't have the opportunity to read up on it right now. If we want to provide LU for rectangular matrices we need to know if it's i.e. numerically stable or if there are other issues (also, does it work equally well for tall and short matrices?). I've never used LU for anything but rectangular so it falls outside of my experience.
If we can actually reasonably guarantee that our implementation(s) also works for rectangular matrices, I'm all for it! While it's great that you wrote some tests for this case, we just need some more evidence that it's supposed to work for all (?) rectangular matrices too, since unit tests only test a very, very small number of potential cases :)

Also want to say that I think it's perfectly acceptable also to lock down to square matrices if it turns out that rectangular matrices are problematic. In this case we could also revisit the topic in the future if we wanted to.

Here's what Golub and Van Loan have to say about LU on rectangular matrices (third edition):

When discussing round-off errors, they say that "we mention that if A is m-by-n, then the theorem applies with n in (3.3.4) replaced by the smaller of n and m", where 3.3.4 is

This result is only for the no-pivot case, and their error analysis for the complete pivot algorithm only deals with square matrices.
I'd like to mention that Matlab and Eigen both support rectangular matrices in their LU (though I can't find what algorithm Matlab uses for its LU. It can support singular matrices, but only has a single permutation matrix applied on the left).
All that said, I'd of course be happy to back off the rectangular matrix support if you all feel like it's unsafe or premature!

From the resources you gave (thanks for those by the way!) it seems that the rectangular case is treated much the same as the square case and the same numerical stability guarantees are in place (more or less). Note that you said theorem 3.3.4 but gave theorem 3.3.1.
However - I think that we should introduce rectangular support in both the partial and full cases simultaneously. This can either be as part of this PR or in a new one. I think the latter option may make it easier to verify the results.

Alright, sounds good! So, to summarize, I will:

Change the errors to panics for dimensional mismatches
Remove the rectangular matrix support, deferring to another day
Maybe make a new feature request for the rectangular case?

I can get to these things in the next few days.
Also, I should have clarified, the (3.3.4) refers to the formula, not the theorem. It makes sense in context, but I was more-or-less arbitrarily copy-and-pasting :)

About the exact vs. epsilon-comparison: Does Golub & Van Loan have anything to say on this (I'm traveling atm)? I agree that a check against some epsilon value makes sense, but for robustness we would really need to make sure we use the right criterion. A check against T::epsilon() will not yield correct results for matrices that are scaled by a small constant factor. For example, consider the matrix A = 1e-16 * I, where I is the identity matrix. This matrix is perfectly invertible, but all of its values are smaller than f64::epsilon()! In this case, a better epsilon value would perhaps be something like max(A) * T::epsilon().
Note that both partial pivoting and i.e. triangular solves also suffer from this issue at the moment (they use T::epsilon() directly, so we don't have to address it for this particular PR.
To sum it up, I think it's safer to just use an exact test for this case, because the pivoting will make sure that it actually works in a robust fashion (this is not the case for PartialPivLu, where an approximate check is absolutely essential).
I will try to make an issue on the case of epsilon values in general throughout the library at a later time!
Have to run now, but will see if I can find the time for a final review today.

Thanks for both of your work on this - the PR looks to be in a really good place! Once we wrap up the final parts of the discussion I'm happy to merge this :)

OK, I think this recent set of changes addresses most of the comments in this PR. The things left for a future PR are:

Rectangular matrix support for both partial and full pivot LU
Allowing the user to specify the tolerance for computing the rank

Anything I missed?

Sure, I'd be happy to write up an issue for rectangular matrix support. I can probably get started in a few days. Thanks for everyone's guidance on this PR!

Great. Looks good to me now!
Though, to be super-nitpicky, I'm not a big fan of the introduction of unsafe in the last set of changes. I've been gradually pushing for less unsafe use in the library, essentially limiting it to places where it is absolutely neccessary (for performance reasons or borrow checker technicalities). However, I think this is not at all a big deal in this particular case, and I'd rather stop pestering you with minute changes, so it's OK for me to merge as is!

Ok - I'll merge this now. Thanks again @prismatica !

@AtheMathmo: I have some very extensive plans for improved testing across all decompositions once the API rework of the remaining decompositions are complete. This incorporates the QuickCheck-based test suite we've discussed before (testing for e.g. InvertibleMatrix, SingularMatrix, TallMatrix, ShortMatrix, IllConditionedMatrix and so on).
I can also say that I will most likely have a lot more free time for some extended period of time, starting next week, so I hope to get a lot of work done on the decompositions in the next few weeks. I've briefly started looking at QR already. Hopefully I'll have a PR ready next week.

@Andlon: That's great news! I envy you - I'm still thoroughly crushed by research and course work! I can only really be hopeful that in the summer I will have some free time to really dig into Rust again!
(Until then, I will still be as active as I can be. I'm just not in much of a position to start any exciting PRs myself :( )

@AtheMathmo: I can well understand! Luckily you've managed to recruit enough contributors that we should be able to hold the fort while you are indisposed :-)

authors: Andlon AtheMathmo prismatica

repo: AtheMathmo/rulinalg


text:
Memory alloc

This solves (largely) issue #26 . It also includes some improvements in terms of vectorization and code re-usability.
The PR includes changes to the underlying binary data operations (sum, subtract, element-wise multiplication, etc.). It also reuses memory when one of the incoming arguments is to be consumed (and has the appropriate size).
One aspect ignored in this PR is the reassignment of matrix data during square matrix multiplication. I figured this is a rare case in the problem domain but should be introduced later.

What did the benches say? That's always the best part! I like using https://github.com/BurntSushi/cargo-benchcmp to compare two benchmark result logs.

Added some benchmarks to the overview above.

nice

authors: AtheMathmo bluss

repo: AtheMathmo/rusty-machine

license: mit

license_source: bigquery


text:
Search doesn't work in some categories

expected behavior:
type in search box keywords greater than 3 characters long to filter content by title and contents. Returns only items that have the search term.
actual behavior:
In some categories, nothing shows up, not even the "No results found" screen, the loading bar at the top doesn't show up, just white. Same behavior on my website, on commafeed.com, in firefox, in opera, on read items, and unread items. I tried the "title.contains("search terms")" format, but that didn't work either. In other categories, search works as intended. Restarting the server did not help.
Here's the error in my log:
! java.lang.IllegalArgumentException: String input must not be null
! at org.jsoup.helper.Validate.notNull(Validate.java:26) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.jsoup.parser.TreeBuilder.initialiseParse(TreeBuilder.java:26) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:42) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.jsoup.parser.HtmlTreeBuilder.parse(HtmlTreeBuilder.java:53) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.jsoup.parser.Parser.parse(Parser.java:90) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.backend.feed.FeedUtils.removeUnwantedFromSearch(FeedUtils.java:498) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.frontend.resource.FeedREST.getFeedEntries(FeedREST.java:193) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
! at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
! at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:134) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.CacheBustingFilter.doFilter(CacheBustingFilter.java:23) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.CommaFeedApplication$4.doFilter(CommaFeedApplication.java:164) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.Server.handle(Server.java:499) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [commafeed.jar:2.3.0-SNAPSHOT]
! at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]```

It can be seen that commafeed thinks that I submitted a request to search for nothing. This error only happens, by the way, when the search term actually CAN be found. If the search term is not present in any item, then it just says the normal "No match found for the requested keywords"

Also, here's the error for a search term less than 3 characters long:
ERROR [2015-08-19 04:47:27,852] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 51382797b2ee19aa
! java.lang.IllegalArgumentException: null
! at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.frontend.resource.FeedREST.getFeedEntries(FeedREST.java:153) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
! at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
! at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:134) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.CacheBustingFilter.doFilter(CacheBustingFilter.java:23) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.CommaFeedApplication$4.doFilter(CommaFeedApplication.java:164) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.Server.handle(Server.java:499) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [commafeed.jar:2.3.0-SNAPSHOT]
! at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]
76.72.182.187 - - [19/Aug/2015:04:47:27 +0000] "GET /rest/feed/entries?id=2000&keywords=hu&limit=34&offset=0&order=desc&readType=all HTTP/1.1" 500 110 "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 29
76.72.182.187 - - [19/Aug/2015:04:47:36 +0000] "GET /rest/category/get HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 207
76.72.182.187 - - [19/Aug/2015:04:47:37 +0000] "GET /rest/category/get HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 189
76.72.182.187 - - [19/Aug/2015:04:47:38 +0000] "GET /rest/category/get HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 356
76.72.182.187 - - [19/Aug/2015:04:47:38 +0000] "GET /rest/category/get HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 487
76.72.182.187 - - [19/Aug/2015:04:47:38 +0000] "GET /rest/category/get HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 443
76.72.182.187 - - [19/Aug/2015:04:47:40 +0000] "POST /rest/feed/refresh HTTP/1.1" 200 - "https://logg.biz/commafeed/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0" 21
ERROR [2015-08-19 04:47:40,734] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 421c682500039ad0
! java.lang.IllegalArgumentException: null
! at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.frontend.resource.FeedREST.getFeedEntries(FeedREST.java:153) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66-internal]
! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66-internal]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66-internal]
! at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66-internal]
! at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308) ~[commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:134) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:43) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:38) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.servlets.CacheBustingFilter.doFilter(CacheBustingFilter.java:23) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.commafeed.CommaFeedApplication$4.doFilter(CommaFeedApplication.java:164) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240) [commafeed.jar:2.3.0-SNAPSHOT]
! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.Server.handle(Server.java:499) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [commafeed.jar:2.3.0-SNAPSHOT]
! at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [commafeed.jar:2.3.0-SNAPSHOT]
! at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66-internal]

Does this help ?

Yes it did. I can confirm that after recompiling with commit 447029a, the previously unsearchable categories are searchable, and return the results they're meant to.
Thanks for fixing another issue.

authors: Athou Hubcapp

repo: Athou/commafeed


text:
Add cities calculator

[x] Create cities tab, section, and description
[x] Make code wireframes of input boxes and other sub-sections
[x] Add data of all cities and their gem count
[x] Add lifetime gems calculator for user's city level
[x] Add gem prediction calculation for how many gems will be gained in the next cities

changes can be found here: #8

repo: AtlasWiki/ev


text:
Possible to display on other windows? Either in or outside the taskbar?

Description of your Suggestion
Ability to choose which monitor's taskbar the player displays.
Alternative Solutions
Either use some windows feature I am unaware of to display toolbar on non dominant monitor.
Extra (if applicable)
Maybe just a question, rather than a feature.

You have to change the primary monitor in windows settings, I don't think this is something that can be implimented

What he said, sadly Windows disallows Toolbars on secondary displays, meaning it can only ever be placed on the primary monitor.
Regarding displaying it outside of the Taskbar, we are working on getting a Tray Icon in the bottom right to do that functionality, but beside that there isn't much planned for such a feature

Going to close as it is outside the scope of this project. I don't currently know of any tool/windows version that allows for this (sadly enough)

repo: AudioBand/AudioBand


text:
Could not find module 'AudioKit' for target 'x86_64-apple-ios-simulator'

Describe the bug
When building the project with the latest stable Xcode (13.1), latest stable AudioKit (5.2.2) for iOS 15 simulator on mac M1, I get the error:

Could not find module 'AudioKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/me/Library/Developer/Xcode/DerivedData/my-app/Build/Products/Debug-iphonesimulator/AudioKit.swiftmodule

When building for a device, the error goes away.
Details (please complete the following information):

Xcode 13.1
Swift 5
Building for an iOS simulator 15.0
M1 mac
AudioKit Version 5.2.2
Added using SPM

I compile to the simulator every day on my M1 and have no problems. I can do a screen share with you if you like, but as far as I can tell this is not reproducible. It could be a problem with your set up.

Ok, for anyone else facing this error: the problem was with Excluded Architectures section in the Build Settings. arm64 was excluded for the iOS simulator, I don't remember when / why that setting was set:

Ahh, yes, I guess I have seen that before but it has happened to me personally. Hopefully this will help others. Thanks for the follow up.

authors: aure nalexn

repo: AudioKit/AudioKit


text:
Podfile issue

I had to fix the Podfile as follows in order to run pod update without errors:
target 'Enesco' do

    pod 'DOUAudioStreamer', '0.2.11'
    pod 'SDWebImage'
    pod 'GVUserDefaults'
    pod 'MBProgressHUD'
    pod 'Mantle', '1.5.5'
    pod 'AFNetworking', '~> 2.0'
end

Fixes here.

authors: Aufree loretoparisi

repo: Aufree/ESTMusicPlayer


text:
[Dev] Responsive UI refinement

Moving Polish from Large Polish Epic to Mobile / responsive Specific

Closing this Roadmap item. Rest of the issues have been moved into Sprint 16.

repo: AugurProject/augur


text:
Trading bug- multiple trades hitting up - incorrect position

Steps to reproduce:
Go to Binary market with existing order book:

buy 5 of "yes" (take 5 from existing offer)
Sell out 15 down to the 2nd price of the existing bids (for example if the order book is .28 bid for 10 and .25 bid for 20, add an order to sell 15 at .25
Expected behavior would be to sell 10 at .28 and 5 at .25

what is happening is I am getting 10 at .28, 5 at .25 and 10 at .25
The trade history shows the extra 10 and my position reflects this as well

canned yes no market
buy 5 Yes shares at 0.31
sell 15 shares of yes at .25
in Filled tab in market trade page, there is 3 entries when only 2 TX got signed. (in this instance the user got prompted to signed twice)

closing, not seeing this


text:
split out local addresses and local upload-block files from addresses.json and upload-block file

create local-addresses.json that gets merged in to addresses when SDK spins up.
.gitignore local-addresses.json
.gitignore local-upload-block....
this way only deployed testnet addresses are in addresses.json

We may be better off doing https://github.com/augurproject/augur/issues/2978 instead. Then we can get rid of addresses.json and also unblock the smoke test. That doesn't help us with upload-block-numbers.json however our local testing just uses 0 anyway so it doesn't make changed to that file.

I went ahead with this strategy instead of using CREATE2 because this can be done much faster.


text:
remove-commas-orderbook-tradehistory

removed commas for the trade history and order book. did this by adding a new option to format-number called removeComma which defaults to false.
https://github.com/AugurProject/augur/issues/5271

.value has no commas. I dont think we need to parse already formatted value.

authors: JohnDanz bthaile


text:
Authentication needed for URL

I have the app up and working with ngrok and it's working great, but anyone that has my URL can hit my ollama server unchecked. I see the option for a bearer token. Can you expand on how this can be used for authentication? I don't see anything in the Readme.

I am looking into this myself. I see this project (https://github.com/stephan-buckmaster/ruby-bearer-auth-proxy) as a solution, but I am hoping for Ollama to support this natively, or configure my nginx to do this. If someone figures this out, please post a solution here.

There is llamatunnel.com or https://github.com/mitja/llamatunnel

I would also like to see authentication support added.

authors: Josh-E-S frostronic tjmustard

repo: AugustDev/enchanted


text:
add icon-generator for custom icon displays

https://discord.com/channels/1238079245570281542/1260616189101604964

Please update from upstream and resolve conflicts. Change config-versions everywhere to 2, and put yours at the end of the migration steps.

authors: ErikSzabo Perwollnt

repo: AuroraNetworkStudios/AuroraLevels


text:
Bolding phone numbers

What do you need?
Guidance on whether we should bold phone numbers.
Which entry/section is this related to?
http://content-style-guide.apps.staging.digital.gov.au/az-indexes/b.html#bold

Related to #118

Content Clinic agreed not to bold phone numbers.

repo: AusDTO/gov-au-content-guide


text:
ASMIRT Workshop: Prepare data conversion and dose metric analysis Notebook

A Juputer notebook to run on Google CoLab to run the PyDicer pipeline, compute some dose metrics on the dataset converted and plot these metrics.

Hey team! Please add your planning poker estimate with Zenhub @anees-amir @dalmouiee @fahimirfanalam @Janetxxx @LoisHolloway @mffield @pchlap

authors: pchlap shivaniSkumar

repo: AustralianCancerDataNetwork/pydicer


text:
Fix array checking in getQuerySelector()

First off, massive kudos for your work on this library! I did find a rather sneaky bug outlined below.
Property existance checking is insufficient for determining the type of a variable and actually led to a bug in this case: <select> elements have a length property denoting the number of contained <option> elements; optimal-select would treat this element as an array, causing it to fail.

Thanks for your help. Will also check for the next release if there are other cases which are not covered yet.

authors: Autarc kasperisager

repo: Autarc/optimal-select


text:
CustomSerializer not working on web

Hey guys, I've implemented my own customserializer (WEB) for a mysql store and keys control, but after scanning the QRCode I always get the following error:
I means that I deserialize the store correctly, than deserialize the keys, then when the Controller tries to access linkMetadata, it throws a NullPointerException saying that the Serializer is null!
What could it be??
Call to deserializeStore with ClientType: WEB and UUID: 7e352762-1bd8-4e00-9acf-519b905d112f
Instance ID: 7e352762-1bd8-4e00-9acf-519b905d112f
Call to deserializeKeys with ClientType: WEB and UUID: 7e352762-1bd8-4e00-9acf-519b905d112f
Instance ID: 7e352762-1bd8-4e00-9acf-519b905d112f
2023-11-16 16:30:42.465 ERROR 1 --- [onPool-worker-2] ErrorHandler                             : Socket failure at UNKNOWN
  |   | 2023-11-16T16:30:42.466139321Z stderr F java.lang.NullPointerException: Cannot invoke "it.auties.whatsapp.controller.ControllerSerializer.linkMetadata(it.auties.whatsapp.controller.Controller)" because "this.serializer" is null
at it.auties.whatsapp.controller.Controller.phoneNumber(Controller.java:105)
at it.auties.whatsapp.socket.StreamHandler.saveCompanion(StreamHandler.java:1061)
at it.auties.whatsapp.socket.StreamHandler.confirmQrCode(StreamHandler.java:1009)
at it.auties.whatsapp.socket.StreamHandler.digestIq(StreamHandler.java:911)
at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:101)
at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:206)
at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:123)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
2023-11-16 16:30:42.466  WARN 1 --- [onPool-worker-2] ErrorHandler                             : Ignored failure
Instance is logged in

Spring is probably killing the @Service. I changed the idea for the controller and apparently it worked!
Sorry for opening this!


text:
🛑 Public API is down

In 8ae9791, Public API ($URL_PUBLIC_API) was down:

HTTP code: 403
Response time: 131 ms

Resolved: Public API is back up in 552809f after 8 minutes.

repo: AutohostAI/AutohostAI


text:
NRE in Avalonia.Media.MediaContext.CommitCompositor

Describe the bug

To Reproduce
I don't know how, as you can see I have 15 minutes on my debugging session, I was using my application, nothing special in particular when I got greeted with this error
Expected behavior
No exception
Desktop (please complete the following information):

OS: Windows 22H2 19045.2965
Version 11.0.0-rc1.1 with Avalonia.Controls.TreeDataGrid 11.0.0-preview8 which does not work

Additional context
I have a minidump with heap for a Avalonia developer if needed

https://github.com/AvaloniaUI/Avalonia/pull/11605

authors: TETYYS rabbitism

repo: AvaloniaUI/Avalonia


text:
XamlParseException when building in Release with DataGrid

Describe the bug
When adding a DataGrid element to the avalonia.mvvm template by following the guide in the documentation, Release configuration builds fail with CSC : error AXN0002: XamlX.XamlParseException: Unable to resolve type DataGrid from namespace https://github.com/avaloniaui.
To Reproduce
Steps to reproduce the behavior:

Set up the template with dotnet new avalonia.mvvm -o datagrid-bug && cd datagrid-bug
Note that dotnet build . -c Release and dotnet build . -c Debug work fine
Using the guide, add a DataGrid to the template (see attached datagrid-bug.txt)
dotnet build . -c Release now shows errors while dotnet build . -c Debug still works

Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/marcdi/src/datagrid-bug/datagrid-bug.csproj (in 304 ms).
  GenerateAvaloniaResourcesTask -> Root: /home/marcdi/src/datagrid-bug, 3 resources, Output:obj/Release/net6.0//Avalonia/resources
  avares -> name:/Assets/avalonia-logo.ico, path: /home/marcdi/src/datagrid-bug/Assets/avalonia-logo.ico, size:176111, ItemSpec:Assets/avalonia-logo.ico
  avares -> name:/App.axaml, path: /home/marcdi/src/datagrid-bug/App.axaml, size:491, ItemSpec:App.axaml
  avares -> name:/Views/MainWindow.axaml, path: /home/marcdi/src/datagrid-bug/Views/MainWindow.axaml, size:675, ItemSpec:Views/MainWindow.axaml
CSC : error AXN0002: XamlX.XamlParseException: Unable to resolve type DataGrid from namespace https://github.com/avaloniaui Line 16, position 10. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(13,36): warning CS8618: Non-nullable property 'People' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/Views/MainWindow.axaml.cs(9,13): error CS0103: The name 'InitializeComponent' does not exist in the current context [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(7,23): warning CS8618: Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(8,23): warning CS8618: Non-nullable property 'LastName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]

Build FAILED.

/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(13,36): warning CS8618: Non-nullable property 'People' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(7,23): warning CS8618: Non-nullable property 'FirstName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/ViewModels/MainWindowViewModel.cs(8,23): warning CS8618: Non-nullable property 'LastName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
CSC : error AXN0002: XamlX.XamlParseException: Unable to resolve type DataGrid from namespace https://github.com/avaloniaui Line 16, position 10. [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
/home/marcdi/src/datagrid-bug/Views/MainWindow.axaml.cs(9,13): error CS0103: The name 'InitializeComponent' does not exist in the current context [/home/marcdi/src/datagrid-bug/datagrid-bug.csproj]
    3 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.27

(the nullable warnings can be ignored in this case)
Expected behavior
No build errors in Release
Desktop (please complete the following information):

OS: Linux
Version Ubuntu 22.04
dotnet --version is 6.0.301

Additional context
The template uses 0.10.14 but the issue reproduces if you upgrade the template to 0.10.16.

See https://github.com/AvaloniaUI/Avalonia/discussions/8463

Aha, that makes some sense thanks. Can this be added to the documentation for DataGrid though?

@mdiluz makes sense. Added https://github.com/AvaloniaUI/Documentation/blob/master/docs/controls/datagrid/README.md#reference-required-nuget-package


text:
[WIP] Text processing fixes

What does the pull request do?

Fix RightToLeft selection
Fix dynamic inlines
Fix font fallback
Prevent a crash when no TextTrimming is set
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 0.10.999-cibuild0022712-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0022714-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0022742-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0022753-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

authors: Gillibald avaloniaui-team


text:
Unable to connect from local IP, mac; >5.0.0

I run a server at http://localhost:9090/ and I was able to access it with my local ip http://100.63.31.82:9090/
It works in 5.0.0 but doesn't work in the next versions.

+1

i was the same problem, but with the port 3000, and It works good with:
gulp.task('connect', function () {
connect.server({
root: './',
host: '0.0.0.0',
port: 3000,
liveload: true

authors: Sanchez3 amatiash emazzu

repo: AveVlad/gulp-connect


text:
Lua error

Hey,
I'm sometime getting some lua errors :
[C]: in function `SetValue'
YaHT\YaHT-2140.nil.lua:332: in function `?'
YaHT\YaHT-2140.nil.lua:430: in function <YaHT\YaHT.lua:425>
[C]: in function `StrafeLeftStart'
[string "STRAFELEFT"]:2: in function <[string "STRAFELEFT"]:1>

Locals:
InCombatSkipped

I didn't find what cause it yet, trying to find out !

It look like it's related to an aborted cast

It look like it's related to an aborted cast

repo: Aviana/YaHT

license: Unlicense


text:
Something changed while fetching userinfo between 2 versions.

Issue and Steps to Reproduce
Hi @guillaume-chervet , There is something changed between 7.14.1 and 7.21.0.
Before in 7.14.1 my userinfo fetch was working fine, authorization header going with Bearer xxxxx in header.

In new version 7.21.0 i was getting 401 error while getting userinfo. there is something changed as it was going as PoP xxxxx in authorization header.

pls refer the Authorization header starting value in Attached screenshots. when i tried the failed request manually through postman with Authorization : Bearer xxxxxxx ... it was working fine.
seems like something got changed in recent versions.
Could you please look into it. Thanks in Advance

Versions
7.14.1 and 7.21.0
Screenshots
Expected
Actual
Additional Details

Installed packages:

Hi @bhargavmullakuru thnak you for your feedback again :)
Hi need to set up a configurable way to inject dpop or not to a domains or not. I do not know how yet :/
https://github.com/AxaFrance/oidc-client/blob/ef1597ea2c6d41e8d61b6a27bc26f6ad40304a50/packages/oidc-client/src/fetch.ts#L24

I have just published version 7.22.0-alpha.1416 that should do the job @bhargavmullakuru .

Let me check it. Thanks @guillaume-chervet

It's working now. Pls let me know once it is released. i will update the version. Thanks @guillaume-chervet

is it merged to main and released @guillaume-chervet  ?. so that we can close this issue. Thanks

Hi @bhargavmullakuru , thank you for your feedback.
I will try to merge it before the end of the week.

I published version 7.22.0 @bhargavmullakuru .
Thank you again.

Thanks @guillaume-chervet  . closing this

authors: bhargavmullakuru guillaume-chervet

repo: AxaFrance/oidc-client


text:
Infinite loop after successful login with keycloak

Issue and Steps to Reproduce
I am using this library with keycloak but i am having some issues after login successful. The configuration of the provider is this:

const configuration: OidcConfiguration = {
client_id: process.env.APP_KEYCLOAK_CLIENT_ID ?? '',
redirect_uri: ${window.location.origin}/route_of_my_app,
silent_redirect_uri: ${window.location.origin}/route_of_my_app,
silent_login_uri: ${window.location.origin}/route_of_my_app,
scope: 'openid',
authority: 'https://url/realms/app',
service_worker_relative_url: '/OidcServiceWorker.js',
service_worker_only: true,
authority_configuration: {
issuer: 'https://url/realms/app',
authorization_endpoint: 'https://url/realms/app/protocol/openid-connect/auth',
token_endpoint: 'https://url/realms/app/protocol/openid-connect/token',
revocation_endpoint: 'https://url/realms/app/protocol/openid-connect/revoke',
end_session_endpoint: 'https://url/realms/app/protocol/openid-connect/logout',
},
extras: {
response_mode: 'fragment',
response_type: 'code',
}
};

I am not sure about the route that I have to put in the redirect_uri field because I have seen that in the examples are using /authentication/callback and in my case I am using a route of the react-router. Maybe I am having a bug in my code but I think that I am not understanding the correct way to do a successful redirect.
Thanks in advance!
Versions
Screenshots
Expected
Actual
Additional Details

Installed packages:

Hi @SoniaGarciaMind ,
Thank you for your issue.
You do not need to set up a declared route.
You need to set up an unused route as a callback and to declare it in keycloack.

Hi I test this possible solution introducing this url in the valid redirect URIs http://localhost:3000/authentication/callback/* but now I am receiving a 404 error:

In addition, I am not sure how is it possible to redirect to my app if this route is not supported by react-router.
Thanks in advance!

Hi @SoniaGarciaMind
It is because it is a single page application and your server need to return your index configuration. It is a configuration to set at server side.
You may try to use hash url like:
http://localhost:3000/#authentication/callback/
With # url you do not need new server configuration.

Hi @guillaume-chervet I continue with the infinite loop that goes to the application and returns to the path http://localhost:3000/#authentication/callback/

@guillaume-chervet It´s seems that this problem is solved but now I am receiving this error although I have this domain in the file

OidcServiceWorker.js:19 Uncaught Error: Domain https://url/realms/app/protocol/openid-connect/token is not trusted, please add domain in OidcTrustedDomains.js
at x (OidcServiceWorker.js:19:11)
at OidcServiceWorker.js:310:9
at Array.forEach ()

File:
const trustedDomains = {
default: [
'https://url',
'https://url/realms/app/protocol/openid-connect/token'
]
};
Thanks in advanced!

Hi @SoniaGarciaMind , you can try to disable service worker to check if it works?

Hi @guillaume-chervet I tried to comment the lines in the configuration object that I am passing to the OidcProvider but this cause a crash in my application because I am using the useOid hook. Is there any different way to disable de service-worker? I disable the cache of the navigator (Chrome) and unregister the service-worker but it produces the same error:

OidcServiceWorker.js:19 Uncaught Error: Domain https://url/realms/app/protocol/openid-connect/token is not trusted, please add domain in OidcTrustedDomains.js
at x (OidcServiceWorker.js:19:11)
at OidcServiceWorker.js:310:9
at Array.forEach ()

Hi @SoniaGarciaMind , did you success to make it works? Do you have more detail about your code?

authors: SoniaGarciaMind guillaume-chervet

repo: AxaFrance/react-oidc


text:
Device support for PXN 6603

Hi, is it possible to use a pxn controller or give support to it.

Also interested in this request. Mine PXN 6603 doesn't connects to windows 10

authors: Norweigian kimromanov

repo: Axadiw/MFIGamepadFeeder


text:
EventSourcingRepository should only handle DomainEvents for the type of the Repository

In the case that 2 different typed aggregates share the same aggregateIdentifier currently during the load an org.axonframework.eventsourcing.IncompatibleAggregateException can be thrown with the message:

Aggregate identifier must be non-null after applying an event. Make sure the aggregate identifier is initialized at the latest when handling the creation event.

If the first event in the stream is the creation event of the other type the creation of the aggregate fails with the IncompatibleAggregateException. With Axon 2 the EventSourcingRepository fetched the events for the given aggregatetype and identifier and with Axon 3 the EventStore only searches with the aggregateIdentifier resulting in a mixed stream when 2 different typed aggregates share the same identifier.
The EventSourcingRepository knows the type of the aggregate and the DomainEventMessage also knows the type it applies to. By filtering out the DomainEventMessages that cannot be applied to the aggregate type a clean stream is created for loading the aggregate.

This seems like a reasonable addition to the EventStorageEngine to me. Any objections to this, @abuijze / @m1l4n54v1c ?

Makes sense to me. Added the comment in opened PR regarding the implementation approach.

authors: abbierwolf m1l4n54v1c smcvb

repo: AxonFramework/AxonFramework


text:
Move Mongo, AMQP, Kafka, Spring Cloud and JGroups related components to separate repos

The Axon project is slowly gaining in size. For new components, it is unclear what their status is, and in some cases they need to follow a slightly different release cycle, especially during incubation time.
The AxonFramework/AxonFramework repository should contain "core axon" components. These are the current components in axon-core, as well as axon-test and the spring related components (which have reached a high maturity level).
AutoConfiguration classes for these components that are currently located in axon-spring-boot-autoconfigure must be relocated to a module for autoconfiguration in these new repositories.

This issue has been resolved in commit a161e82, hence closing.

authors: abuijze smcvb


text:
Maximum possible subtree sum in a tree

Aim
Largest subtree sum in a tree
Details

This is the most famous question of  GFG asked many times in interview
We will be provided a binary tree and we will find the maximum possible subtree sum in a tree.

Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

can I provide my code in Java under LGMSOC21 @Saurabh4626

Can I try in python under lgmsoc?

Go Ahead @siddhi-244 @kamleshjoshi8102

@ravikr126 sir my pull request not merged


text:
Count number of 1's in sorted array using Binary search

Given a sorted binary array. We need to count number of 1's present in a array using binary search.
I would like to work on this in cpp under LGMSOC'21
Leave it unchecked Owner will mark it :)
-->

[ ] C
[ ] C++
[ ] Java
[ ] Python

Can I solve this in cpp?

Please assign me this issue

Hii can I go with python?

@Amit366 Please Assign me this issue . I will solve it in C++.
LGM-SOC'21
Thank You

Can I solve this issue??


text:
[1.12.2] [Request] Dimension blacklist or whitelist for world generation

The Viscrystals are spreaded in all dimensions, espacially the Abyssalcraft ones, where they shouldn't be. It would be useful to control this via the config file.

This is not a bug. If you are making suggestions, head to the right section.

authors: AnrDaemon NickelHub

repo: Azanor/thaumcraft-beta


text:
Do not log failing fetch retry attempts

It's annoying for the user to see all the retries done by our retrying-fetch under the hood, especially with the so frequent SocketError we still have. We should only show an error if all retries have been consumed.
Requested on Discord along with #2007

QoL request re: makeFetch errors
when testing, I send a tx that I know will fail. it will print the error foundation:retry ERROR Error: Assertion failed: '...' three times via the makeFetch retry. This doesn't have any positive purpose IMO since the ts interface will throw an error for the dev to handle. It should probably also short-circuit the retry loop if the error is Assertion failed:
the fetch failed error SocketError: other side closed is common and clutters the cli too. Instead of logging this error, it should just throw if all retries fail and let the dev handle it
I know the api optionally takes DebugLogger but I am not providing it. I think the ideal situation would be to log retry errors only if the debug logger is provided.

Fixed in #2015

authors: spalladino spypsy

repo: AztecProtocol/aztec-packages


text:
Rename NEW_COMMITMENTS_LENGTH to COMMITMENTS_PER_KERNEL

NEW_COMMITMENTS_LENGTH does not convey the meaning of what it actually is. It is the number of new commitments that are generated by one private/public function call. In solidity though, the same constant is called as COMMITMENTS_PER_KERNEL. We should be consistent with this naming and it makes more sense to call it COMMITMENTS_PER_KERNEL instead of NEW_COMMITMENTS_LENGTH.

This was resolved as part of pull request https://github.com/AztecProtocol/aztec-packages/pull/998
Naming was agreed to be MAX_NEW_COMMITMENTS_PER_TX resp. MAX_NEW_COMMITMENTS_PER_CALL.


text:
ImageAnalysisErrorReason.CONNECTION_FAILURE, Error code: 3

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce
Problem: Tried Image Analysis 4.0 preview Version (https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40?tabs=visual-studio%2Clinux&pivots=programming-language-python) and sdk in import azure.ai.vision as sdk doesn't work in Jupyter Notebook on Jupyter Container but it works as a curl command.
Ran the code with an URL and a local image from https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/python/image-analysis/samples.py
Used the right format for endpoint: https://<your-computer-vision-resource-name>.cognitiveservices.azure.com - like described in https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/python/image-analysis#troubleshooting
The api key and resource is also valid and works with Version 3.2 and with the following request tool https://eastus.dev.cognitive.microsoft.com/docs/services/unified-vision-apis-public-preview-2023-04-01-preview/operations/61d65934cd35050c20f73ab6/console
Also works on shell with a random picture URL:
curl -H "Host: https://<your-computer-vision-resource-name>.cognitiveservices.azure.com" -H "Ocp-Apim-Subscription-Key: $(pbpaste)" -H "Content-Type: application/json" -d '{"url": "https://www.kinderfunkkolleggeld.de/application/files/5214/4476/9885/Wie_entstehen_Preise.jpg"}' "https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=read&language=de&gender-neutral-caption=False"

Any log messages given by the failure
With local image as input:
Analysis failed.
   Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
   Error code: 3
   Error message: Failed with error: HTTPAPI_OPEN_REQUEST_FAILED [0x3 | 2550]
POST https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=read&language=de

With URL as input:
Analysis failed.
   Error reason: ImageAnalysisErrorReason.CONNECTION_FAILURE
   Error code: 3
   Error message: Failed with error: HTTPAPI_OPEN_REQUEST_FAILED [0x3 | 2550]
POST https://<your-computer-vision-resource-name>.cognitiveservices.azure.com/computervision/imageanalysis:analyze?api-version=2023-02-01-preview&features=caption%2Cread&gender-neutral-caption=false&language=de

Expected/desired behavior
For URL:
{"readResult":{"stringIndexType":"TextElements","content":"10 ,- €\n2,50 €\n4,80 €","pages":[{"height":500.0,"width":500.0,"angle":-7.1313,"pageNumber":1,"words":[{"content":"10","boundingBox":[235.0,155.0,266.0,156.0,265.0,192.0,234.0,191.0],"confidence":0.998,"span":{"offset":0,"length":2}},{"content":",-","boundingBox":[273.0,156.0,297.0,156.0,296.0,192.0,272.0,192.0],"confidence":0.994,"span":{"offset":3,"length":2}},{"content":"€","boundingBox":[304.0,156.0,325.0,157.0,325.0,193.0,304.0,192.0],"confidence":0.995,"span":{"offset":6,"length":1}},{"content":"2,50","boundingBox":[89.0,300.0,159.0,291.0,163.0,329.0,94.0,338.0],"confidence":0.991,"span":{"offset":8,"length":4}},{"content":"€","boundingBox":[167.0,290.0,191.0,289.0,196.0,325.0,172.0,328.0],"confidence":0.989,"span":{"offset":13,"length":1}},{"content":"4,80","boundingBox":[307.0,298.0,377.0,287.0,383.0,324.0,313.0,335.0],"confidence":0.991,"span":{"offset":15,"length":4}},{"content":"€","boundingBox":[385.0,286.0,406.0,284.0,412.0,319.0,391.0,322.0],"confidence":0.996,"span":{"offset":20,"length":1}}],"spans":[{"offset":0,"length":21}],"lines":[{"content":"10 ,- €","boundingBox":[233.0,155.0,331.0,157.0,330.0,193.0,233.0,191.0],"spans":[{"offset":0,"length":7}]},{"content":"2,50 €","boundingBox":[88.0,301.0,197.0,289.0,200.0,323.0,93.0,338.0],"spans":[{"offset":8,"length":6}]},{"content":"4,80 €","boundingBox":[307.0,299.0,412.0,284.0,417.0,317.0,311.0,335.0],"spans":[{"offset":15,"length":6}]}]}],"styles":[],"modelVersion":"2022-04-30"},"modelVersion":"2023-02-01-preview","metadata":{"width":500,"height":500}}%

Or result for local images.
OS and Version?
Used a Jupyter Container because the pip azure-ai-vision package  doesn't comply with macOS so far.
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
Versions
Python 3.9.17
azure-ai-vision 0.13.0b1
Mention any other details that might be useful
Already read this issue: https://github.com/Azure-Samples/azure-ai-vision-sdk/issues/40
Created a docker file where the version openssl-1.1.1u was already patched.

Thanks! We'll be in touch soon.

@dargilco we ran jupyter notebook in docker linux mode by setting
export DOCKER_DEFAULT_PLATFORM=linux/amd64
to force docker to emulate a underlying linux platform

on a macOS machine?

@dargilco yes

authors: Schnubbeldibuh dargilco

repo: Azure-Samples/azure-ai-vision-sdk


text:
scaffolded azure web app

created functionality to upload to azure blob storage

pointing to wrong brancv


text:
Speech from UI does not work when using RBAC

Describe the bug
The UI fetches the key for the Azure Speech Service from the /api/config endpoint, however there is no value for the key when using RBAC, therefore it fails. We need to somehow get speech service to work even when there is no key.
Expected behavior
Can input query from the UI using voice.
How does this bug make you feel?
😖

Debugging information
Steps to reproduce

Deploy solution with AZURE_AUTH_TYPE=rbac
Navigate to UI
Press microphone
Check console

Screenshots
If applicable, add screenshots to help explain your problem.

Tasks
To be filled in by the engineer picking up the issue

[ ] Task 1
[ ] Task 2
[ ] ...

This should be completed by #101


text:
Update Invoke-PolicyToBicep.ps1 Scripts to Handle -'s and  's (spaces)

Overview/Summary
Update Invoke-PolicyToBicep.ps1 Scripts to Handle -'s and  's (spaces)
This PR fixes/adds/changes/removes

Update Invoke-PolicyToBicep.ps1 Scripts to Handle -'s and  's (spaces)

Breaking Changes
None.
Testing Evidence
Local testing with ISD colleague has proved successful

As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[x] Checked for duplicate Pull Requests
[x] Associated it with relevant GitHub Issues
[x] (ALZ Bicep Core Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[ ] Updated one or more of the following tests (if required)

Unit
Linting
E2E (End-To-End)
ValidateAzCloud (Base validation in Azure Cloud)
ValidateMcCloud (Base validation in Azure China Cloud)

[x] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Wiki Docs etc.)
[ ] If relevant, created or updated Code Tours here

additional Task woulb be: escape ' in names

additional Task woulb be: escape ' in names

Hey @SeSeicht could you provide some more explanation or screenshots of what you mean here as I can't work it out 👍

additional Task woulb be: escape ' in names

Hey @SeSeicht could you provide some more explanation or screenshots of what you mean here as I can't work it out 👍

This for example

/azp run validateazcloud

repo: Azure/ALZ-Bicep


text:
Add Service Principal for image sync

Add a service principal intended for image sync processes. It requires accesss to the service key vault to read pull secrets. It additionally requires access to the ACR (Push).
What this PR does
Jira:
Link to demo recording:
Special notes for your reviewer

I'm fine using kubelet's identity to pull and push images for now until we enable workload identity on https://github.com/Azure/msi-acrpull and bootstrap it in these clusters. However, before we onboard any real customers I need a complete isolation from the svc cluster that runs the service.
cc: @bennerv

I'm fine using kubelet's identity to pull and push images for now until we enable workload identity on https://github.com/Azure/msi-acrpull and bootstrap it in these clusters. This will allow us to decouple image pull from node's IMDS/kubelet MSI so that we can manage it by namespace. However, before we onboard any real customers I need a complete isolation from the svc cluster that runs the service.
cc: @bennerv

👍
I raised this last week.  We have a card (https://issues.redhat.com/browse/ARO-9404) to change it later down the road before we hit Prod.

authors: bennerv janboll weinong

repo: Azure/ARO-HCP


text:
AAD issue - Authorization_IdentityNotFound

E2E failures in https://msazure.visualstudio.com/AzureRedHatOpenShift/_build/results?buildId=30596506&view=results .
The Authorization_IdentityNotFound needs retries to be added into the code
cc @jim-minter @m1kola

This is probably caused by AAD sync delay. We are waiting for up to two minutes in pkg/util/aad.GetToken:
https://github.com/Azure/ARO-RP/blob/18151743dec9560a1f908b3821d085eff813e072/pkg/util/aad/aad.go#L52-L53
It seems like it is enoguh in most cases to get the token. However when we progress further with the token, we get Authorization_IdentityNotFound in response for call GetServicePrincipalsIDByAppID here:
https://github.com/Azure/ARO-RP/blob/18151743dec9560a1f908b3821d085eff813e072/pkg/install/deploystorage.go#L106-L109
Not sure how to validate this, but it probably worth adding re-tries to deployStorageTemplate.

repo: Azure/ARO-RP


text:
Use Kiota to generate the Graph SDK, instead of using msgraphsdk

Fixes https://issues.redhat.com/browse/ARO-4054
This removes the msgraphsdk dependency with built versions based on a cut-down OpenAPI specification. This allows us to remove a lot of code and cuts CI time in half and a good 10 minutes off E2E (from building).

I'd also like to see a knowledge share around Kiota, maybe in the architecture review forum? This is a big change with a neat new tool. 😃

I'd also like to see a knowledge share around Kiota, maybe in the architecture review forum? This is a big change with a neat new tool. 😃

Kiota is the same tool used to generate the official SDK, it just uses the whole openapi specification instead of the cut down one I've put in. Functionally, the only changes are imports, initialisers from the SDK, and some error handling function name changes to match newer Kiota versions (since I used the latest stable).

Due to the amount of changes in this PR - I request this be broken into two PRs. One with the generated graph and vendored changes and one with the changes to use the new graph SDK.
Beyond that putting the changes for vendor in to a seperate commit will allow for review in Github much easier.

@lranjbar I've already got each of the changes in separate commits for review -- it should be possible to step through them individually and skip the go mod vendor ones.
We also can't break master, so it would have to be one of adding the generated but unused code, and then another switching to the new code and deleting the old stuff -- the moment we stop using it, go mod vendor will trim the import tree and cause all of the vendor changes.

Due to the amount of changes in this PR - I request this be broken into two PRs. One with the generated graph and vendored changes and one with the changes to use the new graph SDK.
Beyond that putting the changes for vendor in to a seperate commit will allow for review in Github much easier.

@lranjbar I've already got each of the changes in separate commits for review -- it should be possible to step through them individually and skip the go mod vendor ones.
We also can't break master, so it would have to be one of adding the generated but unused code, and then another switching to the new code and deleting the old stuff -- the moment we stop using it, go mod vendor will trim the import tree and cause all of the vendor changes.

Yeah I'm aware it would create a chain of events like that. This change seems to be large enough where it warrants multiple PRs. I did walk through the commits yesterday, but it is not really easy to review in this state. I'll let others decide their own opinion on that but as it stands it's just too much change in one PR IMO.

@lranjbar I've rebased the PR to make some of the commits clearer, apart from the generation and vendoring it's ~20LoC of non-copied or non-generated golang code change, which should be a bit clearer.

authors: hawkowl lranjbar


text:
Add alerts smoke test

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-9826
What this PR does / why we need it:

This PR adds a test that checks if any alerts are firing.
Test plan for issue:

Run E2E_LABEL=smoke make test-e2e locally.
Is there any documentation that needs to be updated for this PR?

N/A
How do you know this will function as expected in production?

Not production feature.

/azp run ci,e2e

/azp run e2e

authors: bitoku tiguelu