Bug: customer usecase frontend transport error on GCP

Customer usecase pipeline error:

e2etest/dragonpass/query.slt                                 .. [BEGIN]
--
  | \| e2etest/dragonpass/./drop.slt.part                           .. [OK] in 284 ms
  | \| e2etest/dragonpass/./dategen-source.slt.part                 .. [OK] in 78 ms
  | \| e2etest/dragonpass/./mvs.slt.part                            .. [FAILED]
  |
  | failed to run `e2etest/dragonpass/query.slt`
  |
  | Caused by:
  | statement failed: db error: ERROR: QueryError: internal error: transport error
  | [SQL] CREATE INDEX IF NOT EXISTS station_detail_idx ON station_detail(window_start);
  | at e2etest/dragonpass/./mvs.slt.part:74
  | at e2etest/dragonpass/query.slt:3

pipeline link: https://buildkite.com/risingwave-test/customer-usecases/builds/253#018aca87-638d-4e83-aa53-0b50f2782dde

grafana log link: frontend log

NOTE: The same case was successfully run on AWS. I am not sure whether it is caused by gcp cloud network problems.

Seems like recovery was triggered in meta and there were some dns resolution issues found in both meta and compute node side. It must be caused by gcp cloud network problems.
2023-09-25 12:14:54.154
{"timestamp":"2023-09-25T04:14:54.008412235Z","level":"WARN","fields":{"message":"refresh meta member client failed gRPC error (The service is currently unavailable): error trying to connect: dns error: failed to lookup address information: Name or service not known"},"target":"risingwave_rpc_client::meta_client"}

Suspected to be a cloud network problem, close it first.


Fix home page css style

Coverage remained the same at 33.933% when pulling 39a12d10f77c2ba9d361d07cc1023be63ede81e1 on mintao/home-page-new into c1c48ef709d672b8b83092943d0308e3610c461a on master.


Allow users to comment on cells

Those comments will become a thread. The thread will be persisted to markdown with the user info who wrote them.

Hey @LeartS :) We are yet to discuss details of this, but there are a couple other features we prioritize for now.

Hi @josevalim @jonatanklosko, I Can start working on or drafting specs for this feature if you want

Hi @BasileNouvellet, that would be welcome. Note we do have a mockup of how it would look like:

We are also aware of some of the complexities in the implementation. In particular, we will need to tackle which selection of a text the comment applies to. If I remove a text inside or around the selection, we should still keep the comment, but remove the comment altogether if the text is removed. This is definitely doable. Google Docs does it. Any collaborative text editor with bold/italics/etc support has to solve a similar issue and I think the Delta libraries for Elixir solve it too. I don't know how many conveniences the Monaco editor provide around it though.
Then once the above is solved, we need to choose a form to serialize comments in the .livemd files. Then we can freshen up the UI. :)

Comments on selection are complicated, because for Markdown we show the rendered content most of the time. Also, recently we started to introduce new types of cells (smart cells), so we should support comments on those as well. Deepnote and Observable support comments per-cell, so we should be fine doing the same:

Per cell is too low granularity for me in markdown cells. I wonder if we can keep it per paragraph or split a Markdown cell once comments are added?

FTR one option is to handle comments on cell-level, but allow each comment to have an optional editor selection (so the selection is more of an additional info, and removing the selected text doesn't remove the comment). One thing to keep in mind is that smart cells may have two editors, so we would need to support it for the primary one, or persist editor names.

After discussing offline, we agreed that comments should apply to the whole cell, forming a "Discussion".
We may also add support for ephemeral, source-related comments, but this is a separate feature. Those comments would be go as # TODO in the source, we would parse them and show in the sidebar. This way they can be easily searched in version control, PRs, etc.

Could you point out the areas in the code to contribute to for this feature?
Something like a little roadmap, but in term of code files & function names. Thanks!

Sure, here are the high-level parts

add comments to the notebook data structure, specifically each cell type (Notebook.Cell.*) will need a list of comments
add operations for adding/removing/editing comments in Session.Data (and matching functions in Session)
add UI for showing the comments and applying the above operations (mostly around SessionLive and CellComponent)
extend export/import to persist the comments in Live Markdown (this is pretty separate and can be left to the end)

Hey guys,
I've made some progress on the feature. Here is a little demo:
https://user-images.githubusercontent.com/24209524/161637584-75707682-3524-427c-99a7-b891e21e3c6f.mp4
Left to do:

Delete & edit comments
Fix issue with autofocus not working on the comment text input
Persist comments in .livemd / .exs files

Let me know what you think.
I'll open a PR shortly.

@BasileNouvellet awesome! Feel free to open a PR and we can iterate from there :)

Livebook is moving to an architecture where developers run notebooks on their machine. So while we will definitely want comments in the future, comments are not helpful unless we have a central architecture where comments and collaboration happen on the fly. So we are postponing the focus on comments for now. :)


fixed sbclBootstrap on darwin; added gtk-server and updated a few more packages

Hi,
could somebody please merge these changes?
Thank you,
Tomas

Hmm, let Hydra try the darwin fix then, when noone else can.

Well, sbclBootstrap builds succeeds on darwin now, but the sbcl builds themselves do not (complaining about multiple cores), so the bootstrap seems still broken. http://hydra.nixos.org/build/26687500

@vcunat for some reason, darwin sbcl bootstrap doesn't like the --core
arg in the wrapper, because somewhere in the sbcl darin build code there
is another --core arg added.  i'll try to figure out where and why.


[Feature] Support more csv attributes for stream load

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[x] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[300, 303, 306, 309]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[299, 302, 305, 308]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[299, 302, 305, 308]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

You can make the extend option as a struct to simplify the code, no need to maintain a long parameter list; just an advice.

good idea

run starrocks_be_unittest

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[299, 302, 305, 308]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[315, 318, 321, 324]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[315, 318, 321, 324]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 12 / 16 (75.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/streamload/StreamLoadInfo.java
8
12
66.67%
[315, 318, 321, 324]

:large_blue_circle:
com/starrocks/planner/StreamLoadScanNode.java
4
4
100.00%
[]

run starrocks_admit_test


Fixes xVMHyperV snapshot bug

Fixes #28
Adds xVMHyperV localization support
Updates readme.md

only one issue that needs to be addressed that I found.  Looks pretty good.

Thanks for your contribution!


yield() function causing problems uploading

When trying to upload from some devices you may get an error saying yield() is not declared in this scope. All you need to do is go into your DallasTemperature.h and DallasTemperature.cpp and delete where the yield() function is being called. After doing this go back into like 443 where there is an if statement with a nested while loop saying
void DallasTemperature::blockTillConversionComplete(uint8_t bitResolution) {
if (checkForConversion && !parasite) {
unsigned long start = millis();

while (!isConversionComplete() && (millis() - start < MAX_CONVERSION_TIMEOUT ))

delay(250); (ADD THIS IN PLACE OF yield())

} else {
unsigned long delms = millisToWaitForConversion(bitResolution);

activateExternalPullup();

delay(delms);

deactivateExternalPullup();

}
}
and basically you just add the delay(250); in place of the yield(); function and it will work perfectly

DallasTemperature .h.cpp files.zip

The yield() function is not a delay function, although in practice it can give a delay in execution.
It is used in several RTOS systems to give a signal to the OS that this is a good moment to swap tasks. E.g. an ESP32 and ESP8266 has its wifi and bluetooth on separate tasks and the current implementation (I am told) needs attention on average every 5 ms to prevent overflow of some buffers or so. yield() takes care of that.
An UNO has no RTOS but implements yield() as an empty function  in hooks.c
static void __empty() {
	// Empty
}
void yield(void) __attribute__ ((weak, alias("__empty")));

So platforms should better implement it somewhere in their global includes as yield() will show up in more and more libraries.
maybe it is better to include a similar file in your platform.....
BTW what is your platform that does not support yield?

remark 2:
if (checkForConversion && !parasite) {
  unsigned long start = millis();
  while (!isConversionComplete() && (millis() - start < MAX_CONVERSION_TIMEOUT ))
   //  just remove yield()
} else {
  unsigned long delms = millisToWaitForConversion(bitResolution);
  activateExternalPullup();
  delay(delms);
  deactivateExternalPullup();
}

if you just remove yield() it will also work
as the loop blocks already on the millis() - start < MAX_CONVERSION_TIMEOUT ) part
in fact it would even be faster as it would react instantly after the conversion is complete.

I'm currently having a ton of issues uploading my IDE file to my arduino mega 2560 remotely through VNC viewer. I'm getting a problem that says yield() is not declared in this scope. So I am running on raspbian arm64. I've been working with it all day am I'm coming across a ton of issues. I'm able to upload the code perfectly fine from a windows machine, but my goal is to be able to upload code remotely from the raspberry pi.

(never worked with the IDE on a RPI)
it sounds like the terminal installation misses dependencies.
Good to hear you tackled the issue by installing the arm32/64 ide.
Question: did you remove the terminal installation first, or did you copy the arm32/64 ide over the terminal installation?

I removed the Arduino IDE through the terminal by doing sudo apt remove arduino. Then I downloaded the deb package from the arduino website and installed it using dpkg and install. It updated me to a much newer version and also created the correct file in the Documents folder therefore, fixing my problem.


Add options in calculus.html

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Please assign me this under lgmsoc
Describe the solution you'd like

A clear and concise description of what you want to happen.

Go ahead
Deadline 15 June,2021


🌐 Add Korean translation for docs/ko/docs/features.md

Add Korean translation for docs/ko/docs/features.md
Related [FEATURE] Korean translations #2017

Can you split it into tow PRs? People will be check one by one, features and project-generation.


WIP update to Godot 4

Responding to this issue
Ignore for now, is a work in progress

Thanks for taking the time to work on this! It's much appreciated :)
Just let me know when it's ready to check

I'd have one request: to make the steering framework added as a regular addon. I think we should probably publish it to the asset library and then it can easily be used as a package by anyone - plus now Godot will filter out just the addon folder and download just that to your project, making the use of submodules less interesting than back in Godot 3.

Thank you very much for all your work on this! It's much appreciated.


Fixed typos in the README.md

