Message for invalid JSON remains even after fixing and revalidating JSON

Consider the following (invalid, it's missing a comma) JSON:
{
    "key1": "value1"
    "key2": "value2"
}

If I use PrettyJson to validate this JSON (using the "Pretty JSON: Validate" command) it will of course fail, and give a message in the status bar explaining why, like so:

If I then fix the offending JSON, making it valid, and then rerun the "Pretty JSON: Validate", PrettyJson correctly judges it valid, but the message about it being invalid in the status bar remains.  Example:

This message persists until one of the following happens:

SublimeText is restarted
the "Pretty JSON: Validate" command is run again, and finds that the JSON being evaluated is invalid in some different way, in which case it will be overwritten with the new invalid message

When reporting JSON as valid, PrettyJson should remove the old message about invalid JSON.

Will fix in next release


Hot water heating trough HA

Hi
I have a Weishaupt heatpump with a boiler for hot water.
I want the heat pump to create hot water when I have sufficient solar power instead of doing it on a regular time base. I want to make the hot water even hotter than normal so it stays hot for longer time.
How can I force the heat pump to make hot(ter) water trough HA? Does anyone has an automation for this?
Thank you!
Tim

The easiest way to do this would be by adjusting the wanted  boiler temperature. In my case, this would be done by modifying number.warmwasser_normalww. However, names and supported functions may vary, so I recommend reviewing all available options under your Device in the configuration for this integration.

Hi @erikkastelec
When I change the wanted boiler temperature I observe that that the heat pump does not immediately start heating the water. I see in the statistics that it takes almost an hour for the heat pump to start heating up the water.
When I have excess solar power I want to use it immediately to heat the water. Do you know if that is possible and how to do that?

This is probably due to dynamic switching setting that is located under heat pump tab on  expert page on WEM website. Try turning it off and it should follow your set temperature more closely.
If you find a better solution, let me know.

Maybe this is due to the deltaT?
The heatpump has a setting how much difference of measured to set temperature is allowed. I have 5 Kelvin.
My normal warm water is set to 45°C. When i set it to 55°C it starts nearly immediately.


Global shortcut key doesn't work with Swedish keyboard layout

Ohai, it's me again.
I'm having issues with the global shortcut key (^=) on a Swedish keyboard layout.
Control + Shift + = does not do what it is suppose to, it just renders a default macOS beeping sound.
It would be absolutely ace if this was a configuration option that you could access from the menu bar.

Ola, you again!
Do you mean control-= not control-shift-= which would be control-+ or if this different in Sweeden? control-shift-= did something different in the old plugin ("inject and reset”)

shift + 0 is equal to =
Where as
ctrl + shift + 0 does nothing apparently :/

I think I just figure it out. I was just using the wrong key :)
The injection menu bar app tricked me, I'm suppose to use this key:

Weird! The hotkey uses a very old Carbon api which could explain things.


Fixed #1106 issue

Description
·> Corrected the previously mis-aligned products for a more professional look
-> The animation while hovering over product was very choppy so added an ease-in transformation making it feel much better to slide over the products
Type of PR

[ x ] Feature enhancement

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[ x ] I have performed a self-review of my code
[ x ] I have read and followed the Contribution Guidelines.
[ x ] I have tested the changes thoroughly before submitting this pull request.
[ x ] I have provided relevant issue numbers, screenshots, and videos after making the changes.

hey @arghadipmanna101  !
I've fixed the issue created earlier, kindly check it.


Expiring AccessToken during export

Hi,
I try to export Users from AAD using this command: Export-AzureAD -Type Users -Path ./dump but after some time AccessToken expiring and I get the below error:
Export-AzureAD: /home/user/.local/share/powershell/Modules/AzureADExporter/1.0.957478/Export-AzureAD.ps1:140
Line |
 140 |  …             Export-AzureAD -Path $itemOutputFileName -Type $Type -Exp …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | GET https://graph.microsoft.com/beta/users/3e153173-****-****-****-a8e385cba89f/authentication/phoneMethods HTTP/1.1 401 Unauthorized Transfer-Encoding: chunked Vary: Accept-Encoding Strict-Transport-Security:
     | max-age=31536000 request-id: 44369f81-****-****-****-e9dd0946da6c client-request-id: 44369f81-****-****-****-e9dd0946da6c x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West
     | Europe","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"AM1PEPF0*******"}} WWW-Authenticate: Bearer realm="", authorization_uri="https://login.microsoftonline.com/common/oauth2/authorize",
     | client_id="00000003-0000-0000-c000-000000000000" Date: Fri, 20 Jan 2023 13:29:42 GMT Content-Type: application/json Content-Encoding: gzip  {"error":{"code":"InvalidAuthenticationToken","message":"Access token has expired
     | or is not yet valid.","innerError":{"date":"2023-01-20T13:29:43","request-id":"44369f81-****-****-****-e9dd0946da6c","client-request-id":"44369f81-****-****-****-e9dd0946da6c"}}}
    3e153173-****-****-****-a8e385cba89f Authentication/EmailMethods

How to handle this case without rewriting your script? I cannot see any options in the documentation.
Best regards

How are you connecting to Microsoft Graph? As long as you are not using the -AccessToken parameter in Connect-MgGraph your token should be renewed automatically.


Combine Cargo workspaces

Ballista is now part of the default workspace
Updated Ballista version from 0.4.2-SNAPSHOT to 0.5.0-SNAPSHOT since the next release is significant as first from the new repo
I did not change the DataFusion version and we will need to do that at some point (4.1.0 or 5.0.0 next?)

Closes #17

@alamb @jorgecarleitao Are you ok with this approach of having a single Cargo workspace for all crates? The dependency is still that Ballista depends on DataFusion.
@Dandandan This also removes snmalloc as a default feature so that we don't require CI and all DataFusion devs to compile with snmalloc. My thinking is that it makes sense to build Ballista executors with snmalloc when creating the Docker images. Let me know what you think.

Codecov Report

Merging #23 (e0cdd2d) into master (c365a4f) will increase coverage by 5.42%.
The diff coverage is 82.75%.

:exclamation: Current head e0cdd2d differs from pull request most recent head 95e0045. Consider uploading reports for the commit 95e0045 to get more accurate results

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
+ Coverage   70.41%   75.83%   +5.42%
==========================================
  Files         123      135      +12
  Lines       21261    23152    +1891
==========================================
+ Hits        14970    17557    +2587
+ Misses       6291     5595     -696

Impacted Files
Coverage Δ

...lista/rust/core/src/serde/logical_plan/to_proto.rs
68.15% <ø> (+68.15%)
:arrow_up:

datafusion/src/optimizer/projection_push_down.rs
98.66% <ø> (ø)

datafusion/src/physical_plan/hash_utils.rs
100.00% <ø> (+2.89%)
:arrow_up:

datafusion/src/optimizer/constant_folding.rs
91.95% <33.33%> (-0.36%)
:arrow_down:

datafusion/src/logical_plan/plan.rs
82.01% <61.53%> (+1.62%)
:arrow_up:

datafusion/src/physical_plan/cross_join.rs
76.15% <76.15%> (ø)

datafusion/src/optimizer/hash_build_probe_order.rs
62.60% <88.88%> (+6.93%)
:arrow_up:

benchmarks/src/bin/tpch.rs
38.86% <100.00%> (+0.52%)
:arrow_up:

datafusion/src/logical_plan/builder.rs
90.99% <100.00%> (+2.10%)
:arrow_up:

datafusion/src/optimizer/filter_push_down.rs
97.66% <100.00%> (+<0.01%)
:arrow_up:

... and 62 more

Continue to review full report at Codecov.

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


(KeywordAlerts) Ability to blacklist certain users and option to disable it when on the same channel.

It would be nice to be able to blacklist an user from triggering the keywordalert.
Kind of a seperare suggestion but it would also be nice if there was an option that lets you disable keywordalerts from the same channel you're currently in/viewing
I dont know if either of these are possible, but fingers crossed. Any way, thanks for this awesome plugin :)

Your second suggestion has been added

That's awesome, thanks! Do you think it would also be possible to block a specific channel?


mods.toml missing metadata for modid nul

mods.toml missing metadata for modid nul
i install this mod and am immediately met with this error message on game startup

are you sure its a dynamictrees error

yes, i recreated the error multipe times but adding and removing it form my mod lists

You have entirely ignored the issue template and not given sufficient details. How are we supposed to help if you haven't even told us what version you're trying to run?

I'm having the same issue on the 1.16.5 version
Crash Report:
crash-2021-04-25_21.58.16-fml.txt

sorry im new to minecraft modding, im running 1.16.5, latest version of forge, and optifine.
crash-2021-04-25_21.58.16-fml.txt

Your problem is that you're trying to run the 1.12 version in 1.16. If you want to run 1.16 there is a beta download on our Discord.

If you look at the file name it is DynamicTrees-1.12.2-0.9.23.jar. The bit in the middle is describing the Minecraft version it runs on, in this case 1.12.2.

Then the last section is the Dynamic Trees version, which is in this case 0.9.23. And for future reference you should also include this in bug reports.

Okay thank you so much!


Question: how to snap right away, and also while allowing first&last items to also be in center?

Suppose I want to snap to center, similar to this:

Currently it seems that snapping only works after scrolling, and not right when we show the RecyclerView.
Also, it doesn't let me have the first and last items to be in the center.

Adding decoration or padding to the start and end of the recyclerview should work fine. Have you tried doing this?
Currently it seems that snapping only works after scrolling, -> You can do it programmatically by calling the public API of LinearSnapHelper.

I'm not sure if this is a good solution. What will happen if the content of the first/last item would change? And you have to decide how much space to add to it.
Isn't there another way to solve it? A way to let the RecyclerView to keep letting you scroll by what on the center?

I've made a question about it here:
https://stackoverflow.com/q/53483268/878126

RecyclerView lays out the items filling the whole available space. You can't center the first or last items without adding some content on the edges. I don't think you can run away from a hacky solution for this. I'll try this out in the weekend.

But I thought that the LayoutManager is responsible about putting the Views and how to put each in its place...

They are, but if you're using a LinearLayoutManager the content is spread along the whole width of the RecyclerView.

Isn't there a way perhaps to override it, by extending  LinearLayoutManager ?

I'm sure there is, but I don't have time to try this out now. I'll check this in the weekend.

But I still think going for decoration is the easier way. You can have decoration that depends on the item width.

Easy solutions sometimes isn't the best thing to do.
Thank you for trying it out.

Managed to do it this night since I was curious :)
Video here: https://drive.google.com/open?id=1RPyiY9UndXcrbfBDWLB-UklxjPKMiR8-
This should do the trick:
class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        val adapter = Adapter()

        recyclerView.layoutManager = LinearLayoutManager(this, RecyclerView.HORIZONTAL, false)
        recyclerView.addItemDecoration(CenterDecoration(resources.getDimensionPixelSize(R.dimen.item_spacing)))
        recyclerView.adapter = adapter
        LinearSnapHelper().attachToRecyclerView(recyclerView)

        adapter.setItems(listOf("Panorama", "Portrait", "Camera", "Video", "More"))
    }
}

