[user feedback] I have lost my user data, please provide the official measures to solve it.

Why didn't you inform the website to update in advance? All my drawing data was saved locally in the browser recently, but because you updated it, all my data was lost. Is there any way to remedy this?

Hey @kurisaW can you elaborate what update from our side caused your data loss ?
We store the data in the browser local storage so unless and until your local storage was cleared, the data should always be restored.

I correct my statement, it should be my own problem, here I apologize to you, I remembered I did a browser cleaning some time ago, this may be the cause of my data loss, is there any way to remedy it.

Hi @kurisaW so sorry there is no way to restore it since the data is stored browser local storage and it was cleared :(.
However to avoid such scenarios in future, here is what you can do

You can save a copy of your drawings in local file system

You can keep saving the data periodically as well using "Save to Current File" to have a backup
You can use shareable links to export your drawings

That seems to be the only way, but thank you for your reply. Have you considered adding user database and providing user login function, and then storing user drawing data in it, so as to facilitate user data storage and remote use, and avoid my tragedy from happening again? I think you can consider this aspect.

Hey we already have Excalidraw Plus for the same. :)


Allow empty backgroundImage property on cards in TSX

If no image is used, as in this text_card:
import streamlit as st
from streamlit_card import card

st.title('Fix st_card')

image_card = card(
  title="Image card",
  text="Text & Image",
  image="http://placekitten.com/200/300",
)

text_card = card(
  title="No Image card",
  text="Just text"
)

This error is returned:
File "./venv/lib/python3.9/site-packages/streamlit/web/server/component_request_handler.py", line 51, in get
    with open(abspath, "rb") as file:
FileNotFoundError: [Errno 2] No such file or directory: './venv/lib/python3.9/site-packages/streamlit_card/frontend/build/null'

This PR addresses that error by setting the default backgroundImage property to none in TSX, if no image is provided in Python.
Tagging https://github.com/gamcoh/st-card/issues/25

Did you test it with multiple python versions?

Hi - Initially this worked with python version 3.9.16 and have now verified with 3.12.1 too:
$  streamlit run run.py

  You can now view your Streamlit app in your browser.

  Local URL: http://localhost:8501
  Network URL: http://<IP_ADDRESS>:8501

  For better performance, install the Watchdog module:

  $ xcode-select --install
  $ pip install watchdog

^C  Stopping...

$ python --version
Python 3.12.1


Use a Yubikey to login

With the uPort integration, Orbit will have a notion of identities and has a default identity provider (orbit). It'd be cool if orbit's identity provider could use a Yubikey to sign and verify a login not unlike uPort does with the QR codes and mobile app.
There's a module for Node.js that we can use https://www.npmjs.com/package/yubikey
More developer resources and documentation at https://developers.yubico.com/

👍
we'll also want a way to store profile data that's standard, and works with all id providers. is that already tracked in the orbit-db log or are you using uport?

@jbenet do you mean standard way of presenting the user profile (similar to POST)?
At the moment the user profile data is normalized within Orbit:
// uPort
profileData = {
  name: uportProfile.name,
  location: uportProfile.residenceCountry,
  image: uportProfile.image && uportProfile.image.length > 0 ? uportProfile.image[0].contentUrl.replace('/ipfs/', '') : null,
  signKey: pubKeyHash,
  updated: new Date().getTime(),
  identityProvider: {
    provider: uPortIdentityProvider.id,
    id: persona.address
  }
}

// orbit
profileData = {
  name: credentials.username,
  location: 'Earth',
  image: null,
  signKey: pubKeyHash,
  updated: null,
  identityProvider: {
    provider: OrbitIdentityProvider.id,
    id: null
  }
}

I'm in the process of turning that into a data structure (class in this case).

is that already tracked in the orbit-db log or are you using uport?

Do you mean like a log of all user profiles that go through Orbit, so that you have a database of all users? This doesn't currently happen, but would be trivial to add (security aside).


Setting "enable notifications for this device" is not honored since 0.8.26

https://github.com/matrix-org/riot-android-rageshakes/issues/4348

FTR notifications are not displayed after a PUSH, but are displayed when Riot starts


Improve typechecking, docs, and minor bugs with Field/FieldInfo

Selected Reviewer: @lig

please review

This adds a change that breaks pydantic-settings. I have opened a PR that will fix that in https://github.com/pydantic/pydantic-settings/pull/59. I will disable CI for pydantic settings here for now then we can reenable once everything is back in sync.

Not sure why cloudflare pages is failing but that's the only problem now. (Because I disabled the run of pydantic-settings. We could re-enable once it is updated to use this version of pydantic.)

Going to try reopening to see if that resolves the cloudflare build issue..

Hmm nope couldn't get it to work. @samuelcolvin I guess I need some info about the cloudflare thing

@dmontagu Why do we need to addpydantic-settings as submodule here?


Status entity general error

Integration robonect with Gardena Sileno City. All entities ok up to Status "General error".
Support does not identify the problem from robonect

Hi, could you enable the debug and provide the logs?
And feel free to join on discord to exchange easily

Hello, first I would like to thank you for taking care of the problems of people like me.... attached is the log file. Unfortunately, I'm not a programmer, but I hope I can still follow you somewhat ;) mfg Markus
home-assistant_robonect_2024-05-21T08-58-52.827Z.log

Hi Markus, any update?

Hi,
Thanks for asking, I deleted the robonect integration completely and added it again, but the "status" message is still incorrect. After the new setup, all other entities were found and I can control everything and receive data from the motor or battery etc. Only the entity "status" (mowing, parking, charging) is incorrect. In the robonect app, mqtt is shown as "connected" and there I can see the "status" (mowing, parking, charging).

Can you activate debug logging, reload the integration, and then stop debug?
And then send me the txt file?
Will have a look at it

error_log-2.txt
Thanks very much

The integration is taking the status from MQTT: 2024-05-24 15:34:09.124 DEBUG (MainThread) [custom_components.robonect.sensor] [sensor|async_setup_entry|skipping since MQTT] mower/status
so it should be identical to what your mower pushes to your broker... I can add extra debug logging if you want

The status is there in the list, but it doesn't tell you whether the mower is parked, driving or charging. It just shows "Error".
It should be like this

And is like this

You first screenshot shows indeed the status, the 2nd one shows the last error code...

Yes the first screenshot is not from my home assistant. Was only to showVon meinem/meiner Galaxy gesendet
-------- Ursprüngliche Nachricht --------Von: Geert Meersman @.> Datum: 24.05.24  17:25  (GMT+01:00) An: geertmeersman/robonect @.> Cc: mksbmw @.>, Author @.> Betreff: Re: [geertmeersman/robonect] Status entity general error (Issue #157)
You first screenshot shows indeed the status, the 2nd one shows the last error code...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

First Screenshot was not from my home assistant, was only to Show you.
It's not that bad, I just don't see the status, I don't want to take up your time so often. I'm glad that the mower was able to be integrated at all...:)

I think that the reason you don't see the status is that it hasn't changed. The moment the broker received the new status it will push it to HA

Status works now, I wrote the name of the topic differently in mqtt than in the robonect app, so mqtt didn't transfer anything at all. Thank you again for your help

Perfect! Thanks for the feedback 👍


Add applicationsets to cluster-manager-admin clusterrole

Issue: https://github.com/stolostron/backlog/issues/23939
Signed-off-by: Jakob Gray<EMAIL_ADDRESS>

/lgtm

/lgtm

/cherry-pick backplane-2.0


System.Runtime.InteropService.SEHException

Summary of your issue
An exception is thrown when calling OpenCvSharp.Cv2.CvtColor.
Problem starting from version <IP_ADDRESS>71117. In previous version 3.2.0, the problem does not occur.
It occurs in the Xeon CPU model as follows.

Intel Xeon Silver 4110 2.1GHz (8 cores, 16 threads)
Intel Xeon Gold 6132 2.1GHz (14 cores, 24 threads)

The call stack log is as follows.
Exception: System.Runtime.InteropService.SEHException

OpenCVSharp.NativeMethods.imgproc_cvtColor (IntPtr, IntPtr, Int32, Int32)
OpenCvSharp.Cv2.CvtColor (OpenCvSharp.InputArray, OpenCvSharp.OutputArray, ....)
OpenCvSharp.Mat.CvtColor (OpenCVSharp.ColorConversionCodes, Int32)

Environment

Windows 7 Professional  sp1

What did you do when you faced the problem?
Example code:
            Mat mSource = new Mat(@"c:\temp\pic1.png");
            Mat mDest = mSource.CvtColor(ColorConversionCodes.BGRA2BGR);

Output:

What did you intend to be?

I wonder if an asynchronous call will occur in opencv of a high-performance PC.
The garbage collector seems to work first before filling in the results.
        public static void CvtColor(InputArray src, OutputArray dst, ColorConversionCodes code, int dstCn = 0)
        {
            if (src == null)
                throw new ArgumentNullException(nameof(src));
            if (dst == null)
                throw new ArgumentNullException(nameof(dst));
            src.ThrowIfDisposed();
            dst.ThrowIfNotReady();

            NativeMethods.imgproc_cvtColor(src.CvPtr, dst.CvPtr, (int)code, dstCn);
            GC.KeepAlive(src);
            GC.KeepAlive(dst);
            dst.Fix();
        }

In version 4.0,  this problem does not occur.


Label not displayed on connector creation

Hi, I would like to have labels added when a connector is created between two shapes in the diagram editor example. In the documentation for mxConnectionHandler:
https://jgraph.github.io/mxgraph/docs/js-api/files/handler/mxConnectionHandler-js.html
it appears there's a way with a custom handler:
mxConnectionHandlerInsertEdge = mxConnectionHandler.prototype.insertEdge;
mxConnectionHandler.prototype.insertEdge = function(parent, id, value, source, target, style)
{
  value = 'Test';

  return mxConnectionHandlerInsertEdge.apply(this, arguments);
};

yet the label is not added and displayed. It doesn't matter if I modify verticalConnector like this:
<add as="verticalConnector">
  <add as="elbow" value="vertical"/>
  <add as="label" value="Test"/>
  <add as="html" value="1"/>
  <add as="whiteSpace" value="wrap"/>
</add>

