adding unit tests for GetStream

Just adding some more tests for GetStream class , no change to the class itself

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Message

:book:
See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines

  Generated by :no_entry_sign: Danger

need to fix this for some changes


Roll Flutter from 0ce527eb91a3 to ea6025ca4991 (2 revisions)

https://github.com/flutter/flutter/compare/0ce527eb91a3...ea6025ca4991
2022-02-10<EMAIL_ADDRESS>Revert "Update plugin lint test for federated url_launcher plugin (#94374)" (flutter/flutter#98166)
2022-02-10<EMAIL_ADDRESS>Override OS and Xcode version for plugin_lint_mac (flutter/flutter#98210)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Zwave does not seem to respect a set polling_intensity

Home Assistant release (hass --version): 0.59.1
Python release (python3 --version): 3.6
Component/platform: zwave / intel i-5 debian Sid
Description of problem:
I have two greenwave powernode-1 switches that need to be polled to get power and energy.
For that, I want to poll power every 5 minutes and energy every hour and have set the zwave parameters as documented below. The set values appear in the zwcfg_ .xml file when closing down hass.
However,
grep -e 'Polling: COMMAND' OZW_Log.txt
2017-12-06 11:00:46.635 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:01:46.726 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:02:46.817 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:03:46.908 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:04:46.999 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:05:47.090 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:06:47.181 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:07:47.273 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:08:47.363 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:09:47.455 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:10:47.546 Detail, Node022, Polling: COMMAND_CLASS_METER index = 0 instance = 1 (poll queue has 0 messages)
2017-12-06 11:11:47.647 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:12:47.738 Detail, Node028, Polling: COMMAND_CLASS_METER index = 0 instance = 1 (poll queue has 0 messages)
2017-12-06 11:13:47.829 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:14:47.920 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:15:48.011 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:16:48.102 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:17:48.193 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:18:48.284 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:19:48.375 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:20:48.467 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:21:48.558 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:22:48.649 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:23:48.740 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:24:48.831 Detail, Node022, Polling: COMMAND_CLASS_METER index = 0 instance = 1 (poll queue has 0 messages)
2017-12-06 11:25:48.922 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:26:49.013 Detail, Node028, Polling: COMMAND_CLASS_METER index = 0 instance = 1 (poll queue has 0 messages)
2017-12-06 11:27:49.104 Detail, Node028, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
2017-12-06 11:28:49.195 Detail, Node022, Polling: COMMAND_CLASS_METER index = 8 instance = 1 (poll queue has 0 messages)
So the actual polling occurs every minute for power and every 14 minutes for energy!
Expected:
For each node, a power value every 5 minutes (possibly staggered) and an energy value every 60 minutes
Problem-relevant configuration.yaml entries and steps to reproduce:
From the configuration.yaml:
zwave:
  usb_path: /dev/usb_zwave
  polling_interval: 60000
  device_config:
    sensor.lamp_kast_energy:
      polling_intensity: 60
    sensor.lamp_kast_power:
      polling_intensity: 10
    sensor.backup_nas_energy:
      polling_intensity: 60
    sensor.backup_nas_power:
      polling_intensity: 10

What you provide here with the log is the polling interval.
The actual polling is a line like:
2017-12-07 16:44:08.451 Detail, Node027, Queuing (Poll) MultiChannel Encapsulated (instance=3): ...

As I said, the powernodes won't reply unless polled, so what is exactly your point?
I expect a poll interval of 10 minutes for each node, not 2 as indicated in the log

This is not a thing that can be fixed inside hass. Like you already have written, the values are correct in zwcfg.xml. this issue belongs in the OZW library: https://github.com/OpenZWave/open-zwave

If you want to have the exact timings, you should start playing with options.xml
https://github.com/OpenZWave/open-zwave/wiki/Config-Options


Mvcc cooperative gc logging

not quite sure whether you can figure out how the current ycsb benchmark works. let me know if you confront any problems.

Thank you for getting to this so quickly. It is a huge help to us.


Custom background image

Some setting or supported extension API for allowing a custom wallpaper or background image to the editor.
I have searched and found a few duplicates, all one or more years old and closed. So this is just to ask if there's any news on this subject.
There is one plugin available, but from what I can understand it is a hack and does not always work really well.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

@bpasero most of us spend a whopping amount of time looking at VSCode. Just like changing the color theme, text size, getting a new chair, or changing the "editor.cursorBlinking" setting to "extend", I think being able to set a wallpaper will for some of us lead to a more pleasant experience. :)

It's a brilliant feature that I'm missing so much after switching to VS Code from Atom. It's not a necessary feature by any means, but I would prefer to have an option to set a nice, ambient wallpaper as a background for my code, as I'm spending about 8 hours a day looking at my editor.

👍

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

It may seem simple, but in my opinion, adding this feature is super interesting. I confess that I use a hack extension that overlaps a custom background image, but that unfortunately shows a message saying that vscode is corrupted and then asks to reinstall every time I open the software. Certainly, just changing the background image will not bring great benefits to productivity, but it may perhaps offer more comfort.  Having this option would give even more power to theme developers express your creativity or casual users who just want to leave an anime character in the editor's corner able to do it.

Any updates?

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

You could ask those same questions about colour themes also.
I'd say they should be one in the same, a css background-image could easily live within a theme.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

Well, there is at least one solid argument for adding this:  adding mild noise or a texture that imitates analogue surface like paper or canvas, helps to prevent eye fatigue.
TBH if you consider adding this, there should be also an option to blend the image with "editor.background" color. I.e. make option to upload an image which would be converted to grayscale and blended with the "editor.background" color. This would simplify things if a user want to have texture and still want to adjust it's lightness and hue without editing the image itself.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

I use background image wherever I can because it creates a perception of depth, rather than the 2D solid color background that makes me feel like I'm staring at a wall the whole day.
It might not work the same for everyone, but for me when I'm scrolling through text displayed over a background image feels more like an open world, more free, rather than being imprisoned. Sounds like I'm exaggerating but you have to try to see for yourself. :)

Hey, any update for this issue?

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

customization is the answer.  no ones needs to give you a "good argument". your comments didnt help in solve the issue.

@julianss - Very cool, and would be a nice option to have 'full UI background' vs 'code window only'.

+1

Are there any updates on this...?

Really looking forward to this!

any updates??

44 Likes and 20 hearths - clearly people like this idea. That's more than 10! Comments also were constantly posted.

Has the community at large expressed interest in this functionality? I.e. has it gathered more than 10 up-votes or more than 10 comments? This criterion alone covers more than 650 of the 2850 open feature requests as of right now, October 9th, 2019.

Clearly people want this to happen. At least you could share more details why it will not be done instead of generic closing message, that every closed ticket gets.

Well that was a disappointment..

Thanks to open source, the community can just instead making a fork of VSC and implement custom background image to the fork.

If someone from the community sends a PR, would it be considered? Or would it be automatically closed because this issue was labeled as out-of-scope?

@Nefomemes Yeah... I really wanted to have this as official

out of scope, out of mind...

That's really unfortunate. Especially considering that other Microsoft projects have implemented this feature request, ie. Windows terminal.

Would really love this feature, it's the only thing I'm missing from Atom.io
There you could set css to change the background, giving you all sorts of options, not just images.

That's really unfortunate. Especially considering that other Microsoft projects have implemented this feature request, ie. Windows terminal.

It looks really good on the statistics though!

@Siccity

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

at settings.json, How to insert my image?
I want to change to my galaxy image..!!
It's my setting.json below but there's some error
{
"workbench.colorTheme": "Community Material Theme",
"window.zoomLevel": 2,
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"background.customImages": [
{
"C:\Users\Jungbum\Documents\galaxy"
}
],
"background.enabled": false
}

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

at settings.json, How to insert my image?
I want to change to my galaxy image..!!
It's my setting.json below but there's some error
{
"workbench.colorTheme": "Community Material Theme",
"window.zoomLevel": 2,
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"background.customImages": [
{
"C:\Users\Jungbum\Documents\galaxy"
}
],
"background.enabled": false
}

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

at settings.json, How to insert my image?
I want to change to my galaxy image..!!
It's my setting.json below but there's some error
{
"workbench.colorTheme": "Community Material Theme",
"window.zoomLevel": 2,
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"background.customImages": [
{
"C:\Users\Jungbum\Documents\galaxy"
}
],
"background.enabled": false
}

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

at settings.json, How to insert my image?
I want to change to my galaxy image..!!
It's my setting.json below but there's some error
{
"workbench.colorTheme": "Community Material Theme",
"window.zoomLevel": 2,
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.enablePreview": false,
"background.customImages": [
{
"C:\Users\Jungbum\Documents\galaxy"
}
],
"background.enabled": false
}

background seems cool and all but for me it doesn't work. I use linux so maybe that's why since all the demos I see are on Windows. I wish this was a native feature.

Some setting or supported extension API for allowing a custom wallpaper or background image to the editor.
I have searched and found a few duplicates, all one or more years old and closed. So this is just to ask if there's any news on this subject.
There is one plugin available, but from what I can understand it is a hack and does not always work really well.

Will this issue be reopened again?

@Siccity Will this issue be reopened again?

@Siccity Will this issue be reopened again?

I hope so. I'm not the person to poke about that though.

