⚠ Bofrost.at has degraded performance

In b93dd86, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1486 ms

Resolved: Bofrost.at performance has improved in 30478d9.


Connection stays ESTABLISHED forever

At server side, there are TCP connections that stay in ESTABLISHED state and they will never change unless the service is restarted.
It seems that when the client switches networks (e.g. LTE <-> WIFI), the current established connection will be forgotten and left untouched at the server side.
A potential solution may be enabling the socket keepalive option.

@VictoriaRaymond Is it possible that it's a socket leak? I think this kind of connection will be closed after a timeout?

BTW I set mux=2 at the client side, though I don't know what's the significance.

Does this cause any real problems tho?

The number of connections keep increasing. I usually restarts ss before the connection number exceeds 200.
Now I have added nginx as the front end, this problem does not bother me for the time being.


Intermittent Apple Darwin CI failure

I see this failing occassionally...

Dropping here as a "needs investigation"

Looking at the test, I don't see why dispose shouldnt be called. And looking at the history, it appears I wrote this.
I'm more interested in why it doesnt happen every time, there's clearly something going on in the process monitor where sometimes we get dispose but not usually for this, so an unlikely event, but... I think dispose should be getting called here.
More investigation for how with this test dispose can be called and why it often isn't, is required.

Here's a failure from FreeBSD:

I believe both of these are addressed by #4043. I'm going to close this and will reopen if needed.


Load compiler from URL provided search query

?asc=COMMITHASH in the URL is checked first when loading the compiler. Useful for switching between compiler versions.
Also copies test.html each time so that the URL for nearlib is updated, which previously was causing tests to fail.

https://near-studio-staging-pr-154.onrender.com/?f=zftjgvt4y&asc=11cc59325e5bae30589cf4da9fdbfbe2e14b09b1
After it loads you'll see that it prints the correct hash to be used to load asc.

dunno why GitHub didn't close when I merged


Recreate/Delete skipped e2e tests

As a compas developer I would like to delete unhelpful skipped tests and continue executing the valid tests that are being skipped right now, either by using Robot Framework or whatever other technology we decide to use. This would improve our quality and trust in the test suites that we run.
Acceptance Criteria:

[ ] Tests not related to SCL Validator are not skipped and pass successfully.

These tests can be fixed:

The OCL validator tests can be ignored by now.


Polling for NetworkPolicy to be realized in Traceflow e2e

Currently, Traceflow e2e test may fail because NetworkPolicies are not realized in time.
So a polling is added to ensure NetworkPolicy realization.

/test-all

/test-conformance

/test-all

/test-windows-networkpolicy

/test-windows-networkpolicy


test command checks for test dir

if there's no test/ dir, have the flutter test command complain (it was throwing an exception)
fix a regression where the stack traces for exceptions reverted to a more verbose style (restore the terse stack traces)

LGTM


Setting OutputVariables in YAML

Some of the tasks do allow us to specify the Output variables, as Download Secure File Task,

How do we specify these values in our YAML file?

This doesn't help? https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables


00 Intro/04 JQuery

Proceed with the step by step guide (create a new folder and try to reproduce the sample following the steps) and correct typos and errors on the readme.md (english).

Assigned to @beatrizRG pending to get his approval to the team invite to assign it to her


Cannot get out of help menu

I just build new the current version 2.1 and noticed that after pressing '?' and seeing the keybindings, I cannot get back to the main screen.
Not sure if there is a keybind I am missing or if I messed something else up.

It should go back to the app when you press ? again. Can you try that?

It should go back to the default view when you press ? again. Can you try that?

Does not seem to work sadly. Tried with both macos Stock Terminal and iTerm.

Looks like other keys like 'q' or 'ctrl+c" also dont work as if the whole tool is unresponsive

Interesting. Obviously "it works for me", lol.
If you'd be willing to help with this issue, I can add some more debugging information so that you can run it in debug mode to collect more data. 🙂

Interesting. Thanks for reporting it. Obviously "it works for me", lol.
If you'd be willing to help with this issue, I can add some more debugging information so that you can run it in debug mode to collect more data. 🙂

sure! I'd be happy to help. Love this tool, already makes life a lot easier. I am just not as proficient in go/bubbletea.

sure! I'd be happy to help. Love this tool, already makes life a lot easier.

Thank you! Glad it's helping you.

I am just not as proficient in go/bubbletea.

That's fine! I would just need you to send me the log file later.
I'll add some targeted debug logs. Give me a few days, I'll let you know once it's ready.

sure! I'd be happy to help. Love this tool, already makes life a lot easier.

Thank you! Glad it's helping you.

I am just not as proficient in go/bubbletea.

That's fine! I would just need you to send me the log file later.
I'll add some targeted debug logs. Give me a few days, I'll let you know once it's ready.

No problem! Thanks for your work

Hi @Askath, could you please pull the latest commit from this branch: https://github.com/siddhantac/puffin/tree/better-debug
You can run the debug version in 2 ways:

make debug - this is the simplest. It will run puffin in debug mode and it will use the config.debug.json file (which uses test journal data)
make build && ./puffin -debug -cfg config.debug.json this will build the binary and then run it in debug mode.

Both methods are equivalent, and it doesn't really matter which one you pick :)
The debug log will be written to puffin.log. Once you have run the program, please paste the output of the file here. I have tried my best to not log any financial data, but please do verify that there is no financial data before submitting the file. You may also use the test journal data in the repo.
Once the program is running, please press the help key at least twice (?) so that we can see what's happening after the help view is displayed. You can also press a few other keys to see if they get logged.
And finally, please let me know which platform you are running it on!

Will do when I am done with work later this day

Eh okay quiet day at work. Here is the log.
I am using mac os m3 and on the standard Terminal.app or using iTerm. Shell I am using is the fish shell although I have also tried it in bash.
debug 2024/09/11 09:39:07 init puffin v2.1.0 debug 2024/09/11 09:39:08 root: showing main view debug 2024/09/11 09:39:08 root: msg: tea.WindowSizeMsg, {231 60} debug 2024/09/11 09:39:08 register(0): tableSize: w=216, h=54 debug 2024/09/11 09:39:09 root: windowSizeMsg: full: h=60, w=231. mainView: h=58, w=219 debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, alt+] debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: tea.sequenceMsg, [0x100416400 0x10041f520] debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.636434 +0200 CEST m=+1.808768834 0 1} debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: tea.enterAltScreenMsg, {} debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, 11;rgb:0000/0000/0000 debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: ui.modelLoading, {} debug 2024/09/11 09:39:09 register(0): unready debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, alt+\ debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 cmd: [hledger register -f data/hledger.journal --depth=3 date:2021.. -O csv] debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.780337184 +0200 CEST m=+1.952670685 1 1} debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: ui.content debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.924404517 +0200 CEST m=+2.096737060 2 1} debug 2024/09/11 09:39:09 root: showing main view debug 2024/09/11 09:39:13 root: msg: tea.KeyMsg, ? debug 2024/09/11 09:39:13 help: true debug 2024/09/11 09:39:13 root: showing help debug 2024/09/11 09:39:24 root: msg: tea.KeyMsg, 11;rgb:0000/0000/0000 debug 2024/09/11 09:39:24 root: showing help debug 2024/09/11 09:39:27 root: msg: tea.KeyMsg, alt+\ debug 2024/09/11 09:39:27 root: showing help debug 2024/09/11 09:39:29 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000 debug 2024/09/11 09:39:29 root: showing help debug 2024/09/11 09:39:31 root: msg: tea.KeyMsg, alt+\ debug 2024/09/11 09:39:31 root: showing help debug 2024/09/11 09:39:35 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000 debug 2024/09/11 09:39:35 root: showing help debug 2024/09/11 09:39:42 root: msg: tea.WindowSizeMsg, {231 59} debug 2024/09/11 09:39:42 register(0): tableSize: w=216, h=53 debug 2024/09/11 09:39:45 root: windowSizeMsg: full: h=59, w=231. mainView: h=57, w=219 debug 2024/09/11 09:39:45 root: showing help debug 2024/09/11 09:39:53 root: msg: tea.KeyMsg, alt+\ debug 2024/09/11 09:39:53 root: showing help debug 2024/09/11 09:40:01 root: msg: tea.sequenceMsg, [0x100416400 0x10041f520] debug 2024/09/11 09:40:01 root: showing help debug 2024/09/11 09:40:08 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000 debug 2024/09/11 09:40:08 root: showing help debug 2024/09/11 09:40:16 root: msg: ui.modelLoading, {} debug 2024/09/11 09:40:16 register(0): unready debug 2024/09/11 09:40:16 root: showing help debug 2024/09/11 09:40:16 cmd: [hledger register -f data/hledger.journal --depth=3 date:2021.. -O csv] debug 2024/09/11 09:40:23 root: msg: tea.KeyMsg, alt+\ debug 2024/09/11 09:40:23 root: showing help debug 2024/09/11 09:40:36 root: msg: ui.content debug 2024/09/11 09:40:36 root: showing help debug 2024/09/11 09:40:43 root: msg: tea.KeyMsg, 000/0000/0000 debug 2024/09/11 09:40:43 root: showing help