class CenterDecoration(@Px private val spacing: Int) : RecyclerView.ItemDecoration() {

    override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {
        super.getItemOffsets(outRect, view, parent, state)
        val adapterPosition = (view.layoutParams as RecyclerView.LayoutParams).viewAdapterPosition
        val lm = parent.layoutManager as LinearLayoutManager
        if (adapterPosition == 0) {
            outRect.left = parent.width / 2 - view.width / 2
            outRect.right = spacing / 2
        } else if (adapterPosition == lm.itemCount - 1) {
            outRect.right = parent.width / 2 - view.width / 2
            outRect.left = spacing / 2
        } else {
            outRect.left = spacing / 2
            outRect.right = spacing / 2
        }
    }

}

Seems promising.
Can you please put full solution? Here's a link:
https://stackoverflow.com/q/53483268/878126

It has some problems though: doesn't work when there's less than 3 items. This probably requires a custom snap helper :)

Oh, but I want to be able to set various number of items... :(

Managed to fix this. Will update my answer on stackoverflow soon.


Add naming commands

My initiave

Add it to the list of commands too please. Same branch.

I think there also in commands V2 . Bundled with this sir.

since this is open could you !bounty command to link to bounty page please and thanks :+1:

I'm finished  MSFT . send from Lenovo Vibe K4 Note Using Chrome Mobile


No extra commas in the last song verses

There are some extra commas in the first line of the last verses.
They appear in the README only, and are not present in the golden master. Apparently, there were present by mistake in the original article. I suppose you had them because of a copy paste.

Thanks for this but the README is not meant to be used as a golden master or approved file. It's supposed to be a sketch not a requirements document. In real life we don't get given perfect requirements.

I don’t see how keeping a copy with typos can help. I submitted this PR after a friend copy pasted from the original source, also containing the typos.
But it’s OK, your repo, your rules :)


Copy inherited parameter doc to target if not already present

This change reverses the logic when copying inherited parameter comments. Before this change the source comment was only copied when there was already a target comment. This did not make any sense. Now the source comment is copied when target comment is missing. In this way all parameter documentation is copied when simply using @inheritDoc and it is possible to override specific parameter comments by documenting them with @param on the target method.
PR also includes a unit test for a few common scenarios.
This fixes #787

Has there been any progress yet?

@Gerrit0 any chance you can get this merged in the coming weeks?

@StephanBijzitter fixing the conflicts would help a ton, I haven't had time to work on TypeDoc for a few weeks and it'll probably take me a while to get to this otherwise.

@Gerrit0 No worries, I already read that you didn't have a lot of spare time :-)
I re-applied the changes in a new branch and all tests (linting/unit) pass.
Next to that, I also checked the output (specs) myself and the JSON is as I would expect it to be.
new pull request: #1303


Language flag does not work as intended

When setting the language flag to DA the model still seems to be training on non-Danish datasets:
$ scandeval -m KennethEnevoldsen/dfm-bert-base  --language da
[...]
↳ Finished finetuning and evaluation of KennethEnevoldsen/dfm-bert-base on DKHate.
[...]
↳ Benchmarking KennethEnevoldsen/dfm-bert-base on LCC:
[...]
↳ Benchmarking KennethEnevoldsen/dfm-bert-base on NoReC:
[...]

Scandeval version: 3.0.0

This is actually working as intended, as as described in the readme. Namely, the language argument only filters the models, not the dataset. So in your above script the language tag does nothing, as you've already specified a model.
That being said, there might be some value in filtering on datasets as well, but the question is how to present it in the API. We could filter on both models and datasets, but then we lose the option of filtering on only of them. Maybe the solution is to have three tags:

language, which filters on both models and datasets
model_language, only filtering the models
dataset_language, only filtering the datasets

Oh that is my bad. That sounds very reasonable.
So Danish models is all the models with the Danish tag og HF?

Fixed in v4.0.0, via the separation of model languages (-ml) and dataset languages (-dl). If you only specify languages (-l) then this will cover both model and dataset languages.

But even when I set -dl nl the model seems to be finetuning,  is this a bug @saattrupdan ?

@usarth Moved to a separate issue: https://github.com/ScandEval/ScandEval/issues/518


Update scalafmt-core to 3.1.0

Updates org.scalameta:scalafmt-core from 3.0.8 to 3.1.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Codecov Report

Merging #2 (5c3bc37) into main (dfe7080) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   50.00%   50.00%
=======================================
  Files           4        4
  Lines          36       36
=======================================
  Hits           18       18
  Misses         18       18

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 dfe7080...5c3bc37. Read the comment docs.


Re-assign ModSpec identifiers according to OGC instructions

This is a mapping provided by @ghobona:
GeoPose.xlsx
@metanorma/editors could you please help rename the identifiers as provided by this Excel sheet? Thanks!

@ronaldtse, should we take into account the "Sheet 2" of GeoPose.xlsx? It seems unfinished.

@manuelfuenmayor  I've just added Column D to Sheet 2.
So Column C (ConfClassID-New) shows the identifiers of conformance classes.
Column D (ConfTest) shows the identifiers of conformance tests.
Please have a look and let me know if you have any questions about the identifiers.
GeoPose_2.xlsx

Thanks @ghobona, now Sheet 2 is clearer.
I have two questions indeed:

In the last row of Column D, there are three comma-separated identifiers? Should I take these three into account or just the first one? (Original document only includes the first one.)
In Dependency column (Column K), the identifiers from row 56 onwards, don't match with any requirement entity:

By association, I'm assuming that these correspond to conformance class IDs that need to be corrected with the new identifiers. Namely:
/conf/basic_ypr_sdu is /conf/basic-ypr
/conf/basic_quaternion_sdu is /conf/basic-quaternion
/conf/advanced_sdu is /conf/advanced... etc.
Am I right?

The re-structuring of conf/ folder is finished.


.python-version is created by default but this is not documented

I think I'm right in saying that https://github.com/astral-sh/uv/pull/6869 has made the creation of a .python-version file happen by default if you run uv init.
But this still needs to be updated in the project docs? see https://docs.astral.sh/uv/guides/projects/

Yep! Thanks


Question: is there a way to generate EVM assembly

I'm not sure if that feature relates to hardhat-deploy or to hardhat core.
I would like to get asm code from hardhat which is generated with solc --asm. Is it possible with some config setting through hardhat.config or the plugin settings?
Required solc functionality:

Yes, this is not a hardhat-deploy thing, you ll have to override hardhat task to setup the proper solc config
but you want to make sure you do not interfere with hardhat-deploy or other plugin overriding :
see how hardhat-deploy does it : https://github.com/wighawag/hardhat-deploy/blob/db563b0cb1ba287834d68714fc7c446df9803a56/src/index.ts#L325


Click option along with scroll

Is there any way to change date/time also on click especially for web view? For instance if current selection is Oct,  on clicking Sep  it gets selected as current and on clicking Nov it gets selected.

Found it in navigation section. Sorry and thank you


Make drag-and-drop usable in the outliner

Functionality Changes

Revamped drag-and-drop

Add drag handles to note blocks, to make it clear how to drag and drop them.
Dropping a note block to any of its descendants is not allowed.
Global drag-and-drop (e.g. to/from the "Favorites" section) is temporarily disabled to prevent unexpected bugs/crashes.
Drag-and-drop across different note tabs still works.

Code Changes / Refactoring / Fixes

Rewrite code related to managing collapsed state of outlines (see packages/unigraph-dev-explorer/src/examples/notes/useOutlineCollapsed.ts):

Fix a bug: A collapsed outline becomes non-collapsed after drag-and-drop.
Simplify code: No need to pass props around.

Support adding items before indexes in a list (see packages/default-packages/unigraph.core/executables/addItemToList.js).

Otherwise, it would be impossible to drop a note block before a note block at index 0 in another list.

Extract <Outline> component from packages/unigraph-dev-explorer/src/examples/notes/NoteBlock.tsx since the file is too big and hard to navigate.

I pulled but the drag and drop wasn't updating block position.

Could you elaborate more? Do you mean when dropping the block doesn't get reordered/moved? (a screencast would be very helpful)

Hey I recorded a video, see if you can reproduce some of the problems I faced. Sometimes blocks won't move, sometimes they'll disappear, one time a block got cloned: https://www.loom.com/share/a226dfe5d3db43519e296be377a712c1
I'm really excited about this feature btw, glad you're working on ti :)

Thank you for the video! Looks like the detection of drop target jumps a lot. What browser/OS are you using? And where is the server running (on the same machine / in the same local network / on a cloud service / etc)?

Using Brave (which is Chromium), server running locally.

I downloaded Brave (on Linux) and drag-and-drop worked normally. But I did see some of the bugs (block not moving on drop, block duplicates) when I was in a tab that was idle for a long time.

Just tried the latest commit - it is still very hard to click on the note blocks (bottom 25% is completely unclickable, for example) - I've tried to make the dropTargetHeight into 10 and it solves the problem, but I don't know if we can't have a larger detection area w/o blocking onClick - maybe it is a limitation of react-dnd?
Otherwise everything looks fine, and feel free to merge this once the unclickable issue is done :)

Discovered the "Sortable" examples today. In fact we can infer the drop action without the need of explicit drop target elements. So no more drop targets now, clicking into the note blocks should work like before.

Thanks @thesophiaxu for your input on switching the executable approach to direct unigraph.updateObject! It's a lot faster.
There's a little annoying effect, which is that the dropped block may flicker its text to show its uid for a bit, though I think we can address it later.
Video in 0.5x speed:
https://user-images.githubusercontent.com/25148955/163166747-ea58a846-d764-462b-9ac2-2f333cefa802.mp4

Thanks @thesophiaxu for your input on switching the executable approach to direct unigraph.updateObject! It's a lot faster.
There's a little annoying effect, which is that the dropped block may flicker its text to show its uid for a bit, though I think we can address it later.
Video in 0.5x speed:
kazam_screencast_00000.out.mp4

I've found that as well - the issue is with how subscriptions are handled and it will probably be fixed later


Use vaadin-tabs for api documentation

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


new fields are not displayed in metrics table

for example:
in Last update metric, one node(A) has TxBytes and TxPackets and another node(B) has RxBytes and RxPackets.
If we click node A first, and click node B it is not showing RxBytes and RxPackets and vice-versa.