to the mxStyleSheet tag in the diagrameditor.xml file (e.g. to have default label set in configuration).
UPDATE: in draw.io the relevant example would be UML Message shape with a label on a line.
As a side question - how to detect if the connector to be created and displayed now is a verticalConnector or straightConnector (as defined in mxStyleSheet as well). E.g. changing a function in XML CDATA section in diagrameditor.xml doesn't help and I also had no luck of adding mouse click event handlers to icons in toolbar to maintain a value of selected connector (I use only straight and default elbow connectors). This would the be used in conditional insertEdge statement to change the label based on connector type.

mxStyleSheet is for styles only and the label is not part of the style. You can change label attribute in Connector
		<add as="connector">
			<Connector label="Default Label" href="">
				<mxCell edge="1">
					<mxGeometry as="geometry" relative="1"/>
				</mxCell>
			</Connector>
		</add>

As for mxConnectionHandler, this example uses a factory so you can set the label after executing the insertEdge, e.g, edge.getValue().setAttribute('label', 'text')


feat/TDP-3301: jdbc component should not reset jdbcUrl on dbType's trigger

What is the current behavior? (You can also link to an open issue here)
jdbc component should reset jdbcUrl on dbType's trigger
What is the new behavior?
jdbc component should NOT reset jdbcUrl on dbType's trigger
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:


Needs GUIDE.md

We're missing a handwritten guide for this SDK.

Roger that, @martindale.  Will get this knocked out!

@martindale https://github.com/bitpay/android-sdk/pull/7

Closed by #7 (you can put "closes #..." in your commit messages to automatically close issues, btw).


Feature/kafka support

This pull request (PR) provides Kafka support.  This allows metrics to be written to a configured Kafka instance to be ingested and analytics to be performed in near real-time.

Hello @bowlofstew, thank you very much for your Pull Request. Unfortunately, the message may not have been visible enough on our readme page, "JmxTrans Agent has zero dependencies to ease integration."
We don't want to pull any dependency / library to be sure to not have integration issues. We are also reluctant to shadow libraries for simplicity and for the size of the jmxtrans-agent jar file.
Didn't you have classloader issues with your kafka enabled jmxtrans-agent jar dependending on kafka-clients, jackson-core, guava and kafka_2.11?
I looked at the Kafka Protocol, I didn't find a plain text protocol.
I don't know how we could integrate your contribution. I need to brainstorm to see how we could include this outputwriter not adding constraints and dependencies to people who don't use this KafkaOutputWriter.

@cyrille-leclerc
Interesting topic - side contributions.
I would be interested in expanding the agent with Google Cloud Stackdriver Monitoring Writer.
While the API is REST based, no issues, the authentication is OAuth - which in theory can be mimicked. But I am not sure I would be able to reproduce it easily - I usually rely on the Google libs.

Thanks for the response.  Unfortunately there is not a plain-text protocol that it exposes directly and to make it harder there is metadata around each topic that has to be handled.

@bowlofstew thanks for the feedback. Can you explain us how you handled the dependencies having a java agent dependending on a bunch of jars (kafka-clients, jackson-core, guava and kafka_2.11)?
@evmin

One option to consider is to leave the dependencies out, but include the code that relies on them.
Logic is simple - if someone needs the extension, they should take care of providing the necessary libs.

How would they do this?

Adding the dependencies (e.g. kafka-clients and guava) in the bootclasspath?
Creating an uber-jar for the agent?
...

@cyrille-leclerc
I have tried both. And opted out for the class path option:
I.e. the required java agent jars need to be bundled in with the application itself. While I include the agent with the JVM docker image, the application developers have to resolve any potential conflicts when they build their docker images.
If they are not going to use certain functionality (i.e. Writer) - the class is not being instantiated by the jmxtrans - and dependencies do not need to be included. Everyone is happy.
Again, this is my case. An uber jar would be an option too.

Sorry for the delay in response!  Much like the above stated, I went down a classpath, path for the consumer.  This was done in the context of a fat jar from SBT in my use case.

@bowlofstew fat jar loaded as an agent, correct?

@cyrille-leclerc @bowlofstew
May I provide my 2 cents?
Points raised by @cyrille-leclerc is exactly what we have experienced.
We have tried fat jar and experienced collisions. Solved this, no issues, but the risk is there.
So what we have opted out for is to explicitly require the dependency on the classpath for the app itself. This way the developer is forced to face the collisions in the early development cycle and solve them. Either by fixing the app or contributing to the agent.

A possible resolution to the classpath collisions is to repackage all the agent dependencies with a unique namespace.  This could be done at build time with something like the maven-shade-plugin.


fix(model): fix thread max message count

Change the type of channel's message_count to u64 to allow for larger integers, since Discord is starting to track more detailed counts. I've recently been receiving integers much larger than 50, such that a u8 would not suffice. This is currently not documented, however, I have clarified with a Discord staff and it is the intended behaviour.

@vilgotf Indeed u32 would probablybe sufficient. However, I noticed that u64s are used throughout the library even for integers that are much smaller, for example, guild member count and channel user limit. What would be the design choice?


error using gui: 'PredictFastaSpecLib' object has no attribute 'from_fasta'

Hello, I'm getting the following error when trying to generate a library from a fasta input file via the GUI version of the tool:
AttributeError: 'PredictFastaSpecLib' object has no attribute 'from_fasta'
Here's the full trace:
2022-07-29 13:44:55.893 Uncaught app exception
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/streamlit/scriptrunner/script_runner.py", line 557, in _run_script
    exec(code, module.__dict__)
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/webui/main_ui.py", line 48, in <module>
    sidebar[menu]()
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/webui/library_ui.py", line 198, in show
    generate_library()
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/pipeline_api.py", line 252, in generate_library
    raise e
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/pipeline_api.py", line 219, in generate_library
    lib_maker.make_library(lib_settings['input']['paths'])
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/spec_lib/library_factory.py", line 67, in make_library
    self._input(_input)
  File "/home/ubuntu/miniconda3/envs/peptdeep/lib/python3.8/site-packages/peptdeep/spec_lib/library_factory.py", line 181, in _input
    self.spec_lib.from_fasta(fasta)
AttributeError: 'PredictFastaSpecLib' object has no attribute 'from_fasta'

I'm getting the same error on a MacOS install as well as linux.
Am I missing something simple in the use of the tool?
Thanks!

Hi @pulintz-um , I modified the API as 'get_peptides_from_fasta()' but we forgot to update the GUI. Did you use alphapeptdeep via the installer or pip or github code? We have a quick fix on github.
For installer or pip, we will test the code more and update this evening or tomorrow.
Thanks.
Best,
Feng

@pulintz-um Now it should work in all of the installers and pip and github main branch.

Thanks very much @jalew188!
I had installed via pip, but also tried cloning from github. Looks like updating via pip does get version 0.1.4 with the change. (Note, on MacOS I needed to comment out line 152 of the peptdeep/utils.py file logging.info(f"cpu frequency - {psutil.cpu_freq().current:.2f} Mhz")  since that command seems broken on my M1 Mac. This isn't a problem on linux).
However, when I launch the gui (peptdeep gui), I'm seeing the message "No module named 'alphapept'". Is that an issue? The tool seem to launch, but I'm unclear if it's just hanging or not: I'm not seeing anything in the output folder as of 30 minutes.
Here's the cli output:
(peptdeep) ubuntu@ip-172-31-21-24:~$ peptdeep gui
alphapept or RawFileReader is not installed
No module named 'alphapept'

     ____             __  ____
    / __ \___  ____  / /_/ __ \___  ___  ____
   / /_/ / _ \/ __ \/ __/ / / / _ \/ _ \/ __ \
  / ____/  __/ /_/ / /_/ /_/ /  __/  __/ /_/ /
 /_/    \___/ .___/\__/_____/\___/\___/ .___/
           /_/                       /_/
....................................................
.                      0.1.4                       .
.       https://github.com/MannLabs/peptdeep       .
.                    Apache 2.0                    .
....................................................

Starting PeptDeep Web Server ...

  You can now view your Streamlit app in your browser.

  Network URL: http://<IP_ADDRESS>:8077
  External URL: http://<IP_ADDRESS>:8077

2022-07-29 17:06:54> Platform information:
2022-07-29 17:06:54> system        - Linux
2022-07-29 17:06:54> release       - 5.4.0-1081-aws
2022-07-29 17:06:54> version       - #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022
2022-07-29 17:06:54> machine       - x86_64
2022-07-29 17:06:54> processor     - x86_64
2022-07-29 17:06:54> cpu count     - 16
2022-07-29 17:06:54> cpu frequency - 2300.10 Mhz
2022-07-29 17:06:54> ram           - 61.5/62.8 Gb (available/total)
2022-07-29 17:06:54>
2022-07-29 17:06:54> Python information:
2022-07-29 17:06:54> alphabase    - 0.1.2
2022-07-29 17:06:54> biopython    - 1.79
2022-07-29 17:06:54> click        - 8.1.3
2022-07-29 17:06:54> lxml         - 4.9.1
2022-07-29 17:06:54> matplotlib   - 3.5.2
2022-07-29 17:06:54> numba        - 0.56.0
2022-07-29 17:06:54> numpy        - 1.22.4
2022-07-29 17:06:54> pandas       - 1.4.3
2022-07-29 17:06:54> peptdeep     - 0.1.4
2022-07-29 17:06:54> psutil       - 5.9.1
2022-07-29 17:06:54> python       - 3.8.13
2022-07-29 17:06:54> regex        - 2022.7.25
2022-07-29 17:06:54> scikit-learn - 1.1.1
2022-07-29 17:06:54> seaborn      - 0.11.2
2022-07-29 17:06:54> statsmodels  - 0.13.2
2022-07-29 17:06:54> streamlit    - 1.11.1
2022-07-29 17:06:54> torch        - 1.12.0
2022-07-29 17:06:54> tqdm         - 4.64.0
2022-07-29 17:06:54> transformers - 4.21.0
2022-07-29 17:06:54>
2022-07-29 17:06:57> Generating the library...

Update: 0.1.4 appears to be working on a small test dataset of 86 proteins.
2022-07-29 19:53:25> Generating the library...
2022-07-29 19:53:27> Calculating precursor isotope distributions ...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 29/29 [00:03<00:00,  7.62it/s]
  Stopping...
2022-07-29 19:53:33> Predicting RT/IM/MS2 ...
2022-07-29 19:53:33> Using multiprocessing ...
2022-07-29 19:53:33> Predicting rt,mobility,ms2 ...
  0%|                                                                                | 0/29 [00:00<?, ?it/s

So this particular issue appears to be resolved. Thanks again for the help.

Yes, if you don't have GPU version of pytorch, predicting takes nearly two or more hours...

I had installed via pip, but also tried cloning from github. Looks like updating via pip does get version 0.1.4 with the change. (Note, on MacOS I needed to comment out line 152 of the peptdeep/utils.py file logging.info(f"cpu frequency - {psutil.cpu_freq().current:.2f} Mhz")  since that command seems broken on my M1 Mac. This isn't a problem on linux

I don't have M1 to test, so cannot fix this. M1 is not currently supported as we need to test the M1 version of pytorch.
For 'no alphapept' issue, it is OK. We call alphapept to load the raw data.

Nice! Thank you for your testing:)


Support the ability to load / populate data with an init script for allin1 docker image

https://github.com/StarRocks/starrocks/issues/30505

https://github.com/docker-library/docs/tree/master/mysql#initializing-a-fresh-instance


Add health-check:health command

Add command to check helath in console mode - health-check:health.
Made some refactoring

Hi @idsulik,
I can see this is still WIP.
Can I refer you to the linked issue, so you've got a better idea of what we'd like this command to do? https://github.com/ukfast/laravel-health-check/issues/22
Feel free to tag me if you have any questions! 😄

Hi @tylerwoonton , I thought it's ready, but tests fails and I don't understand why it fails only on PHP 7.1
PendingCommand does contains expectsTable method, but fails say it's not...

@tylerwoonton , PR is ready) tests code a little messy because of php5 && laravel 5 supports. I think

@tylerwoonton , PR is ready) tests code a little messy because of php5 && laravel 5 supports.