Okay here is the log, had some more time. I am using an mac pro m3, using Terminal.app and iterm emulator.
Shell I am using is fish but I also tried it in bash.
debug 2024/09/11 09:39:07 init puffin v2.1.0
debug 2024/09/11 09:39:08 root: showing main view
debug 2024/09/11 09:39:08 root: msg: tea.WindowSizeMsg, {231 60}
debug 2024/09/11 09:39:08 register(0): tableSize: w=216, h=54
debug 2024/09/11 09:39:09 root: windowSizeMsg: full: h=60, w=231. mainView: h=58, w=219
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, alt+]
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: tea.sequenceMsg, [0x100416400 0x10041f520]
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.636434 +0200 CEST m=+1.808768834 0 1}
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: tea.enterAltScreenMsg, {}
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, 11;rgb:0000/0000/0000
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: ui.modelLoading, {}
debug 2024/09/11 09:39:09 register(0): unready
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: tea.KeyMsg, alt+
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 cmd: [hledger register -f data/hledger.journal --depth=3 date:2021.. -O csv]
debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.780337184 +0200 CEST m=+1.952670685 1 1}
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: ui.content
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:09 root: msg: spinner.TickMsg, {2024-09-11 09:39:09.924404517 +0200 CEST m=+2.096737060 2 1}
debug 2024/09/11 09:39:09 root: showing main view
debug 2024/09/11 09:39:13 root: msg: tea.KeyMsg, ?
debug 2024/09/11 09:39:13 help: true
debug 2024/09/11 09:39:13 root: showing help
debug 2024/09/11 09:39:24 root: msg: tea.KeyMsg, 11;rgb:0000/0000/0000
debug 2024/09/11 09:39:24 root: showing help
debug 2024/09/11 09:39:27 root: msg: tea.KeyMsg, alt+
debug 2024/09/11 09:39:27 root: showing help
debug 2024/09/11 09:39:29 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000
debug 2024/09/11 09:39:29 root: showing help
debug 2024/09/11 09:39:31 root: msg: tea.KeyMsg, alt+
debug 2024/09/11 09:39:31 root: showing help
debug 2024/09/11 09:39:35 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000
debug 2024/09/11 09:39:35 root: showing help
debug 2024/09/11 09:39:42 root: msg: tea.WindowSizeMsg, {231 59}
debug 2024/09/11 09:39:42 register(0): tableSize: w=216, h=53
debug 2024/09/11 09:39:45 root: windowSizeMsg: full: h=59, w=231. mainView: h=57, w=219
debug 2024/09/11 09:39:45 root: showing help
debug 2024/09/11 09:39:53 root: msg: tea.KeyMsg, alt+
debug 2024/09/11 09:39:53 root: showing help
debug 2024/09/11 09:40:01 root: msg: tea.sequenceMsg, [0x100416400 0x10041f520]
debug 2024/09/11 09:40:01 root: showing help
debug 2024/09/11 09:40:08 root: msg: tea.KeyMsg, ]11;rgb:0000/0000/0000
debug 2024/09/11 09:40:08 root: showing help
debug 2024/09/11 09:40:16 root: msg: ui.modelLoading, {}
debug 2024/09/11 09:40:16 register(0): unready
debug 2024/09/11 09:40:16 root: showing help
debug 2024/09/11 09:40:16 cmd: [hledger register -f data/hledger.journal --depth=3 date:2021.. -O csv]
debug 2024/09/11 09:40:23 root: msg: tea.KeyMsg, alt+
debug 2024/09/11 09:40:23 root: showing help
debug 2024/09/11 09:40:36 root: msg: ui.content
debug 2024/09/11 09:40:36 root: showing help
debug 2024/09/11 09:40:43 root: msg: tea.KeyMsg, 000/0000/0000
debug 2024/09/11 09:40:43 root: showing help

There's some interesting stuff in there. Are you using some keymap modifier software or a specialty keyboard?

There's a bunch of root: msg: tea.KeyMsg, alt+ . Do you know which key that represents?
Near the beginning there's a root: msg: tea.KeyMsg, alt+] , again what does that represent? Is it ⌥ + ] ?
This log is when the help was first shown 2024/09/11 09:39:13 root: msg: tea.KeyMsg, ?. Which makes sense. But after that there are no more ? keypresses.
There's also many keypresses with ]11;rgb or a string of 0s which I can't explain.

yeah I noticed that. the alt+ is alt+ is  what happens when I press '?' in the help menu I think.
This "debug 2024/09/11 09:40:43 root: msg: tea.KeyMsg, 000/0000/0000" could be me pressing cmd+t as I opened a new tab in the terminal to close puffin.
Let me try it with a different keyboard

thats the log when using the normal mac keyboard. I am more confused than before. I only open puffin, and pressed ? twice.
debug 2024/09/11 10:33:08 init puffin v2.1.0
debug 2024/09/11 10:33:08 root: showing main view
debug 2024/09/11 10:33:08 root: msg: spinner.TickMsg, {2024-09-11 10:33:08.693842 +0200 CEST m=+0.014568168 0 1}
debug 2024/09/11 10:33:08 root: showing main view
debug 2024/09/11 10:33:08 root: msg: tea.WindowSizeMsg, {283 75}
debug 2024/09/11 10:33:08 register(0): tableSize: w=268, h=69
debug 2024/09/11 10:33:13 root: windowSizeMsg: full: h=75, w=283. mainView: h=73, w=271
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: tea.enterAltScreenMsg, {}
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: tea.KeyMsg, 11;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: spinner.TickMsg, {2024-09-11 10:33:08.836775725 +0200 CEST m=+0.157500851 1 1}
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: tea.sequenceMsg, [0x102da2400 0x102dab520]
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: ui.modelLoading, {}
debug 2024/09/11 10:33:13 register(0): unready
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 cmd: [hledger register -f data/hledger.journal --depth=3 date:2021.. -O csv]
debug 2024/09/11 10:33:13 root: msg: ui.content
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:13 root: msg: spinner.TickMsg, {2024-09-11 10:33:13.857200059 +0200 CEST m=+5.177911060 2 1}
debug 2024/09/11 10:33:13 root: showing main view
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ?
debug 2024/09/11 10:33:17 help: true
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ]11;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ]11;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ]11;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ]11;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:17 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:17 root: showing help
debug 2024/09/11 10:33:24 root: msg: tea.KeyMsg, 1;rgb:1e1e/1e1e/1e1e
debug 2024/09/11 10:33:24 root: showing help
debug 2024/09/11 10:33:24 root: msg: tea.KeyMsg, ctrl+g
debug 2024/09/11 10:33:24 root: showing help

found this issue in bubbletea https://github.com/charmbracelet/bubbletea/issues/1126
might have something to do with it?

Lowered the bubbletea version to 26.2 to try it out, and now puffin works perfect again :)

Thanks for investigating! I'll update the go.mod accordingly. :)


#12 Add support for custom MAIL FROM domain

Initial draft of support for a custom MAIL FROM domain, including support for waiting for the MAIL FROM domain to become verified. It draws heavily on the pattern for DomainIdentity and VerifiedIdentity.
I have not attempted to write integration tests as the existing tests are configured for the Binx internal network, but I have put in some basic unit tests around confirming that the DNS verification records are correct. Sorry for the delay in getting this to you, hopefully there won't be too much effort at your end to add these and I hope this is useful.

@john-tipper thank you for your contribution!


Revert "Cause buffer_update to emit error if called during compute/draw list"

Reverts godotengine/godot#40849

See https://github.com/godotengine/godot/pull/40849#issuecomment-712409394 for rationale.


Razor code highlighting doesn't work correctly in 17.5.1

This issue has been moved from a ticket on Developer Community.