Learn how to spell environment, Hunter, lol!

Oops. Hahaha thanks again 👍


Fix build and HoldsValue change in MultiSchema.cs

Fix build by removing the "Restaurantet" folder.
Also, update the HoldsValue property inside MultiSchema.cs to check whether any of the individual schemas hold values as it is possible that none of them will do.

Apologies this is a bit of a mess, I am not familiar with the process.
Let me know if it would be better to close this PR and raise another.

Woops I was toying with another project and nuget seemed to have changed my packages folder.. sorry for that.

Thank you very much!


Add npm package link for Azure SDK instrumentation

Preview: https://deploy-preview-4626--opentelemetry.netlify.app/ecosystem/registry/?s=Azure+SDK+Instrumentation&component=&language=

Pinged @lmolkova for EasyCLA auth as the owner

/fix:refcache


Added close button to settings - working with browser history

Motivation and Context
Fixes #1181
Description
Added a Button to exit the settings page. Currently uses browser history but can be extended to use custom history.
Steps for Testing

Log into any account
Open settings page of account
Press the small "x" at the top right of the page

Prerequisites:

1 Account

Screenshots

Btw, you might want to set your git config properly. As no email is set, your commit is not linked to your account.


Zoom and Drag Problem

Hello,
We used some code from a previous blog of yours (https://rterp.wordpress.com/2014/04/25/gmapsfx-add-google-maps-to-your-javafx-application/), but when we try to zoom by double-clicking the map, we then cannot drag the map.
Here is a picture showing what happens when we try to drag and move the map after zooming with a double click:

That document image appears, and the map will not drag properly.
We don't see the issue when using the zoom controls.
We are using the most recent release of the jar file, and we are seeing the same issue on Mac and Windows.
Any help would be appreciated!
Thank you!

Just to add to this - I also opened the jar file directly, and was seeing the same problem when I try to double-click to zoom.

I'm seeing the same behavior as well.  Probably won't have time till the end of the week to debug, but it looks almost like the WebView component is getting focus, and the app is thinking that you want to drag-n-drop the component, rather than sending the drag event to the underlying map.

Ah I see - Thanks so much for looking into this Rob!

I'm not seeing this on mine using the 2.0.7 release so it might be platform dependent? I'm on win10 with JDK 1.8.0_92. Sorry I can't assist more due to that!

So from what I've seen it appears that when you double click on the WebView, it then becomes the source of a Drag-n-Drop event, which when you click the next time to move the map, it actually is expecting the WebView itself to be dragged.  I've noticed however, that if you double click on the map with the right mouse button (to zoom out), and then attempt to move the map, by clicking and holding the right mouse button, the expected behavior happens.
I believe this is a bug in JavaFX and not in the GMapsFX component itself.  The question is, is there a workaround for this?

I've create a simple test case to demonstrate and issue and have submitted a bug report to bugreport.java.com.
I'll update this issue with the bug ID when its created, before closing this issue.

Sounds good, thanks again Rob!

Also, in the meantime, is there a functionality implemented to disable the double-click zoom?? Sorry if this is a bad question - I just couldn't find anything in the docs.
Thank you in advance!!

I have added a method to the GoogleMapView object called setDisableDoubleClick().  Pass 'true' to this method, and the GoogleMapView component will consume the double click mouse event and not pass it to the underlying WebView, preventing the zoom on the underlying map.  I just did a release build of version 2.0.8 which contains this change.
hth,
-Rob

That's perfect - thanks so much!

Oracle has created issue JDK-8161892 to address this bug.
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8161892
will close this issue now.

Thanks for your quick fix by introducing the "setDisableDoubleClick" method. Actually, the bug still exists if you click three times, four times etc. Would it be possible to replace the condition to > 1 (now it is == 2) ?


adding --all flag to cluster remove

are there tests that need updating?

I prefer: https://github.com/dcos/dcos-cli/pull/1016
over this... but we could have both.

I will add integration test Monday... there is some recent (in the last several months) which is stopping my local integration tests from passing.  I'm setting chmod +x on the test toml... there must be something else... any help would be appreciated.  it looks like the docs may be out of alignment.
any thoughts @jsancio ?

integration tests coming today

The CI integration tests are NOT setup like the developer test instructions... there is no DCOS_DIR setup so these tests fail.   Analyzing the jenkins file and testing... it does not appear that the cluster directory structure (under the DCOS_URL) is ever tested in the CI env tests.    It appears that the dcos.snakeoil.mesosphere.com is associated with the DCOS_URL in the /etc/hosts file and that all tests are configured to use the tests/data/dcos.toml

@klueska code complete and tests are good.   the test failure is due to some unrelated flaky windows test failure.

rebased.

rebased

rebased

rebased

run linux integration tests

@bamarni thanks for the review... much better approach.  this is updated and rebased.

run linux integration tests

@kensipe : the test failure is related to your changes, it is trying to copy the directory referenced in DCOS_DIR, however that env variable is not set on our integration tests. The example code snippet I've pasted just makes sure it is reverted back to its original value in case it exists, you should still use config.get_config_dir_path() to get the actual config path.

yeah... previous conversations with other engs lead me to believe that DCOS_DIR is always set... fix coming.

run linux integration tests

a rebase should fix the failing tests, we recently moved the test suite to use dcos-launch (#1056) and I think it's trying to SSH as the wrong user, should be centos now.

rebased

run linux integration tests

test_debug_details failed, there is already a ticket about this flaky test, re-running.

run linux integration tests

cool thx!

Thanks @kensipe


Spring Cloud Config don't accept null values

I have this config
assets:
    baseurl: http://example.com/
    version: SNAPSHOT
    a:
        version: ~
    b:
        version: v2.3
    c:
        version: v2.3

I want to have null values on some configs so if I found that null values I can fallback to the previous value in the hierarchy, but when I have null values on my yml file Spring Cloud Server always returns a 500 error code.


Add profiler class

This commit adds the first class and unit test to the project.
Please make sure your commit messages follow this guidance:

Separate subject from body with a blank line
Limit the subject line to 50 characters
Capitalize the subject line
Do not end the subject line with a period
Use the imperative mood in the subject line
Wrap the body at 72 characters
Use the body to explain what and why vs. how

Please make sure to include unit tests for all commits.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@awslabs/emr-workload-profiler @baleksan @hadesmeza can I get a code review? =)

Hi all,
Looking forward to your feedback on the first pr. I want it to be educational in the sense that we can have new contributors read the commit message to get an understanding of the standards for the project.
thx,
Marc


Use package.yml instead of package.yaml

@soenkehahn With this change package.yaml will not work anymore.  Do you think we need a deprecation cycle?

I think I would add a warning that hpack is still experimental to the README and go without deprecation cycle.
cc: @qoelet

LGTM


Support bundling a local folder

Hi All,
I have the following directory structure:
myapp:
  index.html
  index.js
  index.css

All the HTML does is load the JS and CSS.
I'd like to wrap this with Nativifier and run as desktop application (offline).
When I run nativefier "index.html" all I get is an empty web page that doesn't load anything (obviously).
How can I do it?

Duplicate of #243 and #296 , closing

I love this way to close every thread with the "duplicate" thing. But after seeing all the ''duplicates'' what's the magic way to bundle a folder? since every connected thread has been closed without giving proper help.


Package broken: Cannot read property 'h' of undefined

It seems like the package is currently broken:

TypeError: Cannot read property 'h' of undefined
getFormatter @ react-currency-formatter/dist/react-currency-formatter.umd.js:2992:29
format @ react-currency-formatter/dist/react-currency-formatter.umd.js:3161:29
ReactCurrencyFormatter @ /react-currency-formatter/dist/react-currency-formatter.umd.js:3175:10
…

See this CodeSandbox: https://codesandbox.io/s/x675zp55w
Seems to be this line of code, but I cannot make sense of it:
https://github.com/xDae/react-currency-formatter/blob/0d856e0a24277df38e85266bdb435ca08fcb1579/src/main.js#L23

Oh never mind! I just saw in locales.js, it is actually de_DE instead of de-DE.
Maybe the consequence of this issue might be a better error message? :)
I leave it open for you to decide, thanks anyway 💸


need a new logo

could be a helmet or something

Hello @whimian   ,
I'm a graphic designer and I design logos for open source projects.
Usually I ask the following questions to assist me in the creative process:
Do you have something in your mind for the logo?
Do you want something specific for the logo?
What colors do you want in the logo?
With your answers I will design a logo for your project and if you like it you can keep it and used.
Best Regards
Zuur

@whimian , I would like to help you from this issue. Im a graphics designer here in github. I would like to ask more information about the project for the logo output. Thank you in advance


Refactoring to use queue_event with filtered? method instead of process_event method

The process_event method is already defined in ManageIQ::Providers::BaseManager::EventCatcher::Runner. Hence there is no need for custom implementation of it. Instead added the queue_event method which overrides the Base Runner Class, and it is used in process_event method.

@blomquisg Can you please check this? I still have to add test cases for this, will include in the same PR.

@miq-bot add_label :wip

@miq-bot add_label wip

@durandom the basics here LGTM.  Can you go over this with a finer tooth comb to make sure nothing is getting missed.  Especially since it looks like it's going to be hard to test this :/

Thanks @durandom for all the inputs, I will send a follow up PR for the changes and as discussed with @blomquisg I will remove the specs from this PR currently.

@miq-bot remove_label wip

@blomquisg Updated the code with lines collapsed

@gauravaradhye LGTM and +1 for squashing into one commit. But while you do that, maybe you can update the commit message as well? I usually just use the same as in the PR description. This way people also have the info when just using git blame
once updated you can assign to @blomquisg for merging :)

Thanks @durandom for spotting the commit message. I mistakenly kept first commit's message after squashing the commits. @blomquisg I have changed the commit message.

@miq-bot assign @blomquisg


docs: add nginx unit section

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[ ] Pre-Commit Checks were ran and passed
[ ] Tests were ran and passed

Description
This add a new deployment folder in the documentation in the usage section as described in #2609.
Add a sub-section about using NGINX Unit to run litestar
Close Issue(s)

Everything looks good to me except the move from Usage to Topics!
Thanks