If the "background" extension doesnt work for you, you can also either use something like transset-df OS-wide or install Custom CSS and JS loader and define it manually yourself:
body {
    opacity: 0.9;
    background-image: url(file:///home/some/file.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

FWIW here's a showcase of some nice background-image/color themes combinations I've been putting together. Let's hope things like this show there's a lot of potential for theming by adding background image support.
https://m.imgur.com/a/etK361Z

@julianss they look so good. what did you use to get the background to cover the entire IDE? I'm using background but it only covers the editor section

@clickwithclark The whole window is transparent by the use of the GlassIt extension.The image is the desktop background.

thanks, I'm trying with https://github.com/be5invis/vscode-custom-css right now but it is giving me some problems.  Perhaps because I am on windows. I like theming too, I just manually changed mine for the time being.

To add a possible use case for actually increasing productivity: through some string or path matching, one could want to have different backgrounds for specific files - a bluish pattern with semi-transparent "UI" stenciled on it for UI files, a fiery reddish backdrop for "core" files of a project, an appropriately faded clock face for files related to timed tasks, etc., whatever a developer deems helpful. If syntax coloring caught on, so should background customization, especially if made dynamic.

This doesn't even get backlogged? You serious?

This doesn't even get backlogged? You serious?

I know right is annoying

Hey, I've created a Twitter account https://twitter.com/code_beautifuly where I'll be posting screenshots of coding with background image (via glassit extension and desktop wallpaper). I'll be mentioning that it's a shame VSCode doesn't support background images and maybe link to this issue. Maybe if I get enough followers they could reconsider reopening this (?)

Hello. I work with vscode about 4 years but I really sad because there is no changing background feature. please please add it.

This reminds me of the Multi-Window feature request which has met almost the same fate as this feature request.
Starts out backlogged and then gets ignored for years to probably just like this one end with "out-of-scope"
It's quite upsetting to see feature requests being handled like these.

Closed as duplicate with 3 threads looped in a circle. Problem solved ;)

Until this issue is resolved: If the "background" extension doesnt work for you, you can also either use something like transset-df OS-wide or install Custom CSS and JS loader and define it manually yourself:

Thanks, this was really helpful. I could finally make a simple addon for switching background according to filetype! https://github.com/mangoepic/vscode-fileBG

Soon please, it's been nearly 5 years ( Related was reported Nov 22, 2015 ). Background image all the things. VS + Terminal have this. Many IDE's / Terms have this. It's really sad we have to hackintosh this. Many twitch followers / streamers would also love this.

ubuntu not working

I support the argument that having an image is very relaxing, it's much prettier to look at that just a solid background.
Lately I've been looking for pleasing background image/color theme combinations. I use an extension to change the opacity of the window and it kind of creates the illusion that I'm using a background image although it's just my desktop wallpaper. This works mostly ok but the main problem I see is that this makes the text also transparent. If I make the window too transparent then I can't see the text.

why not working ubuntu

I support the argument that having an image is very relaxing, it's much prettier to look at that just a solid background.
Lately I've been looking for pleasing background image/color theme combinations. I use an extension to change the opacity of the window and it kind of creates the illusion that I'm using a background image although it's just my desktop wallpaper. This works mostly ok but the main problem I see is that this makes the text also transparent. If I make the window too transparent then I can't see the text.

why not working ubuntu

I'm using this extension in Ubuntu 18.04, no problems
Name: GlassIt Linux
Id: nowsci.glassit-linux
Description: Adds transparency to VSCode in Linux.
Version: 1.0.0
Publisher: nowsci
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=nowsci.glassit-linux

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

I'll bite:
A Programming language CheatSheet embedded as background , with the Extension API , it can be automated cheat-sheets as we change different programming language files. That would make really nice extensions plus , more productive and also serve as eye-candy.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

Another one : 5 mins Charts generated and  showing crypto prices : dynamically from the exchanges.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

Another one :
Process utlization/htop/many kind of charts , pngs generated via RRDTools .
I guess thats enough of productive stuff  you can do with very simple API Change , big tech guy

Here is an example of using a transparent background in Visual Studio Code to enhance the theme.

We can for example put as a background a texture of chalk board, grid paper, wood board, or old computer screen.
This could be useful if a certain dark theme is perfect for the eyes, except for the background, maybe the comments are colorized too darkly. In that case you could just change the background image to keep the text from blending in with the background.

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

Every time I remind myself of this response the more bothered I get by it. I don't see how one must justify a use case to justify a feature request of this category. With the same logic why are color themes, icon packs and custom fonts more of a deserving feature than the ability to set a background image.
And I find the "I find it unlikely that we would allow this" out of place as settings like editor.cursorBlinking, editor.cursorSmoothCaretAnimation or other questionable customization features that also don't increase productivity deserve a place. Makes me wonder how feature requests like these are weighted.
Like it should in no way have priority that's for sure but it's definitely a little weird.

I understand

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

Every time I remind myself of this response the more bothered I get by it. I don't see how one must justify a use case to justify a feature request of this category. With the same logic why are color themes, icon packs and custom fonts more of a deserving feature than the ability to set a background image.
And I find the "I find it unlikely that we would allow this" out of place as settings like editor.cursorBlinking, editor.cursorSmoothCaretAnimation or other questionable customization features that also don't increase productivity deserve a place. Makes me wonder how feature requests like these are weighted.
Like it should in no way have priority that's for sure but it's definitely a little weird.

as i presented a lot of productive usecase , his arguments of "Not Productive" is not valid at all.
Gonna keep those links for any future arguments.
https://github.com/microsoft/vscode/issues/84120#issuecomment-932597633
https://github.com/microsoft/vscode/issues/84120#issuecomment-932598652
https://github.com/microsoft/vscode/issues/84120#issuecomment-932599715
I think we should even open a new issue/feature request presenting those  cases.

Please upvote my API feature request for Visibility .

It seems that there are two different features requested here.

First is setting the background for the code editor tab only.
Second is setting the background for the whole window of IDE.

Please keep in mind that the request is for being able to set a background
image CONDITIONALLY - that is, depending on the language being edited,
debugging conditions, project opened, etc. Not just "for a pretty picture
under the IDE".
On Sun, 3 Oct 2021 at 07:04, Konstantin Rebrov @.***>
wrote:

It seems that there are two different features requested here.

First is setting the background for the code editor tab only.
Second is setting the background for the whole window of IDE.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/84120#issuecomment-932864099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3QELJ66H6JGOY6P4CEXI3UE7P7HANCNFSM4JKEPYCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Adam "Sinus" Skawiński

@SinusPi https://github.com/microsoft/vscode/issues/84120#issuecomment-921937601 This can set background image conditionally on file langauge
you might be able to modify it to include other functionality

And I did it

.

looking for pleasing background image/c

How?

Just adding that I think this would be a great feature to have out of the box!

New extension just dropped!
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Katsute.code-background
Does the job and doesn't show the "Corrupted installation" message. Can define different images for editor, side pane.

How is this still not a thing? It really is a no brainer. It would be a great marketing tool for them and great for business

When can we see this Background Image feature implemented... this is very important for overall productivity...

It does look cool

@Siccity what is the use case for a developer to have a custom background image in the editor? How does that increase productivity? I find it unlikely that we would allow this, but maybe there is a good argument to do it.

It provides an ideal way to reduce eyestrain by providing people the option of using an image that allows their eyes to rest when looking at an empty tab.  This increases productivity and overall dev happiness, allowing them to in turn provide more value to the company.


When using in node, no transaction ID is sent to Janus GW.

I tried the streaming.html example in the browser - and it works as expected.
When I use part of the code in a node.js application, the transaction ID is not sent and Janus GW throws an error ([(null)] Returning Janus API error 456 (Missing mandatory element (transaction))
).
browser:
{"janus":"attach","plugin":"janus.plugin.streaming","transaction":"ej4woril0g","session_id":509630889}
node.js:
{"janus":"attach","plugin":"janus.plugin.streaming","session_id":3989553632}
Code used:
var janus = new Janus.Client("ws://<IP_ADDRESS>:8188/janus/", {
    keepalive: true
});

janus.createConnection('client')
    .then(function(connection) {
        return connection.createSession();
    })
    .then(function(session) {
        return session.attachPlugin("janus.plugin.streaming");
    })

Does anybody know what might cause this?

I have tried:
var Janus = require('janus-gateway-js');

var janus = new Janus.Client(
  "ws://janus-gateway-js.dev.cargomedia.ch:8310/janus",
  {keepalive: true}
);

janus.createConnection('client')
  .then(function(connection) {
    return connection.createSession();
  })
  .then(function(session) {
    return session.attachPlugin("janus.plugin.streaming");
  })
  .then(function(plugin){
    console.log('do we have a plugin? ', !!plugin);
  });

output on the latest master:
/usr/local/bin/node sample.js
do we have a plugin?  true

output on the latest release:
/usr/local/bin/node sample.js
do we have a plugin?  false

I would recommend to use the latest master if possible. Today or tomorrow we will release a new version that should work.

Thanks for the quick reply. I used master and it indeed solved the problem :)


[MM-30147] [MM-30146] fix loading path for cert modal

Summary
When there is more than one client certificates that fits to authenticate, we show a modal for choosing the right one. currently this was failing as it was using an old method for detecting were to get the preload info, updating to the new one seems to fix the issue.
Ticket Link
MM-30147
MM-30146
Release Note
NONE

@nevyangelova @devinbinnie Please help prioritize this PR review.

@Willyfrog Can we cut a new RC for this, maybe today?

sure thing! I'll do that today


Datepicker component

Thanks for this amazing framework. I was surprised by the completeness of the components collection. One I do miss, is the datepicker component. Any plans to include it?
Some inspiration:
http://loujiayu.github.io/vue-material-design/#!/components/datepicker
https://github.com/hilongjw/vue-datepicker