@idsulik Excellent. I'll take a look. Thanks!

I think it'll better to add ability to include or exclude specific checks, so I add --only and --except options to status command.
Whay do you think, @tylerwoonton , @Gman98ish ?

I think it'll better to add ability to include or exclude specific checks, so I add --only and --except options to status command.
Whay do you think, @tylerwoonton , @Gman98ish ?

@idsulik I like that idea! I think by default it should run all the checks and add --only and --except for those use-cases.

I think it'll better to add ability to include or exclude specific checks, so I add --only and --except options to status command.
Whay do you think, @tylerwoonton , @Gman98ish ?

@idsulik I like that idea! I think by default it should run all the checks and add --only and --except for those use-cases.

Yeah, by default it checks all the checks, but you can pass --only OR --except to run/exclude specific checks.

I think it'll better to add ability to include or exclude specific checks, so I add --only and --except options to status command.
Whay do you think, @tylerwoonton , @Gman98ish ?

@idsulik I like that idea! I think by default it should run all the checks and add --only and --except for those use-cases.

Yeah, by default it checks all the checks, but you can pass --only OR --except to run/exclude specific checks.

That sounds good to me!


Fix concourse permissions

OCW publishing was failing with error below:
An error occurred (AccessDenied) when calling the GetObjectTagging operation: Access Denied
PR adds the necessary permissions

:+1:


Data: NTCIR-03 shows a single paper from NTCIR-02

https://ir.webis.de/anthology/events/ntcir_conf-2003/

this should be solved as soon as https://github.com/ir-anthology/ir-anthology/issues/14 is done

this should be resolved


Curate Tags for Intercom

What is the definition of done for this story? Does this just mean going through all past conversations and tagging them, or is the goal to create a general schema for all future tagging as well?

Superceded by #163


Failure in master?

I got an email with this link with an error at our CI:
https://github.com/fortran-lang/fpm-registry/runs/1183248590
But I am not quite sure what the cause of it is.
@LKedward, any idea?

I'll take a look

My fault - I didn't pin the commit action to a specific version and there's been a breaking change.

Ah cool, thanks for figuring it out!

I believe this is now fixed so I will close.


Rename ownerId to userId for easier groups migration

There is a naming collision where old Model.ownerId pointed to the User table, while after hubs group is's going to point at the Owner table.

Merging.
This might break prod for a few minutes, but probably no one will notice.

Deployed, prod seems fine.


provisionning stuck in step ..INFO] 04/11 - Features

Hi,
we are using the continuous job to automatically provision site collections when they are created.
to create an empty site, it is working. but to create a customized site with publishing activated, custom lists and branding it is stuck in Features for two hours and it does not complete. I made the timeout infinite as below in code.
output of the job is below:
[04/19/2016 14:53:27 > 27d1c4: INFO] 01/11 - Regional Settings
[04/19/2016 14:53:28 > 27d1c4: INFO] 02/11 - Supported UI Languages
[04/19/2016 14:53:28 > 27d1c4: INFO] 03/11 - Site Security
[04/19/2016 14:53:40 > 27d1c4: INFO] 04/11 - Features
any idea?
Thanks

You should absolutely get an exception from the web job as well, which is needed to understand what goes wrong. One of the things which could cause this is publishing features - they are really resource intensive and they can also timeout when activated. We are working on this internally in engineering, so that things would work faster.

Hi Vesa,
we are branded the website and we need to activate publishing feature in the timer job, any turn arounds for this requirement? we disperately need this feature.
Thanks

Hi Anass,
there has been issues around the publishing feature time outs, but these should be again resolved. Are you still getting these exceptions in your solution?

Hi vesa,
We stopped activating publishing and I ended up creating a custom engine that does not use pnp templating based on pnp core samples to create lists webpages and branding injection based on the pnp core. We faced many issues in recreating site collections from saved templates such as the need to replace group security principals in some xml... i can share thoughts to improve and identify the issues.

Absolutely interested on any details. One way to still benefit of the PnP provisioning engine is to use it for generic elements and then implement all custom requirements as a extensibility provider. This way the core engine will evolve based on the Core component updates, but you can still fully control what get's created with the templates. Here's a sample of custom extensibility provider - https://github.com/OfficeDev/PnP/tree/master/Samples/Provisioning.Extensibility.
Obviously falling back on custom process is absolutely fine as well.


#2217 - Make "Upload map" dialog as scrollable

Fixes #2217

Demonstration

Maybe make all dialogs scrollable by default via showInDialog(...) of class UiService?

It is probably best to just make dialogs scrollable by default


Feature/cloudwatch kms

Added new kms allow policy for cloudwatch at the request of users following the bellow comment in the ask channel
Afternoon team, would it be possible to give cloudwatch access to the business unit general CMK. so we can have encrypted SNS topics.

More context for this PR can also be found here: https://repost.aws/knowledge-center/cloudwatch-receive-sns-for-alarm-trigger


[P0] Automatically schedule boss battles and daily challenges

Summary
We already have a finite set of boss battles available, which can be chosen and enabled in the QA Editor tools.
Let's create a scheduled task (can run once a day in the Worker) to keep track of the last boss index, and rotate through the list as each one expires. In other words, the worker would do the following:
- check to see if a boss is already enabled
- if not, determine what the next boss should be
- activate the next boss

We can do the same thing with daily challenges if we happen to still have access to those. They may have been stored in S3, though, which would make this more difficult as we'd need to create or generate the content instead.

Relevant code: scripts/daily_challenges/migrate_daily_challenge_from_staging.coffee
Challenges were indeed in S3, and we don't appear to have access to them in the repo.


ecall_ipc_entry_point, app sgx_error::SGX_ERROR_ENCLAVE_LOST

When i use mesatee for gbdt train, some hours later, it shows the ERROR log.

[ERROR mesatee_core::ipc::channel::app_dep] ecall_ipc_entry_point, app sgx_error::SGX_ERROR_ENCLAVE_LOST.
I lookup Intel_SGX_SDK_Developer_Reference_Linux_1.6_Open_Source.pdf, it tell me

Handling Power Events
The protected memory encryption keys that are stored within an SGX- enabled CPU are destroyed with every power event, including suspend and hibernation.
Thus, when a power transition occurs, the enclave memory will be removed and all enclave data will not be accessible after that. As a result, when the sys- tem resumes, any subsequent ECALL will fail returning the error code SGX_ ERROR_ENCLAVE_LOST. This specific error code indicates the enclave is lost due to a power transition.
An SGX application should have the capability to handle any power transition that might occur while the enclave is loaded in protected memory. To handle the power event and resume enclave execution with minimum impact, the application must be prepared to receive the error code SGX_ERROR_ ENCLAVE_LOST when an ECALL fails. When this happens, one and only one thread from the application must destroy the enclave, sgx_destroy_ enclave(), and reload it again, sgx_create_enclave(). In addition, to resume execution from where it was when the enclave was destroyed, the application should periodically seal and save enclave state information on the platform and use this information to restore the enclave to its original state after the enclave is reloaded.

Thanks for the report. We didn't handle the power transition issue right now. I found a sample code of how to handling power transition. https://github.com/intel/linux-sgx/tree/master/SampleCode/PowerTransition. This may be helpful for people who is interested to work on this.

Thanks for the report. We didn't handle the power transition issue right now. I found a sample code of how to handling power transition. https://github.com/intel/linux-sgx/tree/master/SampleCode/PowerTransition. This may be helpful for people who is interested to work on this.

OK, i will try it


Issue with output of print_dbt_project_evaluator_issues

Describe the bug
Following these instructions, I used the macro print_dbt_project_evaluator_issues in the property on-run-end. At the end of running dbt_project_evaluator, I get nothing.
on-run-end: "{{ dbt_project_evaluator.print_dbt_project_evaluator_issues() }}"
Steps to reproduce
My dbt_project.yml looks something like this:
config-version: 2

model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

vars:
  exclude_paths_from_project: ["/stg_media_status_events.sql", "/stg_user_accounts.sql"]

models:
  dbt_project_evaluator:
    marts:
      structure:
        fct_model_naming_conventions:
          +enabled: false
        fct_source_directories:
          +enabled: false
        fct_model_directories:
          +enabled: false
      dag:
        fct_staging_dependent_on_staging:
          +enabled: false
        fct_rejoining_of_upstream_concepts:
          +enabled: false