So I think this is due to partial metadata sending, empty (zero) metrics are not sent. We should add statically the list of the metrics to the WebUI for now. That is something that could be generated from the metrics definition. But I think that OK for now to add them statically in a separate file. That what is done for grafana.
https://github.com/skydive-project/skydive-grafana-datasource/blob/master/src/query_ctrl.js#L19


Change group validation with a local variable

Hi Pubudu, the merge process failed with the following error, can you please try to update your local branch with the remote and update this pull request?
Auto-merging components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
CONFLICT (content): Merge conflict in components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
Failed to merge in the changes.
Patch failed at 0005 Fix Exception handling in addCartridgeGroup method
Thanks

Hi Imesh, I updated my local branch and merged with the master. Can you check now?

Thanks for the quick response! It looks like still we have a problem:
CONFLICT (content): Merge conflict in components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
Failed to merge in the changes.
Patch failed at 0001 Adding a local variable for recursive group validate method

Hi Imesh,
I reverted all the commits made to the branch and committed again. I think now you should be able to merge. Sorry for the inconvenience caused.
Thank you.

Thanks Pubudu!! That worked, I have now merged this pull request to master branch.


Variable suggestion window does not show when upgrade navi from v0.11.1 to v0.12.0

Reproduce steps:

input git checkout
press Enter key
Got following error:
Unable to fetch suggestions for 'branch'!

Environment:
mac
iterm2
zsh
fzf: 0.17.1 (brew)

Thanks for the report! I'll look into it tomorrow

In the meantime, could you try running the (unreleased) version from master? You'll need to manually git clone.
Maybe the problem is already solved.

In the meantime, could you try running the (unreleased) version from master? You'll need to manually git clone.
Maybe the problem is already solved.

I've tried the master branch, but the problem still exists.

Strange... I'm not able to reproduce the problem :(
Does the variable suggestion fail to all variables or just for <branch<?

https://github.com/denisidoro/navi/blob/76e216b24ae10a575a9dc03dbe0b8bfbd1d3089e/src/ui.sh#L14
I found I can fix this problem by changing the above code to:
"$fzf_cmd" ${args[@]:-} --inline-info "$@"
I guess the reason why you can't reproduce is because your shell is not zsh.

I use zsh as well but actually that makes no difference. When the script is invoked, it's executed with bash.
What's your bash version?
I can open a PR if you want (or you can open yourself so that you'll be a contributor to the project)

The version info of the bash I use:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
After some experiments, I found the bash version may not be the cause. However, I guess it's the Gnu Readline library which is a dependency of bash.
I'll be happy to open a PR~

this issue still persists
$ brew info navi
navi: stable 0.15.2 (bottled)
Interactive cheatsheet tool for the command-line
https://github.com/denisidoro/navi
/usr/local/Cellar/navi/0.15.2 (62 files, 82.9KB) *
  Built from source on 2019-11-15 at 16:15:22

Environment:
macOS 10.15.1
iterm2
zsh 5.7.1 (x86_64-apple-darwin19.0)
fzf: stable 0.18.0 (bottled), HEAD


@prisma/client initialized at wrong location with custom output in Yarn Workspaces

Problem
When installing dependencies via Yarn Workspaces with a custom output path for the @prisma/client, the empty client still gets generated at the default path.
Solution
It should generate the empty client at the specified output path.

Can you please share your yarn workspace setup in a git repository? That will help us in triaging this issue.

@enzoferey I am going to close this as its been 3 months now and there is no activity here.
Please reply if you want us to take another look.

Sorry for not coming back at you. I had a workaround in place when I opened the issue, we shipped the project with it and I didn't had to come back to it yet. Hopefully it will be indirectly fixed when upgrading versions in a couple of months. I will let you know if it's not the case.


Using berkshelf-api instead of private supermarket

@svanharmelen suggested it should be fine to use berks-api url in [supermarket] section. However I'm getting the following error and not sure what causes it:
ERROR:   2015/03/13 22:16:37 Failed to get cookbook info from https://my-chef-server:443//cookbooks/mycookbook/versions/0_2_28: <!DOCTYPE html>
404 ...

It's Chef 11.
The correct url for that cookbook will be "https://my-chef-server:443/cookbooks/mycookbook/0.2.28" (According to chef webui).

@iroller thanks for trying/testing! As I mentioned I didn't actually test this use case, so not to surprised that you encountered a problem :wink:
So what version of the berks-api are you using?

It's 2.1.0.
Here's my config file:
{
  "endpoints": [
    {
      "type": "chef_server",
      "options": {
        "url": "https://my-chef-server",
        "client_name": "clientname",
        "client_key": "/etc/chef/client.pem"
      }
    },
    {
      "type": "supermarket",
      "options": {
        "url": "https://supermarket.getchef.com"
      }
    }
  ]
}

Any chance I can re-build CG with some debugging available to provide more info?
And I've tried both latest release of CG and build from latest master - all the same.

Yeah, this is not something that is actively used and/or tested so it's behaviour will be unchanged in master...
This has to do with the response received from the berks-api. The URL pointing to the cookbook download location looks a little different as you would get when it's pointing to a supermarket, so we need to check if it's worth the effort to support this use case as well.
I think it wouldn't be to difficult to hack support in, but need to have  closer look first so labeled this as an enhancement for now.

Closing this one as a won't fix... This issue is pretty old by now and I don't have the incentive to add this myself. Of course PR's are always welcome :wink:


fix(congregation): update source material when backup instead of overwrite

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


Issue with WSCLEAN V3.5

I am running smops on wsclean v3.5 outputs and having the following issue:
14:34:51 29.08.2024 : smops - INFO - Starting frequency interpolation
Traceback (most recent call last):
File "/usr/local/bin/smops", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/smops/smooth.py", line 388, in
main
mod_out = interp_cube(model, w_sums, input_center_freqs,
File "/usr/local/lib/python3.8/dist-packages/smops/smooth.py", line 218, in
interp_cube
np.linalg.solve(hess_comps, dirty_comps),
File "<array_function internals>", line 200, in solve
File "/usr/local/lib/python3.8/dist-packages/numpy/linalg/linalg.py", line
386, in solve
r = gufunc(a, b, signature=signature, extobj=extobj)
File "/usr/local/lib/python3.8/dist-packages/numpy/linalg/linalg.py", line
89, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
However, it works well on the same MS/output images created with WSCLEAN v3.3.
Is this a known issue or a solution available for this?
Thanks very much.
Update: seems like the new version of wsclean v3.5 does not generate 'WSCVWSUM', hence the error. I will raise this issue with wsclean.

So what was the issue? Or was it just a null model or something?
@Mulan-94 could probably catch that exception, and print out a friendlier error.

w_sums array returns null as the header value 'WSCVWSUM' is 0 in the model images, and hence the singular matrix. Seems like something is not working in wsclean v3.5 while calculating the sum-of-visibility-weights!...

Aha, thanks very much for digging into this! It's probably worth raising an issue on the wsclean repo -- and still worth adding an exception handler in stops.


NSG GeoPackage Tiling Profile 2.0 Support?

Does MAGE iOS SDK been updated to support the NGA's NSG GeoPackage Tiling Profile Specification?  (NSG) GeoPackage Encoding Standard 2.0
Interoperability Standard
(2016-09-14)

Please see ngageoint/GeoPackage#4


button for protocol discovery

as a user I would like a button to request what protocols are supported with an agent I am connected to.
notes:
this button will be used to trigger the protocol discovery message and will result with a new "buttons" with this connection.

instead of a button, trigger discovery on refresh.

pull to refresh will trigger new discovery.


Add macOS support

What are your plans to package the Python runtime as well as custom libraries on macOS? Will it also be similar to what Kivy does? Or maybe using PythonKit?

Sure, we are going to support macOS right after Android! Currently, the plan is utilize kivy-sdk-packager project to build embeddable Python framework.

Closing in favour of #29


Message signing network mismatch bugfix; OptionDisabledView bugfix

Message signing was already checking for "Network Mismatch" if a user was configured for MAINNET in Settings but scanned in a signmessage QR with a TESTNET/REGTEST derivation path specified.
However, it was not checking the opposite: Settings configured for TESTNET or REGTEST but scan in a signmessage QR for MAINNET.
Second bug: When message signing is disabled in Settings, the OptionDisabledView appears but then did not return any values, resulting in a second error screen.
This PR:

Adds that opposite check (Settings configured for TESTNET/REGTEST, signmessage QR for MAINNET).
Moves the network check to be as early as possible in the flow.
Updates the test_sign_message_network_mismatch_flow to test for all possible network mismatches and DRY-ifies it for internal reuse.
Adds option on OptionDisabledView to jump straight to the relevant Settings update.
Moves message signing-related decision logic out of ScanView and into SeedSignMessageStartView
Adds OptionDisabledView to screenshot generator.
Adds test for sign message being disabled.

ACK and tested


Refactor and optimize model evaluation

This PR refactors model evaluation and also optimizes eval performance:

[x] Renaming pre_metrics (e.g. BruteForceTopK) to pre_eval_topk (for both ItemRetrievalTask and NextItemPredictionTask), to make it clear it is only called during evaluation/prediction, and not when evaluating during training
[x] Converting tf_utils.gather_torch_like() method into a vectorized version to retrieve the top-k labels. Closes #202
[x] Created the LabelToOneHot transformation block to centralized that logic, which was done in many places. Now it is expected that when ranking metrics are used the labels must be necessarily one-hot encoded, as that is required by extract_topk.
[x] Encapsulated internal properties with setter methods for better maintainability (e.g. self.loss_block.retrieval_scorer.cache_query and self.loss_block.pre_eval_topk)
[x] Refactored metrics pre-sorting computation to avoid incorrect calculation (because pre-sorting and extracting top-k changes the number of relevant count for each row, which is not correct). Closes #225
[x] Refactored ranking metrics to have a single instance for each k (rather one metric with many top_ks), which simplifies naming and collecting results
[ ] Refactored ranking metrics to accumulate only the sum of batch metrics and the batches count, to aggregate results the same way default Keras metrics does (simple average over the epoch by dividing the sum by the count) (in progress)
[ ] Making train metrics to be computed each train_metrics_steps. If train_metrics_steps=0 no metrics are computed during training. Closes #210 (In progress)

Closing this draft PR, after creating a new PR whose base in main, as Sara's PR was already merged


Add editable command for selection.

Add a command that mimics selection or mark similar to ctrl+space in Emacs.

Can you please explain what does this command exactly do?
I think this should be done as an extension to vscode.

In emacs, in the editor, if you hit ctrl+space a mark is set. This is essentially activated selection where in the user can navigate the cursor around with either arrow keys or keyboard shortcuts and highlight will be active wherever moved. ctrl+space again will then deactivate the selection. Hence ctrl+space is basically a toggle for the selection.

@alexandrudima would this be possible to be done via an extension? If yes, then close this I guess

The Emacs extension partially does that.
https://marketplace.visualstudio.com/items?itemName=hiro-sun.vscode-emacs
It works when navigating the code using arrows but not with any other keyboard shortcut though.


[nrfconnect] Automatically build OTA image

Problem
We need a way to build Matter OTA image as part of the build process.
Change overview

Add certain software configuration, such as vendor ID, product ID etc, to Kconfig.
Use values of the Kconfig variables in existing CHIP project configuration.
Add two more Kconfig variables: OTA_IMAGE_BUILD and OTA_IMAGE_EXTRA_ARGS. The first one enables building    OTA image file using the ota_image_tool.py script, and the second one allows to pass some extra arguments to that script.

Testing
Build only - verified that the generate image is valid using ota_image_tool.py script.

fast track: platform specific change


Dev

Create pull request to trigger gluestack update build for testflight

will re-open once features are done


Get converted payload after validation

Hello,
I am using next-joi with next-connect and it works great.
I was wondering if there is a way for the request handler to receive the validated/converted payload.
For example:
const schema = Joi.object({
  name: Joi.string().trim(),
  number: Joi.number().integer(),
})

req.body = {
  name: "    dummy  ",
  number: "5",
}

const handler = nextConnect().post( validate({ body: schema }), async (req, res) => {
    const { name, number } = req.body

   // Here name and number are the original values
   // I would like them to be "dummy" and 5 (name trimmed and number casted to int)
  })

Hi, @JeffreySoriano5!
That's currently not possible, but it looks like a good idea to me :-) I will take a look at joi's documentation and hapi implementation to see if that's a good practice (I have some reservations about mixing together validation and "transformation").

Thanks for the quick response @sergioalvz. I understand your concern. Maybe it could be an option. It would be useful for things like the query search strings which are always parsed as string, for example for pagination. In this case I would have to call the validate inside of the handler again to get the casted/sanitized values.

Another thing to consider: as a TypeScript user, I would expect req.query or req.body to match the defined Joi schema -once the request gets converted. I don't know if that's possible, though...


Build the exporter directly via the Dockerfile

This PR updates the Dockerfile to allow building the apache_exporter binary and the docker image in one single docker build

Hi @huguesalary
Appreciate the contribution but I can't merge this.
This is used solely for running the exporter on a minimal container and is being used as-is by Circle CI to release new docker images.


Check Windows files for sanity as well

Consistently use Windows line endings in Windows files. Include Windows files in check-files.py.

I rewrote the last commit "Systematically use Windows line endings in Windows files" to not remove the leading U+FFFE.
I also added two commits before that to check that Windows files don't contain a CR without a LF, and to fix a file where this happened.

The tests are all passing except the Mbed OS test that are not expected to pass now, and an instance of the "reconnect" test in ssl-opt.sh which is a known issue with a fix pending in #3132 - so everything's fine as far as this PR is concerned.

Note: the CI's pr-merge job passed except mbed-os, and the pr-head job passed except the mbed-os test and an instance of a 'hard reconnect' test failing in ssl-opt.sh, which is a known issue that has been fixed by #3132 in the meantime.

Backports are up: #3169 #3170


上线/下线、运行/停止等是否可做成批量操作？

add/update title and desc in English , thx!

是的,这个问题很好,每次建立多个任务,都要一个一个点,上线下线,很不方便!

the DAG is created one by one, so it's better to online one by one.

Hi,
I agree with @gabrywu .
if you have any question or suggestion, please put forward.

+1

wow, we close this issue firstly , @1990hjp  feel free to reopen if necessary

the DAG is created one by one, so it's better to online one by one.

如果是批量导入任务，那一个一个上线将是灾难 / If it is a batch import task, it will be a disaster to go online one by one


Changed toggleprivaterank

The command now takes a programme argument and only turns that private instead of all the user's entries. Fixes this issue

No


Terraform 0.14 upgrade

what

Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard

why

Support Terraform 0.14

/rebuild-readme

/test all

/test all

@sfc-gh-pkommini please, undo revert. test fail is unrelated to context argument. we will fix the tests on our side

Fixed.

/test all

/test all

/test all


feat(#229): Fix The Bug With Parsing Integer Values From Decompiled XMIR

In this PR I fix the bug related to incorrect parsing of int values from Literals. I also added a few tests to check new implementation.
Related to #229.

PR-Codex overview
This PR adds a new class MinusOne to test integer decompilation/compilation and refactors Literal to parse hex strings into different data types.
Detailed summary

Added MinusOne class to test integer decompilation/compilation
Refactored Literal to parse hex strings into integer, long, and bytes
Added methods to parse hex strings into different data types
Added tests to construct int and long from XMIR input

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 7min)


Create a service that will flush and close messages when there is no processing

Create a service that will flush and close messages when there is no processing

This feature has been merged with v2/main


Cannot skip kustomize step

Expected behavior
On the kustomize steps, it shouldn't be required to create a patch.
Actual behavior
If you click into a file to look at the YAML, there's no way to proceed without creating a patch.
Information

Ship version: 4e0aa5a

Steps to reproduce the behavior

ship init
advance to the kustomize step
Click to look at a file
No way to continue

I feel like this isn't the first time we've had this issue. Definitely something that should go in the E2E testing for ship init @jadengore

I wonder if this shouldn't be labeled a bug but rather an enhancement. Nothing is wrong functionally, there's just the lack of ability to perform a task. I can get this updated today


added dynamic checking in jsk main command to check if the word is si…

added dynamic checking in jsk main command to check if the word is singular or plural.

plz accept, has been bugging me for so long, i decided to add it. :D

I think this is a bit long form and would prefer it to be dragged out such to be more compact in the string (maybe like a pluralize(x, 'guilds')?) but it doesn't bother me enough to not be a 'for later' problem.


How to create invite link?

I want to make an invite link like greenlight. How can I do that?

I have a model/controller for 'rooms' that stores all the room's settings, issues a 'create' command when the room is set up. One of the fields in my room table is the 'code' of the room, ie 'dwa-5th-rgh'. My route file has a /room/{roomID} and the room controller parses the info and does the join as mod or guest according to user rights.


No alarm notifications after upgrade to v1.5

After upgrade to v1.5 I no longer get notifications when an alarm has been triggered.
Alarmo does detect the alarm (and provides the correct sensor) and shows the alarm (as triggered) on the control panel. However, the defined notification does not pop up on my phone. I have verified that notifications can be sent from HomeAssistant (done through a test Node-RED flow), and received by my mobile.
YAML code:

Same problem for me.
I have also an action for "arming", but nothing happens after updating to 1.5.
Anyway, thank you for your great work

Same problem for me.
I have also an action for "arming", but nothing happens after updating to 1.5.
Anyway, thank you for your great work

Same here, no notifications working through alarmo after latest update.
If I create automation script it works fine. But I liked the integration of all alarm parts through alarmo...

Same here, no notifications working through alarmo after latest update.
If I create automation script it works fine. But I liked the integration of all alarm parts through alarmo...

Working on it!

Working on it!

I made a fix for this: https://github.com/nielsfaber/alarmo/commit/6ef325314660e60679bdf898e4c85271b85a24d5
Will create a new release for it soon.

I made a fix for this: https://github.com/nielsfaber/alarmo/commit/6ef325314660e60679bdf898e4c85271b85a24d5
Will create a new release for it soon.

I made a fix for this: 6ef3253
Will create a new release for it soon.

Tested on my Installation and it works again!
Thank you for your fast support and great component

I made a fix for this: 6ef3253
Will create a new release for it soon.

Tested on my Installation and it works again!
Thank you for your fast support and great component

Updating to v1.5.1 should fix this problem.
Please close the issue if the update indeed solved your issue.

Updating to v1.5.1 should fix this problem.
Please close the issue if the update indeed solved your issue.

I can confirm update resolves the issue.
Excellent work! :)

I can confirm update resolves the issue.
Excellent work! :)