Thanks for the kind words. It will go in next release v0.7.0. I wanted to add it for a long time, and I think it's finally time to do it.

Marvellous. I am seriously impressed by your work and plan to use Quasar!

Thank you and please go ahead and use it. Follow the Twitter account where all the Quasar news go and spread the word. The more we are the better Quasar gets.
Also, it's in no way required but take a look at the "Support Quasar" if you like.

For apple datepicker and calendar version you might find some inspiration here:
https://vux.li/
Currently this demo-site is down...; normally it is up.

Great examples. Will work it for v0.7. Thanks for the tips!

Working on it.

Please also consider a date/time picker too. :smile: This one from Kendo isn't too shabby.
http://demos.telerik.com/kendo-ui/datetimepicker/index
Scott

Yep. You'll be able to pick a date, a time or a datetime.

Excited about the progress! It's gonna be a top-notch component.


Test failures with Matplotlib 3.5.0b1

Building with Matplotlib 3.5.0b1 fails on two tests:
_______________________________________________________________________________________________________________________________________________________ test_gaussian ________________________________________________________________________________________________________________________________________________________
Error: Image files did not match.
  RMS Value: 21.09554109679737
  Expected:
    /tmp/tmpmwx2uric/test_gaussian.test_gaussian/baseline.png
  Actual:
    /tmp/tmpmwx2uric/test_gaussian.test_gaussian/result.png
  Difference:
    /tmp/tmpmwx2uric/test_gaussian.test_gaussian/result-failed-diff.png
  Tolerance:
    20
______________________________________________________________________________________________________________________________________________________ test_reglatlon1 _______________________________________________________________________________________________________________________________________________________
Error: Image files did not match.
  RMS Value: 30.061142323234787
  Expected:
    /tmp/tmpmwx2uric/test_reglatlon.test_reglatlon1/baseline.png
  Actual:
    /tmp/tmpmwx2uric/test_reglatlon.test_reglatlon1/result.png
  Difference:
    /tmp/tmpmwx2uric/test_reglatlon.test_reglatlon1/result-failed-diff.png
  Tolerance:
    20

I just encountered the same issue. Simply adding zorder=2 to the ax.coastlines() calls solves it.
I modified 1 line in pygrib-2.1.3/test/test_gaussian.py and 3 lines in pygrib-2.1.3/test/test_reglatlon.py. Then all runs again fine with matplotlib 3.5.0.

Yes, that will work; we are also fixing this in Cartopy: https://github.com/SciTools/cartopy/pull/1840

Latest Cartopy fixes this for you, but it also changes the results slightly. The limits are a little better and higher, and the new gridline labelling changes the +/- to N/S or E/W.

New test results from the latest fedora rawhide rebuild look different, but I still see failing tests related to cartopy plots created by the pygrib test suite that do not match expectations. See the attached file:
pygrib_test.tar.gz
I see 3 failing tests now:
test_reduced_gg.test_reduced_gg
test_reduced_ll.test_reduced_ll
test_reglatlon.test_reglatlon2
All 3 seem to have a changed bounding box, especially on the upper side.
For test_reduced_gg the tick label texts changed, they now have added N/S/E/W and an added circle/degree symbol.
Any advice how to change/fix the tests to prevent these failures are welcome.
Current versions used for this test are:
Python 3.10.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
Matplotlib: 3.5.1
Freetype: 2.11.1
Cartopy 0.20.1

If you really don't want to change them, I think you can just set the limits of the plot.


Add IBM Cloud managed annotations to CVO manifests

This matches https://github.com/openshift/enhancements/pull/445 and does not change behavior.
A bump to openshift/api is required to include the contents of https://github.com/openshift/api/pull/781

/hold
why does this bump dependencies?

@sttts updated the description

/hold cancel
/lgtm
/approve


Param from Escaped Unicode in application/json Request Body Not Properly Parsed

Grape ruby has inconsistent behavior when using the params tag to parse JSON escaped unicode data.
https://github.com/jonmchan/grape-test/blob/master/app/controllers/api/v1/test.rb
module API::V1
  class Test < Grape::API
    version 'v1'
    format :json
    prefix :api

    resource :tests do
      params do
        optional :tags,               type: String
      end
      post '/' do
        present :tag, params[:tags]
        present :status, "ok"
      end
    end
  end
end

When I write a test, it properly escapes the unicode character from \u000a to a \n character.
describe API::V1::Test, :type => :request  do
  let(:json_data) { '{ "tags" : "This is a test.\\u000aThis should be on a new line." }' }
  let(:headers) { { 'CONTENT_TYPE' => 'application/json' } }
  it 'should parse unicode escape characters correctly' do
    post "/api/v1/tests", params: json_data, headers: headers
    expect(response.status).to eq(201)
    expect(response.body).to eql("{\"tag\":\"This is a test.\\nThis should be on a new line.\",\"status\":\"ok\"}")
  end
end

However, when I try to actually hit the server using rails server, I get the following:
$ curl -X POST --header 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Token token="genU8mgazPyAuCoQoj2c"' -d '{"tags" : "this is a test\\u000aThis should be on a newline."}' http://localhost:3000/api/v1/tests
{"tag":"this is a test\\u000aThis should be on a newline.","status":"ok"}

When I parse the json string using the standard json parser, it also converts the escaped unicode character.
irb(main):001:0> require "json"
=> false
irb(main):002:0> puts JSON.parse('{"tags" : "this is a test\\u000aThis should be on a newline."}')
{"tags"=>"this is a test\nThis should be on a newline."}

I believe the consistent behavior is that it should convert the escaped unicode characters to proper unicode characters.
I made a test application to demonstrate all this: https://github.com/jonmchan/grape-test

I didn't dig through this, but is this because the charset ends up being different? See https://github.com/ruby-grape/grape/issues/467 this could be related.

User error. \ is interpreted as an escape character even in single quote ruby text. The behavior is consistent. Please close this issue, github won't let me.


⚠ Bofrost.es has degraded performance

In 4e29158, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1578 ms

Resolved: Bofrost.es performance has improved in ead0902 after 20 minutes.


go.mod: github.com/docker/docker, docker/cli v27.0.3

Dockerfile: fix alpine version
The go1.20 image is not published with alpine 3.15; updating the version.
test.sh: fix file not being executable
go.mod: github.com/sirupsen/logrus v1.9.3
update to the current version, which addresses some issues with current
Go versions, and removes the legacy konsorten/go-windows-terminal-sequences
dependency.
go.mod: github.com/imdario/mergo v0.3.16
update to the last version of the module under the old name, before v1.0.0
renames the module.
go.mod: github.com/morikuni/aec v1.0.0
no changes, but using the tagged version
go.mod: github.com/moby/term v0.5.0
no changes, but using the tagged version
go.mod: github.com/docker/go-units v0.5.0
removes uses of regular expressions
go.mod: golang.org/x/time v0.5.0
no changes, but using the tagged version
go.mod: github.com/Microsoft/go-winio v0.5.3
update to a version compatible with go1.22 and up
go.mod: github.com/docker/docker, docker/cli v23.0.6
Update to v23.0, and remove uses of deprecated types.
go.mod: github.com/docker/docker, docker/cli v24.0.7
Update to v24.0, and remove uses of deprecated types.
go.mod: github.com/docker/go-connections v0.5.0
drops support for legacy Go versions, add support for TLS 1.3
go.mod: github.com/stretchr/testify v1.9.0
go.mod: github.com/docker/docker, docker/cli v25.0.5
Update to v25.0, and remove uses of deprecated types.
go.mod: github.com/docker/docker, docker/cli v26.1.4
Update to v26.1, and remove uses of deprecated types.
go.mod: github.com/docker/docker, docker/cli v27.0.3
Update to v27.0, and remove uses of deprecated types.

/cc @jesseduffield ptal - I noticed that the docker dependency was on a version that's no longer maintained; I updated in a couple of steps to make sure I didn't miss any of the deprecated types still being used (so probably easiest to review per-commit).

I've just given this a test and it worked fine. Thanks for putting the effort into this @thaJeztah .
Also, I'd like to commend you on your maintainership of docker (and related repos): whenever I read your comments on issues you're always being thoughtful and reasonable, so kudos.

Sorry for the late reply (busy week); Thank you! And thanks for reviewing!
I'm not a Lazydocker user myself, but I frequently hear about people who are.  I arrived here following https://github.com/basecamp/omakub/pull/83#issuecomment-2227268206, which made me curious if I could see something obvious what could cause issues. I didn't see anything that stood out immediately, but saw the version of the dependencies were somewhat behind, and knew we had a couple of types being moved to different locations, so thought; let me give that a try 😄)

Actually; I saw this was not released yet; let me update this to v27.1.1; shouldn't really affect this codebase, but we issued a CVE that may cause it to be flagged by scanners;

https://github.com/jesseduffield/lazydocker/pull/568


Fails at PCRE

building pcre - version 8.44
=======================
Downloading https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz as pcre-8.44.tar.gz

Failed to download https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.gz. Exitcode 28. Retrying in 10 seconds

From https://pcre.org/ incase it's relevant

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Any ideas where to change that in the script? I wasn't able to find it.

Nevermind..... figured it out...
For those not in the know:
Don't re-run the .sh file, you need to edit the build-ffmpeg
Find the build-ffmpeg file, then edit the line with the old ftp and replace it with this new source
http://ftp.cs.stanford.edu/pub/exim/pcre/pcre-8.44.tar.gz
Then run this:
./build-ffmpeg --build --enable-gpl-and-non-free


fix(aws_lambda.py): add support for http2 trigger

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


404 page not found