on-run-end: "{{ dbt_project_evaluator.print_dbt_project_evaluator_issues() }}" Run the command:
dbt build package:dbt_project_evaluator
Expected results
I expect dbt_project_evaluator to show up information about the warn steps highlighted in the command.
Screenshots and log output
01:03:48 Finished running 23 table models, 1 seed, 15 view models, 22 tests, 2 hooks in 0 hours 0 minutes and 33.90 seconds (33.90s).
01:03:48 Completed with 2 warnings:
01:03:48 Warning in test valid_test_coverage (models/marts/tests/testing.yml)
01:03:48 Got 1 result, configured to warn if != 0
01:03:48   compiled Code at /app/dbt_project/__local_target/compiled/dbt_project_evaluator/models/marts/tests/testing.yml/valid_test_coverage.sql
01:03:48 Warning in test is_empty_fct_missing_primary_key_tests_ (models/marts/tests/testing.yml)
01:03:48 Got 1 result, configured to warn if != 0
01:03:48   compiled Code at /app/dbt_project/__local_target/compiled/dbt_project_evaluator/models/marts/tests/testing.yml/is_empty_fct_missing_primary_key_tests_.sql
01:03:48 Done. PASS=59 WARN=2 ERROR=0 SKIP=0 TOTAL=61

System information
packages:
  - package: dbt-labs/dbt_utils
    version: 1.1.1
  - package: dbt-labs/dbt_project_evaluator
    version: 0.8.0

Which database are you using dbt with?

[ ] postgres
[x] redshift
[ ] bigquery
[ ] snowflake
[ ] trino/starburst
[ ] other (specify: ____________)

The output of dbt --version:
dbt Cloud CLI - 0.34.16 (b16ec451ab12948f2c88d41fa851928511a99d43 2023-11-28T18:04:22Z)

Additional context

Are you interested in contributing the fix?

Thanks for raising this! This is due to the fact that the print() function behaves differently in dbt Core and dbt Cloud. I am checking with the team if there is a way to update the print() behaviour.
I will keep it open for now and will think of a long term solution.

@b-per thanks for the reply! On dbt Cloud should behave correctly? I haven't tested there.

I don't think that dbt Cloud IDE will show the print() results either. I don't know about the dbt Cloud jobs.

@b-per is there any way to identify the detected resources to simplify the next steps? Otherwise we need to go file by file

Hi @sn-nsoria
What do you mean here?

Hi @b-per - thanks for replying. I mean, when I got a warn alert for example for some of the rules, how can I identify which models / tables / objects are not following the rule so we can go and fix it? Thanks

Most of the tests (if not all), should start with is_empty_fct_abcd.
To see the failing records, you can:

use print_dbt_project_evaluator_issues (which it seems does not work in the IDE and the Cloud CLI) but might work for jobs in dbt Cloud
or directly query the table fct_abcd that has been created in the warehouse


schema/defs-config.json: Require rootfs properties and enumerate type

The property had been (erroneously) "layers"; this commit fixes that by making the property "type" and using an enum to require the value to be "layers".  It also adds "required" entries for both rootfs.diff_ids and rootfs.type.

LGTM

LGTM


Update package version

@label-u/components 1.0.0-alpha.23 (2023-02-28)
Bug Fixes

components: refactor layout (5c0b7a9)

:tada: This PR is included in version 1.0.0-alpha.24 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.16 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:


To determine executing cargo command from build script

Sometimes it's important to know currently executing cargo command (build, clean, etc.) inside build script for handling internal stuff. For example:
cargo build – compile/recompile foreign C++ library;
cargo clean – clean foreign C++ library..? There is now way to distinguish cargo build from cargo clean inside build script.

Currently Cargo doesn't actually run scripts on clean, so the answer here is simple in that it's always build!
Running a build script, however, on cleaning is tracked over at https://github.com/rust-lang/cargo/issues/2573, so I'm gonna close this in favor of that, but thanks for the report!


darwin: WWWCurl: fix CURL_DID_MEMORY_FUNC_TYPEDEFS build error

Motivation for this change
Building nixUnstable on Darwin currently fails with error:
./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type]
            if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;

which can be worked around as described in https://github.com/szbalint/WWW--Curl/issues/16#issuecomment-222556096
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Apply the patch from
https://github.com/szbalint/WWW--Curl/issues/16#issuecomment-222556096

The travis build above failed building go-1.6.2 with the following test failure:
--- FAIL: TestGetfsstat (0.00s)
	syscall_bsd_test.go:31: an empty Statfs_t struct was returned

which https://github.com/golang/go/issues/16245#issuecomment-230351353 suggests might be due to a bad interaction between file system mount options and go's expectations.
However, since I cannot reproduce the problem locally, I am not sure how to proceed.

Go should be irrelevant as long as "go2nix" still builds.

Shouldn't this go into staging as curl updates are there?

The curl update https://github.com/NixOS/nixpkgs/pull/17152 was reverted because of this issue on master. I pushed this to staging https://github.com/NixOS/nixpkgs/commit/ea67c9ce1c33c4b76691379169c8996a39fcffa0


character level model support

Support for character based models, in particular Flair and canine

Clinical genomics stuff on pause for now but when that starts again can try to fold in the CANINE support with all the recent updates

Hoping to do some work on this issue this week since Timelines is on pause for ITCR.  Will need to rebase the branch in my fork off of the error analysis branch and then adapt the error analysis code to work with character level.

Still figuring out the most efficient way to do this since a couple of the approaches I tried also have some issues.
Have also been thinking about how to do adapt character level stuff for relation extraction.  Tagging has also been more expensive than its wordpiece counterpart, which would mean even more of a blowup for relex.  Maybe there's some way to leverage sparse matrices for both

Have something that's basically working modulo an issue with the batches being the wrong shape if one uses say layer 8 out of 12 on canine and some formatting tweaks for the error analysis
The former issue might have something to do with the relatively unique downsampling -> upsampling part of the canine architecture.  Actually only found out about this by accident since the layer 8 setting was something I was trying with a Roberta based model.  Will look into both of these more though.

This got folded in with my latest PR


Path to TSI fix

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

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-reference-for-IoT.md
:white_check_mark:Succeeded
View

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


⚠ TiendaEnLinea has degraded performance

In ea8f673, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 5500 ms

Resolved: TiendaEnLinea performance has improved in 910856e.


CORS error when running Ollama