[doc](complex type) add docs for complex and nested types

Proposed changes
Add docs for complex and nested types.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run pipelinex_p0


python27Packages.ijson: 3.1.2.post0 -> 3.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python27Packages.ijson is: "Iterative JSON parser with a standard Python iterator interface"
meta.homepage for python27Packages.ijson is: "https://github.com/ICRAR/ijson"
meta.changelog for python27Packages.ijson is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

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

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

found 3.1.3 with grep in /nix/store/mi1gfy6ib60jgq3r8haam7rallr4rxnm-python2.7-ijson-3.1.3

directory tree listing: https://gist.github.com/9c509dfd00a946c0a1c130364f6012ec

du listing: https://gist.github.com/15acabe489dc2d15330c139322cb3372

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

36 total rebuild path(s)

9 package rebuild(s)

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

First fifty rebuilds by attrpath
python27Packages.ijson
python37Packages.ijson
python37Packages.pysnow
python37Packages.snowflake-connector-python
python37Packages.snowflake-sqlalchemy
python38Packages.ijson
python38Packages.pysnow
python38Packages.snowflake-connector-python
python38Packages.snowflake-sqlalchemy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mi1gfy6ib60jgq3r8haam7rallr4rxnm-python2.7-ijson-3.1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python27Packages.ijson https://github.com/r-ryantm/nixpkgs/archive/e15ce6b6fa0fbd6369b11fab16fb93966bb42046.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mi1gfy6ib60jgq3r8haam7rallr4rxnm-python2.7-ijson-3.1.3
ls -la /nix/store/mi1gfy6ib60jgq3r8haam7rallr4rxnm-python2.7-ijson-3.1.3/bin

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

9 packages built:

python27Packages.ijson
python37Packages.ijson
python37Packages.pysnow
python37Packages.snowflake-connector-python
python37Packages.snowflake-sqlalchemy
python38Packages.ijson
python38Packages.pysnow
python38Packages.snowflake-connector-python
python38Packages.snowflake-sqlalchemy

Maintainer pings
cc @rvl for testing.

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

9 packages built:

python27Packages.ijson
python37Packages.ijson
python37Packages.pysnow
python37Packages.snowflake-connector-python
python37Packages.snowflake-sqlalchemy
python38Packages.ijson
python38Packages.pysnow
python38Packages.snowflake-connector-python
python38Packages.snowflake-sqlalchemy


bug: stack overflow on AotExecutor creation

repro:
clone https://github.com/kkrt-labs/ef-tests
checkout cairo-native branch git checkout feat/cairo-native
make
make setup-kakarot
run any test, like:
cargo test baseFeeDiffPlaces_d34g0v0_Cancun --features v1,native -- --nocapture
this should fail with a stack overflow.