I followed the Quick Start guide to mount my own codebase.  After running docker-compose up -d and going to http://drupal.docker.localhost:8000 I get a 404 page not found error.  I'm currently using the Docker for Windows application.  See below for my current setup.
The one unique aspect of my setup is my PHP/NGINX volumes are set to - ./Source:/var/www/html instead of - ./:/var/www/html because my codebase lives under a sub-directory called /Source and my docker-compose.yml file is one directory above it.
One other strange thing I've noticed is that sometimes when I go to the site at http://drupal.docker.localhost:8000 it will return a 503, but when I go to the site using http://127.0.01:8000 it consistently returns a 404.
Codebase
mounted codebase
Host OS
Windows 10
Docker info output
$ docker info
Containers: 6
 Running: 6
 Paused: 0
 Stopped: 0
Images: 7
Server Version: 17.06.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: cfb82a876ecc11b5ca0977d1733adbe58599088a
runc version: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.36-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934GiB
Name: moby
ID: WOGS:CDYJ:DPTJ:VQWZ:2E2Y:7TV3:YUMR:CX2K:V6QJ:IGAD:2HH5:ZWBB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 64
 Goroutines: 64
 System Time: 2018-02-20T22:08:40.2857979Z
 EventsListeners: 1
Http Proxy: http://www.example.com
Https Proxy: http://www.example.com
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Docker compose file
version: "2"

services:
  mariadb:
    image: wodby/mariadb:10.2-3.0.2
#    image: wodby/mariadb:10.1-3.0.2
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: drupal
      MYSQL_USER: drupal
      MYSQL_PASSWORD: drupal
    volumes:
      - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
#      - /path/to/mariadb/data/on/host:/var/lib/mysql # I want to manage volumes manually.

  php:
    image: wodby/drupal-php:5.6-3.3.1
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      PHP_FPM_CLEAR_ENV: "no"
      DB_HOST: mariadb
      DB_USER: drupal
      DB_PASSWORD: drupal
      DB_NAME: drupal
      DB_DRIVER: mysql
#      PHP_XDEBUG: 1
#      PHP_XDEBUG_DEFAULT_ENABLE: 1
#      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
#      PHP_XDEBUG_REMOTE_HOST: "<IP_ADDRESS>"
#      PHP_XDEBUG_PROFILER_OUTPUT_DIR: /mnt/files/xdebug/profiler
#      PHP_XDEBUG_TRACE_OUTPUT_DIR: /mnt/files/xdebug/traces
#      PHP_BLACKFIRE: 1
    volumes:
      - ./Source:/var/www/html
## Options for macOS users (https://docker4drupal.readthedocs.io/en/latest/macos)
#      - codebase:/var/www/html:cached # User-guided caching
#      - docker-sync:/var/www/html # Docker-sync
## For Xdebug profiler files
#      - files:/mnt/files

  nginx:
# wodby/drupal-nginx:[DRUPAL_VERSION]-[NGINX_VERSION]-[STABILITY_TAG].
    image: wodby/drupal-nginx:7-1.13-3.0.2
    depends_on:
      - php
    environment:
      NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html
#      NGINX_DRUPAL_FILE_PROXY_URL: example.com
    volumes_from:
      - php
# Options for macOS users (https://docker4drupal.readthedocs.io/en/latest/macos)
#      - codebase:/var/www/html:cached # User-guided caching
#      - docker-sync:/var/www/html # Docker-sync
    labels:
      - 'traefik.backend=nginx'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:drupal.docker.localhost'

  mailhog:
    image: mailhog/mailhog
    labels:
      - 'traefik.backend=mailhog'
      - 'traefik.port=8025'
      - 'traefik.frontend.rule=Host:mailhog.drupal.docker.localhost'

  portainer:
    image: portainer/portainer
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - 'traefik.backend=portainer'
      - 'traefik.port=9000'
      - 'traefik.frontend.rule=Host:portainer.drupal.docker.localhost'

  traefik:
    image: traefik
    command: -c /dev/null --web --docker --logLevel=INFO
    ports:
      - '8000:80'
#      - '8080:8080' # Dashboard
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

volumes:
  codebase:
## Docker-sync for macOS users
#  docker-sync:
#    external: true
## For Xdebug profiler
#  files:

Logs output
$ docker-compose logs nginx
Attaching to container_nginx_1
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: using the "epoll" event method
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: nginx/1.13.7
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: built by gcc 6.3.0 (Alpine 6.3.0)
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: OS: Linux 4.9.36-moby
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: start worker processes
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: start worker process 24
nginx_1      | 2018/02/20 21:47:40 [notice] 1#1: start worker process 25
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: signal 15 (SIGTERM) received, exiting
nginx_1      | 2018/02/20 21:52:03 [notice] 24#24: exiting
nginx_1      | 2018/02/20 21:52:03 [notice] 25#25: exiting
nginx_1      | 2018/02/20 21:52:03 [notice] 24#24: exit
nginx_1      | 2018/02/20 21:52:03 [notice] 25#25: exit
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: signal 17 (SIGCHLD) received from 24
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: worker process 24 exited with code 0
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: signal 29 (SIGIO) received
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: signal 17 (SIGCHLD) received from 25
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: worker process 25 exited with code 0
nginx_1      | 2018/02/20 21:52:03 [notice] 1#1: exit
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: using the "epoll" event method
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: nginx/1.13.7
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: built by gcc 6.3.0 (Alpine 6.3.0)
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: OS: Linux 4.9.36-moby
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: start worker processes
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: start worker process 24
nginx_1      | 2018/02/20 21:52:07 [notice] 1#1: start worker process 25

$ docker-compose logs php
Attaching to container_php_1
php_1        | [20-Feb-2018 21:11:02] NOTICE: fpm is running, pid 1
php_1        | [20-Feb-2018 21:11:02] NOTICE: ready to handle connections
php_1        | [20-Feb-2018 21:45:23] NOTICE: Terminating ...
php_1        | [20-Feb-2018 21:45:23] NOTICE: exiting, bye-bye!
php_1        | container_linux.go:262: starting container process caused "process_linux.go:339: container init caused \"rootfs_linux.go:57: mounting \\\"/C/path/to/directory/Source\\\" to rootfs \\\"/var/lib/docker/overlay2/d8b5365ab576f25fc26e79ecbba47e2a5749e583d118643c40ececaa3304c9d4/merged\\\" at \\\"/var/www/html\\\" caused \\\"stat /C/path/to/directory/Source: input/output error\\\"\""
php_1        | [20-Feb-2018 21:47:39] NOTICE: fpm is running, pid 1
php_1        | [20-Feb-2018 21:47:39] NOTICE: ready to handle connections
php_1        | [20-Feb-2018 21:52:03] NOTICE: Terminating ...
php_1        | [20-Feb-2018 21:52:03] NOTICE: exiting, bye-bye!
php_1        | [20-Feb-2018 21:52:06] NOTICE: fpm is running, pid 1
php_1        | [20-Feb-2018 21:52:06] NOTICE: ready to handle connections

$ docker-compose ps
           Name                          Command               State          Ports
-------------------------------------------------------------------------------------------
container_mailhog_1     MailHog                          Up      1025/tcp, 8025/tcp
container_mariadb_1     /docker-entrypoint.sh mysqld     Up      3306/tcp
container_nginx_1       /docker-entrypoint.sh sudo ...   Up      80/tcp
container_php_1         /docker-entrypoint.sh php-fpm    Up      9000/tcp
container_portainer_1   /portainer --no-auth -H un ...   Up      9000/tcp
container_traefik_1     /traefik -c /dev/null --we ...   Up      <IP_ADDRESS>:8000->80/tcp

PS C:\> docker-compose exec php ls -lah /var/www/html
total 315
drwxr-xr-x    2 root     root        8.0K Feb 20 14:34 .
drwxr-xr-x    1 www-data www-data    4.0K Dec  5 07:32 ..
-rwxr-xr-x    1 root     root         331 Feb 20 14:34 .editorconfig
-rwxr-xr-x    1 root     root         218 Feb 20 14:34 .gitignore
-rwxr-xr-x    1 root     root        6.0K Feb 20 14:34 .htaccess
-rwxr-xr-x    1 root     root       14.3K Feb 20 14:34 403.html
-rwxr-xr-x    1 root     root       14.3K Feb 20 14:34 404.html
-rwxr-xr-x    1 root     root      111.2K Feb 20 14:34 CHANGELOG.txt
-rwxr-xr-x    1 root     root        1.5K Feb 20 14:34 COPYRIGHT.txt
-rwxr-xr-x    1 root     root        1.7K Feb 20 14:34 INSTALL.mysql.txt
-rwxr-xr-x    1 root     root        1.9K Feb 20 14:34 INSTALL.pgsql.txt
-rwxr-xr-x    1 root     root        1.3K Feb 20 14:34 INSTALL.sqlite.txt
-rwxr-xr-x    1 root     root       18.0K Feb 20 14:34 INSTALL.txt
-rwxr-xr-x    1 root     root       18.0K Feb 20 14:34 LICENSE.txt
-rwxr-xr-x    1 root     root        8.8K Feb 20 14:34 MAINTAINERS.txt
-rwxr-xr-x    1 root     root          27 Feb 20 14:34 README.md
-rwxr-xr-x    1 root     root        5.4K Feb 20 14:34 README.txt
-rwxr-xr-x    1 root     root       10.1K Feb 20 14:34 UPGRADE.txt
-rwxr-xr-x    1 root     root        6.6K Feb 20 14:34 authorize.php
-rwxr-xr-x    1 root     root        4.3K Feb 20 14:34 cron-stats.php
-rwxr-xr-x    1 root     root         746 Feb 20 14:34 cron.php
-rwxr-xr-x    1 root     root        4.6K Feb 20 14:34 healthcheck.php
drwxr-xr-x    2 root     root           0 Feb 20 14:34 includes
-rwxr-xr-x    1 root     root         550 Feb 20 14:34 index.php
-rwxr-xr-x    1 root     root         729 Feb 20 14:34 install.php
drwxr-xr-x    2 root     root           0 Feb 20 14:34 misc
drwxr-xr-x    2 root     root           0 Feb 20 14:34 modules
drwxr-xr-x    2 root     root           0 Feb 20 14:34 profiles
-rwxr-xr-x    1 root     root        2.3K Feb 20 14:34 robots.txt
drwxr-xr-x    2 root     root           0 Feb 20 14:34 scripts
drwxr-xr-x    2 root     root           0 Feb 20 14:34 sites
drwxr-xr-x    2 root     root           0 Feb 20 14:34 themes
-rwxr-xr-x    1 root     root       20.0K Feb 20 14:34 update.php
-rwxr-xr-x    1 root     root         435 Feb 20 14:34 xmlrpc.php