@all-contributors add @Kumzy to docs


Issue with Nodemon

Hello,
Since I upgraded to latest major version of generator, facing issue with nodemon. Seems it doesn't kill the previous instance, before restarting the new one.
Maybe, because now server startup is not a part of index.js itself and is moved as a boot process??
Does anyone face the same issue?
Thanks.

I have retested using v4.0.9, and use
yarn dev

And add a couple apis, modify them, save, everyting seems to be working fine.
Can you elaborate more, on how to reproduce the issue?

I think this issue not related to the generator, but most likely with your local nodemon


Consolidate Album and Artist image logic into concern

The code around attaching images to Albums and Artists was nearly identical, so I extracted it, what do you think?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

23 of 23 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 96.827%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
763

Relevant Lines:
788

💛  - Coveralls


[DRAFT] Update Program.cs with more inventory items

Description
Updated the inventory items for the workflowConsoleApp so it felt more realistic
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@nyemade-uversky Thank you for your contribution! But as this is just adding inventory items and doesn't otherwise demonstrate additional actor functionality or capabilities, I'm going to go ahead and close it.
Should you think of additional examples where the actors can be better demonstrated later, I'd urge you to create another PR.


External connection problem

Hi,
i have installed the latest stable version of hassio and now my home assistant instance has problems contacting external services like tado, dasksky, telegram and other services.
I mean this is due to DNS configuration problem on Docker container.
This is the DNS configuration:

nameserver <IP_ADDRESS>
options ndots:0

There are the errors:
Telegram
telegram.vendor.ptb_urllib3.urllib3.exceptions.NewConnectionError: <telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0xb3d51310>: Failed to establish a new connection: [Errno - 3] Try again
Darksky
ERROR (SyncWorker_3) [homeassistant.components.sensor.darksky] Unable to connect to Dark Sky. HTTPSConnectionPool(host='api.darksky.net', port=443): Max retries exceeded with url: /forecas t/a5be25c8af305dfb608a7cb16e3efdf2/41.8120494,12.4467456?units=si (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb55b0430>: Failed to establish a new connection: [Errno -3] Try again',))

@nottix Are you still experiencing this issue?

@frenck I reinstalled HASS on Rasp3 instead of Rasp1 and everything it's ok now.

Ok, Then I'll go ahead and close this one.
Feel free to re-open in case the problem occurs again.


Check the toasts of Multistage and IP tables

The toast dialogs of the multistage and the IP tables do not close and reappear when the app starts

Closed by mergning #188

Closed by merging #188


run error on ubuntu18.04LTS

(base) zexi@laptop:pdf-bookmark-master$ java -jar pdf-bookmark-1.0.6-all.jar
Error: Could not find or load main class com.ifnoelse.pdf.gui.Main

same error on mac

JavaFX was included in the Oracle JDK but is not part of the OpenJDK codebase.


webView: Recursively find last message visible on screen. Fix: #2988

Before: Cordinate (200, window.innerHeight - 20) was used to find last
visible message on the screen (with current scroll position) and it's
id was passed to find messages which needs to be mark as read. But
what if list is small and there is no message node at
window.innerHeight - 20 as y cordinate. Then 0 as message id was
passed, which is not making any sense (as now start msg id > end msg
id, see msg.id >= fromId && msg.id <= toId in
filterUnreadMessagesInRange).
After: Now recursively find last visible message node on screen with
current scroll position, i.e first find message node at (200,
window.innerHeight - 20), then (200, window.innerHeight - 40), then
(200, window.innerHeight - 60) and so on until y cordinate becomes
negative or message node is found.
Fix: #2988
Approach 2

I tried this on a narrow with one message in it, and got this red error banner:

Uncaught TypeError: msgNode.getAttribute is not a function

This isn't a good place to use recursion; if we want to do this logic, it should be a loop. Recursion in this style depends critically on so-called "tail call optimization", which is a feature of a language implementation; and apparently the Chrome folks have decided it's a bad idea, and their JS implementation isn't going to do it. Few other implementations have either.
I'm not really a fan of this "subtract 20 pixels" kind of logic; but apart from the comments above, this seems like an improvement on the existing code, so I'd be glad to take it once those are fixed.

Looking more closely at this, I have what I think will be a better plan to solve this problem reliably; see #2988 . Closing this PR in favor of discussion there / a new PR.

This isn't a good place to use recursion; if we want to do this logic, it should be a loop. Recursion in this style depends critically on so-called "tail call optimization", which is a feature of a language implementation; and apparently the Chrome folks have decided it's a bad idea, and their JS implementation isn't going to do it. Few other implementations have either.

@gnprice Thanks for the info :)


Fixed naming for GitHub Action docs

@Blackmist
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


CI: Document required secrets to run CI in a fork

To run the CI jobs in the fork, you will need to setup a secret THIS_PAT that contains a PAT that has read access to your repo's settings. It is used by the action integration test.

@andrewthetechie - the new change you made to coalesce this_pat with GitHub.token fixes this.


HA core beta 2024.3 log message loaded_executor event loop blocking

hello Ben!
3 times a charm?
Just installed HA 2024.3 core beta, and when enabling this logging in config.yaml,
logger:
  default: info
  logs:
    homeassistant.loader: debug

acording bdraco, there is some event loop blocking for this integration from the following:
2024-02-28 15:44:10.065 DEBUG (MainThread) [homeassistant.loader] Component dyson_local import took 0.314 seconds (loaded_executor=False)
The loaded_executor issue is Importing X blocks the event loop for 0.949 seconds
CC'ed @bdraco if you need more information

The solution is to add import_executor to the manifest.json

just wanted to confirm, I can manually add this to the file, but wanted to make sure it looks good here
{
    "domain": "dyson_local",
    "name": "Dyson",
    "codeowners": ["@libdyson-wg", "@dotvezz"],
    "config_flow": true,
    "dependencies": ["zeroconf"],
    "documentation": "https://github.com/libdyson-wg/ha-dyson",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/libdyson-wg/ha-dyson/issues",
    "requirements": ["paho-mqtt"],
    "version": "1.3.10",
    "import_executor": "true"
}

If that fixes it for you, make a PR :smile:

lol ok, will let you know in about 1 hour

so good news, Dyson didn't blow up when I made the modication as per above.
these are logs I was able to extract now:
2024-02-29 13:56:39.322 DEBUG (MainThread) [homeassistant.loader] Component dyson_local import took 10.232 seconds (loaded_executor=True)
2024-02-29 13:56:39.324 INFO (MainThread) [homeassistant.setup] Setting up dyson_local
2024-02-29 13:56:39.325 INFO (MainThread) [homeassistant.setup] Setup of domain dyson_local took 0.0 seconds

2024-02-29 13:56:45.774 DEBUG (MainThread) [homeassistant.loader] Importing platform dyson_local.config_flow took 0.00s (loaded_executor=False)

these are the times now.
From what I understand, its not blocking the event loop anymore, instead its just waiting (that 10.232 seconds), but, this is system dependent now.
So, overall, the "import_executor": "true", should have a positive effect
I'm not pretending to be a dev here...lol

Right, the import is running at another thread now so the event loop continues to do its job and everything in Home Assistant doesn't stop to wait for the import


New Version Bug: Emote picker closes after every emote

It might be the intended way but when you pick an emote the menu closes which is kind of awkard when you want to add more emotes in a row and have to click on the emote icon every time.

Thats the issue with the OS not DogeHouse

It happens on all OS's

Does it only happen when you click one type of emote or multiple or? (I made the emoji picker which is why I’m asking).

Oh every time you select an emoji and puts it into the chat input the menu closes. Only one.

https://user-images.githubusercontent.com/81065901/113564750-7eca2500-9627-11eb-9801-9a1af5be1ff4.mov

Its not only on dogehouse - even on github

Dogehouse has its own emote picker? It doesn't use the OS default. The mac one closes once you select it but the windows one doesn't.

If you go into the room and navigate to the chat and then pressing the emoji menu on the right of the input box and choose an emote it will close. That's not the same as the OS emote menu. Dogehouse has its own.


Reuse Less cache across builds

Previously each build recompiled all .less files for all the shipped themes so that the first Atom launch required no Less compiles
This pull requests adds a cache in ~/.atom/compile-cache/prebuild-less so that only changed files need to be recompiled across builds.
This should save around 30-60 seconds when no Less changes are made between builds and it will be incremental compiles whenever a file does change.
Before (first compile)
prebuild-less:src    55.1s

After (fully cached)
prebuild-less:src    1.5s

/cc @iolsen

37x improvement after first build? :boom: :sunglasses:

Awesome :metal:


feature:  add neotest adpter for cpp such as gtest

Did you check the docs?

[X] I have read all the LazyVim docs
[X] This is not a request for a new or existing extra (see above)

Is your feature request related to a problem? Please describe.
Using extra python, we can debug and test python code. But for c&cpp, there is a extra cofnig clangd, but it doesn't support test function.
Describe the solution you'd like
Add neotest adapter for gtest. This link is just for reference. https://github.com/alfaix/neotest-gtest/issues/6
Describe alternatives you've considered
It should be good to add it. Thank you!
Additional context
No response

PRs are welcome.


Add support for calling staking functions with hints

What does this pull request do? Explain your changes. (required)
This PR adds support for calling all staking functions with hints in an effort to reduce the gas costs associated with these functions.
Specific updates (required)

Adds bondWithHint, unbondWithHint, rebondWithHint, and rebondFromUnbondedWithHint methods to the sdk
Updates the apollo mutations in the explorer to use these new methods

Does this pull request close any open issues?
Closes #742

Quick question, do we recalculate the transcoders list we pass into getHint(id, transcoders) to reflect what the list would look like after the staking operation completes?

ah good catch. We need to add a pollInterval to the transcoders query to make sure the transcoders list is up to date after a staking operation.

We need to add a pollInterval to the transcoders query to make sure the transcoders list is up to date after a staking operation.

Sorry I more like  meant that the transcoders list needs to be updated already (for what the state on-chain , ie stake, would be if the transaction succeeds).
So we would have to

Get the transcoder stake
add/substract stake depending on the action
With updated stake calculate the would be  position in the list
Use those values as hints