Access to fetch at 'http://<IP_ADDRESS>:11434/api/generate' from origin 'app://obsidian.md' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I`m running Ollama from a enviroment.conf file in the following way:
Environment="OLLAMA_ORIGINS=http://<IP_ADDRESS>:11434,app://obsidian.md:* ollama serve"
I have also tried:
OLLAMA_ORIGINS=* OLLAMA_HOST=<IP_ADDRESS>:11434 ollama serve
But the same results.
How can I bypass this CORS error?

https://discord.com/channels/1083485983879741572/1173386686751834162


UI service

We need a separate UI service that would provide:

Admin view for people with sudo privileges. Overview of active experiments, active compilations, locked nodes, and all experiments for the past X days. Ability to cancel any active experiment. Possibly, later, the ability to look at the source code of any of the experiments.
User view for everyone. Info about their active experiments and nodes they locked, and their last (not deleted) experiments. Ability to cancel their experiment.

Basically, the difference between sudo and user UI is what experiments they have access to (their own or all).

Implemented


[BEAM-2711] Updates ByteKeyRangeTracker so that getFractionConsumed() does not fail for completed trackers

After this update:

getFractionConsumed() returns 1.0 after markDone() is set.
getFractionConsumed() returns 1.0 after tryReturnRecordAt() is invoked for a position that is larger than or equal to the end key.

This is similar to how getFractionConsumed() method of OffsetRangeTracker is implemented.

Retest this please

R: @bjchambers

Retest this please

Failure seems to be unrelated.

Coverage increased (+0.004%) to 69.969% when pulling ba08ec3bfb1eead06772945ab888d910ffe7d436 on chamikaramj:key_range_progress into 9088a3e39e79f0b931fd3eec629df1c5e6ef6911 on apache:master.

R: @jkff

PTAL. I think it's good to use the non-deprecated method here.

Ah, didn't notice you approval. Merging.


Set a $PATH when there isn't one

Debian-based distro-managed Postgres installations (such as Ubuntu) seem to clear the $PATH environment variable when Postgres starts.  This means that plrust can't find the system commands such as cargo and cc that it needs to compile user functions (there are probably others).
If the $PATH is missing (or the empty string), we'll hardcode it to ~/.cargo/bin:/usr/bin when executing cargo.  However, if the user has set the plrust.PATH_override GUC, then we will always use that when executing cargo.

let me know how you like https://github.com/tcdi/plrust/pull/193/commits/a5e1349cb059b44f44d7e861feb04a5ff39d07f5


Extend /utilities/#spacing: how to add more spacers

I think this is a neat customization option that could use two lines of documentation so more people find it.
http://v4-alpha.getbootstrap.com/components/utilities/#spacing

Updated and merged as bf734252770879d7207d5dc7df7aa82109d8880b. Thanks!


fix(link): more usecase cover for link feature

[ ] What does this PR do? [Mandatory]
Note: If you are still working on the changes, prefix the PR title with "WIP" and add the label "DO NOT MERGE"

Disable browser autocomplete for search work item field.
After the parent-child linking if the target work item is not present in the list then update the list will get updated with target work item.
After the parent-child linking if the source work item is not present in the list then update the list will get updated with source work item.
If both source and target are not present in the list then the list will not get updated.

[ ] What issue/task does this PR references? [Mandatory]

https://openshift.io/openshiftio/openshiftio/plan/detail/1976
[ ] Are the tests Included? [Mandatory]

Ike Plugins (test-keeper)
Thank you @vikram-raj for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.

No tests. Build failed too.

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 and visit http://localhost:5000 to access it.

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 and visit http://localhost:5000 to access it.

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 and visit http://localhost:5000 to access it.

[test]

[test]

[test]

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2557 and visit http://localhost:5000 to access it.

This PR is outdated after data normalization. Need to do some work on this. So closing this for now.


NotificationFake->sendNow() should offer a way to change/inject the event triggered.

Laravel Version: 5.4.*
PHP Version:7.1.2
Database Driver & Version: mysql 5.7.17
Description:
Illuminate\Support\Testing\Fakes\NotificationFake->sendNow() should offer a way to change/inject the event triggered. Currently triggers a hardcoded \Illuminate\Notifications\Events\NotificationSent()

For suggestions and feature requests please use the https://github.com/laravel/internals repo.

thanks


Endpoint for Recipient

https://stripe.com/docs/api#recipients

Anyone working on this yet?

I see recipients implemented.


docker: Fix startup-sequence locations

In https://github.com/znc/znc-docker/pull/28 the location of the init scripts was moved which broke the logic to copy all the init files once the docker submodule was updated in 5d7aa0f7d44cb0d686881ced5b409c3d0569e7ca. Consequently only 30-build-modules.sh was available in the build docker image.
We fix this issue by also including all startup-sequence subfolders.

Before:
$ ls docker/*/??-*.sh
docker/full/30-build-modules.sh

After:
$ ls -1 docker/*/??-*.sh docker/*/startup-sequence/??-*.sh
docker/full/30-build-modules.sh
docker/slim/startup-sequence/00-try-sh.sh
docker/slim/startup-sequence/01-options.sh
docker/slim/startup-sequence/20-chown.sh
docker/slim/startup-sequence/99-launch.sh


Enable Embedding API in watsonx.ai

Since a few days it is possible to use watsonx.ai to generate vectors with the embedding api.
The idea is to integrate this new feature into the watsonx module. I'll open a pull request to work on it.

🎉


Cheatcode function

This PR is meant to introduce the cheatcode function. Cairo users can implement their own cheatcodes by injecting custom CairoHintProcessor. It will help Protostar to get rid of Cairo fork.
The print cheatcode implementation is just for testing, to be removed when merging.

This change is

why is it called cheatcode?

crates/cairo-lang-casm/src/hints/mod.rs line 707 at r3 (raw file):

        match self {
            StarknetHint::Cheatcode { .. } => {
                write!(f, "raise NotImplementedError")

Shouldn't the compilation fail here?

crates/cairo-lang-casm/src/hints/mod.rs line 53 at r5 (raw file):
Previously, orizi wrote…
this is used by full node - and they should be able to handle changes - so we should be fine.
Still making sure @dan-starkware ?

We store the casms in storage, so removing variants / modifying the indices requires us to implement storage migration.
If possible, please avoid doing so.
@dan-starkware - can we still get away with resyncing?

crates/cairo-lang-casm/src/hints/mod.rs line 53 at r5 (raw file):
Previously, orizi wrote…
does the fact these are indices that should never appear in the db affect anything?

WDYM never appear in the db? They are part of the encoding

crates/cairo-lang-casm/src/hints/mod.rs line 53 at r5 (raw file):
Previously, orizi wrote…
the actual values - the changed values would never be part of valid CASM code.

Discussed with Ori - these variants are for tests.
Ok to modify them.
Thanks for checking with us.


Add Prettier 3.4 support

https://prettier.io/blog/2024/11/26/3.4.0.html#api

Added #25 to update prettier version compatibility.

Closed by #29


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 80 ms

Resolved: ClamAV performance has improved in 9c21ef8.


Is it possible to connect via an UNIX domain socket

Is your feature request related to a problem? Please describe.
I'm using Google Cloud SQL for my databases I'm using Firebase Functions for my API using Nest. I want to use MikroORM.
I need to connect to the database (in production) via UNIX domain socket, but I cannot find any documentation about this in the current documentation.
It is possible to do so using Knex:
const knex = require('knex')({
  client: 'mysql',
  connection: {
    socketPath : '/path/to/socket.sock',
    user : 'your_database_user',
    password : 'your_database_password',
    database : 'myapp_test'
  }
});

It is also possible using TypeORM:
{
  "type": "mysql",
  "extra": {
    "socketPath": "/cloudsql/<project>:<region>:<database>"
  },
  "port": 3306,
  "username": "myuser",
  "password": "secret",
  "database": "mydb"
}

Describe the solution you'd like
I really want to use MikroORM, but I'm not sure if I can connect to my database using UNIX domain Socket. If it is possible, it would be a great addition to the documentation. If it is not possible, it would be a great addition to the package!
Describe alternatives you've considered
I considered TypeORM.
Additional context
Cloud SQL connection reference: https://cloud.google.com/sql/docs/mysql/connect-functions#node.js
Knex reference: https://knexjs.org/#Installation-client
How to use it in TypeORM: https://stackoverflow.com/a/50298350/2774496

@service-paradis could you implement your socketConnection only by adding the driverOptions property?

There's some room for improvement here. I've struggled with this for a long while because the documentation doesn't explain some of the important details and the implementation is not super straightforward either.
This is what I have in my config file and it worked for us in both local development and in Cloud Run (using Cloud Proxy, not Serverless Connector which is more straightforward as it uses TCP, not Unix Sockets):
const config = defineConfig({
  driverOptions: {
    connection: {
      connectionString: process.env.DATABASE_URL,
    },
  },

  // This is a dummy value that is overriden in driver options. This is because MikroORM's connection string
  // parser doesn't fully support unix socket connection strings whereas Knex and the underlying pg package
  // supports the socket protocol out of the box:
  // Refs:
  // - https://www.npmjs.com/package/pg-connection-string
  // - https://knexjs.org/guide/#configuration-options
  // - https://mikro-orm.io/docs/configuration/#driver
  clientUrl: 'postgresql://postgres@<IP_ADDRESS>:5432/db',

  // …
})

Then DATABASE_URL can be any of the following:

socket://user:password@/cloudsql/project:region:instance?db=dbname in Cloud Run
postgresql://user:password@host:port/dbname in local dev env

I've been trying to use a PG-specific connection string as described in the documentation for pg-connection-string npm package used as an internal connection string parser by the the pg driver. There are a few issues:

It is not clear that MikroORM doesn't delegate parsing on to the underlying driver and tries to parse the connection string itself using a custom parser that doesn't support certain features (such as the socket: protocol).
It is not clear that driverOptions expect a knex config object rather than the underlying driver config
Even though I can override the settings, I still need to provide either a dummy dbName or clientUrl, otherwise the MikroORM refuses to start because it still attempts to parse the connection string
The config above is the only way I was able to get Cloud SQL Unix Socket connection to work as expected using a connection string rather than separate properties for host, username, password and db name. The connection string unifies the db connection approach across different environments (local, dev, production). However, MikroORM then logs the wrong connection string on stdout - the dummy value instead of the actual connection string.


NVIDIA GPU support

I have a machine with four NVIDIA GPUs and starting the miner with -G — which to my understanding is not CUDA but OpenCL — causes it to blow up (there are other issue reports with the same error messages).
When can we expect proper NVIDIA GPU support to come aboard?  And what about CUDA?  Right now this machine is doing a paltry 16 Sol/s.  It should be capable of pulling hundreds with the use of all four GPUs.
Alternatively: is there another GPU miner?

The segfault:
se(gdb) set args -G -p 0 -stratum=stratum+tcp://us1-zcash.flypool.org:3333 -user=t1KzW2UgrniR8iZDAbB6FAAyQuRnj6ofqsK.zoiner -password=z -printtoconsole
(gdb) run
Starting program: /home/fedora/zogminer/src/zcash-miner -G -p 0 -stratum=stratum+tcp://us1-zcash.flypool.org:3333 -user=t1KzW2UgrniR8iZDAbB6FAAyQuRnj6ofqsK.zogminer -password=z -printtoconsole
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.23.1-10.fc24.x86_64
/home/fedora/zogminer/src/zcash-miner: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by /home/fedora/zogminer/src/zcash-miner)
/home/fedora/zogminer/src/zcash-miner: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by /home/fedora/zogminer/src/zcash-miner)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Running the test miner
../../gdb/cp-support.c:1595: demangler-warning: unable to demangle '_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv' (demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
Missing separate debuginfos, use: dnf debuginfo-install libgcc-6.2.1-2.fc24.x86_64 libgomp-6.2.1-2.fc24.x86_64 libstdc++-6.2.1-2.fc24.x86_64 mesa-libOpenCL-12.0.3-2.fc24.x86_64
../../gdb/cp-support.c:1608: demangler-warning: unable to demangle '_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv' (demangler failed with signal 11)
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

[OPENCL]:Found suitable OpenCL device [GRID K520] with<PHONE_NUMBER> bytes of GPU memory
[OPENCL]:Using platform: NVIDIA CUDA
[OPENCL]:Using device: GRID K520(OpenCL 1.2 CUDA)
[New Thread 0x7fffed960700 (LWP 32919)]
[New Thread 0x7fffed15f700 (LWP 32920)]
[New Thread 0x7fffec95e700 (LWP 32921)]
[New Thread 0x7fffe7fff700 (LWP 32922)]
[New Thread 0x7fffe77fe700 (LWP 32923)]
[New Thread 0x7fffe6ffd700 (LWP 32924)]
[New Thread 0x7fffe67fc700 (LWP 32925)]
[OPENCL]:Printing program log
[OPENCL]:

[OPENCL]:CL ERROR:CL_OUT_OF_RESOURCES

Thread 1 "zcash-miner" received signal SIGSEGV, Segmentation fault.
0x00005555557afe3d in GPUSolver::GPUSolve200_9(unsigned char*, unsigned long, unsigned long, std::function<bool (std::vector<unsigned char, std::allocator<unsigned char> >)>, std::function<bool (GPUSolverCancelCheck)>, crypto_generichash_blake2b_state) (this=this@entry=0x555555ab33a0, header=header@entry=0x555556472840 "\004",
    header_len=header_len@entry=108, nonce=nonce@entry=0, validBlock=..., cancelled=..., base_state=...)
    at libzogminer/gpusolver.cpp:212
212	            	index_vector[i] = indices->values[s-1][i];
Missing separate debuginfos, use: dnf debuginfo-install clang-libs-3.8.0-2.fc24.x86_64 elfutils-libelf-0.166-2.fc24.x86_64 expat-2.1.1-1.fc24.x86_64 libdrm-2.4.71-2.fc24.x86_64 libffi-3.1-9.fc24.x86_64 llvm-libs-3.8.0-1.fc24.x86_64 zlib-1.2.8-10.fc24.x86_64

Better log:
(gdb) set args -G -p 0 -stratum=stratum+tcp://us1-zcash.flypool.org:3333 -user=t1KzW2UgrniR8iZDAbB6FAAyQuRnj6ofqsK.zogminer -password=z -printtoconsole
(gdb) run
Starting program: /home/fedora/zogminer/src/zcash-miner -G -p 0 -stratum=stratum+tcp://us1-zcash.flypool.org:3333 -user=t1KzW2UgrniR8iZDAbB6FAAyQuRnj6ofqsK.zogminer -password=z -printtoconsole
/home/fedora/zogminer/src/zcash-miner: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by /home/fedora/zogminer/src/zcash-miner)
/home/fedora/zogminer/src/zcash-miner: /usr/local/cuda-8.0/targets/x86_64-linux/lib/libOpenCL.so.1: no version information available (required by /home/fedora/zogminer/src/zcash-miner)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Running the test miner
../../gdb/cp-support.c:1595: demangler-warning: unable to demangle '_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv' (demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
Missing separate debuginfos, use: dnf debuginfo-install mesa-libOpenCL-12.0.3-2.fc24.x86_64
../../gdb/cp-support.c:1608: demangler-warning: unable to demangle '_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv' (demangler failed with signal 11)
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

[OPENCL]:Found suitable OpenCL device [GRID K520] with<PHONE_NUMBER> bytes of GPU memory
[OPENCL]:Using platform: NVIDIA CUDA
[OPENCL]:Using device: GRID K520(OpenCL 1.2 CUDA)
[New Thread 0x7fffed960700 (LWP 33213)]
[New Thread 0x7fffed15f700 (LWP 33214)]
[New Thread 0x7fffec95e700 (LWP 33215)]
[New Thread 0x7fffe7fff700 (LWP 33216)]
[New Thread 0x7fffe77fe700 (LWP 33217)]
[New Thread 0x7fffe6ffd700 (LWP 33218)]
[New Thread 0x7fffe67fc700 (LWP 33219)]
[OPENCL]:Printing program log
[OPENCL]:

[OPENCL]:CL ERROR:CL_OUT_OF_RESOURCES

Thread 1 "zcash-miner" received signal SIGSEGV, Segmentation fault.
0x00005555557afe3d in GPUSolver::GPUSolve200_9(unsigned char*, unsigned long, unsigned long, std::function<bool (std::vector<unsigned char, std::allocator<unsigned char> >)>, std::function<bool (GPUSolverCancelCheck)>, crypto_generichash_blake2b_state) (this=this@entry=0x555555ab33a0, header=header@entry=0x555556472840 "\004",
    header_len=header_len@entry=108, nonce=nonce@entry=0, validBlock=..., cancelled=..., base_state=...)
    at libzogminer/gpusolver.cpp:212
212	            	index_vector[i] = indices->values[s-1][i];

I don't expect that we will ever support NVIDIA. The hardware framework is too different for the kernel.


We need DPS check and poe.trade

We need to be able to see dps for physical damage and elemental damage for attack weapons. Also  it would be great to be able to open the searches in poe.trade as the main trade site recently limited the live searches to 20 from 80. A lot of players did not like that change and are going back to poe.trade. Hope to see these features implemented, thanks!

DPS check is provided. Please see following wiki entry:
https://github.com/Kyusung4698/PoE-Overlay/wiki/Evaluate#properties
poe.trade won't be supported in the near future.


Support mouse gestures when active tracing is enabled

Fixes #989
Description of the changes:

Trace cursor should follow the mouse on the graph

How changes were validated:

Manual testing

This isn't a smooth experience. I'm using a touch pad, and I can move fast enough to make the mouse cursor show up instead of the tracing icon. I find the tracing cursor lags behind the mouse movement as well.

Thanks for confirming, I noticed it too on remote desktop but wasn't sure if it was just input lag. Looks like it's a bug with Active Tracing always triggering a render even when the not necessary. This is a problem for tracing in general, I included a fix with this PR.


When running scons on a FIPS compliant machine scons still try to use md5 even if the C and python libraries are missing.

This issue was originally created at: 2014-05-24 07:57:52.
This issue was reported by: bsucha.
bsucha said at 2014-05-24 07:57:52

When running scons on a FIPS compliant machine scons still try to use md5 even if the C and python
libraries are missing. This causes scons to fail the at the first file it tries to compile.
This can be easily solved by updating Util.py to try to initialize the md5 library before defining the
functionality and catching the ValueError thrown when it doesn't exist.
try:
import hashlib
hashlib.md5()  # add this line, this will try to cause the initialization of the md5 functionality.
except ImportError:
pass
except ValueError: # add this line
pass           # add this line
This will allow scons to continue properly and fall back to its missing md5 mode.
Specific machine: RHEL6 2.6.32-358.2.1.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

Is there any effort to work on this bug? We would like to use SCons on our fips enabled machine but the following error does not let it work as is.

import hashlib
hashlib.md5()
Traceback (most recent call last):
File "", line 1, in
ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips

@rruhge - Feel free to submit a pull request and we'll try to get it merged in quickly.
See: https://github.com/SCons/scons/wiki/GitWorkflows for info on how to do this.

I have, actually, a branch which "fixes" this.  But I haven't done anything with it other than occasionally rebase to stay up to date, as there didn't seem to be much enthusiasm last time someone brought it up, and there are unasnwered questions. As in... what to do if md5 is unavailable?  Not use file signatures at all?  That's not really great.  Switch to a different mechanism?  (my experiment did sha1, which also isn't "secure", but the signatures are not used for any security purpose in scons).  Is it necessary to add a configuration mechanism, where the user selects the digest form they want?  is it necessary to teach scons to detect the format from an existing signature database? I can certainly make a "patch" available if someone wants to look at it as a starting point.

What hashes are FIPS compliant?

From a document I just found: (SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224
and SHA-512/256) are the SHS hashes that are compliant.  I tested with sha-1 and it worked.

Sure sha1 isn't secure, but if we're not looking for a security purpose here, that would work for us, it does not break scons.

A "FIPS-compliant Python" is a thing, and it only excludes md5.
https://docs.python.org/3/library/hashlib.html

... which by the way you can test on by editing the __always_supported list in hashlib.py in your Python installation.

Ugh.. we'd probably need to push a sconsign revision to support changing the hash properly.
What kind of mess will we get into if the sconsign has the other hash (not the one being used), and/or both types of hash?
Lots of extra rebuilds?

that's why I considered my branch a proof-of-concept, not something ready to push.

Could scons keep md5 but switch to sha1 (or something else) with a command line option?

@rruhge - The issue is what I put in previous response. How to handle same sconsign file, but one run has md5, one has sha. Also how to allow explicitly selecting.

I should add, there's a second place that uses md5 that would be affected, beyond file signatures: the md5 module is used to generate uuids for visual studio integration.  the better answer there is to switch to the uuid module to generate a uuid... I worked on that as well, not sure if it was all correct.

@rruhge - Are you using/generating visual studio project files?

@bdbaddog - We are not.

@mwichmann - Can you push a PR with your code and then point @rruhge at it to try?  It may take a number of iterations to get something we can merge.

#3447

I gave it a try, this still didn't work.  This seems to be because hasattr(hashlib, 'md5') still returns true, even though calling hashlib.md5() returns a ValueError.  Could exception handling be used instead to cycle through the hash options?

yeah, sure.  indeed hasattr is "unpreferred" these days.
maybe:
try:
    from hashlib import md5
    hashfunc = hashlib.md5
    assert md5  # quiet pyside about unused md5
except ImportError:
...etc...

I did this to make it work:
`try:
if hasattr(hashlib, 'md5'):
md5 = True
hashfunc = hashlib.md5
assert hashlib.md5()
except ValueError:
md5 = False
if ~md5:
try:
if hasattr(hashlib, 'sha1'):
# failover to sha1 if md5 is missing
md5 = 'sha1'
hashfunc = hashlib.sha1
assert hashlib.sha1()
except ValueError:
md5 = False`

I was able to make it work with this code:
    if hasattr(hashlib, 'md5'):
        md5 = True
        hashfunc = hashlib.md5
        assert hashlib.md5()
except ValueError:
    md5 = False

if ~md5:
    try:
        if hasattr(hashlib, 'sha1'):
            # failover to sha1 if md5 is missing
            md5 = 'sha1'
            hashfunc = hashlib.sha1
            assert hashlib.sha1()
    except ValueError:
        md5 = False```