PS C:\> docker-compose exec nginx ls -lah /var/www/html
total 315
drwxr-xr-x    2 root     root        8.0K Feb 20 14:34 .
drwxr-xr-x    3 root     root        4.0K Nov 30 06:22 ..
-rwxr-xr-x    1 root     root         331 Feb 20 14:34 .editorconfig
-rwxr-xr-x    1 root     root         218 Feb 20 14:34 .gitignore
-rwxr-xr-x    1 root     root        6.0K Feb 20 14:34 .htaccess
-rwxr-xr-x    1 root     root       14.3K Feb 20 14:34 403.html
-rwxr-xr-x    1 root     root       14.3K Feb 20 14:34 404.html
-rwxr-xr-x    1 root     root      111.2K Feb 20 14:34 CHANGELOG.txt
-rwxr-xr-x    1 root     root        1.5K Feb 20 14:34 COPYRIGHT.txt
-rwxr-xr-x    1 root     root        1.7K Feb 20 14:34 INSTALL.mysql.txt
-rwxr-xr-x    1 root     root        1.9K Feb 20 14:34 INSTALL.pgsql.txt
-rwxr-xr-x    1 root     root        1.3K Feb 20 14:34 INSTALL.sqlite.txt
-rwxr-xr-x    1 root     root       18.0K Feb 20 14:34 INSTALL.txt
-rwxr-xr-x    1 root     root       18.0K Feb 20 14:34 LICENSE.txt
-rwxr-xr-x    1 root     root        8.8K Feb 20 14:34 MAINTAINERS.txt
-rwxr-xr-x    1 root     root          27 Feb 20 14:34 README.md
-rwxr-xr-x    1 root     root        5.4K Feb 20 14:34 README.txt
-rwxr-xr-x    1 root     root       10.1K Feb 20 14:34 UPGRADE.txt
-rwxr-xr-x    1 root     root        6.6K Feb 20 14:34 authorize.php
-rwxr-xr-x    1 root     root        4.3K Feb 20 14:34 cron-stats.php
-rwxr-xr-x    1 root     root         746 Feb 20 14:34 cron.php
-rwxr-xr-x    1 root     root        4.6K Feb 20 14:34 healthcheck.php
drwxr-xr-x    2 root     root           0 Feb 20 14:34 includes
-rwxr-xr-x    1 root     root         550 Feb 20 14:34 index.php
-rwxr-xr-x    1 root     root         729 Feb 20 14:34 install.php
drwxr-xr-x    2 root     root           0 Feb 20 14:34 misc
drwxr-xr-x    2 root     root           0 Feb 20 14:34 modules
drwxr-xr-x    2 root     root           0 Feb 20 14:34 profiles
-rwxr-xr-x    1 root     root        2.3K Feb 20 14:34 robots.txt
drwxr-xr-x    2 root     root           0 Feb 20 14:34 scripts
drwxr-xr-x    2 root     root           0 Feb 20 14:34 sites
drwxr-xr-x    2 root     root           0 Feb 20 14:34 themes
-rwxr-xr-x    1 root     root       20.0K Feb 20 14:34 update.php
-rwxr-xr-x    1 root     root         435 Feb 20 14:34 xmlrpc.php

Try this file:
version: "2"

services:
  mariadb:
    image: wodby/mariadb:10.2-3.0.2
#    image: wodby/mariadb:10.1-3.0.2
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: drupal
      MYSQL_USER: drupal
      MYSQL_PASSWORD: drupal
    volumes:
      - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
#      - /path/to/mariadb/data/on/host:/var/lib/mysql # I want to manage volumes manually.

  php:
    image: wodby/drupal-php:5.6-3.3.1
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      PHP_FPM_CLEAR_ENV: "no"
      DB_HOST: mariadb
      DB_USER: drupal
      DB_PASSWORD: drupal
      DB_NAME: drupal
      DB_DRIVER: mysql
#      PHP_XDEBUG: 1
#      PHP_XDEBUG_DEFAULT_ENABLE: 1
#      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
#      PHP_XDEBUG_REMOTE_HOST: "<IP_ADDRESS>"
#      PHP_XDEBUG_PROFILER_OUTPUT_DIR: /mnt/files/xdebug/profiler
#      PHP_XDEBUG_TRACE_OUTPUT_DIR: /mnt/files/xdebug/traces
#      PHP_BLACKFIRE: 1
    volumes:
      - ./Source:/var/www/html:cached

  nginx:
    image: wodby/drupal-nginx:7-1.13-3.0.2
    depends_on:
      - php
    environment:
      NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html
#      NGINX_DRUPAL_FILE_PROXY_URL: example.com
    volumes_from:
      - php
    labels:
      - 'traefik.backend=nginx'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:drupal.docker.localhost'

  mailhog:
    image: mailhog/mailhog
    labels:
      - 'traefik.backend=mailhog'
      - 'traefik.port=8025'
      - 'traefik.frontend.rule=Host:mailhog.drupal.docker.localhost'

  portainer:
    image: portainer/portainer
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - 'traefik.backend=portainer'
      - 'traefik.port=9000'
      - 'traefik.frontend.rule=Host:portainer.drupal.docker.localhost'

  traefik:
    image: traefik
    command: -c /dev/null --web --docker --logLevel=INFO
    ports:
      - '8000:80'
#      - '8080:8080' # Dashboard
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Thanks @michaelpporter.  I added the file you attached but I'm still getting the same 404 error.  These are the steps I took:

Replaced contents of docker-compose.yml
docker-compose stop
docker-compose rm -f
docker-copmose up -d
Visited http://drupal.docker.localhost:8000

See https://github.com/wodby/docker4drupal/issues/225#issuecomment-356194030

@csandanov I'm on a Windows 10 machine and don't see a /usr/src directory.  Where is the source directory located on Windows 10?

So when you launch a container for the first time it takes some time to copy the sources

How long does it typically take?  What is the maximum amount of time that I should wait?

The solution is to clean up your docker volumes and run again

By running docker-compose stop and docker rm -f am I cleaning up my docker volumes or is some other command required?
In the thread you linked to the author was specifically missing the vendor/autoload.php file, but in my case I don't see that error, so how are the two related? Are you implying I'm missing all of my files and need to wait until they fully load?

/usr/src is a directory inside of the wodby/drupal container.

By running docker-compose stop and docker rm -f am I cleaning up my docker volumes or is some other command required?

No, you should run docker system prune --volumes but be careful, it will delete all your volumes data

I'm not using Vanilla. Does the same still apply to my situation?

No, it's not. In this case, 404 means your codebase wasn't mounted (or mounted to the wrong location), did you read the guide https://wodby.com/stacks/drupal/docs/local/quick-start/?

I found a mistake which seems to have solved this issue for me.  In the quick start guide this is one of the steps:

Ensure your settings.php uses the same credentials as mariadb service

It seems really obvious what needs to be done, but I realized that I missed one of the settings:
  'default' =>
    array(
      'default' =>
        array(
          'database' => 'drupal',
          'username' => 'drupal',
          'password' => 'drupal',
          'host' => '<IP_ADDRESS>', <-- Wrong
          'port' => '',
          'driver' => 'mysql',
          'prefix' => '',
        ),
    ),
);

I made sure all of my "credentials" were correct, which they are.  However, in drupal-compose.yml the DB_HOST is set to  mariadb, so I had to change my settings.php file to match it:
  'default' =>
    array(
      'default' =>
        array(
          'database' => 'drupal',
          'username' => 'drupal',
          'password' => 'drupal',
          'host' => 'mariadb', <-- Correct
          'port' => '',
          'driver' => 'mysql',
          'prefix' => '',
        ),
    ),
);

For step 6, can you change the wording or clarify what you mean by "credentials"?  When the word "credentials" is used I assume it refers to the login credentials, and not the host name itself.  A simple example like the one above would probably be sufficient.
I'm still having issues mounting the codebase, but I will open another thread for that since I don't think it's necessarily related to this issue.

Example added to https://wodby.com/stacks/drupal/docs/local/quick-start/


FR: Add SASS version to NuGet

SASS and LESS appear to be part of the source code.  Is there any chance to get a new NuGet package for bootstrap-select-sass?  This would download the SASS files in the appropriate folder structure and have the dependency on bootstrap.sass which contains the latest version 4.x.  Right now we have to include the code manually and it does make updates easy.   Thanks!

Not a priority. Feel free to make your own unofficial one.