So under the current implementation I guess we could make a copy of the transcoders list, adjust it for the update and then pass it into getHint()

the transcoders list needs to be updated already (for what the state on-chain , ie stake, would be if the transaction succeeds).

ah I misunderstood. I didn't realize we need to pass hints based on the order after a staking operation. Thanks for the clarification.

i.e getHint(action, amount, id, transcoders): {nextPos, prevPos}

I'll use this function signature 👍

I'll use this function signature 👍

I updated it slightly so it doesn't have to return an object and the caller can calculate previous and next positions based on the new position returned.

Just to make a small note, it is possible due to race conditions that a hint might be invalid by the time a transaction is mined.
This would cause the function to fallback to old loop behaviour.
I don't think there's much we should do about this though, I do wonder if RPC providers will be able to differentiate between these cases when estimating the gas cost as they dry  run the tx.

Just to make a small note, it is possible due to race conditions that a hint might be invalid by the time a transaction is mined.
This would cause the function to fallback to old loop behaviour.
I don't think there's much we should do about this though, I do wonder if RPC providers will be able to differentiate between these cases when estimating the gas cost as they dry run the tx.

Yeah not much we can do about this, but shouldn't be a very common occurrence and worst case is that a delegator ends up paying slightly more gas.

@kyriediculous I ended up going about this a little differently. I created a method called simulateNewActiveSetOrder that reorders the transcoders array based on the delegator's action and amount, then pass that updated array into the getHint method.

I briefly looked over it, looks okay to me at first sight but I'll take a closer look in a bit !

Changes look good, let's rebase and resolve the conflicts 👍


Fix README badges

Hey guys!
Thank you for develop this great package.
This is a very small contribution but it can make a difference for other people that are looking for an alternative.
Thanks!

Merged! Thank you! :)


How to disable response cache?

I have a hystrix circuit breaker implemented in my code. But I see in random occasions different results returned. After reading through hystrix blogs, I thought it was due to request cache and disabled it and it did not help. After this I learnt that HystrixRequestContext also caches results and returns if the request is of same context. This is causing a major issue in production for me.
How can we disable this results caching or can we clear the cache periodically?

Your description doesn't make it clear what's happening in your system and what's expected.  Here is what Hystrix offers w.r.t caching:

Request Caching off
All executions of commands are completely independent.  Success/failure of one has no impact on another (except indirectly through failures tripping circuits).

Request Caching on
This requires a HystrixRequestContext to get set up.  For example, if you're running in a servlet, you would set up a HystrixRequestContext as the request comes in, and destroy in as the request finishes.  Within this request, if n commands have the same cache key (HystrixCommand#getCacheKey(), then only the first actually executes.  The 2nd-nth all return the same execution result as the first without actually executing.

Does that help clarify what Hystrix is doing?

I understood the concept now. I will give more clarity on my problem. I have a simple command which extends HystrixCommand. I am overriding run and getFallback methods in that command. I have the following config for that -
hystrix.command.MySimpleCommand.execution.isolation.thread.interruptOnTimeout: true
hystrix.command.MySimpleCommand.circuitBreaker.forceClosed: true    hystrix.command.MySimpleCommand.circuitBreaker.errorThresholdPercentage: 70    hystrix.command.MySimpleCommand.requestCache.enabled: false
I see that the response is always returned from the cache which is causing me the problem here.
In the 2nd point, you have mentioned that after the first command executes all the n command executions following after that will return the response from the cache. Can I disable it?

The last property you listed (requestCache.enabled) has turned off request caching.  If that's the case, then you shouldn't ever be hitting the request cache.  You also mentioned that you're not overriding the getCacheKey() method.  If that's the case, then there's no way to hit the request cache (even if it was on).
So I don't believe you are getting results from the cache.  What makes you think that you are?

Closing due to inactivity.  Please re-open if there's more to discuss

Even I am facing the same issue.
I have 2 services running say A and B where A service rest end point calls service B endpoint .
Expected behaviour : When service B is down and I access endpoint from service A my expectation is to get the response defined in fallback method.
Actual behaviour: But In actual for 5-7 requests it returns me the success response and then returns fallback response.
I have not overwritten getCacheKey() method so I believe I don't need to disable requestCache.


Fix form flickering on response changes

Fixes #75
Creates QuestionnaireResponseModel only once across rebuilds of QuestionnaireFiller.
Apparently this was added recently in #49.
@hanny-ph I found the issue earlier while working on the package upgrades by chance.
Could you check on your side if with these changes we can still achieve what we were trying to do in #49?

@hanny-ph Thanks for the review. I'll be merging this then.
Hopefully the other issue is easy enough to fix.


IM_NEW(ImGuiContext)(shared_font_atlas) OS-ImGui crash

Hi, many users face app crash here, it's not an exception so it can not be caught, i guess it's some memory allocation problem

Have you get any solution for this issue?

Have you get any solution for this issue?

Nope


[BUG] StackOverflow when multiple propagation types including CUSTOM

Given:
spring sleuth 3.1.3 lib
application.properties
spring.sleuth.propagation.type=B3,CUSTOM

and
public class Config {
    @Bean
    public PropagationFactorySupplier myCustomPropagator() {
        return MyCustomPropagator::new;
    }
}

When:
starting spring application
Then:
Stackoverflow exception
Analysis:
compositePropagationFactorySupplier  attempts to create itself with beanFactory.getBeanProvider(PropagationFactorySupplier.class)
class org.springframework.cloud.sleuth.autoconfig.brave.BraveBridgeConfiguration{
	@Bean
	@ConditionalOnMissingBean
	PropagationFactorySupplier compositePropagationFactorySupplier(BeanFactory beanFactory,
			SleuthBaggageProperties baggageProperties, SleuthPropagationProperties properties) {
		return new CompositePropagationFactorySupplier(beanFactory, baggageProperties.getLocalFields(),
				properties.getType());
	}
}

class org.springframework.cloud.sleuth.brave.bridge.CompositePropagationFactory extends Propagation.Factory implements Propagation<String> {

	CompositePropagationFactory(BeanFactory beanFactory, BraveBaggageManager braveBaggageManager,
			List<String> localFields, List<PropagationType> types) {
...
		LazyPropagationFactory lazyPropagationFactory = new LazyPropagationFactory(
				beanFactory.getBeanProvider(PropagationFactorySupplier.class));
...
	}
}

Proposition:
While there can be several solution I suggest to rework CUSTOM  Propagation.Factory providers by configuring them as class names, e.g.
spring.sleuth.propagation.type=B3,com.example.MyCustomPropagator

And  not passing BeanFactory into the bean :)
TemporaryFix:
public class Config {
    @Bean
    public PropagationFactorySupplier tmplSleuthPropagator() {
        return MyCustomPropagator::new;
    }

    /**
     * Fix overriding compositePropagationFactorySupplier creation
     * remove when fixed ...
     */
    @Bean
    public BaggagePropagation.FactoryBuilder baggagePropagationFactoryBuilder(ApplicationContext beanFactory,
                                                                              SleuthBaggageProperties baggageProperties,
                                                                              SleuthPropagationProperties properties) {
        var supplier = new CompositePropagationFactorySupplier(beanFactory, baggageProperties.getLocalFields(), properties.getType());
        return BaggagePropagation.newFactoryBuilder(supplier.get());
    }

}

Please upgrade to Micrometer Tracing. Spring Cloud Sleuth is feature complete and out of OSS support.


Clean up keywords and subjects

https://github.com/adobe/xdm/issues/40#issuecomment-351743489
@lrosenthol I think we should clean up the descriptions of dc:subject, xmp:keywords and amp:machineKeywords to better reflect the current state of things, not how the XMP designers imagined things would play out. Could you take a stab at it?

yes, @trieloff - assign it to me!


Add 'Lords' balance to the market page

i don't see anywhere to see Lords balance

follow up - i think it is on here after all.  Suggesting increasing prominence and adding 'Lords'


update Site schema with container app enviornment

Data Plane API - Pull Request
add managedEnvironment to Site schema to support project centauri
API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your engagement record.

Link to engagement record issue:

Is this review for (select one):

[X] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

Design Document: https://microsoftapc-my.sharepoint.com/:w:/g/personal/raorugan_microsoft_com/EQW2cBdgC0tFnbM6x_0XOygBzPr3P--dbbZ6TDdYKMACNg
Previous Open API Doc:
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

LGTM! Just one quick question - what is the custom-words.txt file used for?

I think it's used for one of the pipeline test check, seems it restrict to use words only in this file.
Anyway I remove my change on this file with the new description.


[ON HOLD] Change the fedora rawhide worker naming to be more specific

Pending merge till the non-public bits of the infrastructure get renamed as well.

I already renamed cstratak-fedora to cstratak-fedora-rawhide-x86_64: https://github.com/python/buildmaster-config/commit/b1a3ee3e93a8191557fdb236125bfb52f53ddb63


Output Format

Hi sshoashuai,
Thaanks you for releasing your code and the pretrained model. I'm a bit confuse when trying to plot the 3D predicted bounding boxes. I'm guessing that the output format (the first line of the prediction for 000001.txt) encodes the bounding box as follows:
Car -1 -1 -1.7723 753.6551 163.8756 814.0421 204.0525 1.5462 (height) 1.6426 (width) 3.9845 (length) 7.0502 (x) 1.2010 (y) 29.7814 (z) -1.5398 (theta) 1.6346
with y representing the elevation and the XZ plane representing the ground plane.
Am i right ?
Regards,

You are right. Here the output form is consistent with the KITTI label files (KITTI rectified camera coordinate ). Please refer to the introduction of KITTI training labels for details.

OK thanks for your answer ! Another point, is there a way to disable the calibration step easily to train PointRCNN on other annotated point clouds ?

You need to check the codes manually to update the codes where the calibrations are used. Most of them are in the dataset related codes, maybe you should write a new dataloader for your own point clouds.

I will write a new dataloader, it will be more appropriate I think. Another point, why are you subsampling the point cloud into 16,384 points as mentioned in the paper? Is it only for a memory point of view ?

The PointNet++ needs a fixed number of input points and then I subsample 16384 points as the input.

