Wrong Credits

Hi @eug-lena, I believe you credited me here by mistake:
https://github.com/eug-lena/cyber-physical-systems/commit/884e379f4230a4aff6c27b37edc666945ddd268c
You were probably trying to credit Adrian Hassa @Adrian2901

You probably have to rebase then force push (rewrite the history) and it's probably not worth the hassle. Let's just live with it :)


Update bindgen to fix build problems in Fedora (v4l2)

Original issue: https://github.com/HULKs/hulk/issues/352
Further digging found that the upstream (14.x) works fine which has an updated bindgen version. To keep things simple I updated bindgen in v4l-sys crates to latest bindgen to have least changes with HULKs patches.

Is this okay to be merged?
FYI I've added a tag to the current status of the hulksChanges branch; 0.12.1+hulks-1 as this branch originates from the upstream release 0.12.1
Once this is merged, I'll push a tag 0.12.1+hulks-2 identifying the changes.


Accounts: Enable notification for accounts change

Looks like the CI build failed with issues in the account management code. Can you fix and update the PR?


bug: Make internal::ConnectionImpl thread-safe.

Fixes #423.

This change is

For what is worth: both the tsan build and helgrind detect problems when I remove the code using the mu_ mutex. Both pass with the current code.

What we want is to return the session exactly once. I think (but check my math) that to achieve this we need to disallow copy on SessionHolder, and make the move copy and assignment clear something to make sure the destructor only takes action once.

Do we even need move copy and assignment?  Can we just make session_ and conn_ const to stop anything bad from happening to a SessionHolder?

What we want is to return the session exactly once. I think (but check my math) that to achieve this we need to disallow copy on SessionHolder, and make the move copy and assignment clear something to make sure the destructor only takes action once.

Do we even need move copy and assignment? Can we just make session_ and conn_ const to stop anything bad from happening to a SessionHolder?

I think we need at least a move constructor because we put SessionHolder in a StatusOr<SessionHolder>.

@devbww PTAL.

Rebased to resolve conflicts.

Have you looked at the TSan failure (I haven't :-).

I noticed a few minutes before you asked, so far nothing obvious, and I needed to change the TSAN build to include line numbers.

Good news, it was a bug in the test. Fixed now, ran 1000 iterations of the test without error.  Rebased for good measure and will update the .bazelrc file in a separate PR.


byteorder: Simplify byteorder package

pkg/byteorder introduced in #730 uses a mix of unsafe, reflection, unchecked type assertions, and panics to handle byte order conversions, and the tests would only pass on little endian machines.
This PR replaces the package with much simpler functions and fixes the tests.
As this PR touches several parts of the code it should probably only be merged once 1.10 is released.

test-me-please

CI is failing due to the current GitHub Actions outage.

test-me-please

test-me-please

ci-aks

ci-gke

test-me-please

test-me-please

test-me-please

test-me-please

ci-aks
Failure is #16292.

test-gke
New flake I think: #16337

test-gke

test-1.21-4.9

Hmm, the two previous comments don't seem to have re-triggered the relevant tests. Specifically, clicking on "Details" for the failing tests links to yesterday's runs. Will try again.

test-gke

test-1.21-4.9

test-1.21-4.9

test-gke

test-gke

ci-aks

test-1.21-4.9 failure is flake #16237.
Almost all checks have passed, and the change is small, so marking this as ready-to-merge.


Added catbox.moe entry to image uploader page

zneix took a look and found out that it can't be used

Is it necessary to add an entry for every specific image upload service that isn't currently supported by Chatterino? I feel like it would better to just expand on the section on the requirements of the inbuilt image uploader.


The radar's maximum can set by myself ?

I see fetch is the maximum value of the data

Duplicate of #1090


Making artifacts more machine-readable

At the moment, the tasks just place files under .ods/artifacts and those files get uploaded. There is no restriction on file type or content. It might make sense to define a common type and format so that other tasks reading artifacts can better understand what the artifact is about.
For example, we could require all artifacts to be JSON, and have some common fields, such as time, type, content. The type could use reverse DNS namespacing, e.g .org.opendevstack.pipeline.image-digest. The content would hold the information that is currently present in the artifacts. To ensure this works well with JSON, content would likely need to be base64 encoded (which, as a downside, would increase size by 33%).
At the moment, the artifacts are also uploaded in subdirectories (like image-digests), and this somehow correlates to the types. I'm not sure we can live without the subdirectories (otherwise files might clash?), but having them and the types feels also a bit odd - at least they would need to be aligned.

Closing this until there is a need for this feature. At the moment, there seems to be none. I think the crucial piece is #256. Once it is clear to the machine what the type of an artifact is, it is also clear if it can be parsed (e.g. because it is an XML file) or not (e.g. because it is free text).


I just ran into this issue, so it'd be great if it could be merged :)


Add bulk subscribe support to Azure Service Bus

Description
This PR allows bulk subscribe capabilities in Azure Service Bus.
Issue reference
Please reference the issue this PR will close: #2098
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[X] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#2813

Closing this, will address the review comments in the #2100 PR.


Problems with selecting the correct map

When trying the latest release, as mentioned in #23 , the bot will stop working after selecting the screen.
It doesn't even seem to click anywhere, it just happens after it registers the screen.
Setting up Bot...
Waiting for 5 seconds... Please select the Bloons TD 6 window during this time.
Traceback (most recent call last):
  File "C:\Users\Jason\Downloads\btd6farmer\main.py", line 34, in <module>
    bot.hero_select()
  File "C:\Users\Jason\Downloads\btd6farmer\Bot.py", line 261, in hero_select
    self.log(f"Selecting {self.settings['hero']}")
KeyError: 'hero'

Ah, the issue appears to be caused by using a skin with Obyn.
This skin causes the bot to crash, but with the default skin, it will go and select a map and start the game.

actually, it seems to be struggling to select the map now - it tries to play ravine instead of dark castle

actually, it seems to be struggling to select the map now - it tries to play ravine instead of dark castle

this behavior only happens when I run through powershell window. running with the .bat file, it does not happen and the game starts

Ah, the issue appears to be caused by using a skin with Obyn.
This skin causes the bot to crash, but with the default skin, it will go and select a map and start the game.

Right now I don't support hero skins but its being worked on in #25

actually, it seems to be struggling to select the map now - it tries to play ravine instead of dark castle

I have noticed this and I bealive that it has to do with the speed that the bot clicks on buttons which im also working on with #25
Working as fast as possible without rushing it to avoid bugs :)

Right now I don't support hero skins but its being worked on in #25

That is fine. It is easy enough to swap skins when I want to play.
Just as an FYI, before the current release when I was using the skin, it would just go through the process of selecting Obyn (even though he was selected with a skin) and not crash. But if #25 will fix that, then this isn't really relevant.

I have noticed this and I bealive that it has to do with the speed that the bot clicks on buttons which im also working on with #25
Working as fast as possible without rushing it to avoid bugs :)

I appreciate the work you're putting into this

The main issues here should be fixed in the PR..  As the core components of the new gameplan mechanics are in place, could you test out if you still experience this on the dev branch?

The main issues here should be fixed in PR mentioned above.. As the core components of the new gameplan mechanics are in place, could you test out if you still experience this on the dev branch?

I started it and it ran the first round, but then I came back an hour later and it was stuck on the difficulty selection
python main.py "\\Instructions\\Dark_Castle_Hard_Standard"
Setting up Bot...
Waiting for 5 seconds... Please select the Bloons TD 6 window during this time.
selecting map
Game start
Starting first round
selecting map
Game start
Starting first round
selecting map
Game start
Starting first round
selecting map
Game start

Edit: I am dumb and forgot to get the Dev branch and was just using the Main. I will test with Dev this time.

@linus-jansson, I am using the dev branch now, but the bot just hangs after the map loads. It does not place any towers and does not start the game.
python main.py --gameplan_path "Instructions/Dark_Castle_Hard_Standard"
Setting up Bot...
Using gameplan located in: C:\[path redacted]\btd6farmer-dev\Instructions\Dark_Castle_Hard_Standard
Waiting for 5 seconds... Please select the Bloons TD 6 window during this time.
selecting map
Game start

Could you add --debug inside the run.bat as an argument, I believe that it won't get recognized otherwise.

As it prints "game start" I guess that it has problems with detection of the round as it gets into the ingame loop where it gets stuck..

Could you add --debug inside the run.bat as an argument, I believe that it won't get recognized otherwise.

Yes. python main.py --gameplan_path "Instructions/Dark_Castle_Hard_Standard" --debug

As it prints "game start" I guess that it has problems with detection of the round as it gets into the ingame loop where it gets stuck..
EDIT: Could also you add a print(current_round) :
https://github.com/linus-jansson/btd6farmer/blob/1af71cc28b232134ddf08db33527b228b6b5e58a/Bot.py#L68
If it prints None it has something to do with not being able to get the round

It prints None.
RUNNING IN DEBUG MODE, DEBUG FILES WILL BE GENERATED
Waiting for 5 seconds... Please select the Bloons TD 6 window during this time.
selecting map
Waiting for loading screen..
Waiting for loading screen..
Waiting for loading screen..
Waiting for loading screen..
Waiting for loading screen..
Game start
None
None
None
None
None

Hmm, I wonder why though.. What screen res did you have? It was ultrawide right?

Hmm, I wonder why though.. What screen res did you have? It was ultrawide right?

5120x1440 ultrawide. But I have the game set at the max of 2560x1440 and it just has a lot of black on both sides.

My guess is that because the game is only 2560x1440 and you have a 5120x1440 monitor it adds scaling to the position of the round counter and scales it to your monitor resolution, which causes the screenshot to be taken on the blackborder part of the monitor thus failing to see the current round..
Is 2560x1440 the max resolution you can choose in the game? in that case it may be a solution for the issue..

Is 2560x1440 the max resolution you can choose in the game? in that case it may be a solution for the issue..

2560x1440 is the max I can set the game to.

EDIT: Currently working on saving the round image to a file.. Could it be possible for you to try that out with the DEBUG mode to see if my theory is correct?
EDIT2: This is now added..
EDIT3: Added a new way of finding the round area position, may fix the problem..

I will give the Dev branch a try and report back.

