langchain_core.exceptions.OutputParserException: Invalid json output: ```json

scrapegraphai version : 1.26.7
Source Code Reference : https://github.com/ScrapeGraphAI/Scrapegraph-ai/blob/main/examples/groq/smart_scraper_groq.py
Code:
"""
Basic example of scraping pipeline using SmartScraper
"""

import os
from scrapegraphai.graphs import SmartScraperGraph
from scrapegraphai.utils import prettify_exec_info

groq_key = 'abc'

graph_config = {
    "llm": {
        "model": "groq/gemma-7b-it",
        "api_key": groq_key,
        "temperature": 0
    },
    "headless": False,
}

# ************************************************
# Create the SmartScraperGraph instance and run it
# ************************************************

# list me all the products on all the pages
urls = ['https://sandbox.oxylabs.io/products']

smart_scraper_graph = SmartScraperGraph(
    prompt="list me all the products on all the pages",
    source=urls[0],
    config=graph_config
)

result = smart_scraper_graph.run()
print(result)

# ************************************************
# Get graph execution info
# ************************************************

graph_exec_info = smart_scraper_graph.get_execution_info()
print(prettify_exec_info(graph_exec_info))

ERROR:
python3 main.py
Traceback (most recent call last):
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/output_parsers/json.py", line 83, in parse_result
    return parse_json_markdown(text)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/utils/json.py", line 144, in parse_json_markdown
    return _parse_json(json_str, parser=parser)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/utils/json.py", line 160, in _parse_json
    return parser(json_str)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/utils/json.py", line 118, in parse_partial_json
    return json.loads(s, strict=strict)
  File "/usr/lib/python3.10/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 15 column 5 (char 263)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/arslan/Data/Learning/side_projects/scrapegraph_ai/main.py", line 39, in <module>
    result = smart_scraper_graph.run()
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/scrapegraphai/graphs/smart_scraper_graph.py", line 184, in run
    self.final_state, self.execution_info = self.graph.execute(inputs)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/scrapegraphai/graphs/base_graph.py", line 279, in execute
    return self._execute_standard(initial_state)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/scrapegraphai/graphs/base_graph.py", line 195, in _execute_standard
    raise e
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/scrapegraphai/graphs/base_graph.py", line 179, in _execute_standard
    result = current_node.execute(state)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/scrapegraphai/nodes/generate_answer_node.py", line 126, in execute
    answer =  chain.invoke({"question": user_prompt})
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 3024, in invoke
    input = context.run(step.invoke, input, config)
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/output_parsers/base.py", line 193, in invoke
    return self._call_with_config(
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1927, in _call_with_config
    context.run(
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/runnables/config.py", line 396, in call_func_with_variable_args
    return func(input, **kwargs)  # type: ignore[call-arg]
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/output_parsers/base.py", line 194, in <lambda>
    lambda inner_input: self.parse_result(
  File "/home/arslan/.virtualenvs/scrapegraph_ai/lib/python3.10/site-packages/langchain_core/output_parsers/json.py", line 86, in parse_result
    raise OutputParserException(msg, llm_output=text) from e
langchain_core.exceptions.OutputParserException: Invalid json output: ```json
{
  "products": [
    {
      "name": "The Legend of Zelda: Ocarina of Time",
      "price": "91,99 €"
    },
    {
      "name": "Super Mario Galaxy",
      "price": "89,99 €"
    },
    {
      "name": "Super Mario Odyssey",
      "price": "89,99 €"
    },
    // ... Remaining products and their prices
  ]
}

For troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE

hi the main reason is because of this   "model": "groq/gemma-7b-it".
The problem is that Gemma does not always give a json and it crack the code

hi the main reason is because of this "model": "groq/gemma-7b-it". The problem is that Gemma does not always give a json and it crack the code

You are right. Thanks


Failover mechanism for SIP Signaling - table incomplete?

Hi Team,
Are you please able to provide some additional information regarding the "Failover mechanism for SIP Signaling" section.
This section only lists three data centers; EMEA, NOAM and ASIA.
However, if we review the "Media traffic: Media processors geography", it is stated that "Media processors are placed in the same datacenters as SIP proxies", the lists 7 different locations with SIP proxies/media processors.
I would then expect in the "Failover mechanism for SIP Signaling", we would see the table include the relationships between primary, secondary and tertiary for 7 locations that include SIP proxies?
Let me know if more information/clarification is required.
Cheers,
Tyler

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e26faf8c-529e-b317-5934-cd41cfe8fa24
Version Independent ID: 3ddd5d0a-6dbb-4940-1814-8346e293701b
Content: Plan Direct Routing - Microsoft Teams
Content Source: Teams/direct-routing-plan.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@tylerstosic thank you for reaching out. I see the article has been updated a few days ago. Please can you have a look and let me know if anything needs to be amended/added. Thanks again.

Hi @lindspea
Thanks for getting back to me, I have have been misinterpreting the information in the document to begin with and I don't believe the level of details I'm looking for would be possible to get clarity on. I'll close this issue out.
Cheers,
Tyler


Adding Sub Club podcast

I don't know how I missed this one, sorry Corey! Merging now, and thanks for the addition.
Dave


Support for ElasticSearch

Is your feature request related to a problem? Please describe.
how we can send events to ElasticSearch

Hi @jainpratik163 , thank you for reporting this
In order to support that we need to create elastic search sink, which is fairly easy.
Can you elaborate a little more on your use case?
Which data would you like in elastic?
What would the ideal solution look like?
For example, you will configure an index name, and credentials, and Robusta will insert json objects to the specified elastic index?

Hi,
we want to capture all Kubernetes events into Elastic search.
the output of this kubectl get events should be index in ES and later on we can use this index for debug purpose.
Thanks

Got it, sounds useful.
Any specific way you plan to use the index? E.g. in what situations will you view it? As part of elasticsearch dashboards, in response to specific alerts that occur, etc?
Curious if there are other features we can add too, in addition to the elasticsearch sink here.

mostly we will check in ES when we face some issue.
Mostly we will check for warnings or errors or issue events.

@jainpratik163 we've started sending alerts to the UI
Does that help in any way or is it a MUST for the data to be in Elasticsearch?

@aantn it will help but it will be also great if we have stored data into ES so that later we can check or analyze.

i see still there is no sink for Elasticsearch.


Login and Sign Credentails Validation