snip of the backtrace obtained with lldb
* thread #4, name = 'stPreCompiledContracts2::test_CALLBlake2f_d0g2v0_Cancun', stop reason = EXC_BAD_ACCESS (code=2, address=0x17021bfc8)
  * frame #0: 0x000000010a0b25b4 stPreCompiledContracts2-1b585838309dcc76`core::ub_checks::is_nonoverlapping::runtime::h4582f2c3c0e7ed02(src=<unavailable>, dst=0x0000000000000000, size=0, count=0) at ub_checks.rs:141
    frame #1: 0x000000010a0ba0b0 stPreCompiledContracts2-1b585838309dcc76`core::intrinsics::copy_nonoverlapping::precondition_check::he684f1ab114af820 [inlined] core::ub_checks::is_nonoverlapping::h4fa8e2959770e63a at ub_checks.rs:161:5
    frame #2: 0x000000010a0ba0ac stPreCompiledContracts2-1b585838309dcc76`core::intrinsics::copy_nonoverlapping::precondition_check::he684f1ab114af820(src=0x00000001202e80d7, dst=0x000000017021c180, size=1, align=1, count=8) at intrinsics.rs:3056:16
    frame #3: 0x000000010a0adba0 stPreCompiledContracts2-1b585838309dcc76`core::ptr::read_unaligned::h5c5d7271ddbc127e [inlined] core::intrinsics::copy_nonoverlapping::h883dc08759392a3c at ub_checks.rs:75:17
    frame #4: 0x000000010a0adb7c stPreCompiledContracts2-1b585838309dcc76`core::ptr::read_unaligned::h5c5d7271ddbc127e(src=0x00000001202e80d7) at mod.rs:1423:9
    frame #5: 0x0000000109ef9988 stPreCompiledContracts2-1b585838309dcc76`core::core_arch::aarch64::neon::vld1_u8::hb79d0781c6b39f18(ptr="\U00000010\U00000019W\xffc\U00000006\xff*t~\xff\xff\xff_\xff\xff\xff\U00000016 (\xff\xff\xff\xff\xff7\xffts\v\bE5*\xff\xff\xff@A\xff\xff\xff\xff\xff\xfft\U00000013\xff\xff\xff\xff\xffM5^8gd\xff\xff#OdLE\xff\xffQ\xff\xff") at mod.rs:566:5
    frame #6: 0x0000000109ed5d48 stPreCompiledContracts2-1b585838309dcc76`hashbrown::raw::RawTable$LT$T$C$A$GT$::find::hf6cd088c34a49ced [inlined] hashbrown::raw::neon::Group::load::hac92dfe82656ef44 at neon.rs:47:15
    frame #7: 0x0000000109ed5d40 stPreCompiledContracts2-1b585838309dcc76`hashbrown::raw::RawTable$LT$T$C$A$GT$::find::hf6cd088c34a49ced [inlined] hashbrown::raw::RawTableInner::find_inner::h28da3972debbfa58(self=0x0000000170416b78, hash=2392032648173715671, eq=&mut dyn core::ops::function::FnMut<(usize), Output=bool> @ 0x000000017021c380) at mod.rs:2185:34
    frame #8: 0x0000000109ed5ccc stPreCompiledContracts2-1b585838309dcc76`hashbrown::raw::RawTable$LT$T$C$A$GT$::find::hf6cd088c34a49ced(self=0x0000000170416b78, hash=2392032648173715671, eq={closure_env#0}<cairo_lang_sierra::ids::ConcreteTypeId, cairo_lang_sierra::ids::ConcreteTypeId, cairo_lang_sierra::extensions::core::CoreTypeConcrete> @ 0x000000017021c288) at mod.rs:1462:26
    frame #9: 0x0000000109f12d0c stPreCompiledContracts2-1b585838309dcc76`hashbrown::map::HashMap$LT$K$C$V$C$S$C$A$GT$::get_inner::h0494b0c4733591ca [inlined] hashbrown::raw::RawTable$LT$T$C$A$GT$::get::hb8739e821ff08e9b at mod.rs:1479:15
    frame #10: 0x0000000109f12d08 stPreCompiledContracts2-1b585838309dcc76`hashbrown::map::HashMap$LT$K$C$V$C$S$C$A$GT$::get_inner::h0494b0c4733591ca(self=0x0000000170416b78, k=0x00000001202b8660) at map.rs:1359:24
    frame #11: 0x0000000109ee86ac stPreCompiledContracts2-1b585838309dcc76`std::collections::hash::map::HashMap$LT$K$C$V$C$S$GT$::get::h7fed2b5557558c10 [inlined] hashbrown::map::HashMap$LT$K$C$V$C$S$C$A$GT$::get::hd19ee49bb621a90b at map.rs:1313:15
    frame #12: 0x0000000109ee86a8 stPreCompiledContracts2-1b585838309dcc76`std::collections::hash::map::HashMap$LT$K$C$V$C$S$GT$::get::h7fed2b5557558c10(self=0x0000000170416b78, k=0x00000001202b8660) at map.rs:882:19
    frame #13: 0x0000000109f5f5f8 stPreCompiledContracts2-1b585838309dcc76`cairo_lang_sierra::program_registry::ProgramRegistry$LT$TType$C$TLibfunc$GT$::get_type::h1c92685b1858304f(self=0x0000000170416b48, id=0x00000001202b8660) at program_registry.rs:127:9
    frame #14: 0x00000001007a28b0 stPreCompiledContracts2-1b585838309dcc76`_$LT$cairo_lang_sierra..extensions..core..CoreTypeConcrete$u20$as$u20$cairo_native..types..TypeBuilder$GT$::layout::h7d37c3d815448cb4(self=0x00000001202b8620, registry=0x0000000170416b48) at types.rs:716:49
    frame #15: 0x00000001007a3478 stPreCompiledContracts2-1b585838309dcc76`_$LT$cairo_lang_sierra..extensions..core..CoreTypeConcrete$u20$as$u20$cairo_native..types..TypeBuilder$GT$::layout::_$u7b$$u7b$closure$u7d$$u7d$::h7f2a471d56b69940(acc=Option<core::alloc::layout::Layout> @ 0x000000017021d070, id=0x0000600002d87280) at types.rs:688:33
    frame #16: 0x0000000100693fc4 stPreCompiledContracts2-1b585838309dcc76`core::iter::traits::iterator::Iterator::try_fold::hc73475a72ed576b2(self=0x000000017021d9f0, init=Option<core::alloc::layout::Layout> @ 0x000000017021d3b8, f={closure_env#1} @ 0x000000017021d2e0) at iterator.rs:2410:21
    frame #17: 0x00000001007a2714 stPreCompiledContracts2-1b585838309dcc76`_$LT$cairo_lang_sierra..extensions..core..CoreTypeConcrete$u20$as$u20$cairo_native..types..TypeBuilder$GT$::layout::h7d37c3d815448cb4(self=0x00000001202bf5e0, registry=0x0000000170416b48) at types.rs:682:47
    frame #18: 0x00000001007a31b8 stPreCompiledContracts2-1b585838309dcc76`_$LT$cairo_lang_sierra..extensions..core..CoreTypeConcrete$u20$as$u20$cairo_native..types..TypeBuilder$GT$::layout::_$u7b$$u7b$closure$u7d$$u7d$::hd71e97f890dc5d4e(acc=Layout @ 0x000000017021df00, id=0x0000600002d87300) at types.rs:673:33
    frame #19: 0x0000000100693a88 stPreCompiledContracts2-1b585838309dcc76`core::iter::traits::iterator::Iterator::try_fold::h8965b7bc29af4895(self=0x000000017021e730, init=Layout @ 0x000000017021e198, f={closure_env#0} @ 0x000000017021e0b8) at iterator.rs:2410:21
    frame #20: 0x00000001007a26a0 stPreCompiledContracts2-1b585838309dcc76`_$LT$cairo_lang_sierra..extensions..core..CoreTypeConcrete$u20$as$u20$cairo_native..types..TypeBuilder$GT$::layout::h7d37c3d815448cb4(self=0x00000001202d3da0, registry=0x0000000170416b48) at types.rs:671:17
    frame #21: 0x0000000100799240 stPreCompiledContracts2-1b585838309dcc76`cairo_native::types::array::snapshot_take::h916cef4c3e34a190(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x00000001160ca920, location=Location @ 0x000000017021f0d0, helper=0x0000000170223eb0, metadata=0x0000000170416440, info=WithSelf<cairo_lang_sierra::extensions::types::InfoAndTypeConcreteType> @ 0x000000017021f0e0, src_value=Value @ 0x000000017021f0f0) at array.rs:103:23
    frame #22: 0x000000010065e308 stPreCompiledContracts2-1b585838309dcc76`cairo_native::metadata::snapshot_clones::SnapshotClonesMeta::register::_$u7b$$u7b$closure$u7d$$u7d$::h6c60699dfe5f0bad(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x00000001160ca920, location=Location @ 0x0000000170221080, helper=0x0000000170223eb0, metadata=0x0000000170416440, value=Value @ 0x0000000170221090) at snapshot_clones.rs:52:21
    frame #23: 0x00000001007a0ca4 stPreCompiledContracts2-1b585838309dcc76`cairo_native::types::struct::snapshot_take::h8f7dfb51ae117e3c(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x00000001160ca920, location=Location @ 0x00000001702211e0, helper=0x0000000170223eb0, metadata=0x0000000170416440, info=WithSelf<cairo_lang_sierra::extensions::modules::structure::StructConcreteType> @ 0x00000001702211f0, src_value=Value @ 0x0000000170221200) at struct.rs:117:31
    frame #24: 0x000000010065e3e0 stPreCompiledContracts2-1b585838309dcc76`cairo_native::metadata::snapshot_clones::SnapshotClonesMeta::register::_$u7b$$u7b$closure$u7d$$u7d$::h7200d91852efa506(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x00000001160ca920, location=Location @ 0x0000000170221810, helper=0x0000000170223eb0, metadata=0x0000000170416440, value=Value @ 0x0000000170221820) at snapshot_clones.rs:52:21
    frame #25: 0x000000010079e4cc stPreCompiledContracts2-1b585838309dcc76`cairo_native::types::enum::snapshot_take::h3418519f693fbb47(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x0000000170223d20, location=Location @ 0x0000000170221b10, helper=0x0000000170223eb0, metadata=0x0000000170416440, info=WithSelf<cairo_lang_sierra::extensions::modules::enm::EnumConcreteType> @ 0x0000000170221b20, src_value=Value @ 0x0000000170221b30) at enum.rs:580:44
    frame #26: 0x000000010065e230 stPreCompiledContracts2-1b585838309dcc76`cairo_native::metadata::snapshot_clones::SnapshotClonesMeta::register::_$u7b$$u7b$closure$u7d$$u7d$::h1455272272cb3966(context=0x00000001704178c0, registry=0x0000000170416b48, entry=0x0000000170223d20, location=Location @ 0x0000000170222ac0, helper=0x0000000170223eb0, metadata=0x0000000170416440, value=Value @ 0x0000000170222ad0) at snapshot_clones.rs:52:21