this post has helped to clarify my doubts too. thanks.


create zar map subcommand

After discussing the two modes of operation that zar zq supports:
https://github.com/brimsec/zq/pull/1075#issue-464902803
we decided that we would split out the per-file output operation (behavior 2 in the link above) to a new subcommand, zar map. zar zq will generate an aggregate result by operating all of the chunk files, or some other per-zar directory file, in the archive.

I verified this is all working as expected when I was working on #1149. With the merge of that, the zar README now also has ample coverage of how zar map works and is different from zar zq.
Thanks @alfred-landrum!


NPM install for twice

Please only submit reproducible issues.
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: https://forum.magicmirror.builders/category/15/bug-hunt
Problems installing or configuring your MagicMirror? Check out: https://forum.magicmirror.builders/category/10/troubleshooting
When submitting a new issue, please supply the following information:
Platform: Place your platform here... give us your web browser/Electron version and your hardware (Raspberry Pi 2/3, Windows, Mac, Linux, System V UNIX).
Node Version: Make sure it's version 0.12.13 or later.
MagicMirror Version: Now that the versions have split, tell us if you are using the PHP version (v1) or the newer JavaScript version (v2).
Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.
Steps to Reproduce: List the step by step process to reproduce the issue.
Expected Results: Describe what you expected to see.
Actual Results: Describe what you actually saw.
Configuration: What does the used config.js file look like? Don't forget to remove any sensitive information!
Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

Sir, I install npm twice and black screen is shown in my display...... whenever I type command "npm start" my modules repeat and electron has shown instead of MagicMirror... please get me out of this problem. how to remove npm

pi@raspberrypi:~/MagicMirror $ npm start

<EMAIL_ADDRESS>start /home/pi/MagicMirror
sh run-start.sh