pig: 0.16.0 -> 0.17.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pig/versions.
meta.description for pig is: '"High-level language for Apache Hadoop"'.

Checks done (click to expand)

built on NixOS
/nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0/bin/pig passed the binary check.
Warning: no invocation of /nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0/bin/.pig-wrapped had a zero exit code or showed the expected version
1 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 0.17.0 with grep in /nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0
directory tree listing: https://gist.github.com/a77ba31bf4e07731c5da00de44601aa1
du listing: https://gist.github.com/de3204a31256f01139c1c5dcc75d133d

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pig

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pig https://github.com/r-ryantm/nixpkgs/archive/2f0faa56342398d6439afcd45f96dc24e9ff07ee.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0
ls -la /nix/store/pjrz2adl6g1q051f4hjw5philr0lzqf3-pig-0.17.0/bin

cc @svenkeidel for testing.

Changelog: https://pig.apache.org/releases.html#19+June%2C+2017%3A+release+0.17.0+available


OS#9030969 fix stack trace with jitted loops

native code address was being cleared more often than it should, causing the trace to use the line/column numbers of the last bytecode instruction executed, which is not where the error occurs if it was during jitted code.

@sigatrev,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

    {

Setting this->previousInterpreterFrameIsForLoopBody to false here would be a better fix. Make sure to run exprgen for a long time

Refers to: lib/Runtime/Language/JavascriptStackWalker.cpp:680 in 4cd121b. [](commit_id = 4cd121b9846b8de0c138657801c98452c1cbb2b4, deletion_comment = False)


Difference between "Mailbox intelligence" and "Mailbox intelligence based impersonation protection"

Please update this page to better explain the difference between "Mailbox intelligence" and "Mailbox intelligence based impersonation protection"
For example the former says is is based on user email patterns with their frequent contacts, and the latter says it is based on "each user's individual sender map." That sounds a lot like "user email patterns" and so we are seeking a better description of how they are different, so that we can make a good choice on whether to enable one versus the other.

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

ID: f0b8f651-9d8e-a34b-8dde-2b6a9448f875
Version Independent ID: 20e96426-627d-9973-8303-a43a114c7b61
Content: Anti-phishing policies - Office 365
Content Source: microsoft-365/security/office-365-security/set-up-anti-phishing-policies.md
Product: m365-security
Technology: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@chrisda, everyone agrees that the interactions between those two settings are confusing. I'll attempt to explain:
The Mailbox intelligence setting turns mailbox intelligence on or off. Mailbox intelligence is the AI that learns your contact history.
The Mailbox intelligence based impersonation protection setting, when turned on, allows you to specify an action for mailbox intelligence detections of impersonation attempts (likely, a lack of communication history with the messages sender who resembles a protected user or protected domain, but that's not important; the important fact is: the "this is an impersonation attempt" signal is coming from mailbox intelligence).
As you can see in the admin center, Mailbox intelligence must be turned on to see/turn on/turn off Mailbox intelligence based impersonation protection and (optionally) set an action.
Mailbox intelligence = ON while Mailbox intelligence based impersonation protection = OFF means mailbox intelligence is still happening, but no action is taken on messages if mailbox intelligence says "this is an impersonation attempt". Even so, Mailbox intelligence = ON while Mailbox intelligence based impersonation protection = OFF can still help reduce false positives. For example, if a frequent contact resembles a protected user in the policy (same name, similar email addresses, etc.), mailbox intelligence can say, "Even though this looks an impersonation attempt of a protected user, I say that it isn't, because these guys have been communicating regularly via email over the last several months".
Another issues that's confusing: the admin center allows you to turn off Mailbox intelligence based impersonation protection, but still configure an action, which makes no sense. That action dropdown box and surrounding text should be hidden or grayed out if Mailbox intelligence based impersonation protection = OFF. I understand this is being looked at.
For reference, Mailbox intelligence = ON + Mailbox intelligence based impersonation protection = OFF is functionally equivalent to Mailbox intelligence = ON + Mailbox intelligence based impersonation protection = ON + Action = No action, if that's of any interest.
I updated the topic with these clarifications. It should publish later today F 3/19.

@itguysocal Hope this comment is helpful for you. If you see any other  documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


/dashboad/events errors out with a client exception

I deployed dittofeed with render and connected it to send track events from our segment account. As events started to arrive, loading events page always results in a frontend crash.
Browser console reports this:
TypeError: Cannot read properties of null (reading 'journeyId')
    at G (events-eadfafb0b5ef748e.js:1:3782)
    at Object.renderCell (events-eadfafb0b5ef748e.js:1:4648)
    at 7271-611cc4c3d29c6cc6.js:63:24093
    at 7271-611cc4c3d29c6cc6.js:63:26369
    at ab (framework-f29e48ae95cae5a3.js:9:60916)
    at uo (framework-f29e48ae95cae5a3.js:9:71227)
    at i (framework-f29e48ae95cae5a3.js:9:121559)
    at oO (framework-f29e48ae95cae5a3.js:9:99113)
    at framework-f29e48ae95cae5a3.js:9:98980
    at oF (framework-f29e48ae95cae5a3.js:9:98987)

Looking at some relevant sections of the stacktrace tells me the original is the 3rd line here
G = e=>{
                var t, n;
                let r = e.journeyId || ""
                  , i = e.nodeId || "";
                if ("broadcast-message" === i) {
                    let e = z(r);
                    return e
                }
                let s = e.templateId || ""
                  , a = A.find(e=>e.id === s)
                  , o = null !== (t = null == a ? void 0 : a.type) && void 0 !== t ? t : null
                  , u = null !== (n = null == a ? void 0 : a.name) && void 0 !== n ? n : null
                  , c = W(r, s, u, o);
                return c

After a few thousand events, the events page started to load fine, but when i search for something it crashes.

Hi @Heedster I'll take a look!

@Heedster can you try updating to https://github.com/dittofeed/dittofeed/releases/tag/v0.13.2 and seeing if the issue is fixed for you!

Yep. Seems to work fine with 0.13.2

Woo!

Sorry, I spoke too soon, it does not happen anymore when the events page load or when i searched the same thing i searched before, but the same errors happen when i search some other things in the events page.

Are you sure it's the same error?

No, it seems fine now, i think some browser cache messed up in one of my open tabs, hence i felt it resurfaced.

@Heedster sounds good!


FashionMNIST dataset and basic autoencoder

Related to #47.

I added a prediction after training--thanks for the suggestions!


Terraform plan should produce output variable that indicates whether changes are pending

When using the command: plan command with the TerraformTask*, it should add a task output variable that indicates whether plan found any changes that need to be applied. This variable could then be used as a condition for later tasks, such as command: apply with the same TerraformTask*.

This seems to supply a workaround for now. Partially inspired from here.
    jobs:
    - job: 'plan'
      ...
      - task: TerraformTaskV2@2
        name: terraformPlan
        inputs:
          command: 'plan'
          ...
      # See https://www.terraform.io/docs/internals/json-format.html
      - bash: |
          plan=$(cat $(terraformPlan.jsonPlanFilePath))

          # Get the count of the number of resources being created
          create=$(echo "$plan" | jq -r ".resource_changes[].change.actions[]" | grep "create" | wc -l | sed 's/^[[:space:]]*//g')

          # Get the count of the number of resources being updated
          update=$(echo "$plan" | jq -r ".resource_changes[].change.actions[]" | grep "update" | wc -l | sed 's/^[[:space:]]*//g')

          # Get the count of the number of resources being deleted
          delete=$(echo "$plan" | jq -r ".resource_changes[].change.actions[]" | grep "delete" | wc -l | sed 's/^[[:space:]]*//g')

          if [ "$create" -gt "0" ] || [ "$update" -gt "0" ] || [ "$delete" -gt "0" ]; then
            echo "Found $create create, $update update and $delete delete actions"
            echo "##vso[task.setvariable variable=terraformChanges;isOutput=true]true"
          else
            echo "No changes found"
            echo "##vso[task.setvariable variable=terraformChanges;isOutput=true]false"
          fi
        name: terraformPlanResult
    - job: 'nextJob'
      dependsOn: 'plan'
      ...
      # See https://docs.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml#use-the-output-variable-from-a-job-in-a-condition-in-a-subsequent-job
      condition: and(succeeded(), eq(dependencies.plan.outputs['terraformPlanResult.terraformChanges'], 'true'))

There is a -detailed-exitcode option to terraform plan that does this, but if you try it via a pipeline it caused the plan step to fail with the different exit code.  Would be good if it could handle that.
##[error]Error: The process '/opt/hostedtoolcache/terraform/0.14.10/x64/terraform' failed with exit code 2
Finishing: Terraform Plan

Good post about this issue https://sathyasays.com/2020/12/31/terraform-apply-only-on-change/

Hi @mericstam
when would you say it might be ready?

Hi, sorry for late reply. We are in the midst of moving terraform extension to another repo, moving issues and fixing links ETC. we also have a plan for a V3 of the extension where we have reworked some things. Thinking of adding the discussed  feature after the move.  Can't give you an exact date but hopefully pretty soon.

repo has moved. this issue is solved by PR in new repo  https://github.com/microsoft/azure-pipelines-terraform/pull/11
Release will be in the next few days. closing this issue. if you need you can open a new issue at: https://github.com/microsoft/azure-pipelines-terraform/issues


refactor(linter) Generate rule name with declare_oxc_lint

Follow up to #70.
Move the static "canonical" rule name to the RuleMeta trait, and have the declare_oxc_lint proc macro auto-generate the name.
Slightly reduces verbosity in rule definition/creation.

Thank you!


Build should verify formatting

Would be nifty if travis verified that gofmt made no changes to the source.  Right now it's too easy for little stuff to slip through.

Migrated to Trello.
https://trello.com/c/Iom31vFk


LicenseFinder fails to run on Ruby projects using non-standard path for bundler

If a project is using Ruby/Bundler from a non-standard location and license_finder is available from a different Ruby (like system Ruby), license_finder will fail to generate a report.
Consider the following example

License Finder installed with system Ruby via gem install license_finder, and is available at /usr/local/lib/ruby.
Project uses Ruby/Bundler from /custom-ruby (Ruby 2.7), and dependencies are installed using /custom-ruby/bin/bundle install and gets installed to /custom-ruby/lib/ruby/gems/2.7.0/gems/

Because LicenseFinder uses Bundler library under the hood, which default to the system location, it can't find the libraries there. Because this is not a case of bundle install --path=<path>, there is no reference of this custom path in the project files.
Proposal
A way to specify a custom Ruby/Bundler path to license_finder so that the Bundler library used under the hood will be from that location, and will look there for gems instead of system location.

We made some changes with the new docker image. Not sure if it fixes this or not

Thanks! The workaround in https://github.com/pivotal/LicenseFinder/issues/828#issuecomment-1054114195 worked for me.
I noticed the problem also resolved if I commented out these lines: https://github.com/pivotal/LicenseFinder/blob/4d2390fd15cb9501fdb26df47030c326fb2eb1f2/lib/license_finder/package_managers/bundler.rb#L63-L64.
I wonder if those lines can now be dropped with Bundler v2.2+.

@stanhu This bundler section seems to be very finicky and we havent had time to dive into it. If we fix one situation it seems to break another. I'm glad you were able to find a workaround!

Still struggling with this, I'm using bundle install --standalone and I can't get license finder to work properly


Added InsertNodeAtSpecificPosition.cpp in C++ language

This is the solution of the problem using cpp language.
Link to question:> https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list/problem?h_l=interview&playlist_slugs[]=interview-preparation-kit&playlist_slugs[]=linked-lists

update readme


Can not find asset when Flame Game is used as a module or package

What happened?
I'm developing a game using the Flutter Flame engine and have packaged the game to be used in another Flutter app. However, I'm encountering an issue where the game, when used as a package dependency in the host app, cannot find its image assets.
E/flutter ( 3101): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unable to load asset: "assets/images/klondike-sprites.png".
E/flutter ( 3101): The asset does not exist or has empty data.
E/flutter ( 3101): #0      PlatformAssetBundle.load.<anonymous closure> (package:flutter/src/services/asset_bundle.dart:324:9)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #1      Images._fetchToMemory (package:flame/src/cache/images.dart:184:18)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #2      KlondikeGame.onLoad (package:klondike_package/klondike_game.dart:41:5)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #3      FlameGame.load (package:flame/src/game/flame_game.dart:105:5)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #4      GameWidgetState.loaderFuture.<anonymous closure> (package:flame/src/game/game_widget/game_widget.dart:194:9)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #5      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:624:31)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101):

My Flame game has its assets located in assets/images/ and they are properly listed in the pubspec.yaml of the game package. It loads the image like this:
However, when integrating this game package into another Flutter app as a module and trying to run the app, the game fails to load its image assets. It seems like the game package is unable to locate the assets directory.
The game fails to load its image assets when used as a package dependency in another Flutter app.
What do you expect?
The game, when integrated as a package dependency, should be able to locate and load its image assets successfully.
How can we reproduce this?

Create a Flutter Flame game with image assets located in assets/images/.
Package the game to be used as a dependency in another Flutter app.
Integrate the game package into the host app.
Run the host app and observe the failure to load image assets within the game.

What steps should take to fix this?
No response
Do have an example of where the bug occurs?
NA
Relevant log output
I/flutter ( 3101): Image fileName : klondike-sprites.png, Key: null
I/flutter ( 3101): Image _assets name : {}, Key: null
I/flutter ( 3101): Image _fetchToMemory : klondike-sprites.png
E/flutter ( 3101): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unable to load asset: "assets/images/klondike-sprites.png".
E/flutter ( 3101): The asset does not exist or has empty data.
E/flutter ( 3101): #0      PlatformAssetBundle.load.<anonymous closure> (package:flutter/src/services/asset_bundle.dart:324:9)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #1      Images._fetchToMemory (package:flame/src/cache/images.dart:184:18)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #2      KlondikeGame.onLoad (package:klondike_package/klondike_game.dart:41:5)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #3      FlameGame.load (package:flame/src/game/flame_game.dart:105:5)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #4      GameWidgetState.loaderFuture.<anonymous closure> (package:flame/src/game/game_widget/game_widget.dart:194:9)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101): #5      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:624:31)
E/flutter ( 3101): <asynchronous suspension>
E/flutter ( 3101):

### Execute in a terminal and put output into the code block below

Output of: flutter doctor -v

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.19.3, on macOS 14.1 23B2073 darwin-arm64, locale en-IN)
! Flutter version 3.19.3 on channel [user-branch] at /Users/tushar.nikam/tool/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.2)
! CocoaPods 1.5.2 out of date (1.13.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.87.2)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 2 categories.

### Affected platforms

Android, iOS

### Other information

_No response_

### Are you interested in working on a PR for this?

- [X] I want to work on this

@champ96k I'm sorry, I don't have anything to do with this project.

@spydon  @sethladd @angel333 @ianliu @domesticmouse Do you have any idea about it?

Please don't tag all those Googlers in our issues, they are busy as it is.
If you want quick answers I suggest that you join our discord instead, it's kind of rude to ping people like that in issues.

Hey @spydon Thanks for response as i already drop this issue in discord, and will closely monitor this issue on discord
As i debug this issue with flame repo as i found this issue is coming from below code
Future<Image> _fetchToMemory(String name) async {
    final data = await bundle.load('$_prefix$name');
    final bytes = Uint8List.view(data.buffer);
    return decodeImageFromList(bytes);
  }

This below line throwing an error
final data = await bundle.load('$_prefix$name');

I just found one work around solution, When i calling our module or project then i need to create one name parameter for prefix and we need to override prefix parameter
Here i am calling/Navigating my module/project code, then that time i need to override prefix param, Just for reference below us the complete code.
Navigator.of(context).push(
          MaterialPageRoute(
            builder: (ctx) => Klondike(
              prefix: 'packages/klondike_package/assets/images/',
            ),
          ),
        );

class Klondike extends GameWidget<KlondikeGame> {
  Klondike({super.key, required this.prefix})
      : super(game: KlondikeGame(prefix: prefix));
  final String prefix;
}

class KlondikeGame extends FlameGame {
  KlondikeGame({required this.prefix}) : super(camera: CameraComponent());

 @override
  FutureOr<void> onLoad() async {
    images.prefix = prefix;
 }
}

As of now closing this issue, feel free to re-open if you found any difficulty.

This is not working when we host the package on github

This is not working when we host the package on github

It should not matter where the package originates, as long as the package name is correct.

I am also affected.

I am also affected.


[Performance] Static assets are not compressed in production

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

What performance issue do we need to solve?
When loading newdot in production, the static text assets (js, css, html, json, etc.) are not compressed. This leads to long loading time, expecially on slower networks.
For example when loading https://new.expensify.com we can observe in Safari devtools that no compression is done and the content is served as text/javascript for https://new.expensify.com/main-5c8169422a350d70ff13.bundle.js.

We can compare this with a request to a 3rd party library like appleid and see what it looks like when compressed.

If I compress this JS bundle file manually the size goes from 4.4mb to 1.2mb.
What is the impact of this on end-users?
App is slow to load initially on slower connections.
List any benchmarks that show the severity of the issue
Please also provide exact steps taken to collect metrics above if any so we can independently verify the results.
Proposed solution (if any)
Enable compression of static assets.
List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
Collect network traces in Safari or Chrome devtools and check the size of various files.
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Version Number: 9.0.33-4
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @janicduplessis
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1726259564418389
View all open jobs on Upwork

Will look at soon.

It's not obvious to me why these aren't being served compressed so I opened a cloudflare ticket.

Having trouble getting a response from Cloudflare through our support ticket on this. I pinged our account team on this.

Got a response from Cloudflare but still have not identified where the issue is. Still working through it.

Ok, I think we have figured this one out.
We had a rule enabled from awhile back when we had problems with videos not playing back in Safari properly. It ended up having Cloudflare serving strong etags on cached files, which in turn, disabled compression. We also had another rule that used strong etags for mp4 files which were affected by the issue, so we didn't actually need strong etags everywhere.
I turned it off and it looks like it is working now.
➜ curl -s -I -H "Accept-Encoding: gzip" https://staging.new.expensify.com/main-dbcc01d6282a3006774f.bundle.js | grep content-encoding
content-encoding: gzip


consolidated plan exports

Consolidated public plans and logged in plan exports to address issues in #1127 and #1126

moved export functionality to model concern
moved plan view code to shared/export

merging the PR, @sjDCC and @stephaniesimms will test all the exporting options for each exporting type of plans.


Bring rebase branch back to primary working branch

Just getting the rebase back to some common working branch, for now. We can create a new cleaner working branch later.
I'll target my orthographic fix to mp_tile_proto_priority, and then after it gets some vetting I'll cherrypick that to a clean PR against upstream.

 Should we just force-overwrite the branch with the rebased one?


ServiceUnavailable from host runtime while deploying function

Repro steps:
Try to deploy function from VS Code using Azure function extension

Deploy icon
Action: azureFunctions.deploy
Error type: BadRequest
Error Message: Encountered an error (ServiceUnavailable) from host runtime.

Version: 0.13.1
OS: win32

@EricJizbaMSFT Thanks !!


Consider changing security/syndicate color schemes to distinguish the two more clearly.

Right now, both syndicates and security have a red colorscheme. This can easily be confused with syndicates which are also red. BlitzGunner225 brought this up on Discord and I agree it should be given some thought.
Changing security's color scheme to something like blue would avoid this confusion. The downside is that it's a drastic departure in aesthetic.

Some shade of blue can match many peacekeeping/security/police organizations both in real life and in media, so it's not a big stretch. But yeah not as much of a sinister security vibe.
Another option is to keep them red but figure out a better way to distinguish them from syndies. Could make syndies a more consistently "black with red outlines" theme, and then change security to something like "red with light blue outlines". You get to keep your red but it should be far more clear to distinguish.

It's an interesting topic, because I think a lot about the color association with certain departments and how that is reflected in game. For example, orange being Engineering and Cargo. Green being Botany. Purple being Science, etc.
I propose that Sec should have it's color changed to match the color of the Captain. Some type of darker blue or steel blue. For a real world parallel, think of the UN Military Police. You can keep much of the same design aesthetic, but it won't make Sec as "menacing". But is Sec supposed to be menacing? They are there to keep the station safe and in order. Their goals align with the Captain.

There is in fact a grey security outfit already. Grey and red isn't a far stretch since all of the department is typically red (since blue is command).
Going all blue would potentially conflict with other NT / command roles.
Syndie hardsuit is their only red thing usually and it's very clearly different. Most syndi wear black webbing etc under it.

orange being Engineering and Cargo.

Engineering is more of a yellow-orange while cargo is dull brown, to be clear.

I propose that Sec should have it's color changed to match the color of the Captain.

Captain (and HoP) have the color of command, which is a dark blue. These should still be clearly kept separate from security. Keep in mind that the HoS is in charge of security, not the captain directly (ideally). Brighter shades of blue would probably also conflict with this (too little contrast) if I'm being honest, like Peptide said.

But is Sec supposed to be menacing?

Well ideally not but this isn't supposed to be a perfect normal space station either. Security being somewhat menacing is still good in my opinion.

There is in fact a grey security outfit already.

Grey isn't really an active color here, it's "neutral" space that doesn't go either way IMO.

Syndie hardsuit is their only red thing usually and it's very clearly different. Most syndi wear black webbing etc under it.

Yeah I think making the blood-red hardsuit a different color scheme would probably be in order.
I think my idea of making sec have a red-with-blue-highlights scheme is best.

I think my idea of making sec have a red-with-blue-highlights scheme is best.

Definitely should test this with sprites first, as red and blue are contrasting colors and may clash poorly

logically i think making them blue would make the most sense however im not sure a mega corporations police force should need to have to follow common color conventions; and the red is just so classic

Syndicate and security are red, making security blue will leave us with us medical, command, and security being shades of blue, won't that be more confusing?

Medical at least is white and blue to distinguish that.

thought I'd at least post a visual here for reference

I said this in discord and I’ll say this again.

Now for what should be changed, I suggest having the syndie stuff be red. Red is already programmed into our minds to mean danger so it’s a perfect fit. Sec should take the blue and red from HOP as it keeps a bit of that dangerous red while also using the NT blue. Hop should also switch out it’s red for something like a grey or white as there aren’t supposed to be threatening.
Sidenote: Maybe wizards should be red too. They have a more unique silloette and design so that might be enough but it depends on how they’re made for ss14.

At the moment, this doesn't really work. Very rarely do people actively go out of their way to buy the Syndicate Hardsuit with TC (there are better purchase options available) and then go on a murder spree in said hardsuit (bear in mind you've already spent TC, so resources are limited as a result).
That said, I'm onboard with the idea of changing security/syndicate schemes anyway because accessibility options. I could see someone with various degrees of colorblindness having an issue with the current arrangement.