Thank you for the backtrace, I was having problems running it with the debugger (getting no such file or directory).
Could to expand the backtrace a bit? What I'm looking for is a repeating pattern. As in a -> b -> c -> a -> b -> c, but not necessarily only 3 frames long.

@azteca1998 so actually the debugger is launched from the root of the repo but the files are being read relative to crates/ef-testing so you can just run, in lldb:
platform settings -w path/to/ef-tests/crates/ef-testing

and then, lldb run

Thank you, it worked.
I see the loop now clearly, and I think I know why that happened. Let me check if I'm right.

I confirm it was what I suspected. Now it should crash with an assert instead of a stack overflow.
I'm working on a real fix.

Okay I've fixed that stack overflow issue, but now there's another issue which also causes stack overflow.
The clone impl registration stack overflow is fixed, but it seems your test has a self-referencing struct. The program enters infinite recursion when it tries to generate infinite MLIR code because of this structure.
This is what I mentioned earlier in Telegram about self-referencing types, which I still haven't been able to fix.

Ah indeed 🤦I forgot about this specific one. Sorry.

No problem, it was easy to find once the stack trace changed.
If everything goes correctly I should have that stack overflow fixed today, but that's a big if.

The stack overflow should now be fixed (along with most memory leaks) in my PR.

Great! Thank you!

On this topic of memory leaks, is it possible that there would be one at runtime? I observed that our CI runner crashed on this last branch, with the same stack size as on main (where it passes)
cf: https://github.com/kkrt-labs/kakarot-ssj/actions/runs/11149866714/job/30989765129?pr=1011
When running locally on my 64GB M2 mac, at some point my memory usage grows very big, but it succeeds.

I ran an analysis of the memory usage on a local run of our test suite.
The memory usage was estimated with:
use std::ptr;
use std::mem;

#[link(name = "c")]
extern "C" {
    fn mach_task_self() -> libc::c_uint;
    fn task_info(
        task: libc::c_uint,
        flavor: libc::c_uint,
        task_info: *mut libc::c_void,
        inout_count: *mut libc::c_uint,
    ) -> libc::c_int;
}

const MACH_TASK_BASIC_INFO: libc::c_uint = 20;

#[repr(C)]
struct MachTaskBasicInfo {
    virtual_size: u64,
    resident_size: u64,
    resident_size_max: u64,
    user_time: u64,
    system_time: u64,
    policy: i32,
    suspend_count: i32,
}

fn get_current_memory_usage() -> Result<usize, String> {
    unsafe {
        let mut info = MachTaskBasicInfo {
            virtual_size: 0,
            resident_size: 0,
            resident_size_max: 0,
            user_time: 0,
            system_time: 0,
            policy: 0,
            suspend_count: 0,
        };
        let mut count = mem::size_of::<MachTaskBasicInfo>() as libc::c_uint / mem::size_of::<libc::integer_t>() as libc::c_uint;
        let kr = task_info(
            mach_task_self(),
            MACH_TASK_BASIC_INFO,
            &mut info as *mut _ as *mut libc::c_void,
            &mut count,
        );
        if kr == 0 {
            Ok(info.resident_size as usize)
        } else {
            Err(format!("Failed to get task info. Error code: {}", kr))
        }
    }
}

Result:

The steep curve around index 10k corresponds to stStackTests::stackOverflow tests. In these tests, we push up to 1024 items on the "Stack", which is using a Felt252Dict. Because the memory usage doesn't go down after these tests, I infer that there could be something leaking memory in them?
Could this be related to https://github.com/lambdaclass/cairo_native/issues/825 ?

Is this using my PR or the main branch?

using your PR. I will also do a run from main brunch and compare the results - but from main branch, our CI still passes (it doesn't contain the bug fixed in your branch which is only included in an PR we have not merged yet)

Do you happen to use a lot of arrays in those tests? I've realized I forgot something related to arrays in that PR.

we use a lot of arrays generally, yes

Here is the equivalent memory usage on main:

Interesting. My PR seems to have a much stable memory usage, but also much higher.
I've fixed the issue with the arrays. Could you try again with the latest commit?

I am seeing something weird:
thread 'stStackTests::stStackTests::test_shallowStack_d6g0v0_Cancun' panicked at /Users/msaug/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.5/src/raw/mod.rs:177:9:
Went past end of probe sequence
tests-ea898dc99e20dbff(43033,0x16f243000) malloc: Incorrect checksum for freed object 0x122a71328: probably modified after being freed.
Corrupt value: 0x7fffffffffff9b0
tests-ea898dc99e20dbff(43033,0x16f243000) malloc: *** set a breakpoint in malloc_error_break to debug

not sure whether i messed something with my local setup or not 🤔

I don't think it's your environment. I think we're using a pointer after freeing it.
The assert that crashed the program is probably only available in debug mode so it may or may not crash in release mode, but there's something definitely wrong.

I have an idea on how to (attempt to) debug this, but I'd need the command that generates that specific error. I assume it's a test; if so, could I have the instructions to run only that specific test? If it happens in multiple tests, the smaller the test the better.


Suggestion about adding a simple texture streaming workflow

Current workflow in unity can't be widely used, and not working with other shaders. The live link plugin should just stream textures to a specific path, no need to send mesh from unity first.
So I can open an existing spp file, then streaming textures to any location I want, I can manually assign textures in any materials with any shader, I can use this workflow with maya, 3ds max or blender, too. And no need a  maya, 3ds max or blender plugin, because we just stream textures, assign textures can be done in dcc manually.

And If I can use presets in export texture will be great.


Fixes typo in embedding.html.md.

There is a typo in embedding.html.md.
It says <scriptsrc="..."> which should be <script src="...">.
This PR fixes that.

Thanks Ben!


frontend not working on macos

While trying to setup frontend on MacOS, i'm getting below error, looks like it is coming from pdfjs lib due to undefined variable but couldn't able to solve this. Can someone assist on this please?
MacOS: ventura 13
node --version
v21.1.0
npm --version
10.2.0
error - TypeError: Cannot read properties of undefined (reading 'includes')     at get platform [as platform] (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:4222:23)     at new KeyboardManager (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:4202:35)     at <static_initializer> (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:4369:29)     at Object.defineProperty.value (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:4342:22)     at __w_pdfjs_require__ (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19477:41)     at Object.defineProperty.value (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:3737:14)     at __w_pdfjs_require__ (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19477:41)     at Object.defineProperty.value (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:3562:15)     at __w_pdfjs_require__ (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19477:41)     at Object.defineProperty.value (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:1119:27)     at __w_pdfjs_require__ (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19477:41)     at /Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19718:12     at /Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19767:3     at /Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:19770:12     at webpackUniversalModuleDefinition (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:25:20)     at Object.<anonymous> (/Users/pappuboss/OpenAgents/frontend/node_modules/pdfjs-dist/build/pdf.js:32:3)     at Module._compile (node:internal/modules/cjs/loader:1376:14)     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)     at Module.load (node:internal/modules/cjs/loader:1207:32)     at Module._load (node:internal/modules/cjs/loader:1023:12)     at Module.require (node:internal/modules/cjs/loader:1235:19)     at require (node:internal/modules/helpers:176:18)     at Object.<anonymous> (/Users/pappuboss/OpenAgents/frontend/node_modules/react-pdf/dist/cjs/entry.js:27:37)     at Module._compile (node:internal/modules/cjs/loader:1376:14)     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)     at Module.load (node:internal/modules/cjs/loader:1207:32)     at Module._load (node:internal/modules/cjs/loader:1023:12)     at Module.require (node:internal/modules/cjs/loader:1235:19)     at require (node:internal/modules/helpers:176:18)     at react-pdf (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:1620:18)     at __webpack_require__ (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:33:42)     at eval (webpack-internal:///./pages/api/home/home.tsx:12:67)     at __webpack_require__.a (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:97:13)     at eval (webpack-internal:///./pages/api/home/home.tsx:1:21)     at ./pages/api/home/home.tsx (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:733:1)     at __webpack_require__ (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:33:42)     at eval (webpack-internal:///./pages/api/home/index.ts:7:63)     at __webpack_require__.a (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:97:13)     at eval (webpack-internal:///./pages/api/home/index.ts:1:21)     at ./pages/api/home/index.ts (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:744:1)     at __webpack_require__ (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:33:42)     at eval (webpack-internal:///./pages/index.tsx:7:67)     at __webpack_require__.a (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:97:13)     at eval (webpack-internal:///./pages/index.tsx:1:21)     at ./pages/index.tsx (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:755:1)     at __webpack_require__ (/Users/pappuboss/OpenAgents/frontend/.next/server/webpack-runtime.js:33:42)     at __webpack_exec__ (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:1806:39)     at /Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:1807:28     at Object.<anonymous> (/Users/pappuboss/OpenAgents/frontend/.next/server/pages/index.js:1810:3)     at Module._compile (node:internal/modules/cjs/loader:1376:14) {   page: '/'

Hi, I think there's a similar issue about pdf-js in #24. Could you try that solution and tell us if that works?

I think the above issue seems different, though I have tried latest pydantic lib with python 3.10 and 3.11 but facing same issue as I mentioned earlier.
conda list |grep pydantic
openapi-schema-pydantic   1.2.4                    pypi_0    pypi
pydantic                  2.4.2                    pypi_0    pypi
pydantic-core             2.10.1                   pypi_0    pypi

I was able to solve pdfjs error issue by using react-pdf version 7.0.0 lib but now stuck on below error. I tried several version on echarts lib but not able to solve. Does anyone here able to run full backend and frontend on macos?. If yes, then can you please share the package.json file?. It looks to be libs mismatch problem.
error - ReferenceError: window is not defined     at detect (/Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:123:54)     at /Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:97:9     at /Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:22:68     at Object.<anonymous> (/Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:25:2)     at Module._compile (node:internal/modules/cjs/loader:1376:14)     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)     at Module.load (node:internal/modules/cjs/loader:1207:32)     at Module._load (node:internal/modules/cjs/loader:1023:12)     at Module.require (node:internal/modules/cjs/loader:1235:19)     at require (node:internal/modules/helpers:176:18)     at Object.echarts (/Users/jitendrayadav/OpenAgents/frontend/.next/server/pages/index.js:1422:18)

Hi @yadavj2008, I'm on macos and the package.json works fine for me.
macOS: Sonoma 14.0
node: 18.7.0
npm: 8.15.0