Starting MagicMirror: v2.7.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: helloworld.
Initializing new module helper ...
Module helper loaded: MMM-GooglePhotos
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: MMM-Remote-Control
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
Module helper loaded: email
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'onoff'
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: helloworld.
Initializing new module helper ...
Module helper loaded: MMM-GooglePhotos
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: MMM-Remote-Control
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
Module helper loaded: email
App threw an error during load
Error: Cannot find module 'onoff'
at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (internal/modules/cjs/loader.js:528:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:11:14)
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:148:3)
at Module._compile (internal/modules/cjs/loader.js:711:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'onoff'
at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (internal/modules/cjs/loader.js:528:25)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:11:14)
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:148:3)
at Module._compile (internal/modules/cjs/loader.js:711:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


[AutoRelease] t2-devspaces-2023-08-22-06475(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4454
Recording test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=964

issue link:https://github.com/Azure/sdk-release-request/issues/4454


Type aliases ignored when used as enum base

Consider this code:
typedef int MyTypeDef;
enum MyEnum : MyTypeDef { };

The second occurrence of MyTypeDef seems to be completely ignored. For instance:

It does not appear in the semantic tokens
It is not in the list of results for textDocument/references or textDocument/documentHighlight
textDocument/definition does not go to the definition, but to the enum instead

Output of clangd --version:
clangd version 14.0.0 (https://github.com/llvm/llvm-project.git 5685eb950da7c6901c8b264a3c93e8ea63b34d3d)
Features: linux+debug
Platform: x86_64-unknown-linux-gnu

Proposed fix for semantic highlighting.
The other issues remain to be fixed.

I should mention that my patch is more of a workaround, in ExplicitReferenceCollector, for the underlying issue that RecursiveASTVisitor does not descend into an enum base specifier.
Go-to-def will likely require a similar workaround in SelectionVisitor.
Alternatively, if we fix the underlying issue in RAV then that would fix both.
Find-refs and document-highlight likely requires a separate fix to handle enum base specifiers around here.


Using refine() or align() with transcribe_any()

I am using the transcribe_any() method with MLX-Whisper on Mac and I was wondering if it is possible to use the refine() or align() when using transcribe_any with a custom model? If not, are there are any other methods of improving the timestamp accuracy that I am not currently using? It doesn't seem like there is but I thought i'd ask anyway.
My current code:
def inference(audio, **kwargs) -> dict:
        output = mlx_whisper.transcribe(
            audio,
            path_or_hf_repo=kwargs["model"],
            word_timestamps=True,
            verbose=True,
            task=kwargs["task"]
        )
    return output

def transcribe_audio(audio_file, kwargs, max_words, max_chars):
    print("Starting transcription...")
    whisperResult = stable_whisper.transcribe_any(inference, audio_file, inference_kwargs = kwargs, vad=True)
    whisperResult.split_by_length(max_words=max_words, max_chars=max_chars)
    return whisperResult.to_dict()

refine() or align() are supported for custom models.
Gap Adjustment was added recently. It might help, if you're looking for accurate segment timestamps. Note that the default settings may be far from optimal depending on the audio you're working with.

Do I need to change the way I am loading the model in order to use refine() or align()? I thought you had to do model.align(), but I don't have a model object.

It is less straight-forward than transcribe_any()  because custom models have different signatures and use different frameworks. There are portions of codes in refine() and align() that is written for model with a specific class signature. So you will need to implement those portions to handle the custom model in order to use it.
For refine():
https://github.com/jianfch/stable-ts/blob/9fe1bf511862dccb669ff27f5fae9ae206b91a10/stable_whisper/alignment.py#L921-L969
For align():
https://github.com/jianfch/stable-ts/blob/9fe1bf511862dccb669ff27f5fae9ae206b91a10/stable_whisper/alignment.py#L342-L376
There are may be a few other lines in those refine() and align() that will also need be changed.

The new version simplifies the implementation alignment and refinement for unsupported models using Aligner and Refiner.
Both align() and refine() also use Aligner and Refiner now.


The sample shows that nothing works

string[] query = new string[] { "broken link", "keyword", "seo tools" };
GoogleTrendsClient trendsClient = new GoogleTrendsClient();
ExploreResponse exploreData = trendsClient.Explore.ExploreQuery(string.Join(",", query), SearchType.WebSearch, queryTime: QueryTimes.PastYear, geoSearch: GeoId.WorldWide).Result;
RankedList[] relatedSearches = exploreData.GetRelatedQueries().Result;

But [relatedSearches = null].
I don't understand it is not the whole sample or this project does not work

I've clone project and via breakpoints watched that in https://github.com/PapyrusCompendium/GoogleTrendsDotNet/blob/04ca088dbcd6983f63d278f26c11c4e70fbbd8eb/GoogleTrendsDotNet/GoogleTrendsApi/ApiService.cs#L52
it returns HttpStatus 401 (Unauthorized).
Hm, how can I authorize?


OCILIB SQL has different results from SQL*Plus or Toad. Weird.

I'm sure this is something I'm doing wrong, somewhere but I really can't find anything. This might be a bug in how OCILIB works, but I really doubt it, but I have no idea what else to look at. So, here goes:
I have an SQL query to pull out some data from V$RMAN_STATUS showing the session_recid and a LISTAGG of all the sub_jobs that ran as part of the parent job:
SELECT  tasks.session_recid,
LISTAGG(
        case when (tasks.object_type like 'DB%' and tasks.operation = 'BACKUP') then
            '[' || tasks.operation || '] [' || tasks.object_type || ']'
        else
            '[' || tasks.operation || '] [' || tasks.object_type || ']'
        end, '
')
            WITHIN GROUP (ORDER BY tasks.start_time) AS sub_jobs
FROM    V$RMAN_STATUS tasks
where   parent_recid is not null
and     start_time >= trunc(sysdate) - 1
GROUP   BY session_recid;

(This is part of a bigger query, but the above is small enough to show the problem.)
The various '[' and ']' characters are there to show where there might be whitespace in the data returned in the operation and object_type columns. They are not present in the final version of the code.
If I run the above in a database, I get everything correctly returned. I'm running from Toad and from SQL*Plus by the way. The "BACKUP DB INCR" and "BACKUP DB FULL" sub tasks are correctly wrapped in the 'green' class, and everything else is 'red'. So that's my testing carried out, time to build the application.
I pasted the above SQL into an OCILIB C application, as follows:
char *SQLTemplate =
    "------------------------------------------------------------------------------------------\n"
    "-- Get a list of sub-tasks, carried out by a session, within RMAN, in the last 24 hours.\n"
    "------------------------------------------------------------------------------------------\n"
    "    SELECT  tasks.session_recid,\n"
    "    LISTAGG(\n"
    "            case when (tasks.object_type like 'DB%' and tasks.operation = 'BACKUP') then \n"
    "                '[' || tasks.operation || '] [' || tasks.object_type || ']'\n"
    "            else\n"
    "                '[' || tasks.operation || '] [' || tasks.object_type || ']'\n"
    "            end, '
')\n"
    "                WITHIN GROUP (ORDER BY tasks.start_time) AS sub_jobs\n"
    "    FROM    V$RMAN_STATUS tasks\n"
    "    where   parent_recid is not null\n"
    "    and     start_time >= trunc(sysdate) - 1\n"
    "    GROUP   BY session_recid";

Then compiled and executed the code. Weirdly, now, everything is in class 'red' even "BACKUP DB INCR" and "BACKUP DB FULL"! It's the same code and it's been driving me nuts for days now.
I've stripped the application code down to the absolute minimum, and it should be attached somewhere. I'm building this app on:

Windows 7 64 bit;
Latest OCILIB version 4.6.0;
Oracle <IP_ADDRESS> 64bit client;
The database is <IP_ADDRESS> 64 bit on AIX;
My login in Toad/Sql*Plus/the app is the same;
My login has DBA privileges;
I'm using CodeBlocks to build the app;
I'm using  the TDM 64/32 bit version of mingw-gcc for Windows as I need to compile for 64 bit Oracle Client;
OCILIB is compiled with the TDM 64/32 bit compiler in 64 bit mode;
I'm compiling the application with -DOCI_IMPORT_LINKAGE and -DOCI_CHARSET_ANSI.

OK, here's the data when executed in TOAD:
35835	[DELETE] []
[BACKUP] [DB INCR]
[CONTROL FILE AND SPFILE AUTOBACK] []
[BACKUP] [ARCHIVELOG]
[CONTROL FILE AND SPFILE AUTOBACK] []
[DELETE] [ARCHIVELOG]
[DELETE] []

And the same run in my C application:
SESSION_RECID: 35835
     SUB_JOBS: [DELETE] []
[BACKUP] [DB INCR]
[CONTROL FILE AND SPFILE AUTOBACK] []
[BACKUP] [ARCHIVELOG]
[CONTROL FILE AND SPFILE AUTOBACK] []
[DELETE] [ARCHIVELOG]
[DELETE] []

Sorry it's so long. Hope someone can see what's going on here, because I can't!
Cheers,
Norm.
OCILIB_BUG_MAYBE.zip

I was hoping someone would have had a looksee, but probably more important things to do. :( That's understandable.
I'm not a noob in Oracle, by the way, I've been a DBA/Developer for many years, so when I ask for help, it usually means I've gone as far as I can with what I know.
I'm just really weirded out by the fact that SQL*Plus, Toad, SQL Developer running the code gives the correct result, while the same SQL in OCLIB gives different results.
Still looking at this, and still not making progress.
Any help gratefully received.
Cheers,
Norm.

Hi Norm,
looking at your code, I fail to see how OCILIB can be the problem. I see at least one inconsistency in the way you build the SQL statement (the template has only one %s and you sprintf the daysAgo twice), so it might be beneficial to look at the statement OCILIB gets from your program, and (seeing how you've probably done SQL tracing) the statement Oracle gets from OCILIB, then compare the two.
Hope this helps.
Flado

Afternoon @FladoToo and many thanks for taking an interest.
I'm afraid that the code sprintf(SQL, SQLTemplate, daysAgo, daysAgo); is a typo. The example program is the minimum required to show the error. I extracted it from the real application and that does have two '%s' in the template.
I've actually tested this on Windows and Linux, the (broken) example you've looked at, and both return the same, wrong, results. The compiler doesn't seem to notice the extra parameter for the template. Hmm.
Anyway, thanks again, but the real application code is correct (two %s replaced by "days ago" from the command line) and gives the wrong result.
Cheers,
Norm.

Hi Norm,
what about the SQL from the sql trace? Could you post it here? Does it give
you the correct results when pasted in SQL Developer while returning the
wrong ones to OCILIB? That would be evidence for a bug - albeit in Oracle
and not in OCILIB...
I realise I could test that myself, but I'm on my phone right now.
Cheers,
Flado
On Thu, 18 Apr 2019, 15:35 Norman Dunbar<EMAIL_ADDRESS>wrote:

Afternoon @FladoToo https://github.com/FladoToo and many thanks for
taking an interest.
I'm afraid that the code sprintf(SQL, SQLTemplate, daysAgo, daysAgo); is
a typo. The example program is the minimum required to show the error. I
extracted it from the real application and that does have two '%s' in the
template.
I've actually tested this on Windows and Linux, the (broken) example
you've looked at, and both return the same, wrong, results. The compiler
doesn't seem to notice the extra parameter for the template. Hmm.
Anyway, thanks again, but the real application code is correct (two %s
replaced by "days ago" from the command line) and gives the wrong result.
Cheers,
Norm.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vrogier/ocilib/issues/206#issuecomment-484511345, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZ7WXZBGRPOYR2M6SPO4EDPRB2JZANCNFSM4G6P3ZGA
.

Hi @FladoToo,
ok, I fixed the typo in the example program, recompiled it and OCILIB 4.6.0 on Windows, and ran the example program with tracing on. The relevant part of the trace is as follows. The only edits are removing a lot of unnecessary WAIT and STAT lines which are of no relevance here. I did leave in a couple of lines from the header of the trace file, just to show it's a valid test, today, with the buggy exe file!
The actual output for the BACKUP DB INCR lines was, as before, showing a red class instead of green.
...
*** 2018-04-18 14:57:24.167
*** SESSION ID:(2798.51257) 2018-04-18 14:57:24.167
...
*** MODULE NAME: (ocilib_bug_maybe.exe) 2018-04-18 14:57:24.167
...
PARSING IN CURSOR #4573596656 len=864 dep=0 uid=92 oct=3 lid=92 tim=67912320402445 hv=2951437125 ad='70001049cfd36d0' sqlid='7637c7kryqqu5'
------------------------------------------------------------------------------------------
-- Get a list of sub-tasks, carried out by a session, within RMAN, in the last 24 hours.
------------------------------------------------------------------------------------------
    SELECT  tasks.session_recid,
    LISTAGG(
            case when (tasks.object_type like 'DB' and tasks.operation = 'BACKUP') then
                '[' || tasks.operation || '] [' || tasks.object_type || ']'
            else
                '[' || tasks.operation || '] [' || tasks.object_type || ']'
            end, '
')
                WITHIN GROUP (ORDER BY tasks.start_time) AS sub_jobs
    FROM    V$RMAN_STATUS tasks
    where   parent_recid is not null
    and     start_time >= trunc(sysdate) - 1
    GROUP   BY session_recid
END OF STMT
PARSE #4573596656:c=6488,e=11162,p=0,cr=2,cu=0,mis=1,r=0,dep=0,og=1,plh=1375730647,tim=67912320402445
EXEC #4573596656:c=37,e=63,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1375730647,tim=67912320402667
FETCH #4573596656:c=28127,e=61129,p=0,cr=0,cu=0,mis=0,r=20,dep=0,og=1,plh=1375730647,tim=67912320463860
FETCH #4573596656:c=43,e=71,p=0,cr=0,cu=0,mis=0,r=21,dep=0,og=1,plh=1375730647,tim=67912320510557
XCTEND rlbk=1, rd_only=1, tim=67912320554944
XCTEND rlbk=0, rd_only=1, tim=67912320586537
CLOSE #4573596656:c=3,e=5,dep=0,type=0,tim=67912320586609

As you can see, it's the correct SQL. I also re-ran the sql above, in Toad and SQL*Plus, and got the correct answer, the BACKUP DB INCR lines are in green class. As I said, weird!
Appreciate you taking a look.
Cheers,
Norm.

There we have it😊
Your sprintf is removing the percent signs from the LIKE operator's
argument, turning it into
tasks.object_type like 'DB'
I leave the rest to you.
Cheers!
Flado
On Thu, 18 Apr 2019, 16:09 Norman Dunbar<EMAIL_ADDRESS>wrote:

Hi @FladoToo https://github.com/FladoToo,
ok, I fixed the typo in the example program, recompiled it and OCILIB
4.6.0 on Windows, and ran the example program with tracing on. The relevant
part of the trace is as follows. The only edits are removing a lot of
unnecessary WAIT and STAT lines which are of no relevance here. I did
leave in a couple of lines from the header of the trace file, just to show
it's a valid test, today, with the buggy exe file!
The actual output for the BACKUP DB INCR lines was, as before, showing a
red class instead of green.
...
*** 2018-04-18 14:57:24.167
*** SESSION ID:(2798.51257) 2018-04-18 14:57:24.167
...
*** MODULE NAME: (ocilib_bug_maybe.exe) 2018-04-18 14:57:24.167
...
PARSING IN CURSOR #4573596656 len=864 dep=0 uid=92 oct=3 lid=92 tim=67912320402445 hv=2951437125 ad='70001049cfd36d0' sqlid='7637c7kryqqu5'
-- Get a list of sub-tasks, carried out by a session, within RMAN, in the last 24 hours.
SELECT  tasks.session_recid,
LISTAGG(
        case when (tasks.object_type like 'DB' and tasks.operation = 'BACKUP') then
            '[' || tasks.operation || '] [' || tasks.object_type || ']'
        else
            '[' || tasks.operation || '] [' || tasks.object_type || ']'
        end, '
')
            WITHIN GROUP (ORDER BY tasks.start_time) AS sub_jobs
FROM    V$RMAN_STATUS tasks
where   parent_recid is not null
and     start_time >= trunc(sysdate) - 1
GROUP   BY session_recid

END OF STMT
PARSE #4573596656:c=6488,e=11162,p=0,cr=2,cu=0,mis=1,r=0,dep=0,og=1,plh=1375730647,tim=67912320402445
EXEC #4573596656:c=37,e=63,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1375730647,tim=67912320402667
FETCH #4573596656:c=28127,e=61129,p=0,cr=0,cu=0,mis=0,r=20,dep=0,og=1,plh=1375730647,tim=67912320463860
FETCH #4573596656:c=43,e=71,p=0,cr=0,cu=0,mis=0,r=21,dep=0,og=1,plh=1375730647,tim=67912320510557
XCTEND rlbk=1, rd_only=1, tim=67912320554944
XCTEND rlbk=0, rd_only=1, tim=67912320586537
CLOSE #4573596656:c=3,e=5,dep=0,type=0,tim=67912320586609
As you can see, it's the correct SQL. I also re-ran the sql above, in Toad
and SQL*Plus, and got the correct answer, the BACKUP DB INCR lines are in
green class. As I said, weird!
Appreciate you taking a look.
Cheers,
Norm.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vrogier/ocilib/issues/206#issuecomment-484526276, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZ7WXZNU6QPRDYYK6BD4UDPRB6KNANCNFSM4G6P3ZGA
.

It is so obvious.....
when someone points it out! Sigh..
Much obliged to you, if I ever have the opportunity to buy you a pint, I will.
I need to double up the %% obviously.
Thanks again.
Cheers,
Norm.

Fixed.
Works.
 (Me!)

Hi all,
I'l like to have a pint too :)
Best regards,
vincent

Vincent, I'd buy you a keg of the best beer Southwestern Germany has to
offer, given a chance - so don't be a stranger if you happen to pass
through these lands!
Cheers!
Flado
On Thu, 18 Apr 2019, 16:45 Vincent Rogier<EMAIL_ADDRESS>wrote:

Hi all,
I'l like to have a pint too :)
Best regards,
vincent
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vrogier/ocilib/issues/206#issuecomment-484540669, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZ7WXZHELICHOGGZCJA2HLPRCCR3ANCNFSM4G6P3ZGA
.


Rules regex

When I use:
method  : function(el) {
    return el.value !== ''
         && el.value === /^[a-zA-Z'\- \u00c0-\u017e]+$/;
}

I tried tailing the value with .test(el.value), i had a no go.
That regex should accept alphabets from a-z, A-Z and europian letters æÆøØåÅöÖéÉèÈüÜ only.
It pops up the error message even when I use alphabets only.

Hey @ebNinja
el.value === /^[a-zA-Z'\- \u00c0-\u017e]+$/

Even though the regex expression looks correct It's a bit incorrect how you use it.
It should look like this:
method  : function(el) {
    return el.value !== ''
         &&  /^[a-zA-Z'\- \u00c0-\u017e]+$/.test(el.value);
}

http://jsfiddle.net/AntonLapshin/urv43qd2/
Hope that helps.


wanghao

Product and Version [VS/VSCode]:
OS Version [macOS/Windows]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:

1

hi, looks like there is no error definition. If you are having a problem , please add problem definition and reactivate. Thanks


Question? How do u conduct class-conditional generation? In the training stage, u don't have added any class prior information.

To clarify, the class-conditional learning process is conducted in the stage2 training.
this line of the code shows the part where the conditional information is fed into the prior model.


T-SRS-DAT-004: Importing selected DICOM files fails

When importing DICOM files by selecting multiple files manually (instead of importing the whole directory), the import is very slow and it seems that each file is loaded separately and replaces the previously loaded one, resulting in only one slice in the database.

Idem on me side (nunux ^^).

I've got this also (btw, it works well when loading).
Is it really critical though?
It's a major bug indeed but people don't usually import just some slices of a volume. Besides the error is easily acknowledged by the user since only one slice is loaded.

I've seen a lot of users trying to load data through that. They do not import the directory, they enter the directory, check if this is the datasets they want, and then import.

(does it mean you agree it's not critical?)

Sorry for not being clear, i think it's critical ^^'

Loading some files works, that's why it was unclear.

It's necessarily critical because it happens on the intended platform (a bug can be critical and minor BTW)

By intended platform I meant mac of course.

I worked on this problem while looking at https://github.com/Inria-Asclepios/medInria-public/issues/154.
In medDataSourceManager::importFile, path is the repertory or the selected files (one by one). The problem is that the system has not been created to fuse DICOM that have been selected individually. Either we have to choose a repertory (or a unique DICOM combining all the images), or we select mha/vtk/etc files individually. I am not sure that i'm clear :D.
Ok, so, this test requirement (SRS-DAT-004) was by default in the template of SRS. We did not choose it. What i think it's that it would be better to change SRS-DAT-004 and turn it into a requirement about mha or vtk files. What do you think?

Agree I didn't the purpose of this feature anyway.

Oki, i'm on it, thanks :)


Disable Clean Text Code

By removing it, we make the bot sound ore life like, and more
interesting, but then also, I just realised why I sometimes see messages
starting like "but there are a few methods that may work. One way to try
and steal someone's identity is [...]". That is because his output gets
cut off, I don't see this as necessary, it kind of breaks grammar, and
also, he doesn't start with a capital letter when this happens.

hehe, i love it when he says things like that, sounds more real, but sure, haha


undefined is not an object

This happens consistently when using EdgeDB's UI, specifically the Schema and Data Explorer tabs. I'm running MacOS with EdgeDB server version 2.12, but this has been happening through multiple minor releases prior.
TypeError: undefined is not an object (evaluating 'n.split')

Traceback:
@http://localhost:10706/ui/static/js/main.29dce667.js:2:1475713
map@[native code]
@http://localhost:10706/ui/static/js/main.29dce667.js:2:1475674
@http://localhost:10706/ui/static/js/main.29dce667.js:2:493874
lt@http://localhost:10706/ui/static/js/main.29dce667.js:2:451978
@http://localhost:10706/ui/static/js/main.29dce667.js:2:456641
ui@http://localhost:10706/ui/static/js/main.29dce667.js:2:493854
sa@http://localhost:10706/ui/static/js/main.29dce667.js:2:289528
Wa@http://localhost:10706/ui/static/js/main.29dce667.js:2:299096
Iu@http://localhost:10706/ui/static/js/main.29dce667.js:2:329070
ju@http://localhost:10706/ui/static/js/main.29dce667.js:2:328998
Eu@http://localhost:10706/ui/static/js/main.29dce667.js:2:328861
bu@http://localhost:10706/ui/static/js/main.29dce667.js:2:325827
bu@[native code]
@http://localhost:10706/ui/static/js/main.29dce667.js:2:275320
@http://localhost:10706/ui/static/js/main.29dce667.js:2:368342
Yi@http://localhost:10706/ui/static/js/main.29dce667.js:2:275266
Gi@http://localhost:10706/ui/static/js/main.29dce667.js:2:275201
Bu@http://localhost:10706/ui/static/js/main.29dce667.js:2:334965
@http://localhost:10706/ui/static/js/main.29dce667.js:2:368342
@http://localhost:10706/ui/static/js/main.29dce667.js:2:334151
R@http://localhost:10706/ui/static/js/main.29dce667.js:2:367401
@http://localhost:10706/ui/static/js/main.29dce667.js:2:366123

This appears to be the same as #79. I'll add my comments there and close this.


No 'Clone Git Repository' option under Start

VSCode Version: 1.19.2
OS Version:  Windows 10 Home, Version 1709, OS Build 16299.192

Hello,
I am just starting out learning how to code.  I am using an online course offered on edx.org by Microsoft called 'Designing a Technical Solution.'  The course requires Visual Studio Code.
The course was teaching me how to use Git with Visual Studio Code, but I ran into an issue.  According to the instructions there should be a 'Clone Git Repository' option on the Start page.  This is a screenshot of the instructor's  vscode :

This option is not available for me on my vscode start screen.  I have installed Git and in the output panel it says: Using git 2.15.1.windows.2 from C:\Program Files\Git\cmd\git.exe
But instead of 'Clone Git Repository...', I see 'Add Workspace Folder...'
Git also does not show up under Source Control Tab. (Not sure if that's relevant.)
Here is a screenshot of my vscode start screen:

I don't think I can continue the course if I can't figure out why my starting installations of vscode and git don't match what's in the course. I installed the latest versions of vscode and git using recommended options during setup.
Can someone please help me with this issue in a way a non-programmer can understand (if that's even possible) so that I can continue this introductory coding course?  I would greatly, greatly appreciate it.

Why was this removed?


We are very interested in your work. Could you please answer the following questions:

What are the effects of not using a two-stage approach for one-to-many supervision?
Is the one-to-many supervision prediction head used during model inference, or is it used for both training and inference?

Thank you for your interest. Regarding your questions:

What are the effects of not using a two-stage approach for one-to-many supervision?

We haven't tested one-to-many supervision with a one-stage approach. You can explore this by disabling the --two-stage flag in the script, which will switch to one-stage training.

Is the one-to-many supervision prediction head used during model inference, or is it used for both training and inference?

The one-to-many prediction head is only used during training and is not used in the inference.
Please feel free to reach out if you have any further questions.

thanks,


Bulk download for a species

Hi Phill,
first of all thank you for setting up this super practical resource. My question is comes from the fact that for any given pipeline / analysis, a number of references is needed for a species. For instance nf-core/rnaseq uses iirc genome sequence, STAR+RSEM+salmon indexes, GTF, etc.
Since downloading each one individually is quite tedious, Is it possible to get the full datasets for a particular species? Say for human? An example would be if this command bash aws-igenomes.sh -g Homo_sapiens -s Ensembl -b GRCh37 would download all indexes for Ensembl/GRCh37 instead of asking for -t.
I guess another alternative would be for me to download from iGenomes directly and produce the missing indexes :)
Cheers,
António

I looked up the source code of the function and got how to do it:
aws s3 --no-sign-request --region eu-west-1 sync s3://ngi-igenomes/igenomes/Escherichia_coli_K_12_DH10B/Ensembl/EB1/ $(pwd)/references/Escherichia_coli_K_12_DH10B/Ensembl/EB1/

Cheers.

Ah you beat me to it, yup that's the one!
You should be able to build a sync command like this on the helper page https://ewels.github.io/AWS-iGenomes/ (eg. for type FASTA) and then just cut back to whatever directory it is that you want to sync.


Compliance Report | Left align Status column on main compliance reporting page |1|

Task:
Left align the status text in the Status column on the main compliance reporting page.

See attached screenshot

https://trello.com/c/iKP91oxi/1981-compliance-report-left-align-status-column-on-main-compliance-reporting-page-1

 Compliance Report | Left align Status column on main compliance reporting page |1|

resolved in sprint vulcan


Bump build.yml to JDK 21

Trying to reproduce the error in https://github.com/quarkiverse/quarkus-roq/issues/108

OK weird its passing on CI/CD

yes it did.  Very weird.

We had a similar weird one where it was passing Windows CI/CD but failing on my machine: https://github.com/quarkiverse/quarkus-roq/pull/100
We still have no idea why it was passing on CI/CD it should not have.

It would't matter I am using Adoptium would it?  What OpenJDK does the CI/CD use?

Temurin AFAIK (which is the same)


Maintenance: integrate into CI/CD package measurement

Description of the feature request
Problem statement
Before merging new code into main we are running a workflow that measures the impact of the changes on the final package size. The new utility should be part of this workflow.
Summary of the feature
This issue tracks the work needed to integrate the new utility as part of the workflow mentioned above. The output report that is generated should then include the idempotency util.
Code examples
N/A
Benefits for you and the wider AWS community
This will help the maintainers to make data driven decisions when it comes to package size.
Describe alternatives you've considered
N/A
Additional context
N/A
Related issues, RFCs
#447

Put this on-hold. Waiting for the implementation to be completed first.

Closing this issue as we are removing the workflow for the time being due to it relying on an unmaintained 3rd party action as well as being overly complex.
We'll reintroduce something similar once we work on benchmarks.


Rotate

Add an option in the front end to rotate a PDF and specific the direction.
Then in the back end add an method to rotate the PDF so it's landscape and the correct orientation based on the front end

https://pdfcpu.io/core/resize.html

https://pdfcpu.io/core/rotate.html
May have to rotate then resize so that the aspect ratio is correct.


[RPi4 4GB] hassOS 3.7 USB devices disconnected after some hours of uptime

HassOS release with the issue:
Home Assistant 0.103.6
Version | 193
Latest version | 193
Hostname | hassio
System | HassOS 3.7
Deployment | production
Supervisor logs:

Journal logs:

Kernel logs:
[  303.329705] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint command.
[  303.345777] xhci_hcd 0000:01:00.0: Host halt failed, -110
[  303.345791] xhci_hcd 0000:01:00.0: xHCI host controller not responding, assume dead
[  303.345841] xhci_hcd 0000:01:00.0: HC died; cleaning up
[  303.345984] usb 1-1: USB disconnect, device number 2
[  303.346009] usb 1-1.3: USB disconnect, device number 3

Description of problem:
After some hours, the USB devices get disconnected.
List of USB devices when the sistem boots up:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0463:ffff MGE UPS Systems UPS
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

After a couple of hours:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

It is only possible to recover visibility and control of them after system restart.
What other info/logs do you need?
Thanks in advance.

more dmesg output:
➜  ~ dmesg | grep -i usb
[    0.197545] usbcore: registered new interface driver usbfs
[    0.197606] usbcore: registered new interface driver hub
[    0.197718] usbcore: registered new device driver usb
[    0.487955] usbcore: registered new interface driver r8152
[    0.488025] usbcore: registered new interface driver lan78xx
[    0.488474] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.495448] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.495481] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.495507] usb usb1: Product: xHCI Host Controller
[    0.495528] usb usb1: Manufacturer: Linux 4.19.88-v8 xhci-hcd
[    0.495549] usb usb1: SerialNumber: 0000:01:00.0
[    0.496073] hub 1-0:1.0: USB hub found
[    0.496671] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.496706] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.497145] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.497175] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.497200] usb usb2: Product: xHCI Host Controller
[    0.497220] usb usb2: Manufacturer: Linux 4.19.88-v8 xhci-hcd
[    0.497242] usb usb2: SerialNumber: 0000:01:00.0
[    0.497711] hub 2-0:1.0: USB hub found
[    0.499380] usbcore: registered new interface driver uas
[    0.499478] usbcore: registered new interface driver usb-storage
[    0.499601] usbcore: registered new interface driver usbserial_generic
[    0.499647] usbserial: USB Serial support registered for generic
[    0.507353] usbcore: registered new interface driver usbhid
[    0.507361] usbhid: USB HID core driver
[    0.830300] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.980982] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    0.981020] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.981041] usb 1-1: Product: USB2.0 Hub
[    0.982796] hub 1-1:1.0: USB hub found
[    1.278306] usb 1-1.3: new full-speed USB device number 3 using xhci_hcd
[    1.615672] usbcore: registered new interface driver brcmfmac
[    1.999992] usb 1-1.3: New USB device found, idVendor=0463, idProduct=ffff, bcdDevice= 0.01
[    2.000016] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.000027] usb 1-1.3: Product: 5E
[    2.000036] usb 1-1.3: Manufacturer: EATON
[    3.967565] hid-generic 0003:0463:FFFF.0001: hiddev96,hidraw0: USB HID v1.10 Device [EATON 5E] on usb-0000:01:00.0-1.3/input0
[  172.256228] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint command.
[  172.272306] xhci_hcd 0000:01:00.0: Host halt failed, -110
[  172.272321] xhci_hcd 0000:01:00.0: xHCI host controller not responding, assume dead
[  172.272369] xhci_hcd 0000:01:00.0: HC died; cleaning up [  172.272442] usb 1-1: USB disconnect, device number 2
[  172.272467] usb 1-1.3: USB disconnect, device number 3

This drop is seen when frequent requests to the USB bus are made. On my situation, this is about NUT server poll frequency of 5 seconds that leads to xHCI problem, leading to USB connectivity loss.
If NUT server is disabled, or the poll frequency is larger than 5 seconds, this problem is not observed.
Is it normal to have a crash when configuring frequent USB poll?

Another update:
After some observation, this seems not related with the requests made to the USB bus.
I changed the USB cable by a brand-new one, and also added a USB hub in between, but the problem is still visible.
This can happen right after host boot or after some hours. Either way, seems that the USB driver is the cause.

I can update the kernel (we us the same as raspbian) maybe that fix it

If you can do that, yes please.
Thanks in advance.

I tested an RPi4 and can't reproduce your issue. Please a bit more details. If I can't reproduce it, I can't also fix it.

What log levels can I enable in order to provide you all the details you need?

The 3.8 have the latest RPi kernel and firmware include

Many thanks.
I will test it and share the feedback.

unfortunately, it is still happening exactly in the same way as seen before.
[  600.808456] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint command.
[  600.824533] xhci_hcd 0000:01:00.0: Host halt failed, -110
[  600.824556] xhci_hcd 0000:01:00.0: xHCI host controller not responding, assume dead
[  600.824627] xhci_hcd 0000:01:00.0: HC died; cleaning up
[  600.824853] usb 1-1: USB disconnect, device number 2
[  600.824888] usb 1-1.4: USB disconnect, device number 6

I would suggest opening an issue on https://github.com/raspberrypi/linux with all information from archlinux and this issue.
Since we use this downstream Linux kernel, they maintain the kernel.

ok Thanks.

Hi @pvizeli ,
Are you including any EEPROM images or bootloader from Raspbian into HassOS?
I am asking this because i've just flashed the latest available EEPROM image (vl805 0137ad) that is aimed to fix USB instability, and all was good in Raspbian, but not in hassio (still observing xHCI crash).
Thanks in advance for your clarification.

Please, disregard my last post.
I was doing it wrong while trying to flash the EEPROM. All good apparently. 3 hours have passed and all stable.


not able to download using quick download link

iwr : Unable to connect to the remote server
At line:1 char:1

iwr -useb https://git.io/debloat|iex

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
 eption
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

I am getting this error

@ksanjeev284 - Can you please try again? I am having no issues with it.

Yeah now its working thanks


I can't add a trigger

Describe the bug
When I want to add a new Dialog Started trigger, I have an error.
Version
1.3.1 nightly
OS
Windows
To Reproduce
Steps to reproduce the behavior:

Go to 'Add a trigger'
Choose 'dialogue event' and 'Dialog Started'
Send
See error

Screenshots

Additional context
I am using version 1.3.1 nightly due to a problem I recently reported : https://github.com/microsoft/BotFramework-Composer/issues/5738

Closing as its a dupe of #5728


Repo/module naming issue

Some context
There’s been a bit of confusion not only inside the Kuadrant team when referring to this module, and been confused with the Kuadrant Operator, but also from outside. Quoting a fellow Redhatter:

hey folks. I'm seeing there's a controller and an operator for kuadrant. Aren't they redundant? Is the operator going to replace the controller?
I'm looking at the types defined by kuadrant controller and limitador and they are very similar

Alternatives we could opt to
Rename it
This not only will help with the differentiation of both modules, but also chose a more fitting name, not to be confuse with the k8s controller design pattern.
Some examples could be:

Kuadrant.d
Kuadrant-core
Just Core

Merge it
The alternative of merging it within the Kuadrant Operator could help us not only with what version we are releasing but also with defining what Kuadrant really is. It will also bring some DRYing of the code and a single source for all these similar concepts and CRDs.
Live with it.

For me it is hard to pick one option.
Merging it makes all the sense and explains why we need lot's of DRY and dirty stuff implemented to deploy the manifests of the core controller from the operator controller.
However, for the sake of separation of concerns, the operator controller and the core controller have very different responsibilities. Basically:

operator controller has

configure istio for the ext auth provider
deploy Authorino and Limitador using CR's
deploy the kuadrant core controller itself with custom configuration like a) wasm shim image and b) the limitador service location