[severity:It's more difficult to complete my work] [regression] [worked-in:16.11.2]
See this SO post for screenshots of expected and current behaviour.
Trying to move to VS2022, and I've noticed that the razor syntax highlighting has changed (imo for the worse). I'm wondering if it's possible to move back to the way it was in 2019?
Specifically, Razor bits in 2019 were marked differently than surrounding areas with a silver background and their own text colour. In VS2022 it seems to only differentiate via the @ symbol, and worst of all, takes on the text colour of surrounding blocks (see below for the razor code inside of a string).
I've tried the font colours option - specifically, the Razor Code Background setting, which isn't present in my options in VS2019. However, when I change it (again, in VS2022), it updates the way Razor is displayed in VS2019, while ignoring it in VS2022!!!

Original Comments
Feedback Bot on 3/14/2023, 05:52 PM:
(private comment, text removed)

Original Solutions
(no solutions)

Dupe of #5808


Input features of the first layer

Hello
I hope you are doing well.
model = MOMENTPipeline.from_pretrained(
"AutonLab/MOMENT-1-large",
model_kwargs={
"task_name": "forecasting",
"forecast_horizon": 96,
},
)
model.init()
When calling the model, I noticed that the input features of the first layer is 8.
Dose it mean that the model use the 8 previous inputs to predict the next point?
If it is the case, how can I change it?

I understand that the model always use 512 previous data to predict new point.
Can this be changed?


When click Back in the browser, injected

Preface
This is a development problem, not a production one (I guess, unless Turbolinks will load 404 and 503 pages).
Context
My page has N <header> tags. The Rails error page also has a <header> tag.
Steps to reproduce

click a link such that the resulting page is a Rails error, e.g

the Rails error page has a <style> tag with header styles (the big red bar).

click the Back browser button.

The problem: the page now (my app) has all <header> coloured red.
The culprit: the <style> tag is carried back over to the previous page, applying the error page's  styles to the app page.
Should we remove any <style> when the back button is clicked, letting Turbolinks merge it again on the page?

@kurko The problem of styles may come from rails itself
https://github.com/rails/rails/blob/3000c1490565b3a21376d6444cb6fe24dfe4e383/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb#L31-L35
the styles are applied globally in the default layout rescue template, instead of being wrapped within an id or a class, as for example here
https://github.com/RailsApps/learn-rails/blob/8e6eb5f6e030d2bf43cdc66df1ba9b40b11efe19/public/404.html#L7-L53

@kurko how are you including your main application JavaScript file? This shouldn't happen if you include the main it in the <head> and include the data-turbolinks-track="reload" attribute.
e.g.
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>

Rails error pages do not contain any JavaScript (as show in layout.erb), so if you include the above in the <head> then when Turbolinks loads the error page, it tracks the changes to the assets, and performs a full reload (See Reloading When Assets Change). Hope that helps.


Add ListRooms Test and Recorded Tests

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
Added additional tests for ListRooms operations.
Added recorded tests
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


refactor of SMIME aia contains

the effective date of this lint has been updated and in checkApplies a check to see whether the extension is present has been added.
Also, another proposal would be to break this lint into two lints. One that is checking whether the scheme is HTTP and produces either error or pass and a second lint that is checking the internal names and produces either warn or pass. I believe that most lints try to focus on one aspect and not to lint many aspects in one lint. I would be willing to contribute on this.
Best,
Vangelis

Separating the scheme check to a separate lint does seem appropriate. There are several lints for AIA checking that have a similar structure so we will want to make sure they all have consistent behavior.

I did not find any text in the SMIME CABF Specifications which deals with internal names in AIA/OCSP. I propose to remove this part in the lint and the smime package and if this is a requirement from another specification, implement it as a new lint in the corresponding package. This proposal is implemented in commit https://github.com/zmap/zlint/pull/777/commits/a1eee503e9c2219408699bab3ed8cb98b015032a

I'll disagree with that one. I don't think a requirement is spelled out in any of the BRs, however the ocsp has to be publicly accessible as does the aia. Is there a use case you're thinking of where an internal name would or should be allowed? Pinging @CBonnell for visibility.

I agree with @cardonator. While the S/MIME BRs do not explicitly state that the URIs contained within the CRLDP and AIA extensions must be publicly accessible, the language cannot reasonably be interpreted as allowing the inclusion of such internal domain names.
If one reads the current language in the SMBRs as permitting internal domain names in CRLDP and AIA extensions, then one would also interpret the SMBRs as allowing the issuance of publicly trusted  S/MIME certificates that have no publicly available revocation information.
More generally, the inclusion of such internal domain names is of no use (and actively harmful due to connection attempts that will inevitably fail) in the common case, as the referenced resources cannot be accessed by most Relying Parties.

The motivation to remove the check about internal names was to keep different aspects of lints separated and left the removed part to future work.
Commit https://github.com/zmap/zlint/pull/777/commits/2a6b8870db1235774d8b869f960955a7299cdc90 tries to address the issues discussed in this PR. On the one hand two distinct lints exist to keep a narrow focus on each lint, and on the other hand the check for internal names is extended to all SMIME certificates. I hope that the current proposal and implementation reflects the discussion.

A future browser alignment ballot might help here, as it is my opinion is that a non-public OCSP or CRL server for public S/MIME would violate Mozilla policy:
"CA operators MUST NOT issue certificates that have:
[...]; or
cRLDistributionPoints or OCSP authorityInfoAccess extensions for which no operational CRL or OCSP service exists."
In the context of Mozilla policy for public S/MIME, I would interpret "operational" to include "publicly accessible".  Because PUBLIC  S/MIME.
And this is all just another data point showing that the correct reading of the S/MIME BRs includes the common implicit assumption that CRL and OCSP servers need to be publicly available and operating in a manner generally consistent with how CRL and OCSP servers are generally accepted to operate.

Great, this LGTM now. @christopher-henderson do you want to take a look?

Thank you @cardonator, @mtgag, and @CBonnell for the thorough policy discussion - it always helps a ton.


postgis not running

From keenan
Hi all,
I have also been running into issues over the past few days. I am getting an error in step 2 saying that it cannot connect to the server. Then everything below that is taken out of the que.
Any suggestions?

from @yosukefk
Wow, never seen such error before….  It is complaining that you are mixing spatial reference…  you are not doing anything unusual, correct?  Data is coming from FIRMS site?  Did you make sure include *.prj file you copied (this is the reason I prefer to move stuff around as zip , instead of .shp, .prj, .dbf etc, as loosing one of them and causing unusual error…, keep stuff as zip when moving around, and unzip when used)

keenan
Hi Yo,
I've just tried those steps and I'm still getting the same error. Is it an issue with the Earthdata login?
I've also tried "docker system prune --all -f" and have rebuilt everything in the terminal, but have had no luck.
I've also used both
mkdir ${HOME}/pg_data
and
docker volume create pg_data
but have had no luck either.
Any other suggestions? I've attached an image of the terminal.
Keenan

@yosukefk
Never seen this before…    Could you copy the output from  this part of output?   It is three cells prior to the one which apparently failing.

Generic preparation of the preprocessor
system (linux) environment for debugging purpose

In [ ]:
!env | sort
For QA purpose, echo what version of postgresql/postgis got used
In [ ]:
!psql -d finn -c "select version();"
!psql -d finn -c "select postgis_full_version();"
python version used in postgresql/plpython
In [ ]:
!psql -d finn -f ../code_anaconda/testpy.sql

from Keenan
Here it is.

Keenan,
I got an impression that you don't mind ditching everything, starting from scratch, is it true?  Or do you want the container that already have your work (e.g. imported raster, processed fire)?
Assuming you don't mind ditching everything, this would be the proper steps.
My hypothesis is that the database got corrupted somehow, and having trouble shooting up, or something.  If i have time i want to confirm this hypothesis, then figure out how to restart it.  But for now it would be easier to start over.
First, you stop everything.  Easest to do this would to restart your computer.
Then in your terminal, type
docker ps

This should return nothing, except that you'd see header like below:

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

Now, do following command to ditch everything.  RUn both commands.
docker sytem prune --all -f
docker system prune --volumes -f

After that, you go
docker volume ls
docker image ls
docker continer ls -a

Each of command should not print anythig beside the header.   "docker system prune --volmes -f" and "docker volume ls" are the important ones, that's where the PostGIS database are stored.  these command will ditch them.  Without this operation, you may end up reuseing corrupt database and getting same error.
Then you do
cd $HOME
ls

if you see "pg_data" list by the "ls" command, go
rm -fr pg_data

This $HOME/pg_data is another possible location for storing database.  I wanted to make sure that user know where the database is, and in case she needs to reuse it, i wanted it to be there.  But in this case we rather want to delete this..   Data base could exists either inside docker volume pg_data  or mkdir $HOME/pg_data, in the first case it is docker managed, virtual storage, whereas the scond one is explicit, Mac OS managed directory.  We don't know which one you were using as running on Mac i am still not firm with recommended location.  So i want you to delete both of them (docker system prune --volumes -f and rm -fr $HOME/pg_data)
Now go to where you had finn-preprocessor.  then
git pull

to make sure that you got latest code etc.  Then go as README says to install preprocessors.
docker build -t finn .
docker run .....  # (the long set of options)
docker exec ...

Hope this should give you fresh, working preprocessor.

Not really nice way to fix the problem, but at least Keenan is back to processing data.


Collab

I see we are working on similar projects.  Perhaps you would like to collaborate?  Keen to get your thoughts.
I have CoCT an Eskom Direct working. Need some help to get other metros schedules.  Installable via HACS.
https://github.com/wernerhp/ha.integration.load_shedding

Hey,
My aim for this integration was to report the CoCT loadshedding stage, which at times are different from the national level. I think in that context it works 100%.
What we can potently rather look at, is working together on the EskomSePush addon when they release their public api, where they already do the schedules for most if not all metros. I think that would make more sense, unless you think the above integration is flexible enough to change?

It's pretty flexible.  This Python library I wrote to get the data actually has an outstanding task to implement CoCT stages.
I didn't realize you uave the CoCT stages working. Where/how did you find the API to get the CoCT stage?

That API actually makes is super simple. Only need to call the API in the libs/coct.py and  update this call in the provider to use that instead of Eskom to get the stage.

When ESP release a public API I figured I'd and add it to the library, since it makes it relatively easy to add new providers into the HA integration.  I think the public API might still take several months.

When ESP release a public API I figured I'd and add it to the library, since it makes it relatively easy to add new providers into the HA integration. I think the public API might still take several months.

https://twitter.com/i/web/status/1547169349395533825
I have it on good authority they aiming for August release, though maybe the month after.

It's pretty flexible. This Python library I wrote to get the data actually has an outstanding task to implement CoCT stages. I didn't realize you uave the CoCT stages working. Where/how did you find the API to get the CoCT stage?

Yup you can check it out. I figured it out by looking at what the CoCT loadshedding app does.

I have it on good authority they aiming for August release, though maybe the month after.

Ah, ok, I chatted with Herman a while back.  He mentioned that public API is high on the list, but didn't provide any timelines.

Yup you can check it out. I figured it out by looking at what the CoCT loadshedding app does.
It is not perfect, humans updating it, but its accurate enough most of the time.

Smart man 😁

@wernerhp
Had a sneak peak into the ESP api. It's exactly what everyone is looking for, and its coming.
After looking at https://gitlab.com/wernerhp/load-shedding/
I suspect you would be able to use the ESP api for all municipalities that work with ESP.
The only catch is, there is a 50 api limit for the public api, so you will have to work around that. Which I believe is possible since solar forecast addons have to do the same thing.

@wernerhp
Had a sneak peak into the ESP api. It's exactly what everyone is looking for, and its coming.
After looking at https://gitlab.com/wernerhp/load-shedding/ I suspect you would be able to use the ESP api for all municipalities that work with ESP.
The only catch is, there is a 50 api limit for the public api, so you will have to work around that. Which I believe is possible since solar forecast addons have to do the same thing.

I would probably just let every user sign up for their own ESP API key and enter it in config flow during setup.
Can you send me the details?

I was asked not to link anything yet, as there may still be changes on the API.
100% agree with each user must be using their own key.

@wernerhp
Had a sneak peak into the ESP api. It's exactly what everyone is looking for, and its coming.
After looking at https://gitlab.com/wernerhp/load-shedding/ I suspect you would be able to use the ESP api for all municipalities that work with ESP.
The only catch is, there is a 50 api limit for the public api, so you will have to work around that. Which I believe is possible since solar forecast addons have to do the same thing.

I would probably just let every user sign up for their own ESP API key and enter it in config flow during setup.
Can you send me the details?

EskomSePush API v2 - Personal API - BETA is now open.
Go see conversation on slack: https://zatech.slack.com/archives/CG4HBE0NB/p1658394442643849


Make mariadb's service supports NodePort mode

In my case, the MariaDB which is deployed on kubernetes is going to be used by apps outside kubernetes, so I did such things to achieve the goal:

Move service to each of master and slave's config content
Add new service type: NodePort
Update NOTES.txt
Update values.yaml and values-production.yaml

I move MariaDB service configuration to each of master and slave's config block, so their NodePort can be different, then apps running outside k8s can use the different port for writing or reading. @sameersbn @juan131

@juan131  I updated this PR, I put service block back and add configures for NodePort in it.

Hi, @juan131 , thanks for your advises, and I've already updated the branch, please check if it is ok now.
Thank you very much!~


Incorrect type annotation on inner let binding succeeds.

Say f is a total order, then the function
fun p1 p2 -> f (fst p1) (fst p2)
is not antisymmetric, p1 = (a, b1) and p2 = (a, b2), where b1 != b2.
However, following code successfully type checks (the annotation on inner let binding).
(--build-config
--)
module Test
opaque type total_order (a:Type) (f: (a -> a -> Tot bool)) =
(forall a1 a2. (f a1 a2 /\ f a2 a1)  ==> a1 = a2)   (* anti-symmetry )
/\ (forall a1 a2 a3. f a1 a2 /\ f a2 a3 ==> f a1 a3)   ( transitivity  )
/\ (forall a1 a2. f a1 a2 / f a2 a1)                           ( totality      *)
type cmp (a:Type) = f:(a -> a -> Tot bool){total_order a f}
val p_cmp: #k:Type -> #v:Type -> cmp k -> Tot unit
let p_cmp 'k 'v f =
let g:(cmp ('k * 'v)) = fun p1 p2 -> f (fst p1) (fst p2) in
()

If I change the return type of p_cmp unit to cmp (k * v), and return g, then I do get a subtyping failed error.

Same as #183?

Probably not really a duplicate of #183. There annotations on matches are completely ignored all the time, while here for real lets one needs a bit of work to make this fail.

Fails now as expected with the --universes flag. @catalin-hritcu can you kindly verify as well?

Seems that this indeed no longer happens (with or without universes).


Drive exists but not shown as mounted in dokan

When I run win-sshfs.exe get the attached error window.

What's strange is that dokan doesn't think anything is mounted:
C:\Program Files (x86)\Dokan\DokanLibrary>dokanctl.exe /v
mounter path C:\Program Files (x86)\Dokan\DokanLibrary\mounter.exe
driver path C:\Windows\system32\drivers\dokan.sys
dokanctl : Aug 21 2015 17:10:55
Dokan version : 740
Dokan driver version : 0x190
C:\Program Files (x86)\Dokan\DokanLibrary>dokanctl.exe /m
mounter path C:\Program Files (x86)\Dokan\DokanLibrary\mounter.exe
driver path C:\Windows\system32\drivers\dokan.sys
C:\Program Files (x86)\Dokan\
Though windows has the Z: drive still showing:

...which can't be ejected:

Also, dokan can't unmount it:
C:\Program Files (x86)\Dokan\DokanLibrary>dokanctl.exe /u Z /f
mounter path C:\Program Files (x86)\Dokan\DokanLibrary\mounter.exe
driver path C:\Windows\system32\drivers\dokan.sys
Unmount failed: ZUnmount status = -1
C:\Program Files (x86)\Dokan\DokanLibrary>
I have an unstable internet connection which might not be helping.
Is there a way I can reset things without rebooting?

try https://github.com/dimov-cz/win-sshfs/releases/tag/<IP_ADDRESS>


grasshopper: Add version 1.1.4

what exactly does "package-fix-needed" mean? I couldn't find anything from the label description (as there isn't one)