Use RegEx to validate the email using TextFormField features.
Discussion 🗣
Features required to indicate user if the email is not valid.
Detailed Description
Display the error below the centre UI (Don't show the error below the TextFormField). Also, if the email is correct after don't display the error. (user TextFormField features for that)

@himanshusharma89 I would like to work on this issue!!

Pull the updated code, before working @Neha62-lit

Any update @Neha62-lit?

Any update @Neha62-lit?

Started with it, will make a PR soon!

@himanshusharma89  Can I use here flutter toast package for display error?
https://pub.dev/packages/fluttertoast

@himanshusharma89 Can I use here flutter toast package for display error?
https://pub.dev/packages/fluttertoast

Use snackbar, toasts might not be visible to user

@himanshusharma89 Can I use here flutter toast package for display error?
https://pub.dev/packages/fluttertoast

Use snackbar, toasts might not be visible to user

Okay

@himanshusharma89  I can work on this issue.

@himanshusharma89
Can I try to fix this issue?

Sure @abhishek7997

@himanshusharma89  I can work on this issue. Please assign this to me.


FEAT: ignore extensions for checks, linting, prettier

Codecov Report

Merging #1617 (0968749) into main (47df941) will decrease coverage by 0.15%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1617      +/-   ##
==========================================
- Coverage   46.34%   46.20%   -0.15%
==========================================
  Files          47       47
  Lines        6874     6874
==========================================
- Hits         3186     3176      -10
- Misses       3688     3698      +10

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Ray which is used to Raycast distance to intersection with surface out of sync causing input glitches.

https://github.com/thestonefox/VRTK/blob/c29a6e3c59cc968b1df464150dd2d735b1adf483/Assets/VRTK/Scripts/Pointers/PointerRenderers/VRTK_StraightPointerRenderer.cs#L113-L116
The highlighted if statement and the logic inside of it is responsible for creating a bad race condition that causes severe input glitching in some situations.
This causes input issues specifically when you have a large flat plane which the pointer is to intersect with. If you point the pointer far away on the plane, then rapidly rotate your hand towards the center of the plane, the ray it uses to raycast lags one cycle behind, so it returns a much larger distance than it really should. This results in it placing the objectInteractor trigger far through the plane in some situations, causing the OnTriggerExit/Enter to fire, causing the input to glitch.
Commenting out that line of code fixes this.
The logic of the objectInteractor seems to determine the correct distance to place the Trigger so that it always correctly intersects with the collider and does not falsely call OnTriggerEnter/Exit when you move quickly over it.
However the logic which is placing actualCursor.Transform.Position is not correctly determining this distance. Thus setting objectInteractor to the actualCursor position can falsely fire OnTriggerEnter/Exit.
So far my solution has been to delete this suspect if statement and the line inside of the if statement. I assume a more proper solution is that the logic behind actualCursor needs refactoring. Although it seems strange to me that what is essentially the visual representation of the cursor can get out of sync with the collider which does the actual interacting, and needs to be periodically forced back into sync. This entire if statement seems suspect to me in signifying the need for more significant refactor and rearchitecture of how the whole pointer system works.

The solution I described in my post above actually turned out to produce another isssue. When the pointer is not hovering over anything it then gets placed at the origin, interacting with whatever is there.
Passing 'false' as an argument on this line:
https://github.com/thestonefox/VRTK/blob/c29a6e3c59cc968b1df464150dd2d735b1adf483/Assets/VRTK/Scripts/Pointers/PointerRenderers/VRTK_StraightPointerRenderer.cs#L191
Then disabling smoothing on the pointer entirely fixes the issue for me.
Any advice on a proper solution would be appreciated.

If you're raising a bug then you need to provide steps to reproduce the issue in an example scene, if bugs are raised that don't follow the Issue Template then they will be closed.


Nukkit / PowerNukkit / PowerNukkitX Badges [NEW]

Like a spigot,bukkit,purpur badages
https://github.com/PowerNukkit/PowerNukkit
https://github.com/PowerNukkitX/PowerNukkitX
https://github.com/CloudburstMC/Nukkit/blob/master/.github/images/banner.png

Make sure to keep issue #53 in mind :) I'll get them done once I start working on the project then, which I don't exactly know the time that I will
(keep in mind, if needed, you can always make your own badges by downloading the Figma file in the /other folder and editing that)

How to open figma file?

Use software called Figma haha (it’s free) https://www.figma.com/

The badge template has some instructions and the other file is the whole devins badges project

Okey thanks


Licensing

Is RZSplitViewController MIT licensed ?

So, I'm using this framework, why do you decide to delete this framework?
Can i use this framework with your permission?


Add "Group by..." option on context menu

I want request a feature that not exist in this File explorer and before in the other explorer if existed.
I refer to "Group by..." option of context menu, for my opinnion, this is a important feature becouse permit the fast access to certains type of files.

@Erdu-EC Thank you for opening this issue, I am merging it with #1874.


addRoute sometimes does not work [ios]

addRoute does not work when routing via browser. But it is triggered when I go to the browser to write the direct address. What could be the reason?

I solved the problem by following the logs. The server redirects to /youtube# instead of /youtube 😄


z-lua: 1.8.19 -> 1.8.20

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/skywind3000/z.lua/releases.
meta.description for z-lua is: New cd command that helps you navigate faster by learning your habits
meta.homepage for z-lua is: https://github.com/skywind3000/z.lua
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.8.20 in filename of file in /nix/store/8bi68pr23763is7yk3kw8y3nigh1fzpg-z-lua-1.8.20

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

z-lua

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8bi68pr23763is7yk3kw8y3nigh1fzpg-z-lua-1.8.20 \
  --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 z-lua https://github.com/r-ryantm/nixpkgs/archive/5459214bcc07926d3312c0cf27f458c45b804618.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/5459214bcc07926d3312c0cf27f458c45b804618#z-lua

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8bi68pr23763is7yk3kw8y3nigh1fzpg-z-lua-1.8.20
ls -la /nix/store/8bi68pr23763is7yk3kw8y3nigh1fzpg-z-lua-1.8.20/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.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

z-lua

Maintainer pings

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360245

aarch64-darwin

:white_check_mark: 1 package built:

z-lua


Arguments being stripped when pasting text in JavaScript files

Describe the bug:
String arguments are being removed when pasting over text surrounded by quotes or double quotes.  When pressing CTRL+Z to undo, the expected string appears correctly.  This is a regression from 17.1.x.
Version used:
VS2022 17.2.0
To reproduce:
Steps to reproduce the behavior:

Create a JavaScript file in 17.2.0 with the following content:

// test
let grid = $('.k-grid').data('kendoGrid');

Copy the text "test" from the first line.
Highlight "k-grid" on the second line.
Paste the copied text to replace "k-grid" with "test".  You'll see the following:

// test
let grid = $().data('kendoGrid');

Press CTRL+Z, and the expected text reappears:

// test
let grid = $('.test').data('kendoGrid');

Thanks for reporting this issue @louwill. To help us route this feedback to the right team, would you mind filing it through the Help -> Report a Problem feature inside Visual Studio. Thanks!

@louwill have you had a chance to file a VS feedback issue with this?

@NTaylorMullen @davidwengier Sorry for the delay getting back to you all.  I have not had a chance to report via Visual Studio as I'm convinced most of those reports go into the ether :-)  I'll report and link back here.  Is there a better repo where this should have been reported?

No. We suspect this is an issue for another team, but they are not on GitHub, so a VS feedback item allows us to route it to them if necessary.

I'm convinced most of those reports go into the ether :-)

I understand why you would have this impression :)

@davidwengier @NTaylorMullen Here's the link to the feedback issue.  Thanks for your help!
Will

@davidwengier @NTaylorMullen Here's the link to the feedback issue. Thanks for your help!
Will

@louwill thanks for the issue. I've gone ahead and routed it to the TypeScript / JavaScript team ❤


Leaving propane_level in YAML for an iGrill v2 causes incorrect readings (+~2 degrees C) for unplugged thermometers

If you leave the propane_level element in the iGrill yaml when attaching to an igrill 2 (which doesn't have a propane level measurement), the  unplugged thermometers give a +~2 degree reading (vs 0).
Removing the element removes the artifacts.
Without the propane_level element:
[21:42:07][D][igrill:274]: Requesting read of all probe values
[21:42:07][D][sensor:127]: 'IGrill v2 battery': Sending state 87.00000 % with 0 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 1': Sending state 20.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 2': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 3': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 4': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][W][igrill:094]: Error reading char at handle 0x6e69, status=1

With the the propane_level element included:
[21:44:58][D][igrill:274]: Requesting read of all probe values
[21:44:58][D][sensor:127]: 'IGrill v2 battery': Sending state 85.00000 % with 0 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 1': Sending state 19.00000 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 2': Sending state 1.97104 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 3': Sending state 1.97104 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 4': Sending state 1.97104 °C with 2 decimals of accuracy

Actually it seems to be something else - after restarting the ESP32  / IGrill it seems to be working....

I have fixed a bug with the "unplugged" value on main branch:
https://github.com/bendikwa/esphome-igrill/commit/32984dca8f50af9483fe05a8a046effce890d25e
If you are using v1.0, this might be the issue you hit.
I have not released a new version yet, but i hope to do it soon-ish.


Please publish comparative benchmarks

It would be nice if the REAME (or another file in the repo) contained comparative benchmarks, for informational purposes.

 Comment by gsnedders
Wednesday Jan 04, 2017 at 22:12 GMT

https://github.com/python/performance is of relevance here.

 Comment by jkugler
Wednesday Jan 04, 2017 at 23:00 GMT

Also, showing comparisons with pure Python code where pure C is often used (such as with the JSON module) would be helpful.


Facing deduplicate assembly errors

Why is this assembly tool throws a lot of deduplicate errors like these
[warn] multiple main classes detected: run 'show discoveredMainClasses' to see the list
[error] 1123 errors were encountered during merge
[error] stack trace is suppressed; run last assembly for the full output
[error] (assembly) deduplicate: different file contents found in the following:
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-dynamodb/1.11.655/aws-java-sdk-dynamodb-1.11.655.jar:.gitkeep
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/3.0.8/istack-commons-runtime-3.0.8.jar:.gitkeep
[error] deduplicate: different file contents found in the following:
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar:META-INF/native-image/io.netty/common/native-image.properties
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/io/netty/netty-common/4.1.42.Final/netty-common-4.1.42.Final.jar:META-INF/native-image/io.netty/common/native-image.properties
[error] deduplicate: different file contents found in the following:

There are like 1123 errors and there's no way we can manually merge each of the conflicting files...
But in Java, when I use Maven's assembly / jar packager, it just doesn't throw them. Scala and Java is based using the JVM but I just dont understand why this assembly tool is having that issue?