okay, so the way md5 is excluded on your Python must be different than how I did mine.  Obviously, yours is the interesting testcase :)

@mwichmann - Do you want me to go ahead and put in a pull request then, or are you going to merge it into your branch?

doesn't make any difference to me (I certainly don't need the credit).  we have to wait to see what will make the maintainer happy as far as completing the work :)

so the fips version of python has an md5.py but it's bogus? so catching importerror won't do the trick? where can we get a FIPS version of python?

Sorry I didn't think of this before.  We are not using the version of python that ships with the OS because it is a very old version.  We are using a version of Python 3 that you can get from the OS vendor, but it's an extra.  Since this is the case, it may not actually be a FIPS compliant version of Python, so it still has md5, and the OS is where the md5 call is being blocked.  I'm not 100% sure on this but it's my guess as to why the import still works, but the actual call throws the error.

Any way you can help us to reproduce the python you have would be very useful.

Understood, I will keep thinking on it but I don't have any ideas right now other than if a developer would be able to work on a FIPS enabled RedHat 6 VM.  I'm mostly convinced we're being blocked at the OS level, not the Python level.

@mwichmann - could you go ahead and merge my snippet above into your branch? I'm ok with this, since you already have the pull request out there and have done it before.  And sorry guys, I've looked around and don't have any other way that I've found to reproduce the issue.

Is this still something we can pursue? I have no other way of providing a FIPS version, other than someone setting up a VM configured that way.

@rruhge  - how would I set up a VM as such?

it would be good to know, since the try I made didn't catch the case @rruhge was running into.  The Python core team certainly knows about this case but doesn't yet seem to have a consensus on what Python should do... for example this ticket is still open after 9 years: https://bugs.python.org/issue9216.  I believe in a true FIPS-compliant system openssl will be built in a mode that rejects non-FIPS hashes, and this may be the failure mode being seen?

I think to do this, you'd have to use a Redhat 6 VM (can get it free with a developer license, not sure if CentOS has FIPS mode).  During setup, there should be an option to enable FIPS.  Our system is using the redhat software collection 'rh-python36' (https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html/3.3_release_notes/chap-installation#sect-Installation-Install), but I'm betting if you can just install python3 yourself from the python website you'd get the same behavior, and it may be easier.
If you use the software collection method, python will be placed at /opt/rh/rh-python36/root/usr/bin/python.  Our System Admins did this install so I'm not sure of the exact steps other than what's in that documentation, but I can give it a try this weekend at home too if I have time to give more specific instructions, if that helps.

Downloading a specific OS to get to this would honestly be the last choice.
It looks like python can be built with FIPS compliant openssl.
https://hussainaliakbar.github.io/build-python-3-6-0-from-source-with-fips-validated-openssl-on-ubuntu-16-04-lts/