@Ash258 I've changed what you asked for

/verify

/verify

could this get merged?


Support mixed elevation requirements in configuration files

Description of the new feature / enhancement
I want to be able to use a single WinGet Configuration file to configure my system. If for example, I have two packages with opposing elevation requirements, I want WinGet to be able to do the right thing.
The configuration file will need to be decorated appropriately so DSC Resources requiring elevation and those prohibiting elevation can be clearly identified.
WinGet should be able to run only the resources requiring elevation with elevation and all others without elevation.
Proposed technical implementation details
No response

It should be smart enough to detect the elevation requirement right away so it can UAC prompt, not after first having installed x number of per-user apps.

This work was completed for the COM API leveraged by Dev Home, but we still need to do the work for this to function properly in the CLI and the PowerShell cmdlets.

https://github.com/microsoft/winget-cli/pull/4844


bump up version for python-dateutil to support lyftlearnclient upgrade and enable great expectations latest version

Following the discussion from https://github.com/lyft/lyftlearnclient/pull/595 bumping up the version for python-dateutil.
STEP 2: [FAILED] control run piptools.compile lyftlearnclient There is a clash on python-dateutil. GE expects python-dateutil>=2.8.1 but flytekit expects python-dateutil<2.8.1 as from here https://github.com/lyft/flytekit/blob/8eb27ec61771f44bb25614401377b2f70b2c565c/setup.py#L38 There is no later versions of flytekit.

LGTM but I will let @wild-endeavor to confirm

👀  @vinaykakade @jonastim @shirazzaman

👀  @vinaykakade

/PTAL @vinaykakade

Codecov Report

Merging #127 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #127   +/-   ##
=======================================
  Coverage   81.51%   81.51%
=======================================
  Files         213      213
  Lines       13907    13907
  Branches     1142     1142
=======================================
  Hits        11336    11336
  Misses       2302     2302
  Partials      269      269

Impacted Files
Coverage Δ

flytekit/__init__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

+1 . Will be great to get an approval from someone from Flyte as well.


Update Readme link

Update the link from https://almsaeedstudio.com/themes/AdminLTE/ to https://almsaeedstudio.com/themes/AdminLTE/index.html

It's all good :)


Can PDF data be passed as a Blob

This is not a bug. I am just wondering if PDF buffer can be passed?
part := genai.Blob{
		MIMEType: "application/pdf",
		Data:     pdfBytes,
	}

When trying to do so, I get following error:
googleapi: Error 400: Request contains an invalid argument.

Thanks for your help

No, the "gemini-pro" model accepts only text, and the "gemini-pro-vision" model accepts only text and images.


inputfield type

When inputfield is set to number it is only possible to enter integer values on iOS.
There is nog comma on the keyboard.

Hmm, this is new, maybe introduced in a new iOS-version. I will fix this in the coming days.

This is fixes since version 1.1.0, by making sure every keyboard contains a decimal (, or .) and a sign (-). However, the numeric keyboard in iOS now displays a full keyboard, with small numbers, which is not preferred for work outside. Let's keep this issue open, maybe Flutter or Apple will improve this.


UC 20: As a developer, I want to default to work with local code

As a developer, I want to default to work with local code unless otherwise specified.
$ cd my-code-frontend
$ ocd create httpd (local will be inferred)

related to #164


Executing a winrm command that shuts down the machine

It appears a recent commit broke some assumptions in stembuild that executes a sysprep shutdown command that never finishes.
Is there a recommended method of executing a winrm command which may be interrupted by a shutdown? Previously we were expecting an error like winrm connection event: unknown error Post "http://<IP_ADDRESS>:5985/wsman": read tcp <IP_ADDRESS>:34002-><IP_ADDRESS>:5985: read: connection timed out and just continuing when that happened. Now the winrm command never finishes and winrm command fetchOutput goes into an infinite loop waiting for the machine to come back up which will never happen.

Indeed, we used to return early when timeouts were happening, now we try harder because it can happen the remote host just times out for long commands.
Beside making that behavior optional, I don't see exactly how to fix the problem, because both behavior are antinomic.
I'll think about it, but feel free to propose a fix.

I'll have to think on this as well. I'll have to look a little deeper as this may already exist, but I'd expect there to be some sort of configurable command timeout error that would eventually be returned to the caller vs waiting forever.
In this specific case we expect the connection to break - signaling command completion. So the behavior we really want is to execute the command and block until the machine stops responding. The command timeout seems like a good backstop, but I think ultimately in this case stembuild needs to kick off the winrm command one one goroutine and then in another poll for the machine to be shutdown (ideally querying the IaaS).


Not Working in IE11

Looks like the babel object-assign transform is not being applied.  This PR seems to address the issue:  https://github.com/misterfresh/react-easy-transition/pull/8.  Would love to use this component for an upcoming release :D

this has been solved


Feature request: Show untitled file in language

VSCode Version: 1.4.0
OS Version: OSX El Capitan

This is a feature request to view an untitled new file as a particular language. This would help view syntax format may be help while still being in an anonymous mode.
This is helpful in quick and dirty code that can be written tested and sent off to someone else.

On the bottom right, next to the smiley face, click on Plain Text to select your language

Thanks for pointing out. Please close the issue.
Regards,Rahul
Get Outlook for iOS
On Fri, Aug 19, 2016 at 7:18 PM +0530, "Alexis Brodeur"<EMAIL_ADDRESS>wrote:
On the bottom right, next to the smiley face, click on Plain Text to select your language
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


t: set as broken

Hello,
I tried to use the command line tool t for Twitter (https://sferik.github.io/t/), and it seems that it's broken, I've been unable to do the first task: to authenticate myself.
There is an issue open about this at https://github.com/sferik/t/issues/454
The last commit of the project is from 2020, I guess it's no more maintained anymore.

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Please do provide some background info (like in the PR description) either in the commit message or in a comment above the broken mark. Otherwise context might get lost.
Another option is to remove the package altogether and put in a throw in aliases.nix, since it seems unlikely this will be fixed at all.


Config with Consul KV

Please provide a Consul Config Provider. Suggested code:
https://github.com/wintoncode/Winton.Extensions.Configuration.Consul

Hi @anperim,
Thanks for the suggestion - but given that you've pointed us towards a solution that appears to be actively maintained, it's not clear what more you'd like us to provide... Could you please be a little more specific about what you'd like to see us do that isn't being accomplished with the other project?


No build in docker

https://github.com/mehdihadeli/ecommerce-microservices-sample/blob/2f553863e3271bcf024cbb66d4b3e3709f84a809/src/ApiGateway/Dockerfile#L10
build only in this case.
COPY ./src/ApiGateway/ECommerce.ApiGateway/ECommerce.ApiGateway.csproj ./ApiGateway/ECommerce.ApiGateway/
maybe I do something wrong.

Hi @Garkavuk,
Thanks for your feedback.
I had some folder change structure yesterday, I think that is the reason of some incorrect path in docker files.
I will fix docker files tomorrow and let you know here :)

@Garkavuk Hi,
Docker bugs should be fixed


Improve autocompletion and hints for Lua test-cases

As of 27.10.2023, the types from cloe-engine.types are imported into cloe.engine, which is then imported into the cloe table. There are also many functions that are defined in cloe.engine which are imported into the cloe table.
However, the current Lua language server we are using treats all these imported functions as just "fields".