I ran it and it seems to be working. On the second game it did say that it couldn't read text 78180, which was during round 78. So it was reading the "/" as a "1".  But that did not cause any issues and the game continued on and was won.

May just be a faulty read.. Could you send the saved screenshot to see the positioning of the taken image? Should be located in the DEBUG folder

May just be a faulty read.. Could you send the saved screenshot to see the positioning of the taken image? Should be located in the DEBUG folder

Here you go

Found text '77180' does not match regex requirements
Saved screenshot of what was found
Found text '77180' does not match regex requirements
Saved screenshot of what was found
Found text '77180' does not match regex requirements
Saved screenshot of what was found

Thank you! I guess that it was just a faulty read in that case, positioning looks ok to me..
As to the issues with selecting map and hero. Did you experience any of these bugs still?

Thank you! I guess that it was just a faulty read in that case, positioning looks ok to me..
As to the issues with selecting map and hero. Did you experience any of these bugs still?

The map seems to be selected correctly every time, both when starting the bot and after a game is finished and it selects the map another time.
Hero selection seems okay. Not sure if you added skin support yet - it looks like Obyn with a skin does not break the bot, but it will still try to select Obyn even though he is already selected. Then it continues on normally after that.

Im closing this issue for now as it can be considerd fixed.. Please open a new issue if you find any other problems :)

Im closing this issue for now as it can be considerd fixed.. Please open a new issue if you find any other problems :)

I have been running the dev branch on and off for the last 2 days as well, no issues so far.

Glad to hear it!
Will continue working it in a couple of days.. been a bit busy the last days due to work


Any idea for adding additional users

like in my Project i want to add some more people ie my workmate
but i don't want to share him my email and password
can i create a new user account in firebase and give it's acess to him ?

Okay my bad
Found that You can create infinite number of users then repeat rules lines and change uid It works like Charm
Great Work Man

Thanks!


Event opcode

What ❔
This PR adds integration for events
Related to https://github.com/lambdaclass/era_vm/pull/73
Fixes the following tests (with mode Y+M3B3 0.8.26):
tests/solidity/simple/yul_instructions/codesize.sol
tests/solidity/simple/yul_instructions/codecopy.sol
tests/solidity/simple/yul_instructions/basefee.sol
tests/solidity/simple/yul_instructions/chainid.sol
tests/solidity/simple/yul_instructions/coinbase.sol
tests/solidity/simple/yul_instructions/gaslimit.sol
tests/solidity/simple/yul_instructions/gasprice.sol
tests/solidity/simple/yul_instructions/number.sol
tests/solidity/simple/yul_instructions/origin.sol
tests/solidity/simple/yul_instructions/prevrandao.sol
tests/solidity/simple/yul_instructions/timestamp.sol

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via cargo fmt and checked with cargo clippy.

Even though it's not in the spec, let's add a check to make sure only the EventWriter can use the event opcode (see here) which underneath uses the event_write verbatim.


manifest: Update HAL revision

This version of hal_silabs allows to compile WiseConnect without the support for socket offloading when it is not needed.

@jerome-pouiller looks good. I already merged the HAL PR to help my rebase preparations.

@jerome-pouiller looks good. I already merged the HAL PR to help my rebase preparations.

I don't see the commits "wiseconnect: Always compile for Little Endian" and "wiseconnect: Make SLI_SI91X_SOCKETS optional" on the branch silabs/silabs. Is it expected?

@jerome-pouiller looks good. I already merged the HAL PR to help my rebase preparations.

I don't see the commits "wiseconnect: Always compile for Little Endian" and "wiseconnect: Make SLI_SI91X_SOCKETS optional" on the branch silabs/silabs. Is it expected?

If that commit only modified wiseconnect/CMakeLists.txt then yes, it's expected.

If that commit only modified wiseconnect/CMakeLists.txt then yes, it's expected.

Just to follow up on this, these commits won't exist since we don't have CMake files anymore here. The changes from these commits should be part modules/hal_silabs/wiseconnect/CMakeLists.txt in #57 .

If that commit only modified wiseconnect/CMakeLists.txt then yes, it's expected.

Obviously


Using Compass with Bulk RNA-seq

Hi, I would like to know if that is possible to use Compass with Bulk RNA-seq and not single cell only ?
Thanks,
Gepmat

Yes, as we write in the Discussion section of the paper, it's sound to run it on bulk data (just set the lambda parameter to 0 to prevent information sharing between samples). The only problem could be lack of statistical power since there are fewer observations (bulk samples rather than cells)
hope this helps!


Added info on label element

Added information on the label element of a form and how to use the label element with a particular input element.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Add new functions to be exported and visible with help commands

Closes #41

Meant to mark as Draft. Not ready until #43 is merged


Apply Partial Update to Virtual Stores

Rather than replacing the entire state on content scripts every time a change occurs, this change will create patch messages, containing only the updated fields. This has a number of benefits.

Brings behavior in line with standard redux store (expected behavior).
More efficient because less data is being transferred over the messaging pipeline.

Resolves https://github.com/tshaddix/react-chrome-redux/issues/98

@vhmth Great feedback! I'm very glad you like the change. Please let me know if there is anything else I can do.

@jdolle @vhmth Hey guys - sorry I've been so out of the game. Had a family emergency I've been dealing with the last couple weeks.
@jdolle - really excited to look through this and see what you're proposing. I'm planning on diving in tomorrow morning. Thanks again for thinking through this!

@tshaddix after you leave your feedback, I'll integrate into the Loom chrome extension repo locally to test out and see if there are any hiccups. I would say this is probably good to merge before then if we can get a more trivial example verified working.

@vhmth @jdolle Looking through this, this looks good to me. I do have some clarifying questions on the "root" problem we are trying to solve. Consider it devil's advocate and due diligence:

More efficient because less data is being transferred over the messaging pipeline. We have had this claim numerous times before. From a purely logical standpoint, you can say "sure that makes sense". That said, every time we have tried to quantify the impact it turns out to be negligible. Are we sure that sending state messages across the channel every time is more costly than a shallow diff every time? Not sure...

I would feel really confident in this change if we had some quantified proof of the performance issue. That said, I really don't see this change as having an earth shattering impact on perf either.  So then we go back to "this brings us closer to Redux" which is true. I'm happy to move forward with testing it in Loom's extension, @vhmth . We won't be able to do that at GG right now, I'm afraid, or I would offer.

@tshaddix I am new to browser extensions and haven't done any performance tests, so I can't quantify the gains -- I just assume there is some since you are copying over less data.
However, the major performance gain will likely be because of the simplification to prop comparisons in React. Overriding the entire state every time causes components, that might not otherwise, to be flagged as dirty and therefore re-render.

@jdolle Ah - great point. Don't know how we missed that in #10 and #12. Good call.

@vhmth Alrighty - let's move this forward!

@vhmth I don't believe this warrants a major release semver-wise - thoughts? This seems to land under a minor release unless we consider the port-messages to be part of our package's public "API"

🎉🎉🎉🎉 great stuff @jdolle!
@tshaddix roger roger - seems fit for a minor release.


Need Some Information

Hey, been reviewing your project, very nice approach, Just need some information regarding something, I need to calaculate token usage from open ai and need to save image in local folder

calculating token usage from open ai:

I am using instructor for getting response in the specified pydantic schema. Instructor does have an api for giving the prompt and completion token count. client.chat.completions.create_with_completion (instead of client.chat.completions.create currently used in the code.
e.g
model_response, completion = self.client.chat.completions.create_with_completion(
model="gpt-3.5-turbo",
max_retries=self.max_retries_first_response,
messages=[
{"role": "system", "content": self.system_prompt},
{"role": "user", "content": user_prompt},
],
temperature = self.temperarure,
response_model=PythonCodeForDataFrame,
)
completion.usage will them provide you with the token count.

Saving image to local folder.

You can use this function:
def save_plots(plot_data, save_path, file_format='png'):
"""
Saves plots encoded in base64 to specified format and path.
Args:
- plot_data: List of base64-encoded strings of plot images.
- save_path: Directory to save the plot images.
- file_format: Format of the saved image files ('png' or 'jpeg').
"""
for i, plot_encoded in enumerate(plot_data):
    image_data = base64.b64decode(plot_encoded)
    image = Image.open(BytesIO(image_data))
    image.save(f"{save_path}/plot_{i+1}.{file_format}", file_format.upper())

Once you check for the key "plot_data" in the result is non empty, the above function can be invoked.
I'll push these changes soon.

Thanks For the Feedback @anukriti-ranjan ,I replaced exiting memory with langchain Memory, it is working perfectly, just a suggestion, how can we make responses more readable like langchain agents, Currently it does only give a word to word answer without any explanation, can we improve that ? waiting for your feedback

Thanks for the suggestion.
A get_result_summary method can be added to the agent class. When the generated code is executed , it is checked for whether it contains list, dict , dataframe etc.
            if "dict" in final_result:
                answer = str(final_result.get("dict"))
                context += "\n" + f"Answer to the query: {answer}"
            if "list" in final_result:
                answer = str(final_result.get("list"))
                context += "\n" + f"Answer to the query: {answer}"
            if "result_value" in final_result:
                answer = str(final_result.get("result_value"))
                context += "\n" + f"Answer to the query: {answer}"
            if "dataframe" in final_result:
                final_result_df_head = str(final_result.get("dataframe").head(5).to_markdown())
                context += "\n" + f"Answer to the query: The first few rows of the generated answer: \n{final_result_df_head}"
            if "pandas_series" in final_result:
                final_result_df_head = str(final_result.get("pandas_series").head(5).to_markdown())
                context += "\n" + f"Answer to the query: The first few rows of the generated answer: \n{final_result_df_head}"
            if "plot_data" in final_result:
                context += "\n" + f"Answer to the query: A figure was plotted."

after this step , another method can be called that makes another LLM call to get the answer summary by sending the response of the executed code to it in all cases except when the final_result contains error or plot_data.  and instead of returning final_result (executed code output) in get_answer_to_query method, the output of this LLM call can be returned.
the prompt can be :
final_answer_summary_prompt = """
{DATAFRAME_PROMPT}
query: {user_query}
generated_code : {python_code}
result of generated_code: {final_result}
Based on the above, the answer to the user query is:
"""
Will try and make these changes to the code soon.

Thanks for your speedy response, Goodluck with this project, Hoping to see changes real soon.

btw, I am interested to collaborate on this project. Let me know, @anukriti-ranjan


New release?

Could you make a new release into rubygems?
I'm using archiver options from PR#8 and I have to use github master version right now.

ping


Update focus.1.dart

Th example only set the focus at start and did not have a way to change focus. This fix allows a tap on an item to change the focus to that item.

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I went ahead and hit "rebase" to hopefully fix the failing checks.
All that's left is to update the test framework—head over to focus.1_test.dart and add a test, maybe with something like
    await tester.pumpWidget(const example.FocusExampleApp());

    final Finder findItem5 = find.text('Item 5');
    final FocusNode focusNode = Focus.of(tester.element(findItem5));
    expect(focusNode.hasFocus, isFalse);

    await tester.tap(findItem5);
    await tester.pump();
    expect(focusNode.hasFocus, isTrue);

Side note: I noticed something strange about an existing test…
https://github.com/flutter/flutter/blob/a4be7cd70a0c503f0b29d8d2585d3d442862b4d7/examples/api/test/widgets/focus_scope/focus.1_test.dart#L75-L98
It looks like they're expecting the list to be traversable via arrow keys, despite how the interactive code sample clearly is not. My guess would be that the shortcut is enabled by default on the test android device but not for desktop/web.

Newbie question - How are you running the test? I tried to copy focus.1.dart and focus.1_test.dart into the same DartPad window, and modifying focus.1_test.dart to remove the "example." Running that way it fails the very first expect -
`00:00 +0: FocusableText shows content and color depending on focus
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected:
Actual: _DescendantWidgetFinder:<Found 1 widget with type "Focus" descending from widget with type
"FocusableText": [
Focus(dependencies: [_FocusInheritedScope], state: _FocusState#bf988),
]>
When the exception was thrown, this was the stack
The test description was:
FocusableText shows content and color depending on focus`
which I don't know why it's expecting null and not the Focus widget that was found.

I usually run tests in one of the following ways:

After following the instructions from the wiki, tests can be run locally
Or just add the test to the pull request and check the output on GitHub


Suggest for the kernel estimation

Perhaps estimating the kernel with the kernel density estimation could provide better results than with an histogram, either in the parametric or non parametric case, as shown in:
https://www.ethz.ch/content/dam/ethz/special-interest/mtec/chair-of-entrepreneurial-risks-dam/documents/dissertation/master thesis/Master_Thesis_ Morzywolek.pdf

Hello,
Indeed this could be a good idea but we currently have no bandwidth to implement it. We welcome pull requests though :).