When nuke ops come in, people are really gonna need to know.
I don’t think salvage hard suits give any  armor so it sorta balances out. If it does give armor then the gear needs to be nerfed. Also sec should prob deal with that before that’s a problem.
Ye

Syndicate and security are red, making security blue will leave us with us medical, command, and security being shades of blue, won't that be more confusing?

Well all of them are supposed to help you so it’s not that much of a problem. Also medical will be light blue with a bit of white and sec will prob be blue with a bit of red so you can still tell the difference. If you need medical help you usually just go to med so that also isn’t a problem.

In all my time in ss13 (mostly /TG/ and fulp) and ss14 I've never seen someone confuse the two:
Sec officers are black and red; syndie suits are blood-red.
Same deal with the HoS: The HoS's hardsuit (if they are wearing one and not their regular uniform, which is also mostly black) is almost completely black except for the helmet. They also have a cape that's also black and slightly red.
Red clothes are also a staple of ss13, so I'd be a very controversial change.

When nuke ops come in, people are really gonna need to know.

If someone in a blood-red hardsuit comes and is trying to shoot you then isn't it obvious who's the nukie? Even if they don't shoot or it's not exactly clear who's shooting or whatever the hardsuit is a very light red compared to the HoS's almost black.

i really do not see the need for such a large overhaul, syndies and sec are already very distinct in other ways, and blue infringes on the command colorscheme (captain and HoP are VERY blue)