This is irritating, it looks like from some non-Python material on the web that the FIPS mode now in openssl prohibits default access to any low-level hashing algorithm, and you're instead required, by default, to use a higher-level interface.  That means in the more modern instances of this (RHEL/CentOS 7 and 8) sha1, sha256, etc would all be unavailable as opposed to just md5sum as seen in the 6.x series.  I can't prove this without a working instance, I'll see if I can flip the FIPS switch in a copy of my CentOS vm. There is a bypass because "it's complicated" and this is not always disallowed (and the way SCons uses secure hashes ought to qualify for the exception), but I don't know if Python would use the bypass.  Python's Blake implementation is used directly without talking to openssl so it might be the workaround if this turned out to be true. This is what Python's hashlib does:
    if name in {'blake2b', 'blake2s'}:
        # Prefer our blake2 implementation.
        return __get_builtin_constructor(name)
    try:
        f = getattr(_hashlib, 'openssl_' + name)

nevermind, I read that wrong, _hashlib/__init__.py does use the "higher level" openssl EVP interface, so the other algorithms should not be turned off after all.

I know this has been ages, but it's now possible (not yet in a released version) to run scons in a mode that doesn't use md5.  See the above-mentioned PR #3709.

@mwichmann - did we figure out a way to identify that SCons is running in a FIPS environment? ( And then change the default hash only in that case?)
Maybe using this code: https://github.com/SCons/scons/issues/2949#issuecomment-531913910

As I think I said, I built up a FIPS-compliant CentOS 6 according to the instructions I was able to find, and it didn't cause the import of md5 to fail. So we could try, but I don't have a way to test.


[Bug-App]: Group color does not match color on plot

Describe the bug
When I set a color for a group of runs (left column in image), it is not reflected in plots. It used to be the case that the colors would match, and it'd be fantastic to go back to this.

Thanks!
System Information
macOS 14.6.1
Brave 1.70.119

Hi @tristanengst! Thank you for writing in.  We have had a couple of users reporting this behavior, but still not having much luck reproducing it on our end. Could you please send em a link to a workspace where you are running into this?

I'd be happy to—is there a way to do this privately, since I'd rather not have the project be especially public before I can publish?

Totally get that, could you please send it over to<EMAIL_ADDRESS>and let me know here once you've done it?

Hi! We have been able to repro this behavior and have reported it to our engineering team. Thank you for bringing this up!

Sent.


Improve settings saved label display

Add a smooth hide/show transition with opacity on the settings saved label.

Since there is no opacity attribute on the label, no need to override the code with a bunch of small effects. Closing the issue.


ServerSide: Silo interface shows no connection

Seems something is failing in the Gui or tile to cause only one page of connections to show. As well that all silos on that page show with no connection. However, missiles can still be fired which is another bug that will be fixed shortly

https://github.com/BuiltBrokenModding/ICBM/commit/01a55ae6da3f33ab9da0b8eba658209c95186be9


Mi Flora Sensor gattool not found

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.29-dev
Python release (python3 --version):
Component/platform:
mi flora
Description of problem:
HA fails to read from sensor, errors indicate executable gattool is missing. This tool is part of Bluez on debian, but not centos/RHEL.
Expected:
No errors. Works on my raspi2.
Edit: Looks like the EPEL package dropped gatttool. Not sure why. Simply digging up a old RPM, pulling out the required executable and throwing it where expected worked to get the sensor online. This would not be a recommended fix. I don't know if there is an ideal fix here other than mark the issue in the docs that all distros may not be supported.
Problem-relevant configuration.yaml entries and steps to reproduce:
sensor:
  - platform: miflora
    mac: XX:XX:XX:XX:XX:XX
    name: YYYY
    force_update: false
    median: 3
    monitored_conditions:
     - moisture
     - light
     - temperature
     - conductivity

Run miflora sensor on RHEL-based linux.
Observe errors

Traceback (if applicable):
/bin/sh: gatttool: command not found
16-09-19 22:57:30 INFO (ThreadPool Worker 5) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s] XX:XX:XX:XX:XX:XX

Additional info:

I didn't like this when I saw it, @open-homeautomation could you not use pygatt?

I could, but I decided not to. pygatt is just a wrapper around gatttool. Therefore without gatttool, pygatt also won't work.
Using external Bluetooth libraries had already been a problem with the Bluetooth LE presence detection, therefore I decided to call gatttool directly instead of using an external library that calls it.

@Danielhiversen can you run sudo find / -name gatttool

I do not have the Mi Flora sensors yet.

I had the miflora-library working on my rpi1. Did an upgrade to a rpi3 and experienced the same problems with gatttool. Was able to solve them eventually though. In solving the problem, I did many things and unfortunately have not understood what exactly solved the issue. Two of the things I remember doing are, however:

A manual reinstall of the latest bluez-library (not through apt-get install bluez)
Starting the bluetooth service in experimental mode.

I've got three miflora sensors running on 0.28.2 with the miflora-sensor manually downloaded from the 0.29 dev repository. I haven't exactly done a kosher install so I'm waiting for 0.29 before drawing any conclusions on functionality.

@danielhiversen sorry buddy, meant @danieljkemp