I think the installing errors you encountered might be related to some other existing packages in your nodejs environment, maybe you can try switching to a new environment by using tools like nvm.

I encountered the same problem and still haven't solved it

I was able to solve pdfjs error issue by using react-pdf version 7.0.0 lib but now stuck on below error. I tried several version on echarts lib but not able to solve. Does anyone here able to run full backend and frontend on macos?. If yes, then can you please share the package.json file?. It looks to be libs mismatch problem.
error - ReferenceError: window is not defined at detect (/Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:123:54) at /Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:97:9 at /Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:22:68 at Object.<anonymous> (/Users/jitendrayadav/OpenAgents/frontend/node_modules/echarts/dist/echarts.js:25:2) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object.echarts (/Users/jitendrayadav/OpenAgents/frontend/.next/server/pages/index.js:1422:18)

I meet the same problem as you(echarts caused some error) . Then I tried to reinstall node and npm, but this problem can still not be solved. My node version is v21.1.0, npm version is 10.2.0. Do you have other solution yet?

Hi, it seems the pdfjs is running in node environment instead of browser environment. Could you double check the frontend script to install and run, npm install and npm run dev, which result in correct env in our test?
If it still does not work, you could comment out the code related to pdfjs, as our frontend no longer supports pdf.

Hi @yadavj2008, I'm on macos and the package.json works fine for me. macOS: Sonoma 14.0 node: 18.7.0 npm: 8.15.0

I changed my node and npm version to match yours and it worked!

Worked with node: 18.7.0 npm: 8.15.0 version

Btw, it seems to be a known issue for node 21.0, please refer to this issue https://github.com/apache/echarts/issues/19233

Worked with node: 18.7.0 npm: 8.15.0 version

This solution worked for the echarts issue.


v2 api support

change BASEURL
fix requirements.txt
fix HTTPClient for v2 support
add User model
add Client.getUser() method
remove Client.getBotsByCategory()
minot fixes

Dup of https://github.com/koreanbots/py-sdk/pull/6


Form Encode URL Parameters

Description
While using the alchemy_api gem I noticed that when I was doing a relation extraction that it was truncating my :text parameter when the text included an & character in it.
AlchemyAPI.search(:relation_extraction, text: 'This has an & in the text, but everything after this will not be passed along to Alchemy')

When that happens, it only passes the "This has an " as the :text parameters because of the &.
Solution
By telling Faraday to builder.request :url_encoded you can then simply pass the Hash directly to it and it will handle this for you.

Thanks, I've just released v0.5.4!


update dependancy to symfony 5

hello
you use symfony/process 3.3 or 4.0
but symfony 5 is out, can you update composer.json
Regards

Something is wrong with your PR relating to travis, so I created a new PR that allows for symfony/process v5 support: PR

Fixed in v1.4.0


Update @storybook/addon-notes README.md

Rewritten based by https://www.npmjs.com/package/@storybook/addon-notes README.
Issue: Previous README.md is not correct.
What I did
Update README.md based by npmjs published @storybook/addon-notes README.
How to test
N/A
Is this testable with Jest or Chromatic screenshots?
No.
Does this need a new example in the kitchen sink apps?
No
Does this need an update to the documentation?
This is it.
If your answer is yes to any of these, please make sure to include it in your PR.

The current README.md on master is correct, but it's for 4.0.0-alpha version. Documentation for stable version is here: https://github.com/storybooks/storybook/tree/release/3.4/addons/notes
I think it would make sense to just include a link to stable version docs at the top of README.md on master (for all addons, not only for notes)

Ahh, I seem to had misunderstood. Thank you.


Update hash, try to fix hash compute failed.

Relates to #9842

[x] I have read the Contributing Guide.

/verify


Update Code - Proof_Of_Contribution.md

Works on integrations, dashboard, various testing and Designs, for Oracle, Anon P and Anon G

Thanks for the pull request. Just FYI the new per weight implied value is $400 USD each.
https://github.com/MorpheusAIs/Docs/blob/main/English Guides/Code Contributor Weights Guide.md
If you could update the pull request for the new rate that would be great.

Great. Thanks for updating it.


How to create a dynamic embedding layer in keras ?

Describe the feature and the current behavior/state.
I'm a recommendation system engineer and I know there are many Keras Preprocessing Layer added since tf 2.3.0 .
Now I can use tf.keras.layers.StringLookup + tf.keras.layers.Embedding to convert a string to an embedding tensor .But it fix the range of string and the range of embedding , which can't add new string and its embedding automatically when training new data . It leads that I can't use keras to do online daily training because the training data contains new user_id feature and item_id feature .
So I want to know wether keras can support it ?
Will this change the current api? How?
Who will benefit from this feature?
Contributing

Do you want to contribute a PR? (yes/no): If someone can tell me how to do it , I will do it .

Summary, new entry cannot be added to StringLookup, which is needed for incremental training.

I'm not sure a truly dynamic pairing of vocabulary indices and learned embedding weights (especially in a smoothly differentiable way) would be a good fit for either StringLookup or the Embedding layer. Did you have an example of something you had in mind?
We do however want to support moving a learned embedding from one vocabulary indexing to another. This should be doable, though the code might be a bit tricky, you could pass the new vocabulary through the old lookup layer, and then use gather/scatter to update the embedding weights. We've had some discussion on whether we would like to introduce some utility for this, though I don't think we have a clear design.

I find a keras layer in tfra repo :  https://github.com/tensorflow/recommenders-addons/blob/master/docs/api_docs/tfra/dynamic_embedding/keras/layers.md . So it's possible to use tf.keras.layers.StringLookup and this layer to make it ?

@DachuanZhao Hi,
Were you able to find a solution?


Backend with RuntimeGeneratedFunctions

added compiler.jl into runtests.jl and fixed the tests.
add static_graph_rgf() which generates function with RuntimeGeneratedFunctions, this could avoid name leakage with naive eval(Meta.parse()) approach.

Codecov Report

Merging #109 (7fbeb7b) into computgraph (d4893f6) will increase coverage by 5.22%.
The diff coverage is 90.24%.

@@               Coverage Diff               @@
##           computgraph     #109      +/-   ##
===============================================
+ Coverage        56.02%   61.24%   +5.22%
===============================================
  Files               51       50       -1
  Lines             2854     2836      -18
===============================================
+ Hits              1599     1737     +138
+ Misses            1255     1099     -156

Impacted Files
Coverage Δ

src/FeynmanDiagram.jl
75.00% <ø> (ø)

src/backend/compiler.jl
100.00% <ø> (ø)

src/computational_graph/io.jl
18.26% <ø> (+18.26%)
:arrow_up:

src/computational_graph/graph.jl
86.66% <72.22%> (+5.10%)
:arrow_up:

src/computational_graph/tree_properties.jl
84.00% <84.00%> (ø)

src/computational_graph/transform.jl
97.11% <95.77%> (-2.89%)
:arrow_down:

src/backend/static.jl
82.75% <100.00%> (+82.75%)
:arrow_up:

src/computational_graph/ComputationalGraph.jl
100.00% <100.00%> (ø)

src/computational_graph/common.jl
41.17% <100.00%> (+3.67%)
:arrow_up:

src/quantum_operator/operator.jl
77.50% <100.00%> (+3.14%)
:arrow_up:

... and 3 more

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


Setup Travis-CI build matrix with differnt MongoDB versions

Previously Travis-CI would only test against the version of MongoDB that was officially supported (2.4.x as of this PR). This PR instead sets up an build matrix that tests against the following MongoDB versions:

2.4.x
2.6.x
2.8.x
3.0.x

When running it will try and fetch the latest patch version of each minor version.

Ok this PR actually fails the CI because it now tests against MongoDB 2.8 and 3.0 where apparently there are some issues. Maybe this PR should server as a place to fix those issues before it's merged?

Good, but those should be fixed on the mongodb-core branch which has an in-progress rewrite using a smaller version of the driver.

@sorribas Should I re-make this PR against that branch instead then?

I've opened #176 against the new brach... I'll go ahead and close this one


⚠ ClamAV has degraded performance

In 7075cea, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 198 ms

Resolved: ClamAV performance has improved in e52a2f1.


build: move source under src/ and fix out-of-tree builds

By moving everything under src/update_engine we can get rid of -I..
and the assumption that the top level directory is always named
update_engine. This makes it possible to fix up out-of-tree builds:
mkdir build
cd build
../configure
make

LGTM


fix: update xormplus version in go.mod

What this PR does / why we need it:
The old xormplus version had issues like SQL faults when handling uint64 deleted fields in  sqlite3 engine, thus an update was made.
Which issue(s) this PR fixes:
Fixes #
Specified Reviewers:
/assign @sfwn

this pr has already passed build checks in erda

/approve


Email services

Resolves <#19>
Description
Email Services implementation
Definition of Done

[ ] Acceptance Criteria is fulfilled
[ ] Changes and issues encountered are documented
[ ] Github issue is linked in this PR

Implementation of Azure Send Email using @azure-connection-services ready for testing.


Perform a Feasibility Study about the proposed project.

The study should report whether the project is feasible to be launched and deployed within the market. Any problems reaching the targeted customers? Any technologies that are not available?

The final report includes a feasibility study. It is done.


Predict future values with PolynomialNode

Hi,
I'm looking for a way to predict future values based on a PolynomialNode.
I mean, given:
final Graph g = new GraphBuilder().withPlugin(new MLPlugin()).build();
g.connect(isConnected -> {
    final PolynomialNode node = (PolynomialNode) g.newTypedNode(0, 0, PolynomialNode.NAME);
    IntStream
            .range(0, 11) // from 0 to 10 (11 excluded)
            .filter(step -> step % 2 == 0) // only take even numbers
            .forEach(step -> node.travelInTime(
                    step,
                    polynomial -> polynomial.set(PolynomialNode.VALUE, Type.DOUBLE, step * 2.0)) // should define the 0.0+2.0*t polynomial
            );
    node.travelInTime(5, polynomial -> System.out.println(polynomial.get(PolynomialNode.VALUE))); // prints 10.0 as expected
    node.travelInTime(30, polynomial -> System.out.println(polynomial.get(PolynomialNode.VALUE))); // actually prints 20.0 but wanted to be 60.0
});

I would like that the last line
    node.travelInTime(30, polynomial -> System.out.println(polynomial.get(PolynomialNode.VALUE)));

gives me 60.0, instead of 20.0.
It appears predictions are only valid within the known time range (0 to 10 in our example), as I can see in the first travel in time
   node.travelInTime(5, polynomial -> System.out.println(polynomial.get(PolynomialNode.VALUE)));

that prints me 10.0 as expected.
Indeed, any time travels more high than the last known time (here 10) seem to give the last known computed value (here 20.0).
How can I predict future values, i.e., by traveling a future time, with a PolynomialNode?
Thanks,
Aurélien