Arnold 5.2 main features

A lot of stuff in this one...
First some .gitignore stuff for newer versions of Visual Studio (and Code).
I must have messed something up with the commits for Arnold 5.1. I fixed that now:

car_paint and aov_write_rgba was missing shaderdefs
add car_paint to Material menu

For Arnold 5.2 I bumped SItoA to 5.2.0 and changed the following:

sheen added to standard_surface
toon_id added to ArnoldParameters for use with new user_id (Use Toon ID) in toon shader
new shader cell_noise
new shaders matric_multiply_vector and matrix_transform
updated clamp shader
updated range shader
new volume_Z AOV
cryptomatte (shaderdef and AOVs pre created)
removed texture blur options

It passes the testsuite so with this we can close #16

Before merging I would like some feedback on the AOV list.
It's starting to get pretty long and I guess some of them aren't even working anymore.
The ones I've added for Arnold 5.1 and 5.2 are at the end of the list. I think I would like to rearrange them to be in alphabetic order like the rest of the AOVs.
Is there a command in kick to list all built in AOVs or could someone from SA provide a fresh list?

Looking good. I'm pleased to see you are comfortable with the code.


Add Text to SocialTextView

Is there an easy way to "setText" on SocialTextView? I haven't found any.

Hey there, what do you mean by easy way to set text?

Like, I couldn't find in the documentation how I could .addHashtag(String tag) to a SocialTextView nor in the source code.

SocialTextView is an extension of TextView, you may modify its content just like you would on a regular TextView. Adding Mention or Hashtag only make sense if you're using SocialAutoCompleteTextView.


sorting inputs/outputs/ubos by binding instead of name

We're trying to update to the latest spriv-cross, since our last one was from 2020.   But our reflection pass is failing.  It seems that the uniforms are listed in order by offset, but the inputs/outputs/ubos are sorted by name.   I think in the past, our code received these sorted by binding.   Is there an option to re-enable this behavior?  These randomized bindings are inconsistent with the offset ordering.

I think what's actually happening is unused inputs to the fragment shader are getting removed, and then our own reflection code thinks there's a mismatch between vertex and fragment shader.

I would need concrete SPIR-V examples to look at this.

This is the simplest case.  I don't see a_worldPos in the spirv output from glslc/spirv-opt, unless I declare it.  So this may all be happening upstream.
// vs
#version 450

in vec4 a_position;
out vec3 a_worldPos;

void main()
{
   gl_position = a_position;
   a_worldPos = a_position.xyz;
}

// fs
#version 450

in vec3 a_worldPos;
layout (location = 0) out vec4 o_fragColor0;

void main()
{
    a_worldPos; // fixes issue
    // with this commented out, the input is stripped, and vs outputs/fs inputs now have a gap
    //o_fragColor0 = a_position;
    o_fragColor0 = float4(0.0);
}

SPIRV-opt will remove unused variables like this, so you'll have to skip that optimization I think. SPIRV-Cross does not eliminate inputs unless asked so.

The problem is that I think glslc is doing this, and there's no option there to prevent it.   For spriv-opt, we set --preserve-bindings, but the values are stripped.

It sounds like this should be reported to shaderc / spirv-tools instead, is there a SPIRV-Cross bug here?

I'll file it with glslc.  I tried to fixup cases where unsed vertex or fragment inputs were stripped, but on some platforms the data isn't getting down to the vs, or passed between the vs/fs correctly anymore.


refactor: general cleaning up

removed redundant code
used file-scoped namespaces
used var when possible instead of the type
inverted if statement for less indentation

@emrekizildas Hope this isn't too much or just useless. Much love.


Feature/multiple return values invariants

/cc @denhie this is important for you

Thanks for merging, but please let us answer the questions, still


Synposys gatelibs?

Synopsys tools output cells like "INVX1", etc, which yosys does not recognize as logical operations.  What would be the best way to get yosys to understand designs like this?  Is there a publicly available gatelib for these cells?

 But there are some liberty files that implement at least what seems to be a subset. For example: http://vlsiarch.ecen.okstate.edu/flows/MOSIS_SCMOS/latest/cadence/lib/tsmc025/signalstorm/osu025_stdcells.lib
For example with that liberty file, and a structural netlist synth.v, you can do the following to replace the library cells in the design with their definitions from the cell library:
# read structural netlist
read_verilog synth.v

# replace library cells
read_liberty -setattr libcells osu025_stdcells.lib
flatten A:libcells %C
delete A:libcells

(This requires git head. I've just implemented the select operator %C in commit 8eadd8fb18eb0a0707dd5f3262adf2e811a5bc69 because I realized that this functionality was missing when I started to answer your question.)

Could you explain how this is different than using techmap?

Techmap and flatten actually share the same codebase. So its not different at all. But techmap can only read verilog and ilang files at the moment, so it was not the first thing I thought of and then I decided I wanted to implement the %C (and %M) select operators..
You are right: using techmap would actually be much better. (And works with yosys-0.5 just fine.)
So you would either convert the liberty file to ilang first:
read_liberty osu025_stdcells.lib
write_ilang libcells.il
design -reset

read_verilog synth.v
techmap -map libcells.il

Or (a bit cleaner imo) use separate designs in memory:
read_liberty osu025_stdcells.lib
design -stash libcells

read_verilog synth.v
techmap -map %libcells

So that's proof that just because I wrote the software doesn't mean that I always intuitively know how to use it best.. :)


survey.show_questions() double printing in VS Code (probably other notebook environments)

yeah - that's the "expected" behavior b/c rich doesn't work everywhere... (sans the misalignment thing)


Disable QDBus integration by default on Windows/Mac/Android

These platforms generally don't have (Qt)DBus so building the support often makes no sense
However in some cases it can make sense to have it so keep the ability to turn it on

Thanks!


Breast physics weak in VR

When I load or make scenes from scratch in non-VR, the breast physics work as intended with vanilla animations.  In VR Studio though, the bouncing/jiggling/ect are reduced by like 80%.  Its almost like the have breast implants.  Its not just a perception difference going from monitor to vr either, I've done a good bit of testing.
It seems weird that the vr mod would affect the jiggle physics, perhaps its the IPA replacement?  I wouldn't mind trying to uninstall 5.1 and going back to 4.1 to test.  Is that possible or does it require a fresh install?
Thanks.

I did a fresh install and installed the same mods as my previous one, except with vr 4.2 and the breast physics are back to normal.

Might be because I increased the update rate for the breast physics from 60fps to 90fps.

Is this considered fixed because I tried to get rid of this problem ever since installing HS on my new rig but no luck. Made a fresh HS install with VR 4.2 and Shortcut plugin, nothing else (I speak Japanese so never use the HF patch) but the problem persists. In fact only when in VR all the animations as well as physics seem slowed down. Increasing animation speed in the shortcut mod helps gameplay but not the matrix-like slo-mo.
Tried changing the physx setting in Nvidia controlpanel to CPU but no difference either.
Other than this the VR mod works perfectly but is ultimately spoiled because Physics are a priority for me (back to SBPR for now).

Had the same issue and found a work around. But first off, Thank You Eusth for making all of this possible. After playing in VR i can't go back to normal.

Now to get the animation speeds back to normal - install Shortcuts Plugin - POV, Futa, Animations
http://www.hongfire.com/forum/forum/hentai-lair/hf-modding-translation/honey-select-mods/5683939-shortcuts-plugin-pov-futa-animations-etc-updated-to-v1-7-2017-09-01
After this plugin is installed and enabled (s key toggles it off and on) You can press number pad + and - to speed animations back up.
glhf


The create() method does not fill in tenant id