[x] Find out limitations of the Lua language server:
[x] Is this a known issue?
[x] Can we fix it?
[x] What are alternatives?

Problem is fixed in develop. It feels a little hacky, but it works.


Add Makefile

I'm preparing another pull request with basic instructions on how to contribute to this project and the makefile should make it easier to work with it for those who develop in command line.

Even though I really like Makefiles for larger projects, I don't think it's necessary for project like chi. Is there any other simple router out there with Makefile?.
We can run go build, go test or go fmt directly in the single directory. There's no hidden magic that'd require us to run make. Thoughts?

Yes, we can just use go commands and chi is not that big project (yet), but, for example, "make" can be set to default go build && go test && go fmt later when you notice a lot of issues with formatting and it won't be required to update the build instructions or change workflow then.
Anyway, your point also makes sense, so if you are still not sold for this workflow, just close this pull request and I'll update  #8 with raw go commands.
Thanks for quick response!

@vladdy thanks for the PR, but we'd like to keep things as lean as possible.


Add custom rules to depot

Depot file it's not just folder with a game, it's have much more important rules like FileProperties or FileExclusion how can I add a such options to generated depot?

Good shout!
You'd have to extend the action to support this kind of functionality. This repo is open for everyone to contribute to and makes for a stable central logic that everyone can use.

If I understand correctly, the question can be summarized like this:

How can I customize the Github Actions parameters to add options like FileProperties or FileExclusion to the Steam depot using steam-deploy action to support game folders with special configurations?

I'd say it's important to have a good understanding of how github actions work first. Here's a great starting point:
https://docs.github.com/en/actions/creating-actions
The steps required to customize and add FileProperties and FileExclusion inputs to the action should look like this:

Fork the repository

Add new inputs to your fork's actions.yml. Would probably look something like this (draft):
inputs:
  ...
  fileProperties:
    description: 'Additional file properties to apply.'
    required: false
  fileExclusion:
    description: 'Patterns of files to exclude.'
    required: false

Add desired logic to steam_deploy.sh. Here's an untested draft

--- a/steam_deploy.sh
+++ b/steam_deploy.sh
@@ -1,5 +1,7 @@
 #!/bin/bash
 set -euo pipefail
+fileProperties=${FILE_PROPERTIES:-''}
+fileExclusion=${FILE_EXCLUSION:-''}
 IFS=$'\n\t'

 steamdir=${STEAM_HOME:-$HOME/Steam}
@@ -40,6 +42,14 @@ until [ $i -gt 9 ]; do
     cat << EOF > "depot${currentDepot}.vdf"
 "DepotBuildConfig"
 {
+  "DepotID" "$currentDepot"
+  "FileMapping"
+  {
+    "LocalPath" "./$currentDepotPath/*"
+    "DepotPath" "."
+    "recursive" "1"
+  }
+EOF
+
+  if [ -n "$fileExclusion" ]; then
+    echo "  \"FileExclusion\" \"$fileExclusion\"" >> "depot${currentDepot}.vdf"
+  fi
+
+  if [ -n "$fileProperties" ]; then
+    echo "  \"FileProperties\" \"$fileProperties\"" >> "depot${currentDepot}.vdf"
+  fi
+
+  echo "}" >> "depot${currentDepot}.vdf"

   cat depot${currentDepot}.vdf
   echo ""

Push changes to your fork

To test these changes, update your unity project's workflow file to point to your steam-deploy fork. It should look something like your_github_username/steam-deploy@master (replace master with your branch or tag where you added the changes).

If you plan to contribute changes back to the repository with a pull-request, make sure you follow the contributing guidelines.
Let us know if you have questions 🙏

Thanks everyone, I have no issue making it in my fork, I just put it here to keep track. I will check @GabLeRoux solution and if it works and usefully I will come back with PR.


Flutter issues after update to Android Studio 4.2.1

OS Windows 10 Pro 64-bit

Download and install Android Studio 4.2.1. Open it and let it download and update all the files that it needs. All new tools are available (database inspector, emulator window, profiler - but it says 6 Problems as soon as it starts up, before doing anything and it does not show what problems or where). Set and save option to open emulator in window (not as standalone).
Download and install Flutter and Dart plugins inside Android Studio.
Download and unpack Flutter (version 2.2.0). Run Flutter doctor, accept Android licenses.
Open new Flutter project in Android Studio: no new tools (no database inspector, no emulator window, no profiler) - bottom toolbar reports 6 Problems but doesn't show them (this happens when opening a regular Android project page also)
Run Flutter doctor: all good except Android Studio not found
Run flutter config --android-studio-dir="path to your directory" (tipically on Windows 10 "C:\Program Files\Android\Android Studio")
As per years ago it doesn't see the plugins (Flutter and Dart) but now also says Android licenses status unknown
Running flutter doctor --android-licenses produces an error

Logs
As per step 5:

As per step 7 (after running flutter config --android-studio-dir="path to your directory") :

As per step 8:

##Android Studio
As per step 1 (Android project, all tools available, 6 Problems):

As per step 4 (Flutter project, no new tools, 6 Problems):

If I revert to step 5 (running android dir empty and getting Android Studio not found in Flutter doctor) and open a new Flutter project I can (apparently) build an app, but I don't have database inspector, emulator window (I'm forced to open the emulator as standalone and it does the old ADB not found dialog, these are all oldoldold issues) or profiler. And I always have the 6 mysterious Problems...
I can see that it finds Java in different locations according to the fact that it finds Android Studio or not.
I haven't found anything online yet about all this and I'm surprised. I hope someone will find the time to explain what's going on.
Thanks
P.S.
I tried with Flutter on the same hard drive as AndroidStudio (C:\Users\User\flutter). Same results.
I'm beginning to think that I could fix it if I knew how to tell Flutter to accept the android licenses on the Java at C:\Program Files\Android\Android Studio\jre\bin\java
Flutter is accepting them on Java at C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
I don't know about the missing tools, maybe it has to do with the workspace.xml file
No idea what the 6 mysterious Problems are...

Hu @emru67
This is a known issue, you need to install this
Closing as duplicate of https://github.com/flutter/flutter/issues/80273
Thank you

Thank you @TahaTesser
downloading Android SDK command line tools fixed the detection and licenses problems.
But I still have no database inspector, profiler and emulator tool window.
The emulator on start still gives me the ADB not found dialog.

But I still have no database inspector, profiler and emulator tool window.

This is not related to Flutter

The emulator on start still gives me the ADB not found dialog.

Also not related to Flutter
Open the Project window and select any Android API

@TahaTesser thanks but I think this:

But I still have no database inspector, profiler and emulator tool window

is a Flutter issue because if I open the android app inside the same project I get all the tools back. When I go back to Flutter they disappear again.

@emru67
You're using Android Studio/Intellij, it uses Flutter plugins, please file an issue plugin side, Flutter doesn't decide what tools would show in the IDE


How do I connect extensions and save all the settings?

Can you please tell me how to connect extensions and save all settings?

ь


Add a hint to use minimatch patterns

helps #3268

@MarkIannucci : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@vijayma
Could you review the proposed changes to your article?
Thanks!

@vijayma (refresh notification)

@steved0x Could you review this pipelines pull request? Thanks.

#sign-off

#sign-off

@steved0x: I'm sorry - only the author of this article, @vijayma, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@steved0x: I'm sorry - only the author of this article, @vijayma, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


add option to BUILD_WITH_PFLOGGER

Add option to skip pflogger library if BUILD_WITH_PFLOGGER is OFF

@mathomp4 - let me know if you prefer a different name for this option. E.g., USE_PFLOGGER or even the opposite SKIP_PFLOGGER. Best to be consistent.

Well, in MAPL we did:
option(BUILD_WITH_FLAP "Use FLAP for command line processing" ON)
if (BUILD_WITH_FLAP)
  find_package(FLAP REQUIRED)
endif ()

so I suppose this is consistent with how we handled this issue there?

@mathomp4 - right.  Thanks.


Multiple fixes for RPM and in docs RPM distros.

Correct requires for libXss across Fedora/RedHat (and derivatives) and SUSE.
Split instructions for Fedora and RHEL etc. i.e. yum and dnf.
Never use --assumeyes or -y installing packages. atom 1.12.7 shows if
this had been done by end users it would have caused them great issue.
Fedora 22 is End Of Life (EOL), so no instructions needed.

Looks great, thanks @philwyett-hemi! ✨

@philwyett-hemi  @as-cii  Testing this change on centos, I'm seeing the following error:
This change went out on stable and beta.  @iolsen, We should probably roll this change back as 1.12.7 works with work around, it installs but won't start up unless you install
screenshot:

[bryant@localhost Downloads]$ sudo yum localinstall atom.x86_64.rpm
[sudo] password for bryant:
Loaded plugins: fastestmirror, langpacks
Examining atom.x86_64.rpm: atom-1.12.8-0.1.x86_64
Marking atom.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package atom.x86_64 0:1.12.8-0.1 will be installed
--> Processing Dependency: lsb-core-noarch for package: atom-1.12.8-0.1.x86_64
Loading mirror speeds from cached hostfile
* base: mirror.keystealth.org
* extras: centos.sonn.com
* updates: centos.mirror.lstn.net
--> Processing Dependency: libXss1 for package: atom-1.12.8-0.1.x86_64
--> Running transaction check
---> Package atom.x86_64 0:1.12.8-0.1 will be installed
--> Processing Dependency: libXss1 for package: atom-1.12.8-0.1.x86_64
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7.centos.1 will be installed
--> Processing Dependency: redhat-lsb-submod-security(x86-64) = 4.1-27.el7.centos.1 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: spax for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Processing Dependency: /usr/bin/m4 for package: redhat-lsb-core-4.1-27.el7.centos.1.x86_64
--> Running transaction check
---> Package atom.x86_64 0:1.12.8-0.1 will be installed
--> Processing Dependency: libXss1 for package: atom-1.12.8-0.1.x86_64
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1 will be installed
---> Package spax.x86_64 0:1.5.2-13.el7 will be installed
--> Finished Dependency Resolution
Error: Package: atom-1.12.8-0.1.x86_64 (/atom.x86_64)
Requires: libXss1
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
ipa-client-4.4.0-14.el7.centos.1.1.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-14.el7.centos.1.1.x86_64
ipa-client-common-4.4.0-14.el7.centos.1.1.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-14.el7.centos.1.1.noarch
ipa-common-4.4.0-14.el7.centos.1.1.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-14.el7.centos.1.1.noarch