Hello,
The purpose of the polynomial node, was to extrapolate the missing data in between known points.
so if you have time 0,4,7,9,12, the polynomial node will extrapolate anything in between. You can query it from 0 to 12. outside the range, it doesn't extrapolate, and returns by default the last known value (in your case it's returning the last value stored at 10 which is 20).
However we can enable extrapolation on the whole range, if you need it, not a problem.
Another point btw (since we lack documentation for now) it's better to set a precision on the polynomial node, and a maximum degrees.


Missing features in Android

the ability to stop the ai from writing
the ability to regenerate the last answer
the ability to edit your own prompt and get a new answer
The ability to copy text from prompts and ai outputs
The option to change the parameters for the model (for example I would really like to increase the repetition penalty for the current model)

ability to load your own models

ability to load your own models

That's confirmed to come as far as I know.

Thank you for the suggestions, I am marking the issue as temporary inactive, we are keeping inactive issues closed so we can open new ones.
More recently we are adding a new android sdk https://llm.mlc.ai/docs/deploy/android.html so hopefully more apps can be built on top.


testing: add stacktrace to Fatalf and similar

Currently, when you have failed test, the filename+linenumber you get is where the assertion failed. This is suboptimal in situations where you do your assertions in some common test helper, e.g. assertMyCustomFormat(...).
I have created myself a function to work around this problem (see below), but it would be great if Go could do this out of the box. It would make the test failure output a little more wordy, but it is a time saver.
func Fatalf(t testing.TB, format string, args ...interface{}) {
	trace := stackTrace()
	format = format + "\n%s"
	args = append(args, trace)
	t.Fatalf(format, args...)
}

If you write helper funcs like assertMyCustomFormat, why not use t.Helper()?

If you write helper funcs like assertMyCustomFormat, why not use t.Helper()?

Because I didn't know about it ...


scim2/Groups/{group_id}/permissions API throws 500 error, when assigning admin privileges to a role by non-super admin users

Describe the issue:
In WSO2 IS, only the super admin (mentioned in deployment.toml/user-mgt.xml) is allowed to create roles or assign roles to users with the root level permissions (Root "/permission", admin "/permission/admin" or super-admin "/permission/protected"). This is working as expected.
But when we try to assign root level permissions to a role using a non-super admin user, it's throwing a 500 error as below.
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "Error occurred when getting the permissions from server",
    "status": "500"
}

How to reproduce:

Get an IS-5.10.0 pack.
Create a group using SCIM.

curl -v -k --user admin:admin --data '{"displayName":"manager"}' --header "Content-Type:application/json" https://localhost:9443/scim2/Groups

Assing root level permissions to the above-created group as below using a non-super admin user.

curl -X PUT \
  https://localhost:9443/scim2/Groups/8ddd9922-680b-45a2-8aca-faada3213d28/permissions \
  -H 'Authorization: Basic aXN1cnU6aXN1cnU=' \
  -H 'Content-Type: application/json' \
  -d '["/permission/protected"]'

Instead of 500 error code it should throw a meaningful error code.

Expected behavior:
It should throw an error with a meaningful error code.
Environment information**:**

Product Version: [IS 5.10.0]

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Word-VBA Field.Update documentation: return value inconsistent

The Field.Update document says that the return value is True on success, and later says the return value is 0 on success.  CLng(False)=0, so it can't be both :) .  On my Word 2013 install, the Object Browser shows Field.Update as returning Boolean, True appears to be the return value for success, and False appears to be the return value for failure.  Would you please confirm and correct the document?  Thank you!

cxw42, Thank you for pointing this out. It should be 1 for TRUE, so I've fixed the documentation to reflect this change. Your contribution helps ensure the technical accuracy of the VBA documentation.
Office Scale Team


Add methods to get next alarm datetime

I have added methods to more easily determine:

The next datetime for an Alarm
The next datetime for an Alarms (i.e. a whole zone/room)

These methods are particularly useful for home automation scenarios.
This is still a draft because I have not tested it yet.
Maybe there is a better name for the bypass_disabled argument?

Thanks for the contribution.

Maybe there is a better name for the bypass_disabled argument?

I'd be minded to invert this to be include_disabled, and to make the default False.

I've fixed the check jobs so that all checks on master are now passing. If you rebase, you'll pick up the fix.
You'll also need to address the following -- see code review comments.
************* Module soco.alarms
soco/alarms.py:205:28: E1120: No value for argument 'year' in constructor call (no-value-for-parameter)
soco/alarms.py:430:28: E1120: No value for argument 'year' in constructor call (no-value-for-parameter)
soco/alarms.py:470:35: E1101: Class 'datetime' has no 'timedelta' member (no-member)

@pwt Thanks for the review! OK, I have fixed your notes (I did not see those errors for Python 3.12 before). I have also now actually tried this out and fixed some other bugs that I did not find before. I added a zone_uid filter to make it easier to for the next alarm by device zone.

I'd remove the assert statements (lines 453 and 461/462), unless there's a specific reason you think they should remain for the production release -- then I think we're all set to merge.

Ah, yeah sorry, all fixed! Thank you!


[FIxed:314] add rule selector-no-union-class-name

Added new rule to fix https://github.com/kristerkari/stylelint-scss/issues/314.
This rule disallow to union class name like this.

Coverage increased (+0.03%) to 92.22% when pulling d0ac0e8b7b2267c84d14fa9930d9426b50f73058 on pipopotamasu:issue#314 into f580170bda0ebfc48956021d117c244ce6b58fe0 on kristerkari:master.

Thanks! I'll try to review this asap.

Great! Thanks!

Thanks again, released in 3.9.0:
https://github.com/kristerkari/stylelint-scss/releases/tag/3.9.0


@bentley/imodeljs-native 3.2.4

@AlainRobertAtBentley GCS changes appear to have induced a test failure. Please investigate.
==[ @itwin/core-backend ]========================================[ 70 of 73 ]==

  323 passing (1m)
  6 pending
  1 failing

  1) iModel
       should be able to create a snapshot IModel and set geolocation by GCS:

      AssertionError: expected false to be true
      + expected - actual

      -false
      +true

      at Context.<anonymous> (src\test\imodel\IModel.test.ts:1679:12)
      at processImmediate (internal/timers.js:464:21)


Check verible binary in test_verible_syntax

Skip test if the verible binary is not installed on the system and report an error message. Related to issue #174

Thanks!

Thanks!

Thank you for this nice project!


Implement authentication

This requires a new endpoint POST /token that works like this mock implementation: https://github.com/simplabs/ember-workshop/blob/master/tomster-player/server/mocks/token.js. We can use static credentials and do not actually have to verify the token on subsequent requests - this is only to show how the authentication flow works.

Deployed to heroku with required endpoint.


react import is duplicated in ResponsiveProvider.js

Issue Report
react import is duplicated in the ResponsiveProvider.js file.
Expected Behavior
It should not have duplicated import. In order to avoid it could optimize eslint to detect and report these types of problems during development.
https://eslint.org/docs/rules/no-duplicate-imports
Actual Behavior
It is possible to duplicate imports.
Steps to Reproduce the Issue
Goes to ResponsiveProvider.js and check all imports.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ ClamAV has degraded performance

In e1c35f9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 443 ms

Resolved: ClamAV performance has improved in e24cd24.


Ignore TLS/SSL error for Redis

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature, Other
🔖 Feature description
Provide the capability to ignore the TLS/SSL error that is returned by a Redis service.
self-signed certificate in certificate chain
Heroku recommends this as a way to connect in Node.js https://devcenter.heroku.com/articles/connecting-heroku-redis#connecting-in-node-js.
✔ Solution
The redis package allows us to set rejectUnauthorized: false through the socket createClient configuration property.
We can utilise the existing monitor ignoreTls variable to include the same input that is part of the Additional section when the monitor.type is http | keyword | json-query. It can then be utilised by the redisPingAsync method.
Consideration will have to be taken as the current ignoreTLSError translations refer specifically to 'HTTPS websites'
❓ Alternatives
No response
📝 Additional Context
No response

PR welcome. Here is our contribution guide: https://github.com/louislam/uptime-kuma/blob/master/CODE_OF_CONDUCT.md


Update the headline of the README

To better describe the state of this project. We now have Data Streams and Metricbeat supports.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   33.89%   33.89%
=======================================
  Files           4        4
  Lines         118      118
=======================================
  Hits           40       40
  Misses         71       71
  Partials        7        7

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 1ac4f11...6131012. Read the comment docs.


Tilemap can't select bottom row of tiles in picker mode

Tilemap can't select bottom row of tiles in picker mode

This was fixed


Add Openshift v4.11 Schemas

I created them the following way:
git clone https://github.com/openshift/api
git checkout release-4.11
mkdir crds
paths=($(find . -path ./vendor -prune -o -type d -regextype posix-extended -regex '.*v[0-9].*'))
controller-gen crd ${paths[@]/#/paths=} output:dir=./crds
mkdir jsonschemas
crd2jsonschema -o jsonschemas -a crds/*.yaml

For this you need the following two tools installed:

kubernetes-controller-tools
crd2jsonschema, a new tool I wrote which uses the strict mode as default.

@tricktron very interesting!
can you share what is the diff between your crd2jsonschema and the one that we use to extract schemas for this catalog - openapi2jsonschema (from the Kubeconform project)?

thinking out loud hear.
maybe for the OpenShift schemas we need to make the path more similar to the kubernetes-json-schema project (e.g: CRDs-catalog/v4.11-strict/[objects]).
@tricktron WDYT?

maybe for the OpenShift schemas, we need to make the path more similar to the kubernetes-json-schema project (e.g: CRDs-catalog/v4.11-strict/[objects]).
@tricktron WDYT?

I can easily change the path. You can tell me what works best for the crds-catalog project. In your proposal I am somehow missing that this is acutally about openshift. So maybe:
CRDs-catalog/openshift/v4.11-strict/[objects] or CRDs-catalog/openshift.io/v4.11-strict/[objects]?

CRDs-catalog/openshift/v4.11-strict/[objects]

@eyarz I renamed it to your proposed CRDs-catalog/openshift/v4.11-strict/[objects] path.


Not getting reminders

I've to keep the app open in the background to get the reminders notifications or else i miss it.

What kind of device and which Android version do you use?

I'm using Micromax Q4311 with android Nougat 7.0


avoid duplicate gzip encoding

Scope & Purpose
Avoid duplicate gzip encoding in the /_api/job API.

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[x] Backport for 3.11: https://github.com/arangodb/arangodb/pull/19104
[ ] Backport for 3.10: -
[ ] Backport for 3.9: -

Related Information

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

Errors appear to be unrelated.