In my app Store is the tenant. Trying to create a product
s = Store.objects.get(id=1)
set_current_tenant(s)
Product.objects.create(name="nice product", description="buy me", quantity = 1)

The result is
django.db.utils.DataError: cannot perform an INSERT with NULL in the partition column

@begriffs you need a MIDDLEWARE like this to identify the user's tenant but it will only serve for queries:

To add a new record you will need to inform the current tenant:
Product.objects.create(name="nice product", description="buy me", quantity = 1, tenant_id=get_current_tenant())


ECMAScript allows initializers in for-in statements in non-strict mode.

The following is technically allowed in non-strict mode.
for (var i = "" in { a: 10, b: 20 }) {
}

However, since the value seems to get ignored anyway, I think it's best to mark this as Won't Fix because I can't see why this would be desirable. The reason I'm filing this issue is to have a place to point to for later on.
See https://github.com/tc39/ecma262/pull/614 and https://github.com/kangax/compat-table/issues/852.
@bterlson

The value isn't actually ignored per spec; Spidermonkey and JSC do not conform to the new semantics. (But I agree that it should not be allowed in TypeScript.)

The value isn't actually ignored per spec; Spidermonkey and JSC do not conform to the new semantics. (But I agree that it should not be allowed in TypeScript.)

The value isn't actually ignored per spec

Hey @bakkot, thanks for pointing that out, I probably should have considered that case. Could you elaborate on the behavior of SM & JSC? Is there a place I can see how different engines execute that test?

SpiderMonkey and JavaScriptCore allowed the syntax for initializer but never executed it (at least in some recent version of each engine). I'm pretty sure they treated for (var a = [...] in b) exactly the same as for (var a in b), assuming [...] parsed without error. Chakra and V8 both executed it.
I don't know if there's somewhere you can see how different engines execute that test; I just use builds of the various engines on my machine. But you can always just open up a browser and paste it in to the console! (Or try the somewhat simpler for (var a = console.log('reached') in {});, which ought to print a message to the console.)
--
To elaborate slightly, TC39 added this back only because it's required for web compatibility. It isn't considered to be a feature you should use.


Fix the parsing of attributes on AXML file

Fix the parsing of attributes that should based on ressourceids and not Stringblock to avoid some false information due to a corrupted AndroidManifest file

thx for your patch !!


new imageio version breaks over numpy versions.

imageio introduced new version  which requires numpy > 1.20 over its ArrayLike object.
imgaug doesn't seem to set specfic version of imageio, therefore takes the latest version :
https://github.com/aleju/imgaug/blob/master/requirements.txt#L12
The result:
imgaug installation breaks code over incompatible numpy version:
    import imgaug
  File "/usr/local/lib/python3.6/site-packages/imgaug/__init__.py", line 7, in <module>
    from imgaug.imgaug import *  # pylint: disable=redefined-builtin
  File "/usr/local/lib/python3.6/site-packages/imgaug/imgaug.py", line 19, in <module>
    import imageio
  File "/usr/local/lib/python3.6/site-packages/imageio/__init__.py", line 22, in <module>
    from .core import FormatManager, RETURN_BYTES
  File "/usr/local/lib/python3.6/site-packages/imageio/core/__init__.py", line 16, in <module>
    from .format import Format, FormatManager
  File "/usr/local/lib/python3.6/site-packages/imageio/core/format.py", line 40, in <module>
    from ..config import known_plugins, known_extensions, PluginConfig, FileExtension
  File "/usr/local/lib/python3.6/site-packages/imageio/config/__init__.py", line 7, in <module>
    from .plugins import known_plugins, PluginConfig
  File "/usr/local/lib/python3.6/site-packages/imageio/config/plugins.py", line 4, in <module>
    from ..core.legacy_plugin_wrapper import LegacyPlugin
  File "/usr/local/lib/python3.6/site-packages/imageio/core/legacy_plugin_wrapper.py", line 6, in <module>
    from .v3_plugin_api import PluginV3, ImageProperties
  File "/usr/local/lib/python3.6/site-packages/imageio/core/v3_plugin_api.py", line 2, in <module>
    from numpy.typing import ArrayLike
ModuleNotFoundError: No module named 'numpy.typing'

+1


Add a globally accessible TestContext.Progress logger

Summary
MSTest should provide a mechanism of globally logging outputs to the stdout of the test execution similar to the TestContext.Progress of NUnit
Background and Motivation
When having long running processes in your tests as a developer you want to see intermediate outputs when having test executed on any platform (local CLI, CI/CD, IDE outputs). In the .net test ecosystem it generally seems common to capture the stdout/stderr and attach it to the test directly so that the attached loggers can decide what to do with the outputs (write a trx, nicely format the console printing). MSTest goes that far that no outputs "leak" to the host process and everything is captured and attached to results.
This capturing is in conflict with doing any kind of intermediate progress reporting. Especially when preparing tests (AssemblyInitialize, ClassInitialize, TestInitialize) but also during normal test execution progress information improves the developer experience significantly by giving immediate feedback.
Hence a mechanism to report "test progress logs" in parallel to normal test related outputs, being printed immediately on the stdout/stderr of the host process can improve the feedback to the developers executing tests and in case of problems improve the troubleshooting experience without breaking current principles on how normal outputs are handled.
Proposed Feature
It is not the responsibility of MSTest to change and adapt the principles of dotnet test and the way logs are maybe forwarded to these environments for instantenous logging. While it might be a legit discussion it should be out of scope for this request.
Instead this request is about adding the exact same feature NUnit offers with the static TextWriter TestContext.Progress property. From within the test framework you can access this quasi-global progress logger to write messages. These messages are received by the test adapter in the host process and immediately logged to the console output.
Additionally (I think) NUnit tries to 'attach' these logs to the current test context but from what I've seen in my tests, the logs are always printed instantly, and not listed in the "test output" section.
When using logging frameworks (e.g. via Microsoft Extensions Logging) you could choose to forward all outputs accordingly to your needs/preference also getting intermediate logs for the application logs.
Alternative Designs

Enable an option (e.g. runsettings) which also forward any Console.Out and Console.Error outputs to the host. It can be still captured and attached to the tests as output for the loggers, but with this option active also log it to the stdout of the host process.
Ensure somehow that test logs are forwarded immediately to the console logger and printed as the arrive. Not sure where exactly in the chain this immediate logging is broken. Certainly here seem to be a capture until the test execution completes. Looking (narrow minded) to the console logger of vstest there is a way to receive intermediate test messages (logs).

Example
A simple example executed like this will only have output a the very end.
// dotnet test --verbosity=normal --logger "console;verbosity=detailed"
namespace MSTestOutput;

[TestClass]
public class UnitTest1
{

    [TestMethod]
    public void TestMethod1()
    {
        for (var i = 0; i < 3; i++)
        {
            Console.WriteLine("UnitTest1.TestMethod1");
            Thread.Sleep(1000);
        }
    }
}

Output:
...
     2>BuildProject:
         Build completed.

Test run for D:\Dev\Other\NUnit\NUnitOutput\MSTestOutput\bin\Debug\net8.0\MSTestOutput.dll (.NETCoreApp,Version=v8.0)
Microsoft (R) Test Execution Command Line Tool Version 17.9.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
D:\Dev\Other\NUnit\NUnitOutput\MSTestOutput\bin\Debug\net8.0\MSTestOutput.dll
  Passed TestMethod1 [3 s]
  Standard Output Messages:
 UnitTest1.TestMethod1
 UnitTest1.TestMethod1
 UnitTest1.TestMethod1