1.12.7 works after you run sudo yum install libXScrnSaver on centos
Tested on Centos 7.3.611

+1 to @ungb , I can't install 1.12.8 on Fedora 24.
Error: nothing provides libXss1 needed by atom-1.12.8-0.1.x86_64

libXScrnSaver is already installed on my system:
dnf list installed libXScrnSaver
Installed Packages
libXScrnSaver.i686                                   1.2.2-10.fc24
libXScrnSaver.x86_64                                 1.2.2-10.fc24

Same here, fedora 25, can't install 1.12.8. did this :
sudo dnf install libgnome-keyring-devel rpmdevtools libX11-devel libxkbfile-devel libXScrnSaver

but still
Error: nothing provides libXss1 needed by atom-beta-1.13.0.beta9-0.1.x86_64

1.12.7 is ok though

Same here, Oracle Linux 7.3: can't install 1.12.8:
# yum install atom.x86_64.rpm
Error: Package: atom-1.12.8-0.1.x86_64 (/atom.x86_64)
           Requires: libXss1

Seems like OL7 and centos7 should require libXScrnSaver like fedora and rhel.  1.12.7 worked, but required libXScrnSaver.i686 on x86_64 machines. 1.12.6 installed without any dependency issues.
Also, not allowing --assumeyes or -y breaks DevOps automation.


migrate oauth to @slack/bolt

As mentioned in #3. Everything was pretty easy to read in the initial commit but we are no longer capable of hitting the /oauth endpoint without some undocumented workaround https://github.com/slackapi/bolt-js/issues/283#issuecomment-541738590 which certainly cannot be the right way to go about this.
With the migration to @slack/bolt we have shifted from various endpoints to what is now, all pointing towards /slack/events but it looks like this particular method might bounce off a /slack/oauth endpoint so we will need to be sure we have set that. https://slack.dev/bolt-js/concepts#authenticating-oauth
We still have the @slack/oauth package installed, if we don't need it let's remove it.

Closing as there is no real intention to deploy to the Slack App store


Support global sprintf and vsprintf for use in  browser.

@jasonswearingen could you review this PR?

sprintf-js adds two global function (sprintf and vsprintf) if used in browser with script tag.  So this PR adds those two global functions so that sprintf-js.d.ts works correctly in node and also in browser.

I'm not sure about this, as it (looks like) will add the sprintf and vsprintf globals when using /// of the d.ts
@vvakame do you have guidance on this?   It is adding browser

@jasonswearingen, I'm aware of this,  but this is not much different that it is in other libraries. For example, underscore also provide global variable '', used in browser but add phantom '' in other environments. So IMHO d.ts files should work in all environments.

I'm fine with the checkin, just not sure about the trade off, so if that's standard, ok with me!

thanks mate!
@jasonswearingen We don't have guidance now. :crying_cat_face:
Many definitions have phantom globals.
You may be interested in here. https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/moment


Create Checkup/Survey Model

In client/models/ (which will be available once this PR merges), we need to create a Checkup data model for each checkup or survey associated with a CoronaTracker user.
Acceptance Critera:

There is a new model in client/models/ outlining what a checkup/survey will look like in the database

Notes:

May require some discovery and finalization with regards to what information we'll be gathering. This can be incremental, though - we just need a general model for now.

Do you mean like a table format? Each survey question should populate a field and each user should populate a row. Or in json each user is a dictionary and each field is a key and their answer is a value. Is that what you mean?

Yeah, that's what I had in mind. Radiks implements MongoDB to aggregate the user data stored in Gaia (Blockstack's object/file store) in a centralized location so that it's easily queryable and manipulatable (see here for a better explanation than I can probably provide).
This was more of a discussion on the specific fields we'll store in the JSON object associated with each checkup/survey taken for each user.
Querying would be something as simple as Checkup.fetchOwnList() - an example of something similar is being done in master now with a dummy "Patient" model.

I c an give you some fields if you want.

That would be great! Yeah I've just been hesitant to add them myself, but just even a first set of things we'd need.
I'm thinking like:

if you have a fever
if you are having trouble breathing
your location
etc...

I just don't have the medical know-how to designate a set list and wanted to defer to someone with more expertise. If you give me the list, I can create the model and add some dummy data to the QA environment tonight/tomorrow morning if that works for you 🚀 (or if you want to tackle it all let me know!)

Here's a spread sheet we should use to collate survey questions and align it with 1) the purpose of this data and 2) how we would store it in the backend.
https://docs.google.com/spreadsheets/d/1Ji0sxIqFI49EZb7Mz4F0nkSBn1JSNMXiKjFAzJC2Jso/edit?usp=sharing
Let's make a call on discord tomorrow for a survey team that is different from the core team getting v1 out.

Good idea, thanks! Yeah, let’s get on it tomorrow for sure


Inefficient parsing of CSV files

As a developer of opencsv, I am interested in how projects use opencsv, and trying to get projects to use the latest version, if it is to their advantage.
Upon reviewing the use of opencsv in rdf4j, I discovered two things that should greatly improve performance of parsing CSV files, as well as TSV files:

rdf4j uses version 3.5 of opencsv, which is 8 versions out of date. Versions starting with 4.0 can process CSV records in parallel, increasing performance.
Parsing of CSV and TSV files uses a regular expression that is recompiled on every pass through a loop, which is very inefficient.

I am submitting a pull request that updates the POM to use opencsv 4.2 and refactors parsing of CSV files to take advantage of the parallelism in opencsv. Parsing of TSV files could probably be improved the same way, but I have not examined that closely. (opencsv can easily use a tab as the separator.) The pull request also moves the reused regular expression to a final class variable to eliminate recompilation.

Thanks for this Andrew! We'll need to put the new version of opencsv through Eclipse legal review before we can include it in a release, but I don't expect there to be any issues.
CQ logged here https://dev.eclipse.org/ipzilla/show_bug.cgi?id=17088


Appsync with Prisma Cloud

On the system architecture I see there is:
Gateway -> Lambda -> Prisma (Graphcool)
What about:
AppSync -> Lambda -> Prisma Cloud (Private cluster)
Is this possible?

@abelovic to integrate appsync with prisma we would need to pass GraphQL info object in the resolver functions. As of right now appsync doesn't provide this functionality.

@sid88in - thanks for your help! I will check with AWS support and see if they have any plans to implement this


Bengali translation missing

https://quran.zendesk.com/hc/en-us/community/posts/360000250771-Bengali-translation-missing

Fixed.


DOM lib: Add support for Trusted Types API

Search Terms
Trusted Types, DOM
Suggestion
Trusted Types (spec, introductory article) is a new experimental DOM API implemented within the WICG , with a working Chrome implementation.
The API creates a few new objects available on the global object in the browser, like most other web APIs (impl in TS and in Closure compiler).
Under certain conditions, controlled by a HTTP header (analogous to Content-Security-Policy behavior), the API can enable the enforcement - then it changes the signature of several DOM API functions and property setters, such that they accept specific object types, and reject strings. Colloquially, DOM API becomes strongly typed.
For example, with Trusted Types Element.innerHTML property setter accepts a TrustedHTML object.
Trusted Type objects stringify to their inner value. This API shape is a deliberate choice that enables existing web applications and libraries to gradually migrate from strings to Trusted Types without breaking functionality. In our example, it makes it possible to write the following:
const policy = TrustedTypes.createPolicy('foo', {
  createHTML: (s) => { /* some validation*/; return s}
});

const trustedHTML = policy.createHTML('bar');
anElement.innerHTML = trustedHTML

anElement.innerHTML === 'bar'

The above code works regardless if the Trusted Types enforcement is enabled or not.
Reading from the DOM is unaffected, so Element.innerHTML getter returns a string. That's for practical reasons -- web applications read from DOM more often than they write to it, and only writing exposes the application to DOM XSS risks. Typing only the setters allows us to secure web applications with minimal code changes.
It's difficult to map that API using TS types (due to #2521). The only way is to change the DOM sink functions to have the any type, which is obviously suboptimal.
Use Cases
Writing a TS application that uses the Trusted Types API.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

For an additional data point, the way the closure compiler supports those sink assignments seems to be through the @implicitCast annotation.

Trusted Types are now available in Chrome canary.

Need it, it's on Chrome official release :x

FWIW, it looks like there's finally some traction on #2521 so this might become feasible at some point.

FWIW, it looks like there's finally some traction on #2521 so this might become feasible at some point.

@RyanCavanaugh, any update on this?

The setters/getters typing needed to unblock this will, to my understanding, ship in 4.3. Should we create a PR to change the lib.dom.d.ts type annotation for the sinks to align with https://w3c.github.io/webappsec-trusted-types/dist/spec/ ? Essentially, in a couple of places in DOM the setter type would be TrustedHTML | string (or similar unions for other types), instead of string.

Seems to we well supported now

https://developer.mozilla.org/en-US/docs/Web/API/TrustedTypePolicyFactory/createPolicy

Would be great to have TS support for this.

The necessary TS language support landed in 4.3: https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/#separate-write-types
I had assumed somebody was updating the standard library declarations to accommodate this, but maybe that never happened?  In any case, as far as I'm aware that's all that's left to do, and it should be pretty straightforward.

Should we create a PR to change the lib.dom.d.ts type annotation for the sinks to align with https://w3c.github.io/webappsec-trusted-types/dist/spec/ ? Essentially, in a couple of places in DOM the setter type would be TrustedHTML | string (or similar unions for other types), instead of string.

Yes, if you have bandwidth @koto! :)

This is starting to block our adoption of Trusted Types so we took a look as well. Is https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1246 roughly what you guys had in mind as next step? Can you pls take a look? Thanks.