If the default MergeStrategy.deduplicate is not working for you, that likely means you have multiple versions of some library pulled by your dependency graph. The real solution is to fix that dependency graph.
<EMAIL_ADDRESS>From: Ivan Matala
Date: 2021-02-03 10:52
To: sbt/sbt-assembly
CC: Subscribed
Subject: [sbt/sbt-assembly] Facing deduplicate assembly errors (#413)
Why is this assembly tool throws a lot of deduplicate errors like these
[warn] multiple main classes detected: run 'show discoveredMainClasses' to see the list
[error] 1123 errors were encountered during merge
[error] stack trace is suppressed; run last assembly for the full output
[error] (assembly) deduplicate: different file contents found in the following:
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/com/amazonaws/aws-java-sdk-dynamodb/1.11.655/aws-java-sdk-dynamodb-1.11.655.jar:.gitkeep
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/com/sun/istack/istack-commons-runtime/3.0.8/istack-commons-runtime-3.0.8.jar:.gitkeep
[error] deduplicate: different file contents found in the following:
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/io/netty/netty-all/4.1.51.Final/netty-all-4.1.51.Final.jar:META-INF/native-image/io.netty/common/native-image.properties
[error] /home/xxx/.cache/coursier/v1/https/repo1.maven.org/maven2/io/netty/netty-common/4.1.42.Final/netty-common-4.1.42.Final.jar:META-INF/native-image/io.netty/common/native-image.properties
[error] deduplicate: different file contents found in the following:
There are like 1123 errors and there's no way we can manually merge each of the conflicting files...
But in Java, when I use Maven's assembly / jar packager, it just doesn't throw them. Scala and Java is based using the JVM but I just dont understand why this assembly tool is having that issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

All sbt-assembly is doing is unzipping and zipping back again. When you have overlapping content in your dependency graph like netty-all vs netty-common sbt-assembly will detect that as error because it assumes that you want to know these duplicate situation as error. If you don't care that you might have erroneous classpath, you can go ahead and use MergeStrategy.first.
Other alternative if you don't want to deduplicate things is to use sbt-native-packager or sbt-onejar.


Set predicted recall to zero for docs without predicted labels

It is currently possible for a document with null predicted labels to receive a non-zero recall prediction from Qualle. By definition, for a document with null predicted labels, the recall can only be null. This PR fixes this by bypassing the predictor and directly nulling the recall for documents without predicted labels.

Codecov Report
Base: 93.43% // Head: 93.64% // Increases project coverage by +0.21% :tada:

Coverage data is based on head (22b631d) compared to base (ed521ea).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
+ Coverage   93.43%   93.64%   +0.21%
==========================================
  Files          20       20
  Lines         685      708      +23
==========================================
+ Hits          640      663      +23
  Misses         45       45

Impacted Files
Coverage Δ

qualle/pipeline.py
100.00% <100.00%> (ø)

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

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


Are topic permissions possible on MQTTnet

Describe your question
I'd like to know whether I can use topic permissions in MQTTnet. I'm thinking about the kind of thing here
For example, one user might only have 'subscribe' permissions to one topic and 'publish' permissions to another topic. Is there a way to implement this?
Which project is your question related to?

Server

I think I've found the answer  - I can use message interceptors and subscription interceptors as described [here] (https://github.com/dotnet/MQTTnet/wiki/Server#intercepting-subscriptions) and here

An concept of how to do it can be found here https://github.com/SeppPenner/NetCoreMQTTExampleJsonConfig/blob/master/src/NetCoreMQTTExampleJsonConfig/Program.cs , though it uses version 3 of this library. The basic concept is, that you have the ClientId in every Subscription and Publish. During Connection, you have ClientId, UserName and Password available to associate the ID with a specific user.

You can also put custom data at the session items dictionary passed in the event args. This session items are available in mostly all event args (since version 4.1). So you can pass the user name to the session items and receive it in the other events.


Change the logic and behaviour surrounding '--api' and 'no-deprecated'

At some point in time, there was a 'no-deprecated' configuration
option, which had the effect of hiding all declarations of deprecated
stuff, i.e. make the public API look like they were all removed.
At some point in time, there was a '--api' configuration option, which
had the effect of having the public API look like it did in the version
given as value, on a best effort basis.  In practice, this was used to
get different implementations of BN_zero(), depending on the desired
API compatibility level.
At some later point in time, '--api' was changed to mean the same as
'no-deprecated', but only for the deprecations up to and including the
desired API compatibility level.  BN_zero() has been set to the
pre-1.0.0 implementation ever since, unless 'no-deprecation' has been
given.
This change turns these options back to their original meaning, but
with the slight twist that when combined, i.e. both '--api' and
'no-deprecated' is given, the declarations that are marked deprecated
up to an including the desired API compatibility level are hidden,
simulating that they have been removed.
If no desired API compatibility level has been given, then
configuration sets the current OpenSSL version by default.
Furthermore, the macro OPENSSL_API_LEVEL is now used exclusively to
check what API compatibility level is desired.  For checking in code
if no-deprecated has been configured for the desired API
compatibility level, macros for each supported level is generated,
such as OPENSSL_NO_DEPRECATED_1_1_1, corresponding to the use of
DEPRECATEDIN_ macros, such as DEPRECATEDIN_1_1_1().
Just like before, to set an API compatibility level when building an
application, define OPENSSL_API_COMPAT with an appropriate value.  If
it's desirable to hide deprecated functions up to and including that
level, additionally define OPENSSL_NO_DEPRECATED (the value is
ignored).

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Is this appropriate for 3.0?  Seems like a breaking config change.

Kinda sorta, but these are both pretty specialised config options. INSTALL says so, even:

--api=x.y.z
Don't build with support for deprecated APIs below the
specified version number. For example "--api=1.1.0" will
remove support for all APIS that were deprecated in OpenSSL
version 1.1.0 or below. --->> This is a rather specialized option
for developers.<<--- If you just intend to remove all deprecated
APIs entirely (up to the current version), it is easier
to add the 'no-deprecated' option instead (see below).

Found a logic error.  --api=1.0.2 no-deprecated errors all over the place.

Thanks - looks clean now.
Approved along with #10367

Logic error fixed.  @t-j-h, you were a little too fast there, please review the last fixup commit

Merged.
a6a4d0acd23b3fc85041d9096b67bcf18ccb635c Change the logic and behaviour surrounding '--api' and 'no-deprecated'
936c2b9e933eacae80d3489e5f7316589f3e9a07 Update source files for deprecation at 3.0
00db8c60aaecd2ff9b0a5d9fd10c7771a1e1a73e Update source files for pre-3.0 deprecation
9fd9951e4b49051c8f69157b478070951c43c5c4 include/openssl/opensslconf.h.in: remove spurious HEADER_FILE_H definition
285a0db396ff3a7801c199b6d812eae298178249 Update some inclusions of <openssl/macros.h>
a3844061df7d0e588d018370efd1d309f856e6f3 Update the check surround the BN_zero() implementation
686923b19824546f5c76a012e41e1fc7141ae712 include/openssl/asn1.h: Remove version dependent inclusion of <openssl/bn.h>
54a0d4ceb28d53f5b00a27fc5ca8ff8f0ddf9036 Update INSTALL to document the changed '--api' and 'no-deprecated'


Show more info in transaction detail

Show more input data when an user create a transaction to a smart contract

function name
method
Input

#498


[Feature Request] Update README and Documentation

Update the README with more up-to-date gifs. Potentially move the information around for decluttering.

[ ] Record new GIFs
[ ] Upload new GIFs
[ ] Reorder information

Closed with #32


useNumberField doesn't work in StrictMode

🐛 Bug Report
useNumberField doesn't work in strictmode

💻 Code Sample
https://stackblitz.com/edit/vitejs-vite-xc5npn?file=package.json
🌍 Your Environment

Software
Version(s)

react-aria
3.23.1

react-stately
3.21.0

react
18.2.0

react-dom
18.2.0

Thanks for filing! We have an open PR for this at https://github.com/adobe/react-spectrum/pull/4005.
I'm going to close this we have an umbrella issue for strict mode support at https://github.com/adobe/react-spectrum/issues/779


Add email body, fix regex bug

Renames the error mailer to just be the email notification mailer
lets you specify the body
Fixes a bug where event dispatchers weren't checking the updated stream value, needed to be reloaded from the db (this doesn't happen automatically for hardcoded SQL statements I guess)

sorry fam ill revert if its broken


Make user and dbname configurable in process_fts_updates

@timabbott This change has to do with the Docker Zulip version ;)
#4191 and https://github.com/galexrt/docker-zulip/issues/78

Automated message from Dropbox CLA bot
@galexrt, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @galexrt!


Keyring passphrase UX updates

Trello issue: https://trello.com/c/P4SmvQVs/1373-final-ux-for-passphrase-encryption-feature
This change introduces the following changes:

Exposes the "Save Passphrase" functionality on macOS and Windows. The user is allowed to save their keyring passphrase to the macOS Keychain or Windows Credential Store, allowing Chia to access the keyring in an unattended manner. The GUI now provides a checkbox to save the passphrase when setting/changing the passphrase.

When setting a passphrase, an optional passphrase hint field is provided. If specified, the hint will be displayed in the passphrase dialogs.

During keyring migration, the checkbox to optionally delete keys from the old location has been hidden. Migration from the CLI still allows deletion of the keys from the old location. After 2-3 releases, we'll revisit the task of removing keys from their prior location.


Make some simple modifications that will support use of full domains and ports in URLs

I'm running the Socks Shop apps on the Apcera platform in which I currently need to use fully qualified DNS names having the form <service>.apcera.local rather than simple host names and ports different from 80 for some technical reasons which I would rather not go into here.  This has caused me some problems.
I was able to overcome most of the problems by either setting certain environment variables or adding extra command line arguments to the start commands Apcera uses when launching the apps.  That was mainly possible because most of the apps had actually provided mechanisms to set domain variables or override host variables. But there are still 2 issues that require code changes.

queue-master has the rabbitmq host hard-coded to "rabbitmq" in RabbitMqConfiguration.java and does not include the spring.rabbitmq.host setting in application.properties.  Specifically, queue-master uses "CachingConnectionFactory connectionFactory = new CachingConnectionFactory("rabbitmq");".  I would like to see queue-master changed to do what shipping does, namely add:
@Value("${spring.rabbitmq.host}")
private String host;
to RabbitMqConfiguration.java and add spring.rabbitmq.host=rabbitmq to application.properties.  This would then allow me to add  "--spring.rabbitmq.host=rabbitmq.apcera.local" to the queue-master start command as I did for shipping.  (See below.)

There is also an issue with some URL manipulation done in the customer-orders.html page in the front-end app.  Specifically, line 180 strips off the beginning of the full URL with selfRef.replace("http://orders", "").  But since I am using "orders.apcera.local:8080", this leaves me with order=.apcera.local:8080/orders/<order_id> and no details appear on the customer-order.html page after clicking the View button for an order.  I propose that that code be modified to selfRef.replace(/http:\/\/(.*)\/orders/, "/orders").  That would then better tolerate situations like mine where a full domain and port are used.  Note that this modified code uses regex and escapes "/" where needed.