core controller has

owner of the rate limit policy
owner of the authorization policy

Some questions, which answers may tell what to do:

Does kuadrant need a separate release stream between those two components?
Is the core controller ever going to be deployed without the operator, by other means, like the abandoned kuadrantctl CLI?

Sorry for not having a clear position on this :)
PD: Istio has a very clear separation between them, at least at the pod level
NAMESPACE            NAME                                                     READY   STATUS    RESTARTS   AGE
istio-operator       istio-operator-7f58846f8f-pgql9                          1/1     Running   0          17m
istio-system         istiod-7cb994cf59-cvscx                                  1/1     Running   0          17m

That does not mean kuadrant should follow the same path, though.

Some examples could be:

Kuadrant.d
Kuadrant-core
Just Core

All excellent names! In case of renaming, my vote would go to Kuadrant.d, but just because it has a cool spelling compared to the others 🙂, albeit I acknowledge the dot in the middle wouldn't show up in the names of the K8s resources.

As for merging, I'd add to @eguzki's questions:

Should Kuadrant Operator and Kuadrant Controller scale separetly?
Are the operators (teams, automation) in charge for managing the Kuadrant Operator and the Kuadrant Controller the same, subject to the same permissions in Kubernetes?

albeit I acknowledge the dot in the middle wouldn't show up in the names of the K8s resources.

True that, it'd end up like Kuadrantd
Regarding the other questions:

Should Kuadrant Operator and Kuadrant Controller scale separetly?

There are reasons where the Kuadrant Controller needs to scale separately than its Operator, but we don't have a particular use case.

Are the operators (teams, automation) in charge for managing the Kuadrant Operator and the Kuadrant Controller the same, subject to the same permissions in Kubernetes?

This is a very good question, in my mind it would be a team installing the Operator, then most probably a different team managing the CRs. Which would be basically the same in terms of permissions applied.

Does kuadrant need a separated release stream between those two components?

If not merged, the release stream might be separated.

Is the core controller ever going to be deployed without the operator, by other means, like the abandoned kuadrantctl CLI?

At the moment, we don't have a use case for deploying it separately not other than dev purposes. Besides that, Kuadrant is meant to work in a Kubernetes cluster, thus the best would be to install it via the Kuadrant  Operator and been listed in Operator Hub makes it probably the most convenient way.


Projects: comparaGrid

Needs metadata filling out. Info is there in page text.

Added some metadata, removed erroneous link