microsoft/TypeScript-DOM-lib-generator#1246 is backward-incompatible and will break a bunch of existing code.  The fix is to only widen the type on writing, while leaving the read type the same:
interface Element {
  get outerHTML(): string;
  set outerHTML(html: string|TrustedHTML);
}

@shicks , the PR with the fix has been updated, can you please check the fix again for backward-compatibility? Thanks.


Add information on mainframe infrastructure

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1204290539563427

Hi @jmertic, are you able to share any info on what z/OS Remote Development program is?
The link seems to be an IBM internal link..

Next actions:

Meredith/IBM team to review and determine what specifically they can support.
Follow up with Vicom on cost estimates after IBM determines their contributions.
Meredith to get licensing setup for IBM products.

Thanks for the list, I assumed it was an IBM internal, access-based thing.
Maybe it just needs signup.
Are you able to share any info on what z/OS Remote Development program is?

The RDP is:
The IBM Z Remote Development Program (RDP) offering is available to qualified IBM Z Indepen-dent Software Vendors (ISV).  Membership in IBM PartnerWorld is a requirement for participation in the RDP offering.  The RDP offering provides IBM Z ISVs with low-cost remote access to virtual system environ-ments for the purposes of developing, porting, and testing applications that run on IBM Z plat-forms.  The virtual guest system environments include supported generally available versions of operating systems that run on  the IBM Z platform, including z/OS, z/VM, z/VSE, and Linux on z Systems distributions (Red Hat, Inc., SUSE LLC, Canonical).  Operating systems and IBM soft-ware products that have reached end of support (EOS) are generally not available.

@v1gnesh - i'm not old enough to be a legend :)

Hi @jmertic, please have a look at Tailscale for secure wireless access & all the related bells and whistles.
Tailscale is built on WireGuard, which is "new" VPN technology.
I'm looking to port a user-space implementation (in Go) of WireGuard to z/OS.
https://github.com/orgs/ZOSOpenTools/discussions/281#discussioncomment-5822155
That aside, I think it's worth looking into this tech (WireGuard) anyway, as a successor to IPSec on z/OS.

Looks interesting @v1gnesh  - I think we probably need to align with Marist's requirements but definitely want to use open source tooling as much as possible for compatibility.


implement polynomial based harmonization

then check on models for improvement

Internal harmonization function was implemented for only two datasets. Goal will be put off, as it will not go to GUI .


Web-FE: Implement Hospital Sign up design

Web Front-end Implementation of the Hospital Sign up design

@DevPeter1454 can you give more details about this issue?

My pull request should fix this

Yh @Hadestech01 Well-done


Don't load scene robot's state into env-created new robot

Prevent loading a robot with the wrong configuration upon initializing the environment

This is a pre-step for #844

Changed fetch robot arm from ik controller to joint controller

Additional fixes on torch tensors

Action items

Fix use_delta_motion arm behavior
performing grasping does not pick up the object (video attached)
performing grasping when navigation is still necessary, navigate_to_pose not triggered / invalid RRT solution (video attached)

Screencast from 08-26-2024 07:25:12 PM.webm
Screencast from 08-26-2024 07:27:27 PM.webm

Revived the action primitives test and examples for Fetch robot (Tiago wip)
Fixed issues:
Fixed issue 1: the sticky grasp does not pick up the object issue - caused by multi-scene import
Fixed issue 2: the settle_robot action raises the robot arm instead of performing an no-op
Fixed issue 3: torch tensors dtype for Fetch (Tiago wip)
Fixed issue 4: action primitives navigation across all example scenes
Fixed issue 5: added a more verbose output of the action primitive errors
Fixed issue 6: Don't load scene robot's state into env-created new robot, prevent loading a robot with the wrong configuration upon initializing the environment
Pending issues:
Collision detection with the grasped object, pending for curobo implementation


Microsoft.DBforMySQL/flexibleServers version 2021-05-01 documents property fullyQualifiedDomainName that does not exist service-side

Originally reported here:
https://github.com/Azure/bicep/issues/5328

'fullyQualifiedDomainName' exists in server properties in file https://github.com/Azure/azure-rest-api-specs/blob/main/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2021-05-01/mysql.json#L1743
and this property also returned in service side when Get server.
Since there is extension "x-ms-client-flatten": true set in server.properties, Should use mySqlServer.fullyQualifiedDomainName in bicep?

Thanks - this looks like it is a bicep issue, not a swagger issue. Thanks for following up.


Cant broadcast event without subscription

E/flutter ( 7089): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: tried to push 'broadcast' to 'realtime:ea25d91d-d424-4da6-a246-19bc9effce52' before joining. Use channel.subscribe() before pushing events
E/flutter ( 7089): #0      RealtimeChannel.push (package:realtime_client/src/realtime_channel.dart:376:7)
E/flutter ( 7089): #1      RealtimeChannel.send (package:realtime_client/src/realtime_channel.dart:402:23)
E/flutter ( 7089): #2      BroadcastChannelController.sendDirectMessage (package:example/src/controllers/broadcast_channel_controller.dart:50:43)
E/flutter ( 7089): #3      SuperwizerChatController.updateMessage (package:example/src/controllers/superwizer_chat_controller.dart:47:45)
E/flutter ( 7089): #4      _ChatScreenState._onSendTap.<anonymous closure> (package:example/src/screens/bottom_navigation_bar_screens/chat/chat_screen.dart:354:23)
E/flutter ( 7089): #5      new Future.delayed.<anonymous closure> (dart:async/future.dart:427:39)
E/flutter ( 7089): #6      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
E/flutter ( 7089): #7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
E/flutter ( 7089): #8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
E/flutter ( 7089): #9      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)

I want to send a broadcast message by making http request to realtime servers, however i'am unable to it with my dart client
as mentioned here to do in js
This is my dart code
 void  sendDirectMessage(
      JSONMap map, String event, RealtimeChannel sendingChannel) async {
    final response = await sendingChannel.send(
        type: RealtimeListenTypes.broadcast, event: event, payload: map);
    debugPrint(response.toString());
  }

@dshukertjr

This got just merged a few days ago in realtime-js https://github.com/supabase/realtime-js/pull/251

Cant i do the same in flutter, if not how can how using just rest api

@dshukertjr I have an implementation ready. Though without tests currently, but will look into that. Do we wanna ship it to v1 or v2? We could ship together with #653

@Vinzent03 Thanks for the quick work. I think it's fine to slip it into v1 then!

when you guys are releasing new version at pub.dev i need this feature asap

@Yogesh-Dubey-Ayesavi
It will probably be out within the next 24 hours. We would ask you to wait patiently.

Thanks @dshukertjr  @Vinzent03

 void  sendDirectMessage(
      JSONMap map, String event, RealtimeChannel sendingChannel) async {
    final response = await sendingChannel.send(
        type: RealtimeListenTypes.broadcast, event: event, payload: map);
    debugPrint(response.toString());
  }

I'am still not able to send message neither it's throwing any error like before nor sending messages

Works fine for me. You may place a breakpoint in the send method (line 438) to see the reason for that error. Or first try the following: Since the dashboard doesn't show the realtime server version, please try pausing and unpausing your project to update your realtime server.

@Yogesh-Dubey-Ayesavi
You have the wrong URL for your RealtimeClient. Try passing '$supabaseUrl/realtime/v1'.replaceAll('http', 'ws') where supabaseUrl is your Supabase URL from the dashboard.
If after fixing the URL you are still not able to receive the message, please share the receiving end of the code as well.

Yeah resolved!

This must be mentioned in documentation


[CI] Failing E2E tests

Current Behavior

https://github.com/meshery/meshery-nginx-sm/actions/runs/6887101726
Expected Behavior

All E2E test should pass for latest Meshery Adapter for NGINX Service Mesh.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Meshery Adapter Version: stable-v

Contributor Guides and Resources

📝 Meshery Adapters Spreadsheet
🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@theBeginner86 I can take it up. Can you assign it to me?

This issue has been open for some time with no recent activity, unassigning to open it up for new contributors to give it a go.


fix(derive): Granite Hardfork Support

Description

[!NOTE]
Blocked by superchain-registry#440

Updates the kona derivation pipeline to use the updated superchain-primitives and superchain-registry with the granite hardfork.

#420  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @refcell and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 77.6%. Comparing base (e069eb4) to head (a292d05).

Files
Patch %
Lines

crates/derive/src/stages/channel_bank.rs
40.0%
3 Missing :warning:

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


sendBatch not producing all message when only one of the all fails

I’ve hit something which feels like a bug. Using sendBatch to send this works perfectly?
[
  {
    "topic": "topic1",
    "messages": [
      {
        "value": "value1"
      }
    ]
  },
  {
    "topic": "topic2",
    "messages": [
      {
        "value": "value2"
      }
    ]
  },
  {
    "topic": "topic3",
    "messages": [
      {
        "value": "value3"
      }
    ]
  }
]

However, sending one of the three with a topic doesn't exist, it ends up with none of the three messages produced,
[
  {
    "topic": "wrongTopic",
    "messages": [
      {
        "value": "value1"
      }
    ]
  },
  {
    "topic": "topic2",
    "messages": [
      {
        "value": "value2"
      }
    ]
  },
  {
    "topic": "topic3",
    "messages": [
      {
        "value": "value3"
      }
    ]
  }
]

and sure Kafka returned exceptions
{
  "level": "ERROR",
  "timestamp": "2021-04-17T00:35:47.479Z",
  "logger": "kafkajs",
  "message": "[Connection] Response Metadata(key: 3, version: 6)",
  "broker": "mybroker",
  "clientId": "test",
  "error": "This server does not host this topic-partition",
  "correlationId": 5,
  "size": 712
}

Environment:

OS: [Mac OS 10.15.7]
KafkaJS version [1.15.0]
NodeJS version [v10.23.2]

is it expected to produce the two with correct topics?

KafkaJS requires you to have all three topics created in your Kafka Cluster prior to producing to those topics. This is not a bug, but is expected behavior.


Use the original UnitsRefunded event as starting point

Can you make it build?

Can you make it build?

Yes.

Yes.


[Feature]: enhance validate feature access

hasFeatureAccessOrThrow -> lock route

@phollome
isnt that already implemented with getFeatureAccessOrThrow()?