For reference, here are the other changes I made to support a full domain and port in URLs without code changes:

Set PORT environment variables for catalogue, cart, orders, user, payment, shipping, and queue-master to 8080.
Set ZIPKIN environment variables to include "zipkin.apcera.local" instead of "zipkin".
front-end: added "-- --domain=apcera.local:8080" to start command.
catalogue: added "-DSN=catalogue_user:default_password@tcp(catalogue-db.apcera.local:3306)/socksdb" to start command.
carts: set DB environment variable to "carts-db.apcera.local".
orders: set DB enviroment variable to "orders-db.apcera.local" and DOMAIN environment variable to "apcera.local:8080" (for use in OrdersConfigurationProperties.java).
user: set environment variables HATEAOS to "user.apcera.local:8080" and MONGO_HOST to "user-db.apcera.local:27017".
shipping: added "--spring.rabbitmq.host=rabbitmq.apcera.local" to start command

Thanks so much for your help with this.  I will try and submit pull requests with actual code this weekend or early next week.
Roger Berlind
Apcera

The change I asked for in front-end was made via front-end 87, but I realized later that I had left out a "}" and submitted front-end 89 which is still pending.
I also submitted queue-master 17 but have not seen any action on that one.  The Travis coveralls test fails, but I think that is because my fork does not have your coveralls token.
Finally, I reported issue 46 asking if the user app could be recompiled with Go 1.7.5 instead of Go 1.7.0 which I suspect was used.
I would love to see the 2 open pull requests merged and the user issue addressed.  At that point, I plan on submitting a pull request to the documentation and deployment that would add Apcera as an additional deployment platform for Socks Shop.  I would like to do this before DockerCon which starts April 17 since Apcera will be showing our version of the Socks Shop demo there.
Thanks
Roger

Closing this since pull requests needed to implement were all accepted.


Move BCPT Sample Tests.

Move the BCPT sample tests to https://github.com/microsoft/BusinessCentralApps/tree/main/App/Layers/W1/Tests/BCPT-SampleTests.

@JesperSchulz is this why this error is now received in BCPT extension in VS Code:

(happens when you try to set up a new BCPT project and choose GitHub Latest sample tests from GitHub option)

When I try to setup a new BCPT project in VS Code I get the error. Could this be because I do not have access to the private repo?

@ChethanT, could you look into this?

BCPT vsix points to the old repo to download the sample tests. We need to fix the vsix to point to the new location. I will open a workitem for us to fix that.


fix(deps): use new inquirer

What does this PR do?
new inquirer via sf-plugins-core
other

test fixture for audit:messages instead of putting the plugin-generation command in the "unit test"
move command execution for audit:message into a nut and expand coverage
hide configure commands that aren't useful outside salesforce

What issues does this PR fix or reference?
@W-13801582@

QA
sf dev generate library
✅ Npm scope prompt enforces @ prefix and defaults to @salesforce
⚠ it doesn't mention anything in the initial prompt about needing to start with @ - nice to have??
❌ fails to proceed after submitting an answer
Time to build a library!
? Npm Scope @salesforce
✖ An error occured while running sf:library#prompting
Error (1): Cannot set properties of undefined (setting 'scope')

sf dev generate plugin
✅ Are you building a plugin for an internal Salesforce team - Y

✅ enter the name of your plugin enforces, valid npm package name plugin- prefix, and all lowercase chars

⚠ it enforces a valid npm package name but the validation error only mentions needing plugin- and lowercase chars

✅ description prompt works
✅ successfully generates plugin

✅ Are you building a plugin for an internal Salesforce team - N

✅ enter the name of your plugin enforces valid npm package name
✅ description prompt works
✅ author prompt works
✅ code coverage selector works
✅ successfully generates plugin

sf dev generate flag
✅ command selector shows all existing commands
✅ flag type selector shows all flag types

✅ boolean prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required
✅ custom prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple

❌ resulting custom flag is invalid. Needs to have a () at the end of Flags.custom, e.g. Flags.custom({summary: 'foo'})(),

✅ directory prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple, exists prop
✅ duration prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple

❌  It does not prompt for duration's unique props (like durationUnit)

✅ file prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple, exists prop
✅ integer prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple, min, max, default props

❌ allows you to leave default unset even if you set a min or max

✅ option prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple

❌ resulting option flag is invalid. Needs to have a () at the end of Flags.option, e.g. Flags.option({summary: 'foo'})(),
⚠ does this need to prompt for what the options should be? That way we can set options: ['foo', 'bar'] as const for them

✅ optionalHub prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ optionalOrg prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ orgApiVersion prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ requiredHub prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ requiredOrg prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ salesforceId prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple, length (both, 15, 18, none), 3 char prefix (enforces length of 3)
✅ string prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple
✅ url prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char) required, multiple

QA Round 2
sf dev generate library

⚠ it doesn't mention anything in the initial prompt about needing to start with @ - nice to have??
🟢 Resolved

❌ fails to proceed after submitting an answer
🟢 Resolved

sf dev generate plugin

⚠ it enforces a valid npm package name but the validation error only mentions needing plugin- and lowercase chars

Still a ⚠ - non blocking though
sf dev generate flag

❌ resulting custom flag is invalid. Needs to have a () at the end of Flags.custom, e.g. Flags.custom({summary: 'foo'})(),
🟢 Resolved
⚠ options are not populated on new custom flag
⚠ It seems odd to me to prompt for options on a custom flag since it's not required and there a ton of uses of the custom flag that don't involve options.

❌ It does not prompt for duration's unique props (like durationUnit)
🟢 Resolved

❌ allows you to leave default unset even if you set a min or max
🟢 Resolved

❌ resulting option flag is invalid. Needs to have a () at the end of Flags.option, e.g. Flags.option({summary: 'foo'})(),
🟢 Resolved
⚠ options are not populated on new custom flag

QA Round 3
sf dev generate flag
✅ command selector shows all existing commands
✅ flag type selector shows all flag types
✅ boolean prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required
✅ custom prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple; resulting custom flag is valid.
✅ directory prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, exists prop
✅ duration prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, and custom props, default value is forced to between min and max
✅ file prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, exists prop
✅ integer prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, min, max, default props, default value is forced to between min and max
✅ option prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, and options, resulting option flag is valid.
✅ all org flags prompt for "standard" props.

✅ n sends user to typical prompts (name, summary, short char, required, multiple)
✅ y sends user to name prompt
⚠ The standard definition prompts mentions (character, summary, description, default) and then the resulting flag doesn't have any of those props on it. This makes sense since Flags.optionalHub() has all those props set on it already but I'm wondering if it might be surprising to users - like maybe they'd be expecting defaults to populated for those properties?? Probably not a big deal - might just need slightly different messaging if it turns out to be confusing to people

✅ salesforceId prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple, length (both, 15, 18, none), 3 char prefix (enforces length of 3)
✅ string prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple
✅ url prompts for flag name (enforces uniqueness), summary (enforces capital letter and period), short char (validates single char), required, multiple

⚠ The standard definition prompts mentions (character, summary, description, default) and then the resulting flag doesn't have any of those props on it. This makes sense since Flags.optionalHub() has all those props set on it already but I'm wondering if it might be surprising to users - like maybe they'd be expecting defaults to populated for those properties?? Probably not a big deal - might just need slightly different messaging if it turns out to be confusing to people

Yeah, I chose "don't put all those on there if they're not needed" vs. duplicating what's on the prebuilt flag.  That's what our code usually does.  That also gives the ability to pick up message improvements like https://github.com/salesforcecli/sf-plugins-core/pull/455/files (they wouldn't have gotten that if we had copied those into their flag)

Yeah, I chose "don't put all those on there if they're not needed" vs. duplicating what's on the prebuilt flag. That's what our code usually does. That also gives the ability to pick up message improvements like https://github.com/salesforcecli/sf-plugins-core/pull/455/files (they wouldn't have gotten that if we had copied those into their flag)

To be clear, I wasn't advocating for adding the props when they're not needed - just that it might be surprising to developers who aren't familiar with how the flags work


Fix status checks

What has been done

Fixed status checks

How to test

Merge PR
Leave a comment on PR and check action build result

/robin status checks


showOpenDialog with filter set doesn't show relevant dotfiles

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.79.0
OS Version: Windows 10, 22H2

Steps to Reproduce:

Open a remote location (e.g. a WSL window) or something else that leads to the simple open file dialog being used
Create a dotfile (e.g. .cproject)
Trigger an open file dialog with filters: [{"name": "Name", "extensions": ["cproject"]}], you can use e.g. the "Create project from ST project" action from the embedded tools extension
Note that the file is not available for selection (it can only be manually entered)