(doing a find / -name gatttool was one of my first steps, no results, as we'll see why. In the latest EPEL bluez rpm gatttool is missing as seen here:
http://rpm.pbone.net/index.php3/stat/6/idpl/31977313/dir/centos_7/com/bluez-5.23-4.el7.x86_64.rpm
vs a previous version of bluez:
http://rpm.pbone.net/index.php3/stat/6/idpl/29070354/dir/centos_7/com/bluez-4.101-13.el7.x86_64.rpm
It is not provided by any other packages.
@ggravlingen My guess is that your manual install of bluez is what did the trick.

@danieljkemp could you add something to https://github.com/home-assistant/home-assistant.github.io/blob/next/source/_components/sensor.miflora.markdown to close this off?

Has this been resolved?

gattool is deprecated in the most recent bluez versions.

commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
Author: Luiz Augusto von Dentz<EMAIL_ADDRESS>Date:   Wed Jan 4 14:23:58 2017 +0200
build: Hide deprecated tools under --enable-deprecated
This marks the following tools as deprecated as they are not longer
maintained or have been replaced by other tools:
 hciattach hciconfig hcitool hcidump rfcomm sdptool ciptool gatttool

bluez.git
There is an [https://github.com/peplin/pygatt/issues/112](open issue) in the pygatt repository.

@open-homeautomation So what is the solution here?

I'm getting the same problem using hass.io:
/bin/sh: gatttool: not found
2017-06-22 23:02:06 INFO (SyncWorker_8) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s]
Any solution?

@open-homeautomation using pygatt would make this component able to run on windows and mac using a Bluegiga USB bluetooth dongle. This would make this component usable to a wider range of users.

@bhaap open-homeautomation/miflora#23 uses bluepy. pygatt only wraps gatttool itself, so how is it able to avoid platform incompatability?

Using a Bluegiga's BGAPI compatible dongle would enable you to run pygatt on any system. Its either a lib for gatttool or for BGAPI.

I had a lot of trouble compiling bluepy on a  Linux ARM system. Looking at the  bluepy-helper code it seems like this based on an forked bluez4 codebase. So I don't think bluepy is a good choice in the long term.
From my research bluez has replaced gatttool with a D-bus api. I would love to see a solution utilizing the bluez5 d-bus api. That would of course not avoid platform incompatibility. From my very limited knowledge I don't think that this is an achievable goal at all.

I have a created a fork that uses pygatt that works for BGAPI adapters. This should make the code more universal.
https://github.com/bhaap/miflora
I agree with you that Gatttool is not a good choice in the long term. D-bus api and BGAPI based code would be the best atm in both compability and in long term support.

any idea how to get this working with a Mac mini?

This won't work on MacOS.

when I use the tools from apple to scan blue devices is see the mi flora in the list, so maybe not with this code

Added this to the issue list in miflora: https://github.com/open-homeautomation/miflora/issues/50
Since we can now support different bluetooth backends, it should be quite easy to implement a version with pygatt. Unfortunately I do not have a BGAPI compatible Bluetooth device.

This is still an issue.
Platform is hass 0.56.2 on hass.io
What I noted was that the docker instance where HA was operating was attempting to use the interface (hci0) before it was properly initialised.
017-11-01 19:59:48 INFO (SyncWorker_15) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s] xx
As that container didnt contain hci* binary tools, I was able to locate them in the host OS and properly initialise the interface at runtime.
root@hassio:~# hcitool dev
Devices:
root@hassio:~# hciconfig hci0 up
root@hassio:~# hcitool dev
Devices:
hci0    Xx
That said, I appear to be encountering locking issues with a second sensor never able to poll.
2017-11-01 20:04:27 DEBUG (SyncWorker_17) [homeassistant.components.sensor.miflora] Polling data for Plant1 Light intensity
2017-11-01 20:04:27 DEBUG (SyncWorker_17) [miflora.miflora_poller] Using cache (0:06:07.785415 < 0:20:00)
2017-11-01 20:04:27 DEBUG (SyncWorker_17) [homeassistant.components.sensor.miflora] Plant1 Light intensity = 87
2017-11-01 20:04:27 DEBUG (SyncWorker_17) [homeassistant.components.sensor.miflora] Data collected: [87, 87, 87, 87]
2017-11-01 20:04:27 DEBUG (SyncWorker_17) [homeassistant.components.sensor.miflora] Median is: 87
2017-11-01 20:04:27 DEBUG (SyncWorker_2) [homeassistant.components.sensor.miflora] Polling data for Plant2 Light intensity
2017-11-01 20:04:27 DEBUG (SyncWorker_2) [miflora.miflora_poller] Using cache (0:15:37.703623 < 0:20:00)
2017-11-01 20:04:27 INFO (SyncWorker_2) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s] X2
2017-11-01 20:04:27 DEBUG (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling data for Plant2 Moisture
2017-11-01 20:04:27 DEBUG (SyncWorker_7) [miflora.miflora_poller] Using cache (0:15:37.717738 < 0:20:00)
2017-11-01 20:04:27 INFO (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s] X2

Hey @bhaap,
would you be interested in upstreaming your integration of the pygatt in https://github.com/open-homeautomation/miflora? We had a major refactoring and can now support different bluetooth backends.

It can be seen here: https://github.com/bhaap/miflora/commit/665830999a5a01c2f8bff59f023b3c5222158be7
I cannot take credit thou, its thanks to the user rileyhome @ homeassistant community forum.
I dont have the time to do the coding but feel free to check out my implementation and use that to develop yours.
My code is buggy thou. If asking for data from a device and it gets no asnwer the code crashes.
I ended up not developing it anymore because i moved to a linux server for my miflora and then your implementation via gattool works.

Hey @tehbrd
the current version of HASS.io is installing the bluetooth package that should include gatttool: https://github.com/home-assistant/home-assistant/blob/dev/virtualization/Docker/setup_docker_prereqs
Do you still have this issue?

I didn't have a material issue as once the interface was bought up in the host os everything worked correctly. Now its all dead as of 60.0, need to figure out what's happened.

Hey @tehbrd,
my first guess: your OS does not have "gatttool" any more. This used to be part of the bluez package and is now deprecated. Can you please check if you can run gatttool from the command line?
So did you change anything in your OS?
You said you're running hass.io. So looking at the docker files from Homeassistant it looks like we're using Debian jessie and installing the "bluetooth" package. And that package should still contain gatttool.

This isn't gattool related, never has been. More in relation to getting miflora running on a vanilla build.
hass.io has introduced another issue with the driver during 1.0 -> 1.1
bcm43xx_init
Initialization timed out.
Can't invoke the device anymore, hence the issues...

so it looks like my hass install is picking up the hardware correctly, but now it appears to have the exact gattool issue as described. Strange as this was previously a working system until I upgraded (aside from having to bring up hci0).
I don't know how these have gone from being available to gone...
INFO (SyncWorker_3) [homeassistant.components.sensor.miflora] Polling error [Errno Could not read data from Mi Flora sensor %s]
root@hassio:/var/log# docker exec -it homeassistant bash
bash-4.4# find / -name miflora*
/usr/lib/python3.6/site-packages/miflora-0.1.16-py3.6.egg-info
/usr/lib/python3.6/site-packages/miflora
/usr/lib/python3.6/site-packages/miflora/miflora_poller.py
/usr/lib/python3.6/site-packages/miflora/pycache/miflora_poller.cpython-36.pyc
/usr/lib/python3.6/site-packages/homeassistant/components/sensor/miflora.py
/usr/lib/python3.6/site-packages/homeassistant/components/sensor/pycache/miflora.cpython-36.pyc
bash-4.4# find / -name gatttool
bash-4.44# grep cmd /usr/lib/python3.6/site-packages/miflora/miflora_poller.py
cmd = "gatttool --device={} --char-write-req -a {} -n {} --adapter={}".format(mac,
with Popen(cmd,
cmd = "gatttool --device={} --char-read -a {} --adapter={}".format(mac,
with Popen(cmd,
bash-4.4#

Hey @tehbrd ,
I just did a clean installation of hassio on my RaspberryPi 2 with a Logilink USB-Bluetooth adapter and I can reproduce the problem there.
The log file contains:
2017-12-24 10:06:46 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.<mysensorname> is taking over 10 seconds
/bin/sh: gatttool: not found
/bin/sh: gatttool: not found

So this is as I expected: The binaries of gatttool are not installed there. So the next step is: figure out to get gatttool installed by default. I'll have a look at this later.

The further analysis reveals:

Hassio is using Alpine Linux 3.7 to as OS for Home Assistant.
Alpine 3.7 seems to have moved the gatttool to a different package now, which is not installed by default: bluez-deprecated

A quick workaround (until you update HomeAssistant the next time):

log into your hassio host using ssh: https://home-assistant.io/developers/hassio/debugging/
log into your "homeassistant" docker container: docker exec -it homeassistant sh
in your docker container execute: apk update ; apk add bluez-deprecated
And with the next update cycle, your sensors should be visible again.

And it looks like this is already fixed in the next release:
https://github.com/home-assistant/hassio-build/commit/d76b24bacd68278f28cd2465167f20098fd1f58b


Custom portrait scene disappears after fade in time

The problem
When configuring a portrait with a custom scene, for example by using AnimatedSprite, the fade in effect does not seem to work. Instead, the avatar disappears after a said interval:

To Reproduce
Steps to reproduce the behavior:

create a custom scene of type AvatarFrames
assign custom scene as default portrait for dialogue
use dialogue in timeline

Expected behavior
The portrait should tween in as expected and additionally should stay.
Actual Behaviour
The portrait instantly appears and then disappears after some time.
System (please complete the following information):

OS: Windows
Godot Version: 3.4.2
Dialogic Version: 1.4.DEV

@bitbrain I'm having issues reproducing this one. Can you send me a screenshot of the custom portrait node structure? or is it just a simple AnimatedSprite?

Hey @coppolaemilio - an update on this: this is happening because I first set the animation to 'Default' and then have a secondary branch check where I set it explicitly to 'Neutral', however, the 'Neutral' expression does not exist anymore (I removed it)

A few things from this:

it is interesting that the behaviour seems to be different between 1.3 and 1.4 (in 1.3 the character does not seem to appear at all)
this does not seem to be a bug but rather a problem of users removing emotions from the character menu but then having timelines still referencing that emotion

A few suggestions on how to solve this:
a. Ignore it (current behaviour)
b. log an error to highlight the bad configuration
c. default to the 'Default' portrait in case the one configured cannot be found (and optionally, log an error)

this does not seem to be a bug but rather a problem of users removing emotions from the character menu but then having timelines still referencing that emotion

I'll make it so that it can show a warning on the terminal and go to the 'Default' portrait when they removed the one selected in the timeline.
PS: Gotta fix also the style of the events in 200% render scale lol 🙈

Implemented a warning that looks like this:

And now it will properly set to the default expression when the one selected in the timeline doesn't exists any more. The code was only defaulting to regular image portraits, but it now should also select scenes.
I'll close the issue but feel free to re-open it if it is not working for you!


KAFKA-6688. The Trogdor coordinator should track task statuses

Test failure is kafka.api.ConsumerBounceTest.testCloseDuringRebalance, not related

retest this please

Looks like my changes conflicted with yours, but there is also a unit test failure (before the conflict happened):
17:02:00 org.apache.kafka.trogdor.agent.AgentTest > testWorkerCompletions FAILED
17:02:00     java.lang.AssertionError: Condition not met within timeout 15000. Timed out waiting for expected workers {"bar":{"id":"bar","workerState":{"state":"RUNNING","spec":{"class":"org.apache.kafka.trogdor.task.SampleTaskSpec","startMs":0,"durationMs":900000,"nodeToExitMs":{"node01":2},"error":"baz"},"startedMs":0,"status":"started"}},"foo":{"id":"foo","workerState":{"state":"DONE","spec":{"class":"org.apache.kafka.trogdor.task.SampleTaskSpec","startMs":0,"durationMs":900000,"nodeToExitMs":{"node01":1}},"startedMs":0,"doneMs":1,"status":"halted"}}}
17:02:00         at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:276)
17:02:00         at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:254)
17:02:00         at org.apache.kafka.trogdor.common.ExpectedTasks.waitFor(ExpectedTasks.java:176)
17:02:00         at org.apache.kafka.trogdor.agent.AgentTest.testWorkerCompletions(AgentTest.java:239)
17:02:00

Rebased and fixed failing test

LGTM

@cmccabe Thanks for the PR. Build failure is unrelated, merging to trunk.


Change base image to redhat ubi

References #229

Hi @equinsuocha,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla

Tested build with simple Dockerfile, however, let's see your CI pipeline output
FROM redhat/ubi8:8.5
RUN yum -y install java-1.8.0-openjdk-headless && yum update -y && yum clean all -y
RUN useradd -r -m -u 1001 -g 0 kafkalagexporter
ADD opt /opt
RUN chgrp -R 0 /opt && chmod -R g=u /opt
WORKDIR /opt/docker
USER 1001
CMD ["/opt/docker/bin/kafka-lag-exporter", "-Dconfig.file=/opt/docker/conf/application.conf", "-Dlogback.configurationFile=/opt/docker/conf/logback.xml"]

Fixed in #297


Removed from_argparse_args tests in test_cli.py

What does this PR do?
This is kind of a question. Should we remove the from_argparse_args tests currently in test_cli.py? Originally when I implemented LightningCLI I copied these tests from the argparse ones to show that jsonargparse could replace argparse which would have fixed some issues. However, in the end jsonargparse became an extras require and these tests don't make much sense, thus my question.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Oh, I misunderstood slightly. Yes, if they are duplicated and the only difference is the argparser class, I think this is fine.


Expand on Roles

From a conversation with @G0ldenGunSec

Dynamically identify all the roles present on the SQL server
Test a user's mapping to each role

Another, perhaps larger change, is to execute queries in context of a supplied role. Mental note that I can probably use the impersonation code for this.

Fixed in 2.2


Baseline checkpoints?

Hi - very cool work, & thanks for releasing the code!
For my own project - CAPE-adjacent, but working with a different dataset and task - I'm more interested in your improved baseline of CapeFormer. Would you be willing to share those training checkpoints - i.e. the base_ config models, rather than the graph_ config models?
Thanks a lot! My university email is st[dot]fr at diku.dk if that's preferable.
Stella

Sure, we can provide the configs and checkpoints.
Which model are you interested in - the tiny or small version?

Wonderful! The small version for now, but I might be interested in the tiny
version later.
I think the configs for small_base are already in the repo (I am not
looking at the code right now though).
Den søn. 11. feb. 2024 kl. 12.17 skrev Or Hirschorn <
@.***>:

Sure, we can provide the configs and checkpoints.
Which model are you interested in - the tiny or small version?
—
Reply to this email directly, view it on GitHub
https://github.com/orhir/PoseAnything/issues/8#issuecomment-1937592150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADFJLYVMKSXPBHMOR72NMLYTCSE7AVCNFSM6AAAAABDBYRWKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGU4TEMJVGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sure. Sent the checkpoints by mail.
Closing the issue, if there is anything else needed fell free to open a new one.


Atlassian Confluence Audit Template spec solution [DO NOT Merge]

Test document: https://microsoftapc.sharepoint.com/:f:/t/SentinelCATTeam/EkyIXhvg0uRPt8ebOF_5Hl4BtSanjuYJmrgmvUSZtG8_Og?e=7zOHR1

Hi @v-sabiraj
Can you please get confirmation on this PR merging or closing and act accordingly.
Thanks


Error Uncaught SyntaxError: Cannot use import statement outside a module

Related to https://github.com/dotnet-websharper/core/issues/1114

Solved with latest changes, as per my snippet.