Update default nginx backend container to fix healthcheck

This PR deploys this changes

Build failed; the context from the latest run is:
Expand to view
[2019-07-09T08:43:12.158Z] Pull request #2 opened
[2019-07-09T08:43:12.159Z] Pull request #2 opened
[2019-07-09T08:43:12.161Z] Connecting to https://api.github.com using jenkinsadmin/****** (GitHub access token for jenkinsadmin)
[2019-07-09T08:43:12.563Z] Connecting to https://api.github.com to check permissions of obtain list of olblak for jenkins-infra/charts
[2019-07-09T08:43:13.219Z] Obtained Jenkinsfile from 2a7b038277942b9616666169f18dc040e61d3b76+ded0e64560b33db692606f47965353741dcb4a29 (47b952efe9c51773ff6bda8b5e7b922e1fd6d2ef)
[2019-07-09T08:43:13.219Z] Running in Durability level: MAX_SURVIVABILITY
[2019-07-09T08:43:13.238Z] Loading library pipeline-library@master
[2019-07-09T08:43:13.238Z] Attempting to resolve master from remote references...
[2019-07-09T08:43:13.475Z] Found match: refs/heads/master revision 0a04853d1e010ab78ba78505d8b2b60b49f87d93
[2019-07-09T08:43:13.486Z] No credentials specified
[2019-07-09T08:43:13.488Z] Cloning the remote Git repository
[2019-07-09T08:43:13.488Z] Cloning with configured refspecs honoured and without tags
[2019-07-09T08:43:13.675Z] remote: Enumerating objects
[2019-07-09T08:43:13.675Z] remote: Counting objects
[2019-07-09T08:43:13.676Z] remote: Compressing objects
[2019-07-09T08:43:13.681Z] Receiving objects
[2019-07-09T08:43:13.718Z] Resolving deltas
[2019-07-09T08:43:13.824Z] Fetching without tags
[2019-07-09T08:43:13.863Z] Checking out Revision 0a04853d1e010ab78ba78505d8b2b60b49f87d93 (master)
[2019-07-09T08:43:13.881Z] Commit message: "Merge pull request #91 from AbhyudayaSharma/benchmarks"
[2019-07-09T08:43:13.882Z] First time build. Skipping changelog.
[2019-07-09T08:43:15.820Z]
[2019-07-09T08:43:15.820Z] GitHub has been notified of this commit’s build result
[2019-07-09T08:43:15.820Z]
[2019-07-09T08:43:15.821Z] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[2019-07-09T08:43:15.821Z] WorkflowScript: 3: Invalid agent type "kubernetes" specified. Must be one of [any, docker, dockerfile, label, none] @ line 3, column 5.
[2019-07-09T08:43:15.821Z]        kubernetes {
[2019-07-09T08:43:15.821Z]        ^
[2019-07-09T08:43:15.821Z]
[2019-07-09T08:43:15.821Z] 1 error
[2019-07-09T08:43:15.821Z]
[2019-07-09T08:43:15.821Z] 	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
[2019-07-09T08:43:15.821Z] 	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
[2019-07-09T08:43:15.821Z] 	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
[2019-07-09T08:43:15.821Z] 	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
[2019-07-09T08:43:15.821Z] 	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
[2019-07-09T08:43:15.821Z] 	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
[2019-07-09T08:43:15.821Z] 	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
[2019-07-09T08:43:15.821Z] 	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
[2019-07-09T08:43:15.821Z] 	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
[2019-07-09T08:43:15.821Z] 	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:133)
[2019-07-09T08:43:15.821Z] 	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:126)
[2019-07-09T08:43:15.821Z] 	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:561)
[2019-07-09T08:43:15.821Z] 	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:522)
[2019-07-09T08:43:15.821Z] 	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:320)
[2019-07-09T08:43:15.821Z] 	at hudson.model.ResourceController.execute(ResourceController.java:97)
[2019-07-09T08:43:15.821Z] 	at hudson.model.Executor.run(Executor.java:429)
[2019-07-09T08:43:15.821Z] Finished: FAILURE

Powered by the Comment Logger


"nuxt.render" does not  return Promise

version: 1.0.0-rc11

i can not use like that
yield app.nuxt.render(this.req, this.res)

Is that line of code a piece of some generator function, or were you looking for the await keyword instead?
Nothing about that code should work on its own, yield doesn't inherently do any Promise unwrapping.

I got the same problems!
It's not a thing with yield or await.
The method render SHOULD return a Promise as the documents say here .
BUT in fact, nuxt use a module called connect. Check the handle method of connect, it returns a undefined. So nuxt.render returns a undefined.
Oh my god !

Although there is something wrong with the document.
Here is a very good example.
It shows how to use the render method correctly!
The point is:
app.use(async (ctx, next) => {

        await next()

        ctx.status = 200

        return new Promise((resolve, reject) => {
            ctx.res.on('close', resolve)
            ctx.res.on('finish', resolve)
            nuxt.render(ctx.req, ctx.res, promise => {
                promise.then(resolve).catch(reject)
            })
        })

    });

This seems to be resolved now. Closing. Reopen if still happens.


Bug: Gramatical error in settings -> Privacy

It should say "third" instead

Consider it's done 👍


Trying to understand .phtml

I'm trying to understand about coding in the .phtml file in the theme folder, so that i can do some customization.
In the file bb-themes/boxbilling/html/mod_servicehosting_order.phtml, i am interested in displaying the content of a few arrays, for example "request", "product"
Something like {% print product %}, or {% echo product %} is not working, since this is not naive php
Could anyone kindly help?
Thanks!

Its twig language

Thank you very much, @scith


Use newer version of mysql2 to fix #1222 undeclared identifier

error: use of undeclared identifier 'MYSQL_SECURE_AUTH'
fixes #1222

I have removed Gemfile.lock from the repository. See Update5 at the top message of #1209 PR.
I think we should not worry about issues depend on Gemfile.lock anymore.


[firebase_ml_vision] Text Recognizer is not working!

Describe the bug
Text Recognizer is not able to detect text, and is returning some non-null value.
To Reproduce
Steps to reproduce the behavior:

Run example in firebase_ml_vision or use Implementation as mentioned in docs.
Build and run the app in android emulator/device.
The returned output of VisionText is some non-null value other than text.

Expected behavior
The output of text in VisionText is expected to be text/block of text. I had implemented same in similar manner but unable to get output now.
Additional context
Whenever the recognition of text is expected, I/native  (12983): photo_ocr_engine.cc:2199 generic::internal: is getting logged.

Notice that ResolutionPreset is defined as medium in the example, which turns out to be low detection. Changing resolution to high or very-high will help.


Change license to a more permissive

This library uses the GPL license which makes it actually impossible for us to use as it would require us to use the GPL license as well as disclose our source code. Working on a commercial product it would mean that we need to move away from this library and roll our own implementation.
How deliberate is the choice of GPL. Would other, more permissive licenses, like MIT or Apache be a feasible alternative?

@grafov I'm a +1 on this too, we're fortunate it hasn't affected us the way we use this library, but we've had discussions internally about the product and the GPL is a blocker.
I'd also like this library to for this library to consider relicensing.

Frankly I dislike permissive licenses. I respect ideas of Richard Stallman and like to see more GNU licensed software in the world. Well it is idealistic point of view. For a reference I looked on Ffmpeg project as an example of useful software that uses GPL. Though their use LGPL (it allows a way for use it in proprietary software but not in a way convenient for Go packages) and only include parts of code under GPL v2. So when I uploaded code on github I decided to use GPL for this library. Really I not thinked much about future use of the library by other people and just selected GPL by default.
I'm understand what in reality for opensource project is more important to be useful than to be strictly open. We worked for companies where we make commercial software and much of it software is proprietary, notably for videostreaming software. So I not insist on keeping this library under GPL license and I accept relicensing it for more acceptable conditions for using in closed software.

There are number of contributors in the project. Though most of contribs are small patches. But I not sure about proper procedure for license changing. I looked for examples and found a lot of cases for moving from BSD, Apache, etc. to GPL v.3. But I not found a ways how to back from GPL v3 to a more permissive license. Probably we need notify other contributors about license changing. Or just use double license for future versions. It is cause for asking it at stackoverflow or anywhere such place :\

Sorry for just getting back at this now. Apparently, this issue is a non-issue.
Running code on a server does not account as distribute where as if a client app would use GPL it would very much. That's also the reason why there is the Affero GPL (AGPL) license, that's the one which closes the loophole:
Why the Affero GPL

The GNU Affero General Public License is a modified version of the ordinary GNU GPL version 3. It has one added requirement: if you run the program on a server and let other users communicate with it there, your server must also allow them to download the source code corresponding to the program that it's running. If what's running there is your modified version of the program, the server's users must get the source code as you modified it.

In most cases the m3u8 library would be run on the backend anyway, hence a more permissive license is not necessary. If there are no further objections I would close the issue.

We're in the same position on GPL vs AGPL, however, this may not always be true and would still like to consider relicensing this library until a more permissive license, such as BSD/Apache.
I fully understand the reasonings of GPL, however, both @konradreiche and I, who aren't required to submit our changes to this library under the existing GPL still choose to do so, a more permissive license would still have me contributing.

Well, as I said I not against relicensing. And if we decided set up a new license then let move to conditions permissive enough for prevent future problems in both server and client sides. So let move to BSD license. I made some code under BSD 3-clause license for similar cases when the code was targeted for proprietary projects for my employers.
I still not sure about right way though. So let try to do it in the simple way. If anyone will complain we will handle the conflict situation personally.

I will make patch with new LICENSE text (BSD 3-clause) and also with changes in the file headers.
The patch will be applied to the nearest release (for clarify let make the release with only license changes).
Release notes will say about the new license applied since that version. And it will note contributors who made they patches: if anyone against this change he can create the issue about it. So if I got such issue I will remove the old patches from the contributor and replace them with a new code under my authorship.

Sounds good to me, we won't contest any of our patches.

@bradleyfalzon I just published the release v0.8 with announce of changing license to BSD. I will make the new release v0.9 with only changed comments in file headers and the new LICENSE file. For clarity please don't accept any patches until the new release!