Note: I originally reported this to the embedded-tools extension (see https://github.com/microsoft/vscode-embedded-tools/issues/58), where the "Create project from ST project" dialog doesn't allow you to select the required .cproject files when working on WSL. They have however redirected me here.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Just to clarify: I have tested this with both the latest stable release, as well as with the latest insider version. Both exhibit the same broken behavior

@alexr00 I think this is you because it talks about the simple file picker.

@sbatten, I think you own extname. It looks like it doesn't recognize a file named .cproject has having an extension of cproject. For now, I will just make the fix in the simple file picker, but should this change actually be made in extname?


Added require "set" to utils.rb

Fixes #2972

Yep this makes sense, thanks! 👍 I guess Set is already required in the project where we run Dependabot @ GitHub (and in the dry-run script), but that shouldn't be a requirement.

Thanks that makes sense. I'm not really home in Ruby but I figured there might be a more "global" way of including the Set class.

Yep this makes sense, thanks! 👍 I guess Set is already required in the project where we run Dependabot @ GitHub (and in the dry-run script), but that shouldn't be a requirement.

Thanks that makes sense. I'm not really home in Ruby but I figured there might be a more "global" way of including the Set class.

@jurre do you know if ruby loads this for us somehow?

I think one of our dependencies requires it, probably bundler. (the dry-run script has it after Bundler.setup). There may be something funky in how @JohannesEH's is setting up their code, but either way it would be good to explicitly require set there

@jurre do you know if ruby loads this for us somehow?

I think one of our dependencies requires it, probably bundler. (the dry-run script has it after Bundler.setup). There may be something funky in how @JohannesEH's is setting up their code, but either way it would be good to explicitly require set there

@jurre maybe I'm using the dependabot-core docker image incorrectly. I'm trying to add it to our Azure DevOps pipeline, so I found a usage example by @chris5287 that integrates with Azure DevOps and based my own work on that. So I'm basically clueless. 😉

@jurre maybe I'm using the dependabot-core docker image incorrectly. I'm trying to add it to our Azure DevOps pipeline, so I found a usage example by @chris5287 that integrates with Azure DevOps and based my own work on that. So I'm basically clueless. 😉

@jurre maybe I'm using the dependabot-core docker image incorrectly. I'm trying to add it to our Azure DevOps pipeline, so I found a usage example by @chris5287 that integrates with Azure DevOps and based my own work on that. So I'm basically clueless. 😉

If it works otherwise you should be good 👍

@jurre maybe I'm using the dependabot-core docker image incorrectly. I'm trying to add it to our Azure DevOps pipeline, so I found a usage example by @chris5287 that integrates with Azure DevOps and based my own work on that. So I'm basically clueless. 😉

If it works otherwise you should be good 👍


Github button looks like a download button.

Where to find the issue
The main page.
Describe the issue
There's a big "github" call to action on the main page. This is only meaningful to a very small percentage of the population: those those who program, or are very close to programming jobs.
For everyone else in the world it looks exactly like the "download now" button they've been trained to click on on every website with this layout. Regular folks don't expect to see the source code, especially when they aren't told it will be the source code.
People don't read text on websites.

What would my grandparents think?
Suggested change
Replace it with a link to download and install the app, or make it more obvious this isn't the link that 99.9% of people want. I wouldn't even link to it, I would just say "The code is on github" and keep a link to github in the footer.
Improving the visits-to-downloads conversion rate here could actually save a life.

I think with this Message "Get the App" at first glance when you open the Website, everybody who want to download the App will find the way to his/her App Store 👍^
What do you think @Incognito ?

It depends on the screen size. If the github link is below the fold it would be harder to get confused (for example, your screenshot keeps the github link below the fold which is good). Also, there's a question about training users to ignore these footer-bars, because every website now wants you to download some app (similar to GDPR popups being ignored by most people, they just search for the accept button quickly).

Hello @Incognito,
I will discuss this tomorrow and get back to you with an answer.
Thanks,
LMM


Usage problems

Hi, I'm using dat cli v12.0.0 and node v4.2.6 on a local ubuntu machine and a remote debian server. I executed:

On the local machine:

Then on the remote machine:

All good. Then, while keeping the dat share command running on the local machine, on another bash tab I executed:

Then on the remote machine:

Problem...the file is not updated to the latest version.

Back on the local machine:

Bigger problem, the source folder got reverted to the previous state!

I can't figure out the problem...any help would be much appreciated, thanks!

A data revert makes me think this could be be related to https://github.com/datproject/dat/issues/623

Thanks for the great bug report! I was able to get a similar but and feel like it may be related to #623 as @pfrazee says. We'll look into it, this bug is not good!

It's not good, but I think we know what's going on. @joehand in beaker I was able to fix it by only prioritizing the most recent version of content blocks, instead of prioritizing the whole content feed. Have yall tried that yet?

Thanks for the quick reply, as you say it's related to #623, if look into hola.txt with nano I get those weird chars you mentioned:

This should be fixed in version 12.0.1. Please let us know if you see this issue again!

Did some tests with version 12.0.1:

dat sync works like a charm
dat pull does not update file content on remote to the last version
Files at the source are ok (no reversions)

Also there are some issues when it comes to looking for connections once the source has been sharing for more than 2 minutes aprox and the remote was offline... when you try to reconnect it takes a loong time (should I make a new issue for this?)
I'll be glad to help...where could I start?

dat pull does not update file content on remote to the last version

Hmm. So if you run dat sync on the download directory it works but dat pull doesn't work?
How did you install dat? One of the bug fixes was in hyperdrive, a dependency so we need to make sure that was updated.

Also there are some issues when it comes to looking for connections once the source has been sharing for more than 2 minutes aprox and the remote was offline... when you try to reconnect it takes a loong time (should I make a new issue for this?)

Ya, can you make a new issue for that one? If you add in the steps to reproduce that'd be great (ie. what you're running on the download side) and how long it takes to reconnect.

I wonder if https://github.com/mafintosh/discovery-swarm/issues/6 is related to the connection issues.

Hmm. So if you run dat sync on the download directory it works but dat pull doesn't work?

Exactly. I updated both on local and remote with npm install -g dat running on both machines node v4.2.6
Then using nvm I changed on both machines to node v6.9.1 and did npm install -g dat again and the issue persists.

Ya, can you make a new issue for that one? If you add in the steps to reproduce that'd be great (ie. what you're running on the download side) and how long it takes to reconnect.

Will do :)

You might also try uninstall -g before an install. I have no idea what
npm's rules for updating package deps are, but that flow guarantees you get
latest on all packages
On Tue, Feb 7, 2017 at 5:12 PM, jaime echegaray zipper <
<EMAIL_ADDRESS>wrote:

Hmm. So if you run dat sync on the download directory it works but dat
pull doesn't work?
Exactly. I updated both on local and remote with npm install -g dat
running on both machines node v4.2.6
Then using nvm I changed on both machines to node v6.9.1 and did npm
install -g dat again and the issue persists.
Ya, can you make a new issue for that one? If you add in the steps to
reproduce that'd be great (ie. what you're running on the download side)
and how long it takes to reconnect.
Will do :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/datproject/dat/issues/626#issuecomment-278175371, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABNhU7lLcBF6ywJRadFQXegIctDxmaH6ks5raPpTgaJpZM4L50GT
.

Ok. A few things to try:

uninstall then install as @pfrazee said above (to make sure you have latest deps)
Run dat pull --no-exit
Run dat pull --upload (if above doesn't work)

There are very few differences between dat sync and dat pull. Those two are the main differences that may be causing this.

--no-exit should keep the process open to allow it to finish. Perhaps it is exiting before it is actually done.
--upload will upload data to other peers. That really shouldn't fix it but maybe something very weird is happening?

(can't reproduce this bug anymore so can't test those locally, sorry)

update:

I made 2 VM on GCE with Debian8, and set a firewall rule to allow connections on port 3282
then executed:

#!/bin/bash

#set locale
sudo sed -i 's|# es_CL.UTF-8 UTF-8|es_CL.UTF-8 UTF-8|g' /etc/locale.gen
sudo locale-gen

#update
sudo apt-get update && sudo apt-get -y upgrade

#git
sudo apt-get -y install git

#nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

# exit to load nvm
exit

# after relogin
nvm install v6.9.5

npm install dat -g

Then I made the same exercise I described at the begining of this issue.
This time neither dat pull nor dat sync synced the download folder.
dat pull --no-exit and dat pull --upload made no difference
dat doctor test passes successfully

The only hint I'm getting is that after running dat pull or dat sync on the download folder I get the Download Finished / Files updated to latest! message respectively and the Total size reported corresponds to the total file size of the modified source file. However, the file at destination remains unchanged...

This time neither dat pull nor dat sync synced the download folder.

Ok, at least it is consistent. Thanks for going through your steps. Just to make sure I understand to try to reproduce, you did:

dat share toshare - (with a hello.txt file in the dir)
dat clone <link> downloaded - Did this successfully download hello.txt?
echo "more text" >> toshare/hello.txt - What do you see in the sharing output here, did it show an updated file?
4 dat pull downloaded

After the update, if you do a fresh  dat clone <link> download-again to a new directory - do you get the updated file?

dat share toshare - (with a hello.txt file in the dir)

Yes, the content of hello.txt is hola

dat clone  downloaded - Did this successfully download hello.txt?

Yes, download successfull

echo "more text" >> toshare/hello.txt - What do you see in the sharing output here, did it show an updated file?

On another bash tab I executed echo "world" >> toshare/hola.txt. This is the updated sharing output:

It did show an updated file, the original was 5 KB

dat pull downloaded

After pulling or cloning again the  cat output should have been
hola
world

And as you see it says download finished and a file size of 11 KB (which is the file size of the modified file, the original was only 5 KB), but in both cases the file at the download folder is not updated.

Sweet, thank you so much for the great reporting and patience!
It seems we can assume this is a content write/replication issue (since the metadata seems to be replicating fine) and that it happens regardless of what happened previously on the download side. We'll let you know when we find something or have another release to test. Thanks!

I agree, really generous reporting.
@joehand I'm seeing signs of replication bugs too https://github.com/datproject/dat/issues/635. We may need to do another big debug session.

glad to help, I'll keep watching and testing whenever a new version is released..

(getting a bit closer)
We released hyperdrive 7.14.2 which should solve one bug related to this. Still chasing down a second one.

Okay @jaime-ez, I I think we figured this one out. See if you still experience this after reinstalling Dat (there are new hypercore + dat-node modules).
Thanks!

Hi @joehand I did the exact same test and the problem persists :(
Running on node v6.9.5, dat v12.0.2, dat-node v1.3.7

Hi @joehand I did the exact same test and the problem persists :(

Apologies! We had a versioning confusion on hypercore. I will check today with a npm install (was using github copies which were on the right versions).

Hi @joehand, I've done the same tests again and its working!
However, I added a couple more steps and there are still some issues. Same scenario as before: 2 machines, one running dat share on the source folder, the other with a destination folder after running dat clone.

When running dat sync at destination folder, if a make a change to the file at destination the file remains unaltered. That is the file at destination is no longer synced with the file at source. Is this how it is supposed to be?

If I make a change to the file at destination folder and then run dat pull the file remains unchanged again...

If I delete the file at the destination folder and then run dat pull the file is not retrieved:

If I go back to the source machine and modify the file at source the behavior described at 1, 2, 3 changes and it works as expected: the file is updated correctly at destination.

Note: all the file changes were done adding or deleting strings ath the end of the file
Cheers

Hi @joehand, I've done the same tests again and its working!

Sweet! Thanks for sticking with us through these replication bugs.

However, I added a couple more steps and there are still some issues. Same scenario as before: 2 machines, one running dat share on the source folder, the other with a destination folder after running dat clone.

Right now, once a file is downloaded dat marks it as downloaded and will never update it again until there is an update at the source. We weren't really sure how to handle this situation but we should definitely provide some way to get back in sync, similar to a git reset HEAD.
We will be changing how metadata is stored soon (in files instead of a database) that will make it easier to address this. In the meantime, you can delete the database (in .dat of the destination dir) and clone again:
rm -rf /home/jamie/folder/.dat
dat clone <link> /home/jamie/folder

This will reset the metadata, index the destination directory, and download anything missing.


New animation editor feedback

Functionality of new animation editor
Description
Just downloaded 0.9.3 and had a quick play with the animation editor. Very nice! :)
One question: the animation seems to be focused on individual animation of each object separately. However, an animation sequence is made up of synced animation of a number of different objects at different times, so the timeline needs to be a 'global' entity, with individual object animations inserted into this global timeline.
With the current implementation, how do you compare and synchronise the animations of individual objects into a sequence of perhaps overlapping timelines?
Version

Platform

Web Version [X]
Windows [X]
Linux [X]

Hi
The animation system actually allows to have multiple objects being controlled by a single timeline.
That can be seen for example when you load an external model that contains bone animation the timeline attached to the mesh contains tracks to control multiple objects.
I have not added any GUI elements to allow cross control with the timeline. For custom attributes its already possible to add them. Im still trying to figure out the best way to add easy controllable parameters to script objects as well.

Hi,
Good to know there is the inherent flexibility to control multiple objects from the same timeline.
FYI, I use Adobe Captivate for developing eLearning content and find it’s timeline is quite functional (although it is inherently 2D only so don’t have the 3rd dimension parameters to contend with!). Attached is a typical screenshot showing the timeline. It has implemented a drop down menu structure to show each object (or group) on the timeline. You can expand to access the various members of the group. So basically the menu structure displays all the actors in the scene on the timeline.
I am thinking in your case you could let the user right click on an object in the scene, have option to ‘Add animation’, at which point the object appears in the timeline and you can expand on the object in the timeline to select the ‘standard’ parameters to be animated or add new ones, much like your current functionality….
Regards,
Peter
From: Tentone<EMAIL_ADDRESS>Sent: Monday, 12 February 2018 1:24 AM
To: tentone/nunuStudio<EMAIL_ADDRESS>Cc: Peter Key<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [tentone/nunuStudio] New animation editor feedback (#161)
Hi
The animation system actually allows to have multiple objects being controlled by a single timeline.
That can be seen for example when you load an external model that contains bone animation the timeline attached to the mesh contains tracks to control multiple objects.
I have not added any GUI elements to allow cross control with the timeline. For custom attributes its already possible to add them. Im still trying to figure out the best way to add easy controllable parameters to script objects as well.
[1]https://user-images.githubusercontent.com/9158354/36074350-ed3960bc-0f36-11e8-9e19-91efc23af8fa.PNG
[2]https://user-images.githubusercontent.com/9158354/36074351-ee6eba86-0f36-11e8-94df-9d83ca6fab68.PNG
[3]https://user-images.githubusercontent.com/9158354/36074352-f0d4e52a-0f36-11e8-848f-5f0c815064d5.PNG
[4]https://user-images.githubusercontent.com/9158354/36074354-f2864ff8-0f36-11e8-8374-2047d4630a99.PNG
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/tentone/nunuStudio/issues/161#issuecomment-364755209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfTYOgBiDYpfj_klPUS6iMyXGC64Umb_ks5tTvflgaJpZM4SBLF9.

Hi.
Yeah that could be a good solution.
As soon as i get some time i will try to implement it.
Thanks a lot.

Excellent, please let me know when you do, as I would really like to start using this to develop some cool animations.
I will look separately at how to include an audio track also. I am not so much a programmer, so might take some time ☺
From: Tentone<EMAIL_ADDRESS>Sent: Monday, 12 February 2018 9:33 AM
To: tentone/nunuStudio<EMAIL_ADDRESS>Cc: Peter Key<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [tentone/nunuStudio] New animation editor feedback (#161)
Hi.
Yeah that could be a good solution.
As soon as i get some time i will try to implement it.
Thanks a lot.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/tentone/nunuStudio/issues/161#issuecomment-364795949, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfTYOtH9Qyn-uA2NreO9IIe1TE6fMVbwks5tT2qrgaJpZM4SBLF9.

Hi,
Any update on this discussed functionality? :)


how to resolve $ref references

I have the following OpenAPI3 section:
arrayProperty:
          type: array
          items:
            $ref: '#/components/schemas/ArrayItem'

I can get the "content" of the property items with the following Handlebar
{{#each property.items as |item itemName|}}
  {{itemName}} {{item}}
{{/each}}

with the following output:
items:
    type string
    summaryAsHTML
    descriptionAsHTML
    generatedExample string

How can I resolve this reference? I'd like to access the properties of the ArrayItem and not the properties of the $ref object itself.
Any hint would be greatly appreciated.

I have the following OpenAPI3 section:
arrayProperty:
          type: array
          items:
            $ref: '#/components/schemas/ArrayItem'

I can get the "content" of the property items with the following Handlebar
{{#each property.items as |item itemName|}}
  {{itemName}} {{item}}
{{/each}}

with the following output:
items:
    type string
    summaryAsHTML
    descriptionAsHTML
    generatedExample string

How can I resolve this reference? I'd like to access the properties of the ArrayItem and not the properties of the $ref object itself.
Any hint would be greatly appreciated.

I've managed to find a workaround by splliting all referenced specs into single files.


feat(types): provide internal options for directly using user types in language tools

ref https://github.com/vuejs/core/issues/8952
cc @johnsoncodehk
Did some significant refactoring of defineComponent() types in this PR as well. Previously we used 3 different overloads of defineComponent to handle the cases of (1) no props (2) array props and (3) object props. For each of the overloads we also have an extra ComponentOptionsWith{No|Array|Object}Props type that repeats all the generic arguments.
I started by adding yet another overload for the type-based props case, but found it to be extremely unwieldy to manage all the overloads and duplication in the component options utility types. So I managed to merge all 4 cases into a single defineComponent() signature by picking the right props type source with conditional types. This also makes the previous ComponentOptionsWith{No|Array|Object}Props no longer needed - but they are kept because they were previously exported and may have been used by some libraries.

I think we can also add __typeEmit for emits JSDoc supports.

https://github.com/vuejs/language-tools/issues/3893
https://github.com/vuejs/language-tools/issues/1894

@yyx990803 The deprecated legacy types aren't re-exported from runtime-core/index


Error in checksum extension after cancelled requests

Checksum verification does not occur if request was cancelled, this leads to verification error on next chunk upload.
Steps to reproduce with TusDiskStore:

Abort request (cancellation is requested in PatchHandler)
All received data is stored, but chunkComplete is not set and chunkStart retains current value
Resume upload
ChunkStart is not updated and still points to offset from previous request
After chunk is completed metadata extension uses old offset from ChunkStart for calculation
Checksums do not match.

Protocol states that "The Server SHOULD always attempt to store as much of the received data as possible.", but it seems more viable to discard uncompleted chunk when using checksum extension.

This behavior is by design and by the specification.
"Once the entire request has been received, the Server MUST verify the uploaded chunk against the provided checksum using the specified algorithm." (https://tus.io/protocols/resumable-upload.html#checksum). If the client disconnects, then the entire request has not been received.
Doing it the way you propose would break resumability of all uploads that use the checksum extension as the checksum will never match if the client disconnects.
I don't really follow your steps. Number 6 should not happen if you follow the protocol and continue the upload (chunked or not) from the server's offset. Do you have a reproducible example where this happens?

Hello,
sorry if my explanation was unclear.

Doing it the way you propose would break resumability of all uploads that use the checksum extension as the checksum will never match if the client disconnects.

This is the exact problem i get. Current implementation does not discard uncompleted request data when cancellationToken raises cancel flag:

TusDiskStore stops buffering data at line 110 and flushes buffer to disk
WriteFileHandler exits at line 82

Data, that is already written stays on disk and checksum extension method is not invoked.
I don't have an example to illustrate problem on hand (we use custom store), but will try to construct something.

The thing is that it's not supposed to discard data if the client disconnects. Basically the sequence of events is something like below. Remember that "chunks" have no special meaning in tus. It is just a workaround for proxies, hardware limitations etc.
So let's say we have a 100 MB file that we split into 1 MB chunks. The client would split the file in 100 chunks, calculate the checksum of each chunk and then start the uploading.
Client: Here is my first chunk with checksum X.
Server: Perfect thanks! The chunk has been saved and the checksum is OK.
Client: Here is my second chu... [disconnected]
Server: OK, client disconnected. I saved 90% of the chunk.
Client: Hi it's me again! What's the offset of my file?
Server: It's 1.9 MB
Client: Hmm... yeah that's the second chunk and 90% in. Ok got it! Here's the rest of the data + the checksum for chunk 2.
Server: Thanks! The chunk has been saved and the checksum is OK.
[continue until all chunks are done]
Checksums would basically be worthless if the data was discarded at each disconnect as there will never be a checksum that matches in that case. It would just be far easier to say that all client disconnects should discard the last chunk, which is not the case.

After reading the spec again I find some of the parts regarding chunks and checksum to be a bit contradicting so I have created a issue over at the protocol's github: https://github.com/tus/tus-resumable-upload-protocol/issues/143

Hello,
Our client soft uses tusdotnetclient package. It does not save state and just continues from new offset like this:
...
Client: Hi it's me again! What's the offset of my file?
Server: It's 1.9 MB
Client: Hmm... here is new 1 MB chunk starting from 1.9 MB offset + checksum
Server: Thanks! The chunk has been saved, but your checksum for data in range 1MB-2.9MB is not OK.
It seems correct for last (uncompleted) chunk to be discarded when checksum extension is in use. It makes sense, since HAED response does not contain any data to sync client and server in this regard. And it is possible that upload can be continued from other client instance (unexpected shutdown), or after web page reload.
Thank you!

I get your argument and can agree to a certain degree. I will have to wait for an answer in the linked issue before taking actions on this issue as it might break stuff for other clients. If you need to move forward I would suggest disabling checksums on your server as checksums bring very little (close to nothing IMO) to the table if the server runs HTTPS. HTTPS already have a checksum implementation of sorts since it's encrypted. If the data is modified during transfer the server will not be able to decrypt the data and hence the request will fail.
Disable checksums by removing the UploadChecksum header from the request:
app.Use((httpContext, next) =>
{
    httpContext.Request.Headers.Remove(tusdotnet.Constants.HeaderConstants.UploadChecksum);
    return next();
});

app.UseTus(httpContext => ...);

Side note: I looked at the client you're using. It's unfortunate that it forces you to use chunks as you are missing the key feature of tus, namely streamed uploads, where only a single HTTP request is used. Not much to do about it though (except writing your own ;) ).

Confirmed as a bug by the Tus team. I will make a patch and release a new version as soon as possible. Until then, use the work around in the above comment.

Hello!
Thank you for clarifying proper request flow on my behalf!

Side note: I looked at the client you're using. It's unfortunate that it forces you to use chunks as you are missing the key feature of tus, namely streamed uploads, where only a single HTTP request is used. Not much to do about it though (except writing your own ;) ).

Unfortunately, we have hardware VPN with GOST encryption somewhere in the middle, and large requests are just dropped. So chunks are a nessisity.

Disable checksums by removing the UploadChecksum header from the request:

For now, I made a dirty fix, moving checksum calculation before cancellation token check in WriteFileHandler
var checksumMatched = await MatchChecksum();
if (guardedStream.CancellationToken.IsCancellationRequested) {
    return;
}
// other checks
if (!checksumMatched) {
    await Response.Error((HttpStatusCode)460, "Header Upload-Checksum does not match the checksum of the file");
    return;
}

Confirmed as a bug by the Tus team. I will make a patch and release a new version as soon as possible. Until then, use the work around in the above comment.

Looking forward to it. Thank you againg for taking yor time!

Thanks for your patience on this issue! I have pushed a fix now and a new version should be on nuget shortly. :)

Unfortunately, we have hardware VPN with GOST encryption somewhere in the middle, and large requests are just dropped. So chunks are a nessisity.

I see! Doing chunks without the checksum extension would give you slightly better resumability as the last chunk does not need to be discarded but could be continued where it was left of. Not sure how much of an improvement that would be though if you are already using fairly small chunks.

For now, I made a dirty fix, moving checksum calculation before cancellation token check in WriteFileHandler

My solution is actually close to that so I wouldn't call it a dirty fix ;)

Looking forward to it. Thank you againg for your time!

No worries! Thanks for using tusdotnet!

https://www.nuget.org/packages/tusdotnet/2.2.1

@mrandrewer Feel free to close this issue once you have confirmed that it's working in your setup.

Hello!
Everything works fine do far, thanks!


Fix npm install instructions typo in README.md

Changed from "npm install react-native-react-native-autocomplete-search" to "npm install react-native-autocomplete-search"

Thank for the PR


Create knights

Link to webring at the Colophon

Good to see you joining the webring with your website! I always love my visits on there.


JavaScript: Add CI Workflow for JS Port

A workflow can be included to test the JavaScript version.

Blocked by #16 (and/or #17)

As part of this, we should add an .nvmrc file to the javascript directory, which can be used in the workflow to se the node version.
See https://github.com/MattIPv4/do_username/blob/master/.github/workflows/ruby-ci.yml (and https://github.com/do-community/bandwidth-tool/blob/master/.github/workflows/do-spaces-workflow.yml#L12-L19)


Allow dict and list to be used as functions

Implementing #call in Array and Hash in ext.rb (after #27 is done) should easily allow this nice feature:
(def d (dict :one 1 :two 2))
(d :one) ; => 1

Could also be implemented in String to allow (:one d) but I think one way is probably simpler and clearer.

Done in 7c33dac


Can the model uploaded to the paste website be downloaded again?

I edited this model on my old computer and uploaded it to the paste website, but my old computer is no longer usable. I want to download my model again from the paste website, but I can't find where to download it
--This message was translated by a translation website. I'm sorry if the tone offended you

If it is not convenient for your website to add such a feature, can you help me manually download this model? I really need it,

Exports are not able to be restored or made editable, keep your project file safe if you want to be able to edit your model.

Exports are not able to be restored or made editable, keep your project file safe if you want to be able to edit your model.

This terrible fact saddens me, perhaps I can only manually create another one based on the original model myself.

Exports are not able to be restored or made editable, keep your project file safe if you want to be able to edit your model.

This terrible fact saddens me, perhaps I can only manually create another one based on the original model myself.

It's moreso to stop people from just stealing peoples models easily and not really anything else,

Exports are not able to be restored or made editable, keep your project file safe if you want to be able to edit your model.

This terrible fact saddens me, perhaps I can only manually create another one based on the original model myself.

It's moreso to stop people from just stealing peoples models easily and not really anything else,

You're right.


Add ability to add Scan Filter on Android.

Summary
On Android if the phone is asleep neither monitoring or ranging will work unless there is a scan filter setup. This was a change going forward from Android 8+. I prepose adding the ability to add scan filter when monitoring and ranging so it will continue to work when the phone is asleep.
API Changes
I have some working code with the changes, just not sure where I added it is the correct place?
https://github.com/joeweininger/shiny/commit/a38d4afb9bf22736aba25d743c4696e3e7e03de5
Example of usage for monitoring
var monitoring = ShinyHost.Resolve<Shiny.Beacons.IBeaconMonitoringManager>();
var beaconRegion = new Shiny.Beacons.BeaconRegion("AllBeaconMonitoring", Guid.Parse("MyGuid"), null, null);
await monitoring.StopAllMonitoring();
monitoring.SetScanFilter(new List<string>() { "MyServiceGuid" });
await monitoring.StartMonitoring(beaconRegion);

Example of usage for ranging
  ranging = ShinyHost.Resolve<IBeaconRangingManager>()
   .WhenBeaconRanged(new BeaconRegion(
    "AllBeaconRanging",
   Guid.Parse(Constants.Bluetooth.Proximity.Uuid)
  ), new List<string>() { "MyServiceGuid"})
 .Subscribe(beacon =>
 {
//do stuff when we find the beacons
Debug.WriteLine($"Found Beacon {beacon.Minor}. RSSI - {beacon.Rssi}");
});

Intended Use Case
I have a bluetooth gate I would like to auto open when my phone is in my pocket. I setup monitoring and when OnEntry is called I then begin ranging for better accurate. When I'm about -50 RSSI I connect to the lock and open it.

This isn't something I want to open up at all.  While you can technically cheat and do ranging in the background on android, it isn't something I want to support.  The monitoring should be working fine if the foreground service is running, if it isn't, please report an issue with all of the necessary information (model of phone, sample, etc)


Removing the ImageMounter interface.

Now that we are using the cluster's container-runtime to pull the
driver-container, then we don't need to manually pull and mount the
images from the worker's code anymore.

Fixes https://github.com/rh-ecosystem-edge/kernel-module-management/issues/1195
/assign @yevgeny-shnaidman
/cc @TomerNewman
/hold
It should be merged after https://github.com/rh-ecosystem-edge/kernel-module-management/pull/1194 and rebased on top of it
@yevgeny-shnaidman can you please confirm that we don't need anymore tarimagemounter for day1?

/unhold

/lgtm


Dev interface improvements

Added super simple Hello World example using Builder interface
Added Multi-Pod Hello World example that using YAML OR Builder interfaces
Supporting changes to DefaultServiceSpec, DefaultPodSpec, and DefaultResourceSet.

Lgtm

@mesosphere-ci retest this please


Test suite for 6502

There is a great test suite here:
https://github.com/TomHarte/ProcessorTests/tree/main/6502
Feel free to close the issue. I just wanted to share the link.

Looks great, thanks!


Check more places for kf5-kconfig

I had the same issues as these people:

https://github.com/OpenVoiceOS/ovos-buildroot/issues/127
https://github.com/OpenVoiceOS/ovos-buildroot/issues/116#issuecomment-1255306774

Here's a first draft of trying to fix that -- I haven't tested this yet, as I'm having other issues related to KDE and Plasma and I need to work through those.

Looks like what i had in mind. Not sure if we can use; exit 1 within the .mk files but a test run will let us know soon enough.
will see if i can dedicate some time on these building errors next week.
thanks! Much appreciated.

As we switched to a containerized system, this is no longer needed.


Math about EI Acquisition

Hi all, I really appreciate this framework. But I have a small question about the gradient of EI acquisition.
Since we have f_acqu = (fmin - m + self.jitter) * Phi + s * phi (use the same variables as the code), I think the gradient should be df_acqu = -dmdx * Phi + (fmin - m + self.jitter) * dPhidx + dsdx * phi + s * dphidx (also use the same variables as the code, and dPhidx, dphidxare the gradients of CDF and PDF).
Are we missing some factors by calculating dsdx * phi - Phi * dmdx in the code?

Oh, I think I have an explanation.. dPhidx = dPhidu * dudx, dphidx = dphidu * dudx in which u = (fmin - m) / s. And dudx is the gradient of u. Do we consider them  "negligible"?

Hi Ivan,
terms cancel out since you are taking the gradients with respect to x and m and s also depend on x. It is funny the gradient of the EI looks so simple though!
Javier


atom.config.set will erase settings when scopeSelector is "*"

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
atom.config.set("test.test", true, {scopeSelector: "*"});

The above command will erase all settings in the "*" selector and add test.test: true
Steps to Reproduce

Back up your config.cson file.
Open debug console. (Ctrl/Cmd+Shift+i)
Paste the above command into the console.
Press Enter.

Expected behavior:
test.test: true is added to your config.cson file under the "*" scope
Actual behavior:
All settings under "*" scope are erased, then test.test: true is added to your config.cson file under the "*" scope
Reproduces how often: 100%
Versions
Windows 10 Pro Insider Preview

Atom    : 1.33.0-beta0
Electron: 2.0.11
Chrome  : 61.0.3163.100
Node    : 8.9.3

apm  2.1.2
npm  6.2.0
node 8.9.3 x64
atom 1.33.0-beta0
python 2.7.14
git 2.19.1.windows.1
visual studio 2015

Additional Information
related https://github.com/atom/atom/issues/14909#issuecomment-434554388

Thanks @UziTech :+1:   Reproduced on macOS 10.12.6 with Atom 1.34.0-nightly5.

Thanks for reporting!! I've sent a PR that should fix this issue: https://github.com/atom/atom/pull/19054


[Curseforge] Project Abandoned?

It appears that CF has marked the project as abandoned, making it unsearchable. You can get your account back using the link at the top of the CF website, which should remove the abandoned flag.

It appears @BloodWorkXGaming may have to do something as he is the project owner on curseforge.

Thanks for the ping.
Will check it out tomorrow!

And as a side note, I hope you are all having a very merry Christmas!


5/8 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/TOC.md
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/plan.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config/appsettings.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config/backup.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config/container.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config/hostname.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/config/ssl.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/deployment.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/deployment/slot.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/deployment/user.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/log.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/appservice/web/source-control.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/cognitiveservices.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/index.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql/db.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql/server-logs.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql/server.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql/server/configuration.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/mysql/server/firewall-rule.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/network/application-gateway/url-path-map.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres/db.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres/server-logs.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres/server.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres/server/configuration.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/postgres/server/firewall-rule.pycliyml
:white_check_mark:Succeeded
View

docs-ref-autogen/refTOC.md
:white_check_mark:Succeeded

docs-ref-autogen/webapp.pycliyml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


New packages are not ingested

Our discovery function polls npmjs.com for new packages. Once a package is detected, the transliterator tries to npm install this package from the dedicated CodeArtifact repository that mirrors npmjs.com.
Occasionally, a delay may occur between the time a package is available on npmjs.com and CodeArtifact. This means that we might be dropping new packages as they come in.
We need to make sure we have sufficient retry mechanism in-place that mitigate this delay.

Sharing some data as to the severity of this issue.
In the past 3 days, the ingestion function received 126 packages:

In the same time period, the transliterator successfully processed 121 packages:

This means that in total we dropped 5 packages. Looking at the transliteration errors during this time:

We see that there are 15 errors - which makes sense since 15 = 5 (packages) * 3 (retries).
Looking at the errors themselves, none of them seem to stem from the delay this issue speaks of. The errors I observed are:

no space left on device
Type<EMAIL_ADDRESS>not found in assembly @epilot/cdk-constructs

I'll be looking into those errors regardless, but as far as concern from the CA delay, we are probably OK for now.
Having said that, we currently only rely on the built in lambda retry policy, which feels too fragile, and we should introduce a more aggressive retry mechanism (queue, step function..).


[BrokenLinksH2] Fix path in link

Fixing broken link

Docs Build status updates of commit b52afb0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/Development-Environment--C-SIDE-.md
:bulb:Suggestion

Details

dynamics-nav/Development-Environment--C-SIDE-.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Lost new line character when using ReadFile

Windows Terminal version
1.18.2822.0
Windows build number
10.0.22631.2361
Other Software
The problem was first noted in some other console application which is using ReadFile to read from the console. The problem was stripped down to a minimal program
#include <assert.h>
#include <windows.h>

int __cdecl main() {
  char buf[2];
  DWORD read;

  ReadFile(GetStdHandle(STD_INPUT_HANDLE), buf, 2, &read, NULL);
  assert(read == 2);
  assert(buf[0] == '\r');
  assert(buf[1] == '\n');

  ReadFile(GetStdHandle(STD_INPUT_HANDLE), buf, 1, &read, NULL);
  assert(read == 1);
  assert(buf[0] == '\r');

  ReadFile(GetStdHandle(STD_INPUT_HANDLE), buf, 1, &read, NULL);
  assert(read == 1);
  assert(buf[0] == '\n');
}

It seems the unexpected behavior first occurred with https://github.com/microsoft/terminal/pull/14745.
Steps to reproduce
Compile the program using your favorite C compiler and run it. Hit <ENTER> until the example exits.
Expected Behavior
In the good case you have to hit <ENTER> twice and the program exits gracefully.
Actual Behavior
In the bad case you have to hit <ENTER> three times and the last assert fires an error.

Hey, is this being landed in release ? If yes, in which version

This is staged for the next 1.18 servicing release! Sorry for the delay.

@.***
On Wed, 24 Jan 2024 at 06:52 Dustin L. Howett @.***>
wrote:

This is staged for the next 1.18 servicing release! Sorry for the delay.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/16223#issuecomment-1907308152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEH2LILBOVOFP4KPCGH2SG3YQCAPZAVCNFSM6AAAAAA6NS23UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGMYDQMJVGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Test pull request #2

hlint found issues
Suggestions

File
Line
Hint
Found
Suggested

  Generated by :no_entry_sign: Danger


Omnia/feature/#59 migrate nova resources

closes #18

@drewroberts should we create the tests or wait until you've merged Patricks changes from these pull requests: https://github.com/tipoff/test-support/pull/9
https://github.com/tipoff/support/pull/46/files

@joshtorres I just released those packages, you can go ahead and switch to extending the BaseResource in support and setting up the tests.

Just to confirm - looks good to go.


Work with non-default VM

Build instructions say:
"Set the checkbox selected for the JDK you just added to mark it as default."
We should figure out how to make this work without making JDK 7 the default since users may want to use a different JDK for other projects

That’s a good point.  The other way is to install the PDE Execution Environments (below) and enable API scanning on our projects.  The way to verify the EEs is Preferences > Plug-in Development > API Errors/Warnings > API Use and check for the Execution Environment Descriptions.  If no descriptions are installed, there should be a button to prompt for their installation.  Oh, and we should also mark ‘Reference not defined in specified execution environment’ as an error.

On 21-Mar-2016, at 12:55 PM, Elliotte Rusty Harold<EMAIL_ADDRESS>wrote:
Build instructions say:
"Set the checkbox selected for the JDK you just added to mark it as default."
We should figure out how to make this work without making JDK 7 the default since users may want to use a different JDK for other projects
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/issues/28

Or we can just get rid of that line as it is not necessary to mark the JDK to be default.

Or we can just get rid of that line as it is not necessary to mark the JDK to be default.

Good point. :+1:
I was thinking this was for user docs for developing for GAE.

Sure, if it's not actually necessary get rid of the line.

Docs updated.