Test Run Successful.
Total tests: 1
     Passed: 1
 Total time: 4,1637 Seconds
     2>Done Building Project "D:\Dev\Other\NUnit\NUnitOutput\MSTestOutput\MSTestOutput.csproj" (VSTest target(s)).
     1>Done Building Project "D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput.sln" (VSTest target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.90

In NUnit:
// dotnet test --verbosity=normal --logger "console;verbosity=detailed"
namespace NUnitOutput;

public class UnitTest1
{
    [Test]
    public void Test1()
    {
        for (var i = 0; i < 3; i++)
        {
            Console.WriteLine("UnitTest1.TestMethod1");
            TestContext.Progress.WriteLine("Progress UnitTest1.TestMethod1");
            Thread.Sleep(1000);
        }
    }
}

Output:
     2>BuildProject:
         Build completed.

Test run for D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput\bin\Debug\net8.0\NUnitOutput.dll (.NETCoreApp,Version=v8.0)
Microsoft (R) Test Execution Command Line Tool Version 17.9.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput\bin\Debug\net8.0\NUnitOutput.dll
NUnit Adapter <IP_ADDRESS>: Test execution started
Running all tests in D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput\bin\Debug\net8.0\NUnitOutput.dll
   NUnit3TestExecutor discovered 1 of 1 NUnit test cases using Current Discovery mode, Non-Explicit run
Progress UnitTest1.TestMethod1
Progress UnitTest1.TestMethod1
Progress UnitTest1.TestMethod1
UnitTest1.TestMethod1
UnitTest1.TestMethod1
UnitTest1.TestMethod1

NUnit Adapter <IP_ADDRESS>: Test execution complete
  Passed Test1 [3 s]
  Standard Output Messages:
 UnitTest1.TestMethod1
 UnitTest1.TestMethod1
 UnitTest1.TestMethod1

Test Run Successful.
Total tests: 1
     Passed: 1
 Total time: 3,9993 Seconds
     2>Done Building Project "D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput\NUnitOutput.csproj" (VSTest target(s)).
     1>Done Building Project "D:\Dev\Other\NUnit\NUnitOutput\NUnitOutput.sln" (VSTest target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:06.22

<CaptureTraceOutput>false</CaptureTraceOutput> option disables the output capturing in recent version of MSTest. So the output goes directly to console when you are using MSTest runner (the new testing platform).
VSTest in the current stable version still captures the output, but the next version (17.11) is bringing options to forward the output to console / VS.
Please see this PR https://github.com/microsoft/vstest/pull/4998
We are also considering adding an API for progress reporting, for long running tasks, such as installing of Playwright drivers, or doing long setup in AssemblyInitialize.
Closing because the options in the suggested solution are available, or will soon be available.


Border doesn't work

Hello,
I am experimenting with Jaspr and I want to create simple box with border.
Here is small video:
https://streamable.com/bsad1r
But it doesn't work.
And also this code doesn't work for me.

Am I doing something wrong?
martin at Martins-MacBook-Air my_website >>> jaspr doctor
[✓] Jaspr CLI (Version 0.14.0)
  • Dart Version 3.4.0 (stable) (Mon May 6 07:59:58 2024 -0700) on "macos_arm64" at /Users/martin/fvm/versions/3.22.0/bin/cache/dart-sdk/bin/dart
  • Running on macos Version 14.1 (Build 23B74) - Locale en-CZ
  • Analytics: Enabled

[✓] Current Project
  • Dependencies on core packages:
    • jaspr: ^0.14.0
    • jaspr_builder: ^0.14.0 (dev)
    • jaspr_web_compilers: ^4.0.10 (dev)
    • jaspr_router: ^0.5.0
  • Rendering mode: server
  • Uses jaspr compilers: true
  • Uses flutter embedding: false

Set the BorderSide(style: ) to something, e.g. BorderStyle.solid.
There are also BorderSide.solid() and other convenience constructors

Yes, I discovered, it works when I add style: BorderStyle.solid.
I thing it would be more friendly for beginners when style will be setup by default.
(I have experience with flutter but not with HTML/CSS so much..)

I think solid makes sense as a default value. You want to open a PR?

Done


0.7.1 does not build on android

* What went wrong:
Execution failed for task ':flutter_zxing:configureCMakeDebug[arm64-v8a]'.
> [CXX1405] error when building with cmake using /home/kot/bin/flutter2/.pub-cache/hosted/pub.dartlang.org/flutter_zxing-0.7.1/ios/Classes/src/CMakeLists.txt: Build command failed.
  Error while executing process /home/kot/Android/Sdk/cmake/3.18.1/bin/cmake with arguments {-H/home/kot/bin/flutter2/.pub-cache/hosted/pub.dartlang.org/flutter_zxing-0.7.1/ios/Classes/src -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=21 -DANDROID_PLATFORM=android-21 -DANDROID_ABI=arm64-v8a -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DANDROID_NDK=/home/kot/Android/Sdk/ndk/21.4.7075529 -DCMAKE_ANDROID_NDK=/home/kot/Android/Sdk/ndk/21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=/home/kot/Android/Sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/home/kot/Android/Sdk/cmake/3.18.1/bin/ninja -DCMAKE_CXX_FLAGS=-frtti -fexceptions -std=c++2a -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/kot/Projects/SKLLZZ/hrp-flutter/build/flutter_zxing/intermediates/cxx/Debug/1k1385k1/obj/arm64-v8a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/home/kot/Projects/SKLLZZ/hrp-flutter/build/flutter_zxing/intermediates/cxx/Debug/1k1385k1/obj/arm64-v8a -DCMAKE_BUILD_TYPE=Debug -B/home/kot/bin/flutter2/.pub-cache/hosted/pub.dartlang.org/flutter_zxing-0.7.1/android/.cxx/Debug/1k1385k1/arm64-v8a -GNinja -DANDROID_STL=c++_shared}
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /home/kot/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /home/kot/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring incomplete, errors occurred!
  See also "/home/kot/bin/flutter2/.pub-cache/hosted/pub.dartlang.org/flutter_zxing-0.7.1/android/.cxx/Debug/1k1385k1/arm64-v8a/CMakeFiles/CMakeOutput.log".

  CMake Error at CMakeLists.txt:14 (add_subdirectory):
    add_subdirectory given source "ZXing" which is not an existing directory.

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on Ubuntu 20.04.4 LTS 5.15.0-41-generic, locale ru_RU.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

CMakeOutput.log


Do not initialize custom REST handler during ApiVersion initialization

ApiVersion variable from the versioned package is initialized both
in the apiserver and in the controller-manager because they both
import the versioned package.
When a custom REST handler is defined, its NewFooREST() constructor is
being called directly during ApiVersion initialization. This constructor
may contain some other logic besides simply initializing the custom REST
registry type. For example it may establish a connection to some service.
And we'll end up with an extra unused connection to the external
service, established from the controller manager.
Passing NewFooREST as a function value to builders.NewApiResourceWithStorage()
and then calling it from versionedResourceBuilder.registerEndpoints()
solves this problem.
Fixes #92.

@ibazhitov Thanks!  Will cut a new release with these changes today.


Poll for posts in pull-oriented protocols

ATProto is pull-oriented, so we're currently polling notifications there to get events to propagate. We also need to poll timelines in those protocols to get posts to propagate. Whee. Should hopefully be similar to polling notifs?
Also the existing ATProto notif polling should be abstracted before we start on Nostr in earnest.
https://github.com/snarfed/bridgy-fed/blob/611bc94fc236a3bbbeea2b6ddf419f0455b8173c/atproto.py#L390-L438

Done for ATProto. Will revisit when I abstract this for Nostr.


Why use Objective-C(++) with an Android app??

Catalyst Mobile is being developed for both Android and iOS (although don't expect to see it on the app store).

Oh. If I had an iPhone, how would I sideload it?
On Sun, Feb 12, 2023, 8:05 PM jdev08 @.***> wrote:

Catalyst Mobile is being developed for both Android and iOS (although
don't expect to see it on the app store).
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1427190735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZONFYU2WVTNU4JQTTTWXGCD3ANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Oh. If I had an iPhone, how would I sideload it?
On Sun, Feb 12, 2023, 8:05 PM jdev08 @.***> wrote:

Catalyst Mobile is being developed for both Android and iOS (although
don't expect to see it on the app store).
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1427190735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZONFYU2WVTNU4JQTTTWXGCD3ANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Jailbreak it

Official software that isn’t from a crazy person should not require severe
modification to the operating system of a target device.
On Mon, Feb 13, 2023, 12:48 PM jdev08 @.***> wrote:

Oh. If I had an iPhone, how would I sideload it?
On Sun, Feb 12, 2023, 8:05 PM jdev08 @.***> wrote:
Catalyst Mobile is being developed for both Android and iOS (although
don't expect to see it on the app store).
—
Reply to this email directly, view it on GitHub
#1 (comment)
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1427190735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZONFYU2WVTNU4JQTTTWXGCD3ANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>
Jailbreak it
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428392847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZNYD4UDEBR4Y5H23ITWXJXWHANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Official software that isn’t from a crazy person should not require severe modification to the operating system of a target >device.

How many times must I repeat myself. Catalyst, as a free and non-funded project. In turn, gets $0 allocated to it's development. This includes being uploaded to app stores. Google Play won't be such an issue though, as it's a one time fee of $25. APPLE ON THE OTHER HAND IS $99 PER YEAR! Which I, in no circumstance, have the ability to pay. Especially since again, Catalyst makes me no profit. None of my software does, and that in turn means a better experience for the user.

How is potentially bricking their phones a good experience? Can you not ask
for donations??
On Mon, Feb 13, 2023, 5:41 PM jdev08 @.***> wrote:

Official software that isn’t from a crazy person should not require severe
modification to the operating system of a target >device.
How many times must I repeat myself. Catalyst, as a free and non-funded
project. In turn, gets $0 allocated to it's development. This includes
being uploaded to app stores. Google Play won't be such an issue though, as
it's a one time fee of $25. APPLE ON THE OTHER HAND IS $99 PER YEAR!
Which I, in no circumstance, have the ability to pay. Especially since
again, Catalyst makes me no profit. None of my software does, and that in
turn means a better experience for the user.
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428800913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZOCDSCJ3TJCTISVPYLWXK2BVANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

My point is, adding advertisements decreases user experience. As for donations, this is not a viable option and the reasoning behind this will not under any circumstance be disclosed. Also, your lucky I am building this program for Apple software anyway. Because in a majority of instances, I don't build for apple operating systems. I simply cannot endure the costs of uploading to the apple app store. Nor do I have the time to abide by their guidelines. Simple as that.

Why don't you make a website then? Surely you can afford to host a proxy,
right?
On Mon, Feb 13, 2023, 5:45 PM jdev08 @.***> wrote:

My point is, adding advertisements decreases user experience. As for
donations, this is not a viable option and the reasoning behind this will
not under any circumstance be disclosed. Also, your lucky I am building
this program for Apple software anyway. Because in a majority of instances,
I don't build for apple operating systems. I simply cannot endure the costs
of uploading to the apple app store. Nor do I have the time to abide by
their guidelines. Simple as that.
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428805799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZLEOW5QGWXAEKKMYS3WXK2QRANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Why don't you make a website then? Surely you can afford to host a proxy,
right?

Doesn't fit in my budget. Also, https://getcatalyst.eu.org

What about a proxy?
On Mon, Feb 13, 2023, 5:50 PM jdev08 @.***> wrote:

Why don't you make a website then? Surely you can afford to host a proxy,
right?
Doesn't fit in my budget. Also, https://getcatalyst.eu.org
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428811260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZMOKFUKYN3RV65TZD3WXK3CVANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

What about a proxy?

For what?

For browsing without the restrictions.
On Mon, Feb 13, 2023, 5:52 PM jdev08 @.***> wrote:

What about a proxy?
For what?
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428813073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZMKNHGULR633IVUZXLWXK3JJANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

For browsing without the restrictions.

Wrong kind of restriction. Also, I can't afford to upload.

You can't even afford a website?
On Mon, Feb 13, 2023, 5:55 PM jdev08 @.***> wrote:

For browsing without the restrictions.
Wrong kind of restriction. Also, I can't afford to upload.
—
Reply to this email directly, view it on GitHub
https://github.com/jdev082/mcatalyst2/issues/1#issuecomment-1428816188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTWPZJDYNDH4WBU2MFXUL3WXK3WBANCNFSM6AAAAAAUZVJKI4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have a website, I literally JUST linked it. Also, nothing I host is hosted on my hardware.  You are under the assumption that I have money, I do not.


Error: com.jcraft.jsch.JSchException: Auth fail at onDISCONNECT

First - thank you for the substantial amount of work you've put in on this library. It is tremendously useful.
I've put together a server for the sole purpose of accepting SFTP connections:
https://github.com/tkambler/sftp-server
I'm still getting familiar with the various stream classes, and I've yet to determine the source of the following error that I'm frequently seeing show up in my logs. If you could point me in the right direction, I would really appreciate it.
Error: com.jcraft.jsch.JSchException: Auth fail\n    at onDISCONNECT
(/home/ubuntu/sftp/node_modules/ssh2-streams/lib/ssh.js:2201:15)\n    at SSH2Stream.
<anonymous> (/home/ubuntu/sftp/node_modules/ssh2-streams/lib/ssh.js:203:5)\n    at emitMany
(events.js:127:13)\n    at SSH2Stream.emit (events.js:201:7)\n    at parsePacket
(/home/ubuntu/sftp/node_modules/ssh2-streams/lib/ssh.js:3747:10)\n    at
SSH2Stream._transform (/home/ubuntu/sftp/node_modules/ssh2-streams/lib/ssh.js:668:13)\n    at
SSH2Stream.Transform._read (_stream_transform.js:167:10)\n    at SSH2Stream._read
(/home/ubuntu/sftp/node_modules/ssh2-streams/lib/ssh.js:251:15)\n    at
SSH2Stream.Transform._write (_stream_transform.js:155:12)\n    at doWrite
(_stream_writable.js:334:12)\n    at writeOrBuffer (_stream_writable.js:320:5)\n    at
SSH2Stream.Writable.write (_stream_writable.js:247:11)\n    at Socket.ondata
(_stream_readable.js:555:20)\n    at emitOne (events.js:96:13)\n    at Socket.emit
(events.js:188:7)\n    at readableAddChunk (_stream_readable.js:176:18)\n    at
Socket.Readable.push (_stream_readable.js:134:10)\n    at TCP.onread (net.js:548:20)

Add an 'error' event handler on the client object.
The client is sending a non-typical/non-"OK" disconnect status, this is the reason for the error event.

Add an 'error' event handler on the client object.

I've already done that:
new ssh2.Server({
    'hostKeys': '...',
    'algorithms': '...'
}, (client) => {

    client
        .on('authentication', (authContext) => {
            // ...
        })
        .on('ready', () => {
            // ...
        })
        .on('end', () => {
            // ...
        })
        .on('continue', () => {
            // ...
        })
        .on('rekey', () => {
            // ...
        })
        .on('tcpip', (accept, reject) => {
            // ...
        })
        .on('openssh.streamlocal', (accept, reject, info) => {
            // ...
        })
        .on('request', (accept, reject, name, info) => {
            // ...
        })
        .on('close', (hadError) => {
            // ...
        })
        .on('error', (err) => {
            // ...
        });

});

Thank you for the swift response.

There's not much you can do over and above that. The ultimate cause has to do with user authentication failing. It's just that this client is being "loud" about it and sending a different disconnect status.

Thanks for the heads up. 👍


Function to calculate migratory connectivity metric from routes-like object

https://doi.org/10.1111/2041-210X.12916
@adokter and I have been discussing the possibility of a function to calculate MC from a routes-like object.  The idea would be to calculate MC for real banding data (for example) and compare it to MC calculated on simulated data from a BirdFlow model.
The "regions" used to calculate MC could be the cells in a BirdFlow model, and breeding and wintering ranges could be calculated using the ebirdst-defined seasons.  The breeding and wintering based MC metric could also just be thought of as a specific or aggregate case of a more generalized MC metric that takes into account the full time resolution of a weekly birdflow model.
@ethanplunkett how feasible do you think this sounds?

Approaches to estimating migratory connectivity (MC) worked out with @slager via private communication:

For BirdFlow model transition probabilities

Use MigConnectivity::calcConnectivity() to calculate connectivity. It has four primary arguments:

originDist, targetDist The output from BirdFlowR::great_circle_distances()` subset based on the dynamic mask for the starting and ending timesteps.
originRelAbund  This is BirdFlowR::get_distr(bf, start) subset based on dynamic mask.
psi (transition probabilities) this is the transition matrix from the starting to ending timesteps.  This can be calculated by multiplying the intervening single step transition matrices together.

For tracking data
This is similar to 1 but adds the complication of calculating the transition matrix from one season to the next from the tracking data.  We'd tally how many birds from each starting cell ended up in each ending cell and then dividing by the total number of birds in the starting cell.   Without a LOT of tracking data many of the transitions are likely to be poorly estimated and/or zero.  I don't know whether that will be an issue.

I think it might make sense to test empirically how increasing cells size to get fewer larger cells with better estimates on transition probabilities changes the outcome for tracked birds.   We could also do a model experiment to get at the interactions between number of tracks, resolution, and MC based on synthetic routes.  This would be elegant because we'd have the "true" modeled MC based on the transition matrices to compare to.

calc_birdflow_mc()  in BirdFlowExtras does (1) above.


[NEW]: zk wine berlin

Please use this template to suggest a new event or update an existing event for the BBW website! You can also directly submit your event as a pull request to this repository. This will speed up things significantly!
# the name of your event
name = "zk wine berlin"

# shortest possible name (without year)
shortname = "zkwineberlin"

# type of the event
#  available types (you can choose more):
#   * meetup
#   * conference
#   * hackathon
#   * expo
#   * party
#   * other
types = ["happy hour"]

# status of the event
#  available types:
#   * idea
#   * planning
#   * published
status = "published"

# the name of the group organizing the event
org = "Payy"

# the github handle of the directly responsible individual for this event
# (this person will coordinate with #bbw24 organizers)
dri = "spencejj"

# A point of contact (responsible person)
poc = "Spencer"

# the start date of the event
date = "2024-05-24"

# how many days the event lasts (1 - N)
days = 1

# the event times (shows up in the event card)
times = "17:00-20:00"

# the event venue name
venueName = "Secret venue"

# the languages in which the event will take place (you can choose more)
languages = ["english"]

# the max number of attendees of the event
attendees = 500

# blockchains that the event deals with
# if it is an interchain event, then leave blank
chains = ["ethereum", "polygon"]

# tags for the event, will show up as labels.
# pick 1-4
tags = ["zero knowledge", "cryptography", "payments", "usdc"]

# A logo attachment
logo = "
![payy-logo-copy (2)](https://github.com/blockchainweek/data/assets/143423728/9e66edfe-2daf-4ed5-b106-75c36b4880b8)
"

# a description of the event.
description = """
Come join us for some wine and zero knowledge discussions at a low-key venue.

There will be a variety of friends: zk cryptographers, defi builders, L1/2/3/4 maxis and more. But what we all have in common: a love for zero knowledge (and wine).

Remember, you need to download the Payy app to get in. Get it ahead of time at [https://payy.link/download](https://payy.link/download%EF%BF%BC%EF%BF%BCIf)

If you can't make it IRL, you can always find us online:

https://payy.link/

https://twitter.com/payy_link
"""

[registration]
# type of registration
#  Possible values:
#   * tickets
#   * invites
#   * signup
type = "signup"

# price of the ticket
price = "Free"

# link to the registration or ticket purchase page
link = "https://lu.ma/zkwineberlin"

# custom action button label
#button = "Register!"

# status of registrations
#  Possible values:
#   * available
#   * sold-out
#   * closed
status = "available"

[links]
# the website of the event
# make sure to have all the relevant information: dates, venue, program, ticketing (if any), etc.
web = "https://payy.link/"

# twitter account
twitter = "https://twitter.com/payy_link"

# public matrix channel
matrix = "https://matrix.to/#/!example:example.org"

# public telegram group
telegram = "https://t.me/example"

Hello, the image isn't showing up. Do you mind replacing with the attached? Thank you

Hello! Thank you so much. I realized the image isn’t showing up properly, so I have attached a new one to use. The rest looks good. Thank you
￼
Spencer Jaffe
Chief of Staff
Book Time https://cal.com/spencerj/meeting

On May 7, 2024, at 12:30 PM, Kaan Uzdoğan @.***> wrote:
Your event is live please double check if everything is correct :) https://blockchainweek.berlin/24
—
Reply to this email directly, view it on GitHub https://github.com/blockchainweek/data/issues/64#issuecomment-2098857644, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGHR4EQEZT56J5H6ACS6FTZBD6RNAVCNFSM6AAAAABHLFVOIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYHA2TONRUGQ.
You are receiving this because you authored the thread.

Made a few more updates

Fixed 👍

Thank you! Looks great!
Spencer Jaffe
Chief of Staff
Book Time https://cal.com/spencerj/meeting

On May 7, 2024, at 1:03 PM, Kaan Uzdoğan @.***> wrote:
Fixed 👍
—
Reply to this email directly, view it on GitHub https://github.com/blockchainweek/data/issues/64#issuecomment-2098913330, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGHR4HY7X3KJ5C6ZZNCSHDZBECMLAVCNFSM6AAAAABHLFVOIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYHEYTGMZTGA.
You are receiving this because you authored the thread.


Dark Mode

DarkMode is not available in the current version of wxWidgets. Some patch is available in the main branch with lot of missing features

honestly the light mode u got is very good on eyes as the windows is small and i love it so much, please work on  other important stuff and let this one go if it is too hard to do

great to hear! thank u for ur hard work


Identify common use cases that this standard should address

We need to identify the basic use-cases that need to be met to provide consumers of reactive streams libraries a consistent, but minimal, API.
continued discussion from: https://github.com/Reactive-Streams-Open-Standard/reactive-streams-spec/issues/1

from @briancavalier:

This is certainly related the scope/goals thread on twitter today. Do we need a new issue to focus specifically on those? For example, "interop" and "interchange" were both mentioned. Promises/A+ was, imho, successful in part because it focused so narrowly on interop. Interchange likely has more surface area.

@briancavalier. I agree. I think to start with the biggest and most important basic issues should be

What basic interface should consumers expect?
How will a consumer subscribe to an Observable stream?

what are the expected characteristics and behaviors of that subscription method?

How will a consumer unsubscribe from an Observable stream?

what are the expected characteristics and behaviors of that unsubscription/disposal method?

Also, I think it's important to see how this aligns with the TC39 spec which @jhusain is working on.

Anyhow, I think for the first phase, interop is what we need to focus on. Sub/Unsub behavior is the key there.

Just a quick note on interchange, (not to derail the interop direction) it may be possible to get a base level of API compatibility via fantasy-land.  For example, most.js implements fantasy-land's Semigroup, Monoid, Functor, Applicative, and Monad.

Fantasy-land is an interesting spec, and I think it stands separately from this effort for now.
I think the biggest win for implementors will be getting more consumers to use their libraries, and the biggest win for consumers/library authors will be interop, allowing them to treat reactive stream implementations in a first class way, but without coupling their libs to a specific impl.

Yep, I'm all all for staying focused on interop.  Just wanted to mention that there may be other existing specs that can provide API level compatibility.

Started a discussion around subscription and unsubscription here: https://github.com/reactive-streams/reactive-streams-js/issues/4

I'm missing a discussion regarding goals and scope.

@viktorklang that's fair. I think a lot of that was discussed on Twitter. The primary goal here is providing a set of unit tests for interop. The scope is evolving, but currently it centers around sub/unsub semantics and interop.

@blesh Why not retain the semantics of the -jvm contracts? (there's been man-years of research poured into them by now)

I'm game to explore any avenue. But one driver behind this is @jhusain's proposal to the TC39. Keeping with JavaScript conventions is important. I'd have to look at the JVM spec more carefully, as I'm not totally familiar with the contract.

@blesh Absolutely. One thing to keep in mind is that the interfaces are for interop, not for user-API, so the most important thing is that they work well for interop between different implementations. Or did you have something else in mind?

@viktorklang nope. I'm almost purely interested in interop.
If someone gives me an RxJS, Bacon, Highlands or Most.js stream, I want my generic framework to be able to subscribe to it without knowing anything about it.

@blesh That's great to hear. Then the jvm equivalents should provide a great starting point IMO!

@viktorklang same for me: I'm very interested in interop.  The proposal here is a subset of the JVM spec, but doesn't deal with communicating demand.  @jhusain's work uses promises, returned in the upstream direction, for that.  I've done some (unpublished) experiments with it, and it works.  I think it's worth exploring other options, like the JVM spec's onSubscription + request approach, for comparison.

@briancavalier I'll all for experimentation! :) Given how much time we spent getting RS-jvm to where it is today I'd encourage to ask questions why things are as they are and why they aren't something else—that saves a bit of time on experiments that have already been made :) (We tried Future-based approaches too). My open question is: Is there something wrong with what we ended up with for JVM (given that we both have a minimized spec and a TCK to validate, it ought to save tons of work to simply port).
TL;DR: Don't hesitate to ask why things are in reactive-streams-jvm :)

As this is gone stale. Closing the issue


Update emea-nor-satndard-audit-file-for-tax.md

    -If the Organization number is missing or the output XML file does not contain <RegistrationNumber>NA</RegistrationNumber>
    -Navigate to Org administration > Organizations > Legal entities- Select your legal entity > Bank account information and assign the Org number to Routing code field

Hi @niniculita, do you have a specific comment on this article?

Hello,
Under Generate the Norwegian SAF-T Financial data report at the bottom
could you add a note
-If the Organization number is missing or the output XML file does not contain NA Navigate to > Org administration > Organizations > Legal entities- Select your legal entity > Bank account information and assign the Org number to Routing code field

@liza-golub - Can you please take a look at this issue and update the article as needed? Thanks!

Reached out to PM for guidance.

CD# Content Deliverable 926460: NO - SAF-T documentation issue 4421
PR: https://github.com/MicrosoftDocs/Dynamics-365-Operations/pull/17976

@niniculita Thank you for the feedback. This article has been updated. The changes should be available soon.


Where For Dinner native image support

One of the options of Where For Dinner is to run in a scale to 0 configuration when using Knative eventing.  It can sometimes take 10-15 seconds for services to load up when scaled to 0.  This enhancement will enable the ability to build native images for SpringBoot workloads that can support this feature.

Resolved in PR #336


Remove unnecessary copy frameworks phases

Fixes #104
Its unnecessary for the framework build targets to copy dependencies. The app that depends on this project will have its own copy-frameworks as necessary that will also include this project's dependencies.

Codecov Report

Merging #105 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #105   +/-   ##
=======================================
  Coverage   74.31%   74.31%
=======================================
  Files           5        5
  Lines         109      109
=======================================
  Hits           81       81
  Misses         28       28

Continue to review full report at Codecov.

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


fixUrl

/kind:bug
bug report
Modify the wrong url to the most recent branch containing the file
see issues #21683

xref: https://kubernetes.io/docs/contribute/review/for-approvers/#blog-issues
/close


Strange shapes on Edge

There are displayed strange shapes when using text-security-disc only on Edge.
Is there a possible fix of this behavior?

type="password" is used?

No, type="number". Strange thing is it's working pretty well with other two shapes.

I tested with Mac Microsoft Edge, which is Chronium-based, and it works fine. Maybe using old one?
https://support.microsoft.com/en-ca/help/4501095/download-the-new-microsoft-edge-based-on-chromium

It happened on Microsoft Edge on WIndows. The version was one of the latest.

There is no problem in chromium based Edge browser, but only in "older" - EdgeHTML engine based version. (IE11 is fine, too)

Are you using a placeholder attribute with the password field? Could this be related to #3 and #5 where the cause was that Edge/IE also applied the font to the placeholder?

Thank you for your response. It doesnt belong to issues you mentioned...
When i changed font-family on body of https://noppa.github.io/text-security.html this happend:

Thanks. That's interesting... I'll try to repro this in a few days.
Can you check the console's network tab and see what font it's actually loading? Maybe if it's loading the non-compat version, we could try forcing the compatibility version and see if it works better.

Hi, I tried to switch to  '-compat.woff2' and it WORKS!!! Problem solved. Thank you

Great, thanks for checking.
Although that's also a bit disappointing because that means the optimized version now has issues both in Safari (#10) and in IE/Edge :sweat:
I'll update the README to reflect that and might need to change the defaults to load the compat font

optimized version now has issues

You have to look at it from the other side => If optimized version meets specification, Safari and IE/Edge have a problem
Good luck

Version 3.2 release candidate (installable with npm i text-security@next) has css files that should load the compatibility version of the font in IE and old non-chromium versions of Edge, so I think this is resolved with that. I'll bump that to new 3.2 version when I get a chance to test that things work as expected on iOS/OSX.


Increase the storage for the emulator fs

This change uses a captured vm with an 11gb ext4 filesystem for the arm
emulator runs in place of the 7gb it had before.

/cc @mmitche @RussKeldorph

LGTM


avoid custom CreationalContext and Contextual implementations in the TCK

On a small number of places, the CDI TCK creates its own implementations of CreationalContext and Contextual. These are extremely bare APIs that aren't sufficient for internal needs of CDI implementations or for interoperability. All CDI implementations that I know expose internally a much richer API and generally expect that their CreationalContext and Contextual implementations are used. It is possible to bend the implementations to accept a CreationalContext or Contextual of outside provenance, but I believe there's exactly nothing in the CDI specification that makes this mandatory.
Instead, I believe the CDI TCK should:

avoid using its own CreationalContext and Contextual implementations;
expose SPIs that lets implementations supply their own CreationalContext and Contextual implementations, augmented with inspection capabilities for the tests that need it.

This PR does exactly that.

Since this PR adds a new TCK SPI, this can only be done in the next major/minor CDI TCK version (4.1/5.0 I believe). Hence this is a draft for now.

I actually have a few more things locally, to avoid custom Contextuals in addition to custom CreationalContexts. I'll rebase and force-push to this PR.

Rebased, force-pushed, added a commit that removes obsolete TCK exclusions, and updated the title and summary of this PR.
@manovotn my implementation of these SPIs for Weld is in https://github.com/Ladicek/weld-core/commits/new-tck-spi, feel free to steal that :-) I also have an implementation of these SPIs for ArC on a branch somewhere, I can dig that up if interested.

@manovotn my implementation of these SPIs for Weld is in https://github.com/Ladicek/weld-core/commits/new-tck-spi, feel free to steal that :-) I also have an implementation of these SPIs for ArC on a branch somewhere, I can dig that up if interested.

Thanks but I already have my own draft.
Later today I'll add the Contextuals impl to it as well and once I get a pass, I will add a green stamp here.


[OSE-175] GetOperations implementation

Overview
GetOperations implementation. Notably, this doesn't include any filtering logic, which will be added in a subsequent PR.
Description
How Has This Been Tested?
Unit test.
Checklist
Before submitting this PR, please make sure:

[x] I have read the CONTRIBUTING document.
[x] My code is consistent with the rest of the project
[x] I have tagged the relevant reviewers and/or interested parties
[x] I have updated the READMEs and other documentation of affected packages

References
See SIP6.

Codecov Report

Merging #194 (c62c43b) into main (8ecadac) will decrease coverage by 0.66%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #194      +/-   ##
==========================================
- Coverage   25.64%   24.97%   -0.67%
==========================================
  Files          23       23
  Lines        1829     1878      +49
==========================================
  Hits          469      469
- Misses       1284     1333      +49
  Partials       76       76

Impacted Files
Coverage Δ

pkg/server/router/operation.go
0.00% <0.00%> (ø)

pkg/server/router/presentation.go
4.87% <ø> (ø)

pkg/service/operation/model.go
100.00% <ø> (ø)

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

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


fix: iOS front camera switching crash issue

This PR Fixes #543 & #542
This issue was caused since device.automaticallyAdjustsFaceDrivenAutoFocusEnabled as being executed without checking if autofocus mode is present in the selected camera device. Which caused it to fail on fewer iOS modes.
Adding a check like device.isFocusModeSupported(.autoFocus) with the required iOS version was solution to the issue.

Thanks! LGTM!


feat: impelement labels & annotations

New features:

annotations and labels on UI
labels in docker
labels & annotations in crane
agent general minor fixes

Codecov Report
Base: 18.57% // Head: 18.75% // Increases project coverage by +0.18% :tada:

Coverage data is based on head (251c1fb) compared to base (9258bb2).
Patch coverage: 25.88% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #317      +/-   ##
===========================================
+ Coverage    18.57%   18.75%   +0.18%
===========================================
  Files           51       51
  Lines         4883     4937      +54
===========================================
+ Hits           907      926      +19
- Misses        3954     3989      +35
  Partials        22       22

Impacted Files
Coverage Δ

golang/api/v1/deploy.go
80.61% <ø> (ø)

golang/internal/dogger/dogger.go
0.00% <0.00%> (ø)

golang/internal/grpc/grpc.go
0.00% <0.00%> (ø)

golang/pkg/builder/container/container_builder.go
0.00% <0.00%> (ø)

golang/pkg/cli/config_file.go
0.00% <ø> (ø)

golang/pkg/cli/container_defaults.go
0.00% <0.00%> (ø)

golang/pkg/cli/runner.go
0.00% <0.00%> (ø)

golang/pkg/crane/k8s/deploy_facade.go
0.00% <0.00%> (ø)

golang/pkg/crane/k8s/deployment.go
12.94% <0.00%> (-0.33%)
:arrow_down:

golang/pkg/crane/k8s/ingress.go
0.00% <0.00%> (ø)

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Deadlock when calling Wait and Go from different goroutines

Hi!
I'm using 0.1.5 with Go 1.16.3.
First, thank you for making the package! It's a great idea!
As to the issue: I've encountered what I believe is a deadlock due to my use of this package.
My program (a daemon) does this, among other things:

Creates an errgroup
Calls Go() on it
This goroutine (goroutine A) periodically receives some work to do and then starts worker goroutines, also with Go() on the same errgroup

Periodically my program shuts down. As part of that, it calls Wait() on the errgroup.
The situation I have observed is this:

The program needs to shut down
We acquire the lock on the mutex in Wait() (this is in the main goroutine) (https://github.com/neilotoole/errgroup/blob/master/errgroup.go#L89-L99)
We Wait on the WaitGroup
Concurrently, the first new goroutine (goroutine A) goes to start a worker. It ends up in Go() trying to lock the mutex too (https://github.com/neilotoole/errgroup/blob/master/errgroup.go#L122)
The program never exits because we're waiting for goroutine A to exit, but it can't proceed

Stack traces:
goroutine 1 [semacquire, 68 minutes]:
sync.runtime_Semacquire(0xc00055ed30)
        /usr/local/go/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc00055ed28)
        /usr/local/go/src/sync/waitgroup.go:130 +0x65
github.com/neilotoole/errgroup.(*Group).Wait(0xc00055ed20, 0xc000136008, 0xc000609d18)
        /home/wstorey_maxmind_com/go/pkg/mod/github.com/neilotoole/errgroup@v0.1.5/errgroup.go:99 +0x65
github.maxmind.com/maxmind/mm_website/go/shared/pubsubworker.Run(0x129a780, 0xc000543e40, 0xc0005977e0, 0x129d0f8, 0xc000560320, 0x1, 0x12869c0, 0xc000136670, 0x0, 0x0)
        /home/wstorey_maxmind_com/mm_website/go/shared/pubsubworker/worker.go:121 +0x465
github.maxmind.com/maxmind/mm_website/go/process-job-pubsub/worker.DaemonFromCLI(0x129a780, 0xc00011a000)
        /home/wstorey_maxmind_com/mm_website/go/process-job-pubsub/worker/worker.go:158 +0x7a5
main.main()
        /home/wstorey_maxmind_com/mm_website/go/process-job-pubsub/main.go:10 +0x39

goroutine 41 [semacquire, 68 minutes]:
sync.runtime_SemacquireMutex(0xc00055ed6c, 0x0, 0x1)
        /usr/local/go/src/runtime/sema.go:71 +0x47
sync.(*Mutex).lockSlow(0xc00055ed68)
        /usr/local/go/src/sync/mutex.go:138 +0x105
sync.(*Mutex).Lock(...)
        /usr/local/go/src/sync/mutex.go:81
github.com/neilotoole/errgroup.(*Group).Go(0xc00055ed20, 0xc000769880)
        /home/wstorey_maxmind_com/go/pkg/mod/github.com/neilotoole/errgroup@v0.1.5/errgroup.go:122 +0x190
github.maxmind.com/maxmind/mm_website/go/shared/pubsubworker.(*Worker).process(0xc000547b30, 0x129a748, 0xc000543e40, 0xc00055ed20)
        /home/wstorey_maxmind_com/mm_website/go/shared/pubsubworker/worker.go:190 +0x155

What do you think?

@horgh Thanks for the kind words, much appreciated. It's great to see code in action.
I'll freely admit I had not considered (or tested for) this scenario. It's very interesting.
Just running through your example in my head, yes, I see the deadlock.
It seems like it should be possible to distill this situation down to a test case, and easily arrive at that deadlock (I haven't done that yet, basically due to lack of time).
I suppose the question is: if we had that test case, would sync/errgroup fail at the same deadlock as neilotoole/errgroup?  I  think this package should still emulate the behavior of sync/errgroup (even in the case of deadlock), as the goal is to be a "drop-in" replacement for sync/errgroup. On the other hand, if sync/errgroup does not experience deadlock, but this package does, then this package has failed as a "drop-in".
Ideally, could you provide a test case that demonstrates the deadlock? Either which way, I want to get to the bottom of this scenario. It's a real-world situation that at a minimum needs to be documented, but hopefully solved.

Thank you for looking at it!
This reproduces the issue:
package main

import (
	"context"
	"log"
	"time"

	"github.com/neilotoole/errgroup"
	// "golang.org/x/sync/errgroup"
)

func main() {
	ctx := context.Background()

	eg, _ := errgroup.WithContext(ctx)
	eg.Go(func() error { return g1(eg) })

	if err := eg.Wait(); err != nil {
		log.Fatal(err)
	}
}

func g1(eg *errgroup.Group) error {
	time.Sleep(100 * time.Millisecond)
	eg.Go(func() error { return nil })
	return nil
}

When run this shows: fatal error: all goroutines are asleep - deadlock!
It does not happen with golang.org/x/sync/errgroup. It looks like that implementation doesn't use a mutex directly so it is avoiding the situation.

I added a test here in the test package too - https://github.com/neilotoole/errgroup/compare/master...horgh:horgh/deadlock-test?expand=1

I'm kinda wondering now if golang.org/x/sync/errgroup is not designed for this either. It won't deadlock, but I don't know that it is valid to call Go() and Wait() on a Group from it concurrently. I think we could end up with a race where we still start a goroutine despite Wait() returning. It won't deadlock so its failure mode is better, but it's not correct either. Perhaps this should simply be documented or something. This comment made me think about this.


fix example code

the code example in readme will be undefined in function scope.
e.g.
function try() {
    var geocoder = new geocoder.Nominatim();
    //error: property not found
}

err: property not found, because the variable geocoder in new geocoder.Nominatim() is already the just created from local scope, not the variable from global window scope.
another possible fix:
var geocoder = new window.geocoder.Nominatim();

Hi @yadimon I didn't realize what this PR changes, it only shows a variable change. And that issue about scope, if you really need to instantiate inside a function, I guess window.geocoder = new geocoder.Nominatim() is a better approach.

the problem by the example, if people copypaste it in own functions, it does not work.
another example
(function($){
    var geocoder = new geocoder.Nominatim();
    //js error.

    ...
}(jQuery))()

window.geocoder = new geocoder.Nominatim() this (and the current readme example) will replace your global object. What if i need another geocoder controller? Just cant create it anymore.
I dont know the code architecture, maybe it make no sense to create another controller, but if you want to keep it like "singleton" once created only, than you still should change the example code, with window.geocoder = new geocoder.Nominatim(), to avoid errors for people who just copypaste the code in own functions and get errors.

I've released a complete rewrite version, please take a look.

looks nice! :+1:


Fix bug of lacking axis when using array_op.concat in _unwrap_and_concat function

This is a small bug fix. Array_ops.concat should be always passed with two params. But it seems that the axis was missed in _unwrap_and_concat function.

@yuefengz @tensorflower-gardener  This is a small bug fix.


Final fling events

I've recently done some widget work that required rendering after a zoom in/out or a fling.  There are events invoked when zoom in/out has finished but nothing for a fling.  After digging in the code base, I found the FlingFinal method.  Rather than it doing nothing, as per comment in code, do you think you could look at invoking a navigated event like the zooms?
private void FlingFinal(AnimationEntry entry)
{
Navigated?.Invoke( this, ChangeType.Discrete );
}

We are rewriting the animations for 3.x and there are no plans for improved animations in 2.x. The way something like this should be implemented in 3.x is by using a specific Easing function.


if not hugo.IsServer causes error

Just cloned the theme, tried starting the server, got the following
ERROR 2024/02/20 15:35:28 render of "taxonomy" failed: "/var/www/hugoDev/themes/soho/layouts/_default/baseof.html:77:14": execute of template failed: template: _default/taxonomy.html:77:14: executing "_default/taxonomy.html" at <hugo>: can't evaluate field IsServer in type interface {}
ERROR 2024/02/20 15:35:28 render of "taxonomy" failed: "/var/www/hugoDev/themes/soho/layouts/_default/baseof.html:77:14": execute of template failed: template: _default/taxonomy.html:77:14: executing "_default/taxonomy.html" at <hugo>: can't evaluate field IsServer in type interface {}
Error: Error building site: failed to render pages: render of "home" failed: "/var/www/hugoDev/themes/soho/layouts/_default/baseof.html:77:14": execute of template failed: template: index.html:77:14: executing "index.html" at <hugo>: can't evaluate field IsServer in type interface {}

Had to remove the following from layouts/_default/baseof.html
    {{ if not hugo.IsServer }}
      {{ template "_internal/google_analytics.html" . }}
    {{ end }}

Update Hugo to 0.120.0 or higher.

Yeah I realized that like 2 seconds after I posted this, so I closed it immediately. Sorry


VS Code Comment body display change

Hello 👋
I work on the commenting API in VS Code, and I'm opening this issue because this repository contains usages of the commenting API.
We recently noticed that even though a Comment's body can be string | MarkdownString we're always displaying it as a MarkdownString (issue). The upcoming 1.64 release will fix that: when a comment body is a string it will be displayed as a plain string and not as markdown. As a user of the the commenting API, this project may be affected by this.
If this project does wish to keep displaying comment body as Markdown, simply create a new MarkdownString and use that as the comment body:
comment.body = new vscode.MarkdownString(body);

It's also possible that this project doesn't rely on the incorrect display behavior and that this issue can be disregarded!

Thanks! Just updated the extension to take this change into account.