Grey sec works IMO, with some really muted blues thrown in

throwing my two cents in: if any scheme is changed it should be syndicate. security is way too iconic and established in SS13, making it blue or grey would make them just normal cops. syndicate has red in their hardsuit and like... their balloon? it wouldn't be as big a deal if syndies got changed.

the syndicate blood red hardsuit is, itself, extremely iconic.

i just dont think anything should get changed at all, its fine

Are we settled on leaving things as is? Or should we ask the sprites for some updated uniforms (not colour changed, just some fresh ideas).

i dont think this is getting changed


Title: Improve footer UI

Is your feature request related to a problem? Please describe.
footer and go to top button is not aligned and footer UI is not good. you can see in this image

Describe the solution you'd like.
I redesign the footer and increase footer content like home, about, service and other social media icons.
Describe alternatives you've considered.
I also improve go to top button position.
Add any other context or screenshots about the feature request here.
No response

Assign me this issue, i'll resolve it.

If anyone is not working on this issue I'll like to work on it.

@sumitkr2000 I am working on this issue

ok

I have already completed this task, and I am confident in my skills and efforts. Please assign me this issue so that I can resolve it under GSSOC-23

Too easy issue


Update forms.md

Minor copy edits and formatting tweaks

This is absolutely beautiful, thanks @Zearin!


对 Baichuan 1 的推理优化迁移到 Baichuan 2的转化代码有问题

下载的模型文件里面有三个.bin的文件  提供的代码会报错

可以看index json文件，确定lm_head在哪个bin文件下

 下载的模型文件里面有三个.bin的文件 提供的代码会报错

The sample code is just an explanation of the translation process.  You should change this accordding your situation. If you download from hf repo. Change 'pytorch_model.bin' to 'pytorch_model-00002-of-00002.bin' maybe work!

 下载的模型文件里面有三个.bin的文件 提供的代码会报错

The sample code is just an explanation of the translation process. You should change this accordding your situation. If you download from hf repo. Change 'pytorch_model.bin' to 'pytorch_model-00002-of-00002.bin' maybe work!

我找到了lm_head_weight 在 00003.bin上，修改代码中得文件名后运行，报错：
Attempting to deserialize object on CUDA device 5 but torch.cuda.device_count() is 2. Please use torch.load with map_location to map your storages to an existing device.
我机器上只有2个GPU不知道为什么会出现 CUDA device 5

Because the original tensor saved are on 8 GPU. And saved tensors record its device info. It will try to put tensor to their device if you load by default. You can  try
state_dict = torch.load(path, map_location='cpu')

or
state_dict = torch.load(path, map_location='cuda:0')

to specify the device.

增加map_location参数就可以
torch.load(model_path, map_location='cuda:0')


Add 8-Bit Decimal to Binary Converter (hacktoberfest)

Type of change

[x] Added new project

Changes proposed in this pull request

Project name :

Decimal to Binary Converter (8-Bit)

Short description :

Will ask the user to input a whole number from 0 to 255 (including 0 and 255). Prints the binary representation of that number, and asks if they want to keep going. Repeats until they indicate they want to stop.
Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Not related to development field

Not related to development field

How so? I thought this was for beginner python projects?


Auto-validate @p entry, even if no tilde is included

Galen Feedback:

If I paste in a planet name with no ~ into the ‘To’ field I get an error. Can we prepend a ~ or try to validate as a @p without one?

We should handle this in a similar manner to landscape's handling of PatP search/filtering.

This is also the case with master tickets and hyphens—you've got to enter them. I really like how the Bridge master ticket input "just works" wrt this formatting.

This has been merged.


Assign reading before workshop

One Medium-sized blog post for each unit:

command line
https://handbook.microdata.io/tools/csvkit
make

command line: https://handbook.microdata.io/onboarding/terminal

https://github.com/onyxfish/command-line-tutorial

https://www.dataquest.io/blog/data-cleaning-command-line/

https://blog.getdbt.com/future-of-the-modern-data-stack/

This is what I sent out:
Some recommended readings before the workshop:
Command line tutorial
Cleaning CSV data using the command line and csvkit
A love letter to Make
The Modern Data Stack
We will cover all of this material from scratch, but especially if you are not yet familiar with the Linux environment, the readings may be a good way to warm up.