Add image build for ppc64le architecture

Add image build for ppc64le architecture
Signed-off-by: Carlos de Paula<EMAIL_ADDRESS>

Thanks!

Any plans on when a new version will be cut so the images get generated?

No plan yet though v0.20 is old enough that a new release would be welcomed. If you really need to, you can use the master tag.

Sure, thanks. Can you take a look at the Prometheus PR too?
https://github.com/prometheus/prometheus/pull/7067


How do you enter your sudo password?

There are some great examples in issue 13 (and it would be useful if they were on the front page.)
But how do you run a sudo command? Can you redirect the ask for password prompt & keyboard input into the the remote server somehow?

If you have the option, I would recommend using SSH keys to avoid storing passwords.


Implement 1D CNNs

I implemented the 1D CNNs after our short discussion @dguest . This probably needs some optimization work and I might have overcomplicated things a little bit, since this is my first time working with Eigen. So I'd be happy for any comments or suggestions. Thanks in advance for your help.

I noticed that the tests fail, this was likely due to the fact that I forgot to check the reference output file in to git. That is fixed now. When I let the unit test compare to the Keras output, I get deviations in the order of e-8, as can be seen by this output (with warning threshold set to 0):
WARNING: "out_0" is off in new version by -3.7762880322755876e-08
WARNING: "out_0" is off in new version by -2.717485427655708e-08
WARNING: "out_0" is off in new version by 2.8768348692836954e-08
WARNING: "out_0" is off in new version by -1.9240117072466534e-08
WARNING: "out_0" is off in new version by 4.2735314370601074e-08
WARNING: "out_0" is off in new version by -2.1570634840817338e-08
WARNING: "out_0" is off in new version by 3.763647079407795e-08
WARNING: "out_0" is off in new version by 4.077687263542851e-08
WARNING: "out_0" is off in new version by -4.751071929626205e-08
WARNING: "out_0" is off in new version by -4.2094135281611766e-08
WARNING: "out_0" is off in new version by 2.365865707509851e-08
WARNING: "out_0" is off in new version by -4.482278823797481e-08
WARNING: "out_0" is off in new version by -2.797012329386339e-08
WARNING: "out_0" is off in new version by -5.375957488895633e-08
WARNING: "out_0" is off in new version by 3.04681777932303e-08
WARNING: "out_0" is off in new version by 1.3146829604127053e-08
WARNING: "out_0" is off in new version by 2.3017978668937733e-08

Those deviations look reasonable to me.
@jcvoigt, this MR generally looks good to go, sorry for the slow response but just ping me if you're ready to merge it (assuming all the CI passes). Do you need a new release / tag of lwtnn to deploy this somewhere?

I tagged v2.14.
The procedure in ATLAS is to:

make a jira ticket similar ATLINFR-4793.
open a merge request to ATLAS Externals, similar to the one corresponding to the above ticket. The MR should start with the name of the ticket.
Nag people until it's merged.

@jcvoigt do you want to take care of this on the ATLAS side?


BLS-verify bundling issue

I am trying to integrate the bls-verify package into a raw js file for some WebGL unity project for ICP.NET
The issue I am having is that I am doing npx esbuild --bundle src/index.ts --outfile=dist/index.js --platform=browser to bundle up the package to include as raw js, but the issue is that it breaks because all the files in packages/bls-verify/src/vendor/amcl-js/src are not included except for ctx.js. It seems to be an issue because of the dynamic loading of the other files like aes.js. When it tries to load them it breaks
How do you guys handle this?

Sorry for the inconvenience - the BLS verify feature is going to be deprecated and replaced soon with a native JS verification strategy from @noble/curves


Feature request: new option for bcbio_setup_genome.py to add a VCF file with known variants for BQSR

It would help a lot to be able to add a VCF file with known variants for BQSR to a custom genome via the bcbio_setup_genome.py script and to have it automatically included into bcbio_nextgen/genomes/${custom_genome}/seq/${custom_genome}.yaml.

closing, see why here: https://github.com/bcbio/bcbio-nextgen/issues/3231


Jest giving wrong line number for error

Do you want to request a feature or report a bug?
Bug report
What is the current behavior?
It gives the line number a few lines above where the error actually is. The error should be on line 7, where Object.assign is run, but it is giving the error on line 10.
Sourcemaps appear to be working, but this particular instance, they didn't for some reason.
I made a repo https://github.com/zwhitchcox/jest-bug, you just have to git clone, yarn install and yarn test
What is the expected behavior?
To give the correct line number
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Node: v8.4.0
Jest: 22.1.4
OS: GalliumOS (basically Ubuntu 14.04)
yarn: 1.1.0

I also copied my code to the react official example, and it had the same problem

@zwhitchcox that repo is empty 😬

Sorry! Just pushed!

Confirmed - the failure is shown on line 10 but the code is on line 7.

Code:

FWIW converting the exports to commonjs will show the correct line so this is probably babel related:

Does this repro without jest-sourcemaps? Custom transformers currently can't map stacktraces and code frames against original source code. I would think out-of-the-box babel-jest would work here.

No, it wasn't working, and I added that thinking it might work

@zwhitchcox it would be helpful if you could remove everything you can from the test repo
@jwbay I had the same thought, but I tested and it's not related to jest-sourcemaps

I created the absolute minimum repo: https://github.com/rickhanlonii/jest-issue-5446
See the comment here for an interesting finding:

Thanks, sorry, I would've done that, but I'm not home right now. And yeah, I think it's probably babel, but Facebook de facto owns anything related to the internet anyway, right??

Vaguely related to #5449. If I apply the same changes here as I propose in there, this is the error:

Hi, guys. I'm using Node 8.9.4 with<EMAIL_ADDRESS>Given the following example
 test('should fail', () => { // Line 31
    expect(1).toBe(2); // Line 32
  });

  test('should do something else', () => {

  });

  test('should do yet something else', () => {

  }); // Line 41

The test output is:
    expect(received).toBe(expected) // Object.is equality

    Expected value to be:
      2
    Received:
      1

      39 |   test('should do yet something else', () => {
      40 |
    > 41 |   });
      42 |

So the error should be at line 32, but Jest says it is at line 41, a difference of 9.

Can you create a repro showing this?

@rickhanlonii your example is fixed after #5177. The OP is still wrong, though...

@zwhitchcox you're using a transformer called jest-sourcemaps. When<EMAIL_ADDRESS>is out, you can safely remove it entirely from your project, along with this line on top of your test file:
- require('source-map-support').install()

I've just verified it works as expected (from master branch).

@thymikee I am running 22.4.2 and it still requires
require('source-map-support').install()
for proper line number reporting...

That's odd. Do you have a reproduction we can pull down and take a look at?

Unfortunately, I do not have one yet.  However, it appears it may be isolated to typescript files, which source-map-support seems to fix from a jest reporting perspective.   I am also having issues with code stepping inside the file to be tested. The source maps are way off but fine on the actual TS test file. I'll probably take this over to ts-jest repo if I cannot get this resolved. Thanks.

Are you using ts-jest? If so, can you try downgrading (or upgrading if you're not on latest)?

Reporting works in ts-jest 21.2.1, broken in 22.0.4. Still narrowing it down.
Still trying to isolate when source stepping the typescript broke.
All tests were done using jest 22.4.2.

Does it help to apply this diff? #5692

I cloned the latest master which includes #5692 and yarn linked it. It still has the same issue when collectCoverage=true.

... since we're diverging with the ts-jest thread, I'd like to draw attention back to @rickhanlonii's finding in this repro. I've found the same thing in my own project, where changing export function to export const fixes the issue with lines being wrong.

I worked with the OP repo as well, and have confirmed that changing to export const fixes the issue there as well.
Before:

After:

Here's the OP repo updated with export const syntax.

This was fixed in #5945, temporarily reverted in #6106 due to a memory leak.
See

I'm using ts-jest and my error lines are completely wrong.  Is this still an issue?

FWIW my version of this appears to have been caused by babel-plugin-source-map-support. Removing it from my plugins fixed jest error lines.

I am having the same problem. I am using the following packages:
{         "babel-core": "6.24.1",         "babel-jest": "^24.1.0",         "babel-loader": "6.4.1",         "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",         "babel-preset-env": "^1.7.0", }
I am not sure what to do to fix the problem since I don't use any sourcemaps.

FUTURE PEOPLE:
If you have minified: true in your .babelrc the line number can be off. trying turning it off when running your tests

same issue +1

Still getting the same issue. Using jest 25.4.0 in a NodeJS 12.13.0 project.

I have this issue on my project when using both babel-jest and esbuild-jest with TypeScript sources. Is it possible Jest itself is adding a pre-amble or something that is causing an offset?

I have this issue on my project when using both babel-jest and esbuild-jest with TypeScript sources. Is it possible Jest itself is adding a pre-amble or something that is causing an offset?

For those who are having this issue in 2020... Running jest through nyc caused the issue for me.
And I've learned that jest has coverage collection built in, so you can uninstall nyc and add collectCoverage: true to your jest config.

My project do not have nyc package but still got that issue.
I'm using jest: 26.6.3 & ts-jest: 26.x

In my project, I found that the problem is caused by an npm module (dynamoose) which imports source-map-support/register on the inside (https://github.com/dynamoose/dynamoose/blob/master/lib/index.ts#L1).
So I replaced it with a mock in jest.config.js:
  moduleNameMapper: {
    'source-map-support/register': 'identity-obj-proxy'
  }

then the problem is fixed.


Update addons-api-reference.md

Incorporated Abhishek's comments from this issue https://github.com/MicrosoftDocs/edge-developer/issues/1388

Docs Build status updates of commit 181a357:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/publish/api/addons-api-reference.md
:white_check_mark:Succeeded
View

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


Custom property added to Event object - Missing after first dispatch?

When you add a custom property to an Event object such as:
var hitEvent = new createjs.Event("gameEvent", true);
hitEvent.id = "playerHit";

And dispatch as normal (sprite is a sprite object on displaylist):
sprite.dispatchEvent(hitEvent);
The first time the event is detected by a listener, its handler can access the id property via the received event object. But the properties are missing the second time the same event object is dispatched and received by the event handler.
This fixes it if done before any dispatch:
hitEvent.target = null;
This issue did not exist in EaselJS version 0.7
Any ideas?

To prevent race conditions, or other issues that could potenially occur when reusing events, event objects that already have a target (and have therefore been dispatched) will be cloned before dispatching (and therefore omit any custom properties). Wiping out the target causes the event to be treated as a new event, which changes the behaviour.
This is unlikely to change, as it addresses issues that are typically difficult to debug, and was built this way by design.
A simple fix is to either make new events each time, make a custom event class that clones the properties you need. Check out the ProgressEvent class which does this, or keep using your workaround.
Cheers.


Update docs for postgresql installation

Description
Update docs
closes https://github.com/inmanta/inmanta-core/issues/7042
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

The sudo su - postgres -c "postgresql-setup --initdb" step was failing with following error:
initdb: error: invalid locale settings; check LANG and LC_* environment variables
Which comes from the fact that the system is using a locale that is not installed:
current status of the system locales settings:
[rocky@issue-7042 ~]$ localectl status
   System Locale: LANG=en_US.UTF-8     <---- Not installed
       VC Keymap: us
      X11 Layout: us

Installed locales:
[rocky@issue-7042 ~]$ locale -a

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX

Managed to make the command work by changing to a locale that is installed :
[rocky@issue-7042 ~]$ sudo localectl set-locale LANG=C.utf8

An alternative fix involved installing the missing locale through
[rocky@issue-7042 ~]$ sudo dnf install langpacks-en glibc-all-langpacks -y

Only lead I have on why this is happening is that it comes from my ssh configuration that used to have:
# file : /etc/ssh/ssh_config
#   SendEnv LANG LC_*    <-- this wasn't commented out

The sudo su - postgres -c "postgresql-setup --initdb" step was failing with following error: initdb: error: invalid locale settings; check LANG and LC_* environment variables Which comes from the fact that the system is using a locale that is not installed:
current status of the system locales settings:
[rocky@issue-7042 ~]$ localectl status
   System Locale: LANG=en_US.UTF-8     <---- Not installed
       VC Keymap: us
      X11 Layout: us

Installed locales:
[rocky@issue-7042 ~]$ locale -a

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX

Managed to make the command work by changing to a locale that is installed :
[rocky@issue-7042 ~]$ sudo localectl set-locale LANG=C.utf8

An alternative fix involved installing the missing locale through
[rocky@issue-7042 ~]$ sudo dnf install langpacks-en glibc-all-langpacks -y

I would not change the locale, because that might have other undesired side-effect on the system. So I would do for the approach that installs the langpacks. I noticed that doing
sudo dnf install langpacks-en -y

is enough to make it work on a default RHEL 9. I would not mention the glibc-all-langpacks package for that reason in the install docs. But I would mention in the documentation why the langpacks-en package is required and that a different langpack might be required based on the locale used on the users system.

locale warning part renders as such:

locale warning part renders as such:

With the orange warning box it looks more dramatic than what I had in mind, but the message is definitely clear.

Processing this pull request

Merged into branches master in d62a2a75a0062c85d3f113d8c3b166ee001a10b3

Processing #7275.


Disallow players to see server ip in !serverinfo

Players should not be allowed to view the server IP at all since "some" people like to DDoS them.

Approve of this however getting the server IP is really easy even without the command, Ctrl+shift+f3 (in roblox) or a network monitor.

This is fixing a non-issue.

This is fixing a non-issue. You can get the IP without using anything in-game fairly easily...

still not a thing a player should know

We have discussed about this previously in the PR that added this by me that viewing the IP is not an issue because even a skid can access the IP without using !serverinfo, also, I thought serverinfo was a mod command????

We have discussed about this previously in the PR that added this by me that viewing the IP is not an issue because even a skid can access the IP without using !serverinfo, also, I thought serverinfo was a mod command????
The real issue isn't people seeing the Server IP, the issue is when someone is screensharing themselves playtesting on Studio,  they may accidentally reveal their location, coords, and IP.

even a skid can access the IP without using !serverinfo

Yes, even a non-skid can.

I thought serverinfo was a mod command????

Like Pinewood we're making it usable by players since there isn't anything sensitive.

The real issue isn't people seeing the Server IP, the issue is when someone is screensharing themselves playtesting on Studio,  they may accidentally reveal their location, coords, and IP.

Taken care of.

Alright thank you very much, nice grammar by the way.

Roblox users can still easily obtain the server IP by looking at the Roblox log files while in the game, this subtraction is absolutely useless.

I suggest closing this.

I agree with OP. While you could get the ip through other ways. There is no real point in showing the IP to non admins though.

I agree with OP. While you could get the ip through other ways. There is no real point in showing the IP to non admins though.

Alright I agree

Accepted because we don['t care about letting non-admins see things round these parts


How to store enrolled faces on MYSQL?

I have achieved it

@kr817  Nice job, can you help me with that, at least if you can share how you get the face id and assign it after fetching.
I appreciate your help very much.
Thank you

Hi @kr817,
Please close the issue, if it has been solved.


Bug: Memory issue

^Docker stats view
Kibana seems to use a significant chunk of memory.
API container grows steadily in memory until it crashes

Same behavior without all the other containers

I think the metrics data structures (consuming RAM) are steadily growing in size..

We could say that this is ok, if we don't need any "total metrics over a long time" and we are fine with "resetting" our metrics every now and then ...

If we could get the metrics in the API that Prometheus fetches to be stored in a volume instead of RAM it would be fixed ..

It seems to NOT be metric related actually. maybe read this https://hackernoon.com/avoiding-memory-leak-in-golang-api-1843ef45fca8

http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/index.html#close_http_resp_body
I believe this has been the issue. It's not 100% solved, but I think most of the cases are..


Possible corrupted database after crashing on DELETE EDGE query

OrientDB Version, operating system, or hardware.

v2.1.11

Operating System

[x] MacOSX

Steps to reproduce the problem
OrientDB crashed (out of memory in logs) due to a large DELETE EDGE query I had going to clean up some edges. Now I'm getting nullPointerException errors in console while trying to access some vertexes:

and, for some reason, when I use subqueries I get an odd error now.
This query works fine:
SELECT expand(out('profile').out('contact'))
FROM User WHERE email='lorem@ipsum'

This query does not:
SELECT FROM (
  SELECT expand(out('profile').out('contact'))
  FROM User WHERE email='lorem@ipsum'
)

gives me this error:

Tried to use repair database --fix-graph but I get Error: java.lang.NullPointerException
I've tried to go through and manually update vertexes affected but I keep getting NullPointerExceptions.
Any ideas on how to proceed other than reverting to a prior state? (which is a possibility)

Hey @EricLin2004, WDYT about migrating to v2.2.x?

Yeah I just started looking at that this morning, think that would help, @lvca ?

We fixed hundreds of issues in v2.2, so probably by just upgrading this is gone, otherwise we can look at it on a recent code base, so we can fix it quickly.

Sounds good, let me try that first then before we look into anything else.
Thanks for the quick response @lvca ! I'll post an update once it's done.

So I've upgraded to v2.2.8, I no longer get errors when looking at the same vertexes as before.
However, I feel like there are probably still some edges pointing to empty vertexes?
I tried to run
repair database --fix-graph
but I get:
Error: com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #24:5118 (cluster: person)
	DB name="lorem"
	DB name="lorem"

Error: java.lang.OutOfMemoryError: Java heap space

Can we have your database in private, so we can look at what is wrong with record #24:5118? In case please send it to support - at-- orientdb.com. Thanks.

Hey @lvca , I unfortunately wasn't given the go ahead to release the db so we're going to revert to a stable state of the db.
Looking into the orientdb logs some more though, I found the point where the issues started arising and it seemed like this error may have been the root cause:

Any information you can shed on how that error came to be would be helpful.
Thanks!

It looks like there is no space on the hard drive/ssd, that's why. Could you please check it?

Yeah, I understand that was probably the issue, the VM we were running ran out of space... But is that enough to corrupt the database?

@laa do you have any idea why the check for the free space didn't work for @EricLin2004 ?

@EricLin2004 could you send distribution of free space on your system now ?

Sorry, @laa , not exactly sure what you're looking for, can you elaborate? Either here or you can contact me at<EMAIL_ADDRESS>as well.

@EricLin2004 what I mean is following. What is free space available on all your devices, what are devices are used by OrientDB ?

Close issue because of no reply. If you reproduce given issue and have information which is requested in issue feel free to reopen it.


Nextcloud: Mark multiple items read in single request

Supersedes https://github.com/newsboat/newsboat/pull/1283, using @Minoru's idea https://github.com/newsboat/newsboat/pull/1283#issuecomment-726965670:

I also wonder if it would make more sense to add mark_all_read() to RemoteAPI. We can provide a default implementation that calls mark_read() in a loop, and OcNewsApi can provide an optimized implementation. This neatly avoids the problem with shared state.

Coverage decreased (-0.06%) to 57.051% when pulling c6cf696b80d6248bd898e1a491b1cf3241cc5628 on dennisschagt:feature/multi-mark-read-nextcloud into 3bee937fe8ea0de48a0b166107c720f0f0a6be67 on newsboat:master.

I don't have NextCloud News, so just to make sure: you did test this, right?

Yes, I have a small test setup on which I verify my changes in the OcNewsApi.


Workaround to avoid full hang

As the scale factor becomes unreasonably large, the number of subdivisions of an Euler spiral into lines grows, making the flatten stage take too long.
This patch just bounds the number of subdivisions, so it will eventually make progress. It will be slow, but not hang.
A better solution would be to aggressively cull so it only generates geometry inside the viewport, but that is considerably more complicated.
Workaround for #548

Given the amount of pain involved in this, I think that maybe having a comment in one of the implementations would be reasonable to explain that this particular clamp is important and a bit about why...


TypeError: VoiceChannel.activityInvite is not a function

hello i was trying to add commands to the bot (i use my command handler). But I get the error:
TypeError: VoiceChannel.activityInvite is not a function
Here is my code (I have Discord.js v13):
require("discordjs-activity");

const Command = require("../Structures/Command");

module.exports = new Command({
    name: "activities",
    description: "Voice minigames command",
    cooldown: 10,
    permissions: ["SEND_MESSAGES"],
    async run(message, args, client){

        const voice = args[0];
        const game = args[1];

        try {
            if(game === 'youtube'){
                let VoiceChannel = client.channels.cache.get(voice)
                let Invite = await VoiceChannel.activityInvite("youtube_together")
                if(Invite) {
                    message.reply("https://discord.com/invite/"+Invite.code)
                }
            }
        } catch (error) {
            console.log(error)
        }
    }
});

How can i fix this?

hello i was trying to add commands to the bot (i use my command handler). But I get the error: TypeError: VoiceChannel.activityInvite is not a function Here is my code (I have Discord.js v13):
require("discordjs-activity");

const Command = require("../Structures/Command");

module.exports = new Command({
    name: "activities",
    description: "Voice minigames command",
    cooldown: 10,
    permissions: ["SEND_MESSAGES"],
    async run(message, args, client){

        const voice = args[0];
        const game = args[1];

        try {
            if(game === 'youtube'){
                let VoiceChannel = client.channels.cache.get(voice)
                let Invite = await VoiceChannel.activityInvite("youtube_together")
                if(Invite) {
                    message.reply("https://discord.com/invite/"+Invite.code)
                }
            }
        } catch (error) {
            console.log(error)
        }
    }
});

How can i fix this?

We don't support djs 13

I hope there will be an update

I hope there will be an update

Well the simple way to do it is just to fetch the code yourself, like this for example
https://github.com/SudhanPlayz/Discord-MusicBot/blob/74065d167f6dab66b1910ece7368077c0a4b865c/commands/slash/youtube.js#L29

You are supposed to require the module before defining client


use Waku Network cluster id  as default for autosharding

This is a feature or change request
Problem

To setup a node for autosharding, a user needs to explicitly specify both content topics and a cluster id to determine the pubsub topics. According to the RFC, the Waku Network always uses a cluster id of 1.
Proposed Solutions

Modify any functions that accept sharding parameters to accept a list of content topics without a cluster id, in which case the default cluster id should be set.
Notes

Internal dogfooding issue: https://github.com/waku-org/js-waku/issues/1812


add Chelle's institutions to Partners page

https://github.com/pangeo-data/openoceancloud/blob/main/content/homepage/partners.md

closed.


Add infinite as a value in /effect give

As of the update 1.19.4, Mojang has added infinite as an argument in /effect give
This extension should highlight and accept infinite as a keyword
Reference: /effect syntax

This repository is no longer maintained. Please use/go to the fork mentioned in the comment on #60 or any other fork.


[Feature request] unminified compiled version in dist (release)

Currently, the package.json "main" field is pointing to dist/shaka-player.compiled.js which is a minified version of shaka player.
I think it would be a nice at each release to build a shaka-player.compiled.js (unminified) and a shaka-player.compiled.min.js (minified) with "main" field pointing to unminified version.
The motivation behind this request is when you import Shaka player (for example using NPM) and import it in your javascript application bundle as node module, you expect an unminified version of the module.
Also, i think when you compile your bundle and minify it (for example using UglifyJS), i think (but i may be wrong!) that the minified result may be more optimized if working from unminified source, instead of minified.
Does it make sense ?

Nevermind, I just realized that project use closure compiler. Closing the issue.

The compiled bundle is also minified.  We also ship a debug version (in which you can use source maps and set breakpoints) and the uncompiled library.
See these two tutorials for more details:
https://shaka-player-demo.appspot.com/docs/api/tutorial-basic-usage.html  (shows use of the compiled library)
https://shaka-player-demo.appspot.com/docs/api/tutorial-debugging.html  (shows use of the uncompiled library)

Thank you, i will take a deeper look at python helper scripts.


I2C Slave mode problem while receiving data - buffer overrun

While implementing I2C slave mode solution presented in I2C_TwoBoards_RestartAdvComIT official example and the one described here and here I noticed that calling HAL_I2C_Slave_Seq_Receive_IT() may cause buffer overrun leading to unpredictable behavior including program crash. In brief, received byte value is stored twice at two consecutive addresses.
Here is the detailed call sequence when receiving the last frame (pseudocode):
-> HAL_I2C_EV_IRQHandler();
   -> I2C_Slave_ISR_IT();
      -> I2C_ITSlaveCplt();
         // problem 1: I2C_FLAG_RXNE flag is cleared but on local/temp flags copy only
         tmpITFlags &= ~I2C_FLAG_RXNE;
         *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->RXDR;
         pBuffPtr++;
         -> I2C_ITSlaveSeqCplt();
            -> HAL_I2C_SlaveRxCpltCallback();
               // problem 2: HAL_I2C_Slave_Seq_Receive_IT is called when it is already known that there is no more data
               -> HAL_I2C_Slave_Seq_Receive_IT(Size=1)
                  hi2c->XferCount = Size; // here XferCount is set to 1 again while receiving of the current frame is not finished
	    <- HAL_I2C_SlaveRxCpltCallback();
         <- I2C_ITSlaveSeqCplt();
      <- I2C_ITSlaveCplt();
   <- I2C_Slave_ISR_IT();
      // problem 3: data from RXDR register is stored again in buffer at next position (buffer pointer previously increased) without checking that I2C_FLAG_RXNE flag is still set
      if (hi2c->XferCount > 0U) *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->RXDR;
<- HAL_I2C_EV_IRQHandler();

2C_NEXT_FRAME and I2C_FIRST_FRAME flags appear to be equivalent - I found no difference in HAL code, both values are checked everywhere.
Package: STM32Cube_FW_L0_V1.12.1

This issue appears to also be broken for many of your other micros, like the G431KB and G474RE, are you going to fix this generically? This is broken for both the _IT and _DMA functions for I2C.

Hi @tdjastrzebski,
Sorry for this delayed answer. Please find our development team comments.
1.  -> I2C_ITSlaveCplt();
         // problem 1: I2C_FLAG_RXNE flag is cleared but on local/temp flags copy only
         tmpITFlags &= ~I2C_FLAG_RXNE;

Here, the I2C_ITSlaveCplt() is called because STOP condition is detected, no more data can arrive on the bus. So if any, the last data in the RXNE is flushed. If there is a data on RXNE, it must be at least one size in the buffer if the buffer is well sized.
2. // problem 2: HAL_I2C_Slave_Seq_Receive_IT is called when it is already known that there is no more data
               -> HAL_I2C_Slave_Seq_Receive_IT(Size=1)

The slave calls this function to prepare a next transaction if it comes. There is no specific activity on the slave on this step excepting enabling the interrupt.
3. hi2c->XferCount = Size; // here XferCount is set to 1 again while receiving of the current frame is not finished

This is actually not an issue. The counter and its associated buffer pointer are prepared just in case.
4. // problem 3: data from RXDR register is stored again in buffer at next position (buffer pointer previously increased) without checking that I2C_FLAG_RXNE flag is still set
      if (hi2c->XferCount > 0U) *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->RXDR;

The pointer has already been reset at call of the HAL_I2C_Slave_Seq_Receive_IT()
With regards,

Hi @tdjastrzebski,
Please allow me to close this thread as no activity. You may reopen it at anytime if you have any details to share with us in order to help you to solve the issue. Thank you for your comprehension.
With regards,


Providers still have GetLibraryName/GetLibraryVersion methods

Functional impact
We have implemented GetLibraryNameAndVersion and should be using these now.

Resolved with PR #266


Avoid warnings on Xcode 10.2

Some errors were raised when building on Xcode 10.2.
This PR make supporting Xcode 10.2.

Could you release newer version on CocoaPods?

I supported Swift 5, So I updated to version to 4.0.0.

Thank you!

@giginet Done! Sorry I thought it was, but there was an error uploading 😬


Type inference for options and arguments works in rc.5 but fails in rc.7

// import { Command } from 'jsr<EMAIL_ADDRESS>import { Command } from 'jsr<EMAIL_ADDRESS>
export const cli = new Command()
    .option('-v, --verbose', 'Enable verbose output.')
    .arguments('[...keywords:string]')
    .action((options, ...args) => {})

In rc.5, options is correctly inferred as { verbose?: true | undefined } and args as string[]; however, in rc.7, both options and args implicitly have any type unless manually annotated.

works fine for me with both versions. do you still have the issue?

Weird, seems the problem is very flaky. Adding console.log(options, args) seemed to fix the issue for me, and commenting out the console log didn't cause it to recur. Even weirder, clearing the Deno cache had no effect either way.
Maybe an issue with JSR/VS Code/TS/Deno/Deno lint/something else?

Still not working for me.

Using:
jsr<EMAIL_ADDRESS>
deno 2.1.2 (stable, release, x86_64-pc-windows-msvc)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

Works fine using rc.5:

FWIW I just ran into this. Not sure what's unique about my system, apart from running WSL & VsCode.
deno 2.1.3 (stable, release, x86_64-unknown-linux-gnu)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

Interestingly when I tried the same directly on Windows, no issues.
deno 2.1.3 (stable, release, x86_64-pc-windows-msvc)
v8 <IP_ADDRESS>-rusty
typescript 5.6.2

Left is Windows, right is WSL.

And similarly now it's come good in WSL & all I did was:

Close vscode
Create a new folder complete seperate from the last project I was working on
Opened vscode in this new folder
Enabled Deno for the workspace
Added the same test typescript to a new file
Restored dependencies

ie: nothing too special.
I can only assume it's somehow related to deno's cache.

I have the same error, it works with rc 4 and stops with rc 5 (fedora 41 )
/home/mrcool/Videos/Screencasts/Screencast From 2024-12-10 22-43-18.mp4

Cannot get it to work in rc.7 whatsoever, rc.5 works out-of-the-box.

I remember having this problem from time to time in the past. But currently I can't reproduce it. I tested it again with all rc versions, on two different laptops, with deno and node+typescript.
I also think it's either an lsp or a caching issue.
Does anyone have this issue with node as well?

It fixed itself when I explicitly run deno check fileInQuestion.ts (it seem to have downloaded some missing files that the lsp maybe didn't download automatically)


registryPackageUrl can be undefined leading to error

Using the latest version of the plugin (17.12.4) and node 8.9.3 whitesource fails with the following error:
OK: Building dependencies report
C:\app\node_modules\whitesource\bin\ws_node_report_builder.js:289
                                                if (registryPackageUrl.match(regexToFindIfPackageNameInclude) == null) {
                                                                       ^

TypeError: Cannot read property 'match' of undefined

The reason is that the resolved variable is a github url of github:seeq12/angular-editable-text#e2cdfc86532f5d47697944d8959d566c6594124d and the regex to find the registry (new RegExp("(.*)\/[^A-Za-z0-9\/].*");) does not match.  Seems that changing the if condition to if (!registryPackageUrl || registryPackageUrl.match(regexToFindIfPackageNameInclude) == null) { would solve the problem.

I have the following dependencies failing the white-source plugin:
` "some_service"<EMAIL_ADDRESS>

It looks like this was "fixed" by https://github.com/whitesource/npm-plugin/pull/23
Note: "fixed" means WhiteSource will ignore the dependencies it can't parse. That's certainly better than crashing, but it will leave a few holes in our WhiteSource analysis.

I am facing the same issue in version 18.3.1

I ran into this issue as well. What I discovered was the pckage.json file had a dependency that did not conform to the regex in line 342 so attempts to parse did not work. By changing the Regex to
RegExp("(.)/[^A-Za-z0-9-/].*")
we were able to clear this error and complete the scan successfully.

I have the following dependencies failing the white-source plugin:
 "some_service"<EMAIL_ADDRESS>
Hi @puncha , I am facing the exact problem.. whitesource fails if package.json contains the private git repo as dependency. Have you find the solution?

Using the latest version of the plugin (17.12.4) and node 8.9.3 whitesource fails with the following error:
OK: Building dependencies report
C:\app\node_modules\whitesource\bin\ws_node_report_builder.js:289
                                                if (registryPackageUrl.match(regexToFindIfPackageNameInclude) == null) {
                                                                       ^

TypeError: Cannot read property 'match' of undefined

The reason is that the resolved variable is a github url of github:seeq12/angular-editable-text#e2cdfc86532f5d47697944d8959d566c6594124d and the regex to find the registry (new RegExp("(.*)\/[^A-Za-z0-9\/].*");) does not match. Seems that changing the if condition to if (!registryPackageUrl || registryPackageUrl.match(regexToFindIfPackageNameInclude) == null) { would solve the problem.

The solution provided worked! Thanks :) I hope whitesource fixes this in upcoming version. Currently, I had to create the whitesource docker image with this fix and run the scan with the docker image and it works 😀


fix: fix a typo in the architecture doc

What this PR does / why we need it:
Fix a typo in the controller architecture docs
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[x] This change includes docs.
[ ] This change includes unit tests.

/retitle NO-JIRA: fix a typo in the architecture doc
/approve
/lgtm


TableClient should expose a Uri property similar to BlobClient

Library name
azure.data.tables
Please describe the feature.
az powershell needs to display table uri

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

duplicate of #24415


Update Crossfeed ORM to support data for Vuln Details Page

💡 Summary
This was an unplanned task for Sprint 1: Update the ORM to support newly Acquired datapoints for the Vuln Details UI.
Motivation and context
In its completion this ticket will unblock https://github.com/cisagov/crossfeed/issues/2306, https://github.com/cisagov/crossfeed/issues/2307, https://github.com/cisagov/crossfeed/issues/2308, https://github.com/cisagov/crossfeed/issues/2309. Data is used to populate the Vulnerability Details page.
Implementation notes

Section
Data

Installed (Known) Products
Misc

Installed (Known) Products
Marketing

Installed (Known) Products
Networking

Installed (Known) Products
Web Framework

Installed (Known) Products
Web Server

CVC Highlight
Days Open

CVE References & CWE
Open (Unconfirmed)

CVE References & CWE
CWE Name

Products Affected
Severity

Products Affected
Affected

Products Affected
History

Notes Section
Add new note

Acceptance criteria

[ ] PAR Submitted
[ ] Data pulled is satisfies the requirements of the UI design of Vul Details UI
[ ] ORM model supports a relationship: Vuln Details data to an Organization

@DJensen94 , @edujosemena - This has been deployed. Are we able to close?

From my perspective this can be closed out.


Activity of a week reporting

As a user of didong
I would like to know how time I spent on activity by tags
In order to check the correctness of my tracking and the way my time is spent

this feature has been implemented in pull request #7


Hi @lindydonna, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Ok, so current is:

And with your change:

Not sure I can even tell the difference! :)

All my command shell font is Consolas.  Hence, I personally like this change.

@davidebbo The first one is ugly, the second one is nice! :)  I'm a font person.

Ok, it's in! But I'll have to challenge you guys to a side by side test to see if you're not completely full of it.

One is slightly wider than the other and a few letters are a bit taller, that seems to be about it... (Notice how they blend perfectly on the first couple of letters)... >.<...

Yep, it's slightly narrower, That's the only difference :)

Thanks for merging!  @davidebbo Feel free to give me a test anytime--I cant tell the difference between those fonts quite easily.
One of my friends is even more crazy about fonts than me, and can tell the difference between Arial and Helvetica. (I can't)


Attempted to improve cisco-spark uninstall

Despite my best attempts, I can't get this background process to quit. Hopefully someone here will be able to get this working. Upon running brew cask uninstall cisco-spark (with this update) I get the following error:
==> Quitting application ID Cisco-Systems.Spark
Password:
 ==> 45:49: execution error: Spark got an error: User canceled. (-128)
 Error: Command failed to execute!

==> Failed command:
["/usr/bin/sudo", "-E", "--", "/usr/bin/osascript", "-e", "tell application id \\\"Cisco-Systems.Spark\\\" to quit"]

==> Output of failed command:

==> Exit status of failed command:
#<Process::Status: pid 66593 exit 1>

I did not press any keys after typing my password that would cause it to cancel the operation. Running ./developer/bin/list_running_app_ids contains the following line in its output:
Cisco-Systems.Spark	Spark

And running ./developer/bin/list_ids_in_app /Applications/Spark.app outputs the following result:
Cisco-Systems.Spark (+)
Cisco.appshare
com.cisco.MediaSession
com.cisco.tp
com.cisco.util
com.cisco.wbxaecodec
com.cisco.wbxaudioengine
com.cisco.wmeclient
com.cisco.wmeutil
com.cisco.wqos
com.cisco.wrtp
com.cisco.wseclient
com.cisco.wsertp
com.webex.wbxtrace
org.sparkle-project.Sparkle.Autoupdate

Finally running ps axu | grep Spark results in:
<my_username>      66448   0.0  1.1  3852020 189000   ??  S     5:15pm   0:07.35 /opt/homebrew-cask/Caskroom/cisco-spark/latest/Spark.app/Contents/MacOS/Spark

Going into Activity Monitory I can see it with the process name Spark. My user account owns the process. I tried running tell application id "Cisco-Systems.Spark" to quit in applescript but that resulted in the same user cancelled error. Let me know if there is any other useful information that I can provide. At the moment uninstalling this cask leaves a menu bar icon which stays there until the background process is quit.

Try :signal instead.

Ah, that was it, I should've looked at the docs a bit more carefully. I've fixed the issue now, so this should be ready for merging.

Thank you for the contribution. It was merged directly as 97f3f64cc9f1a87b9ca1b5c54669aabb34c61838 to keep commit history cleaner. Your contribution is still credited to you.


Move the Online Simulator backend away from Heroku

Today we use SnippetBin as the backend for persisting Micropython scripts in the online simulator (the "Save" button), and it's hosted on Heroku Free Tier.
A few days ago I received this email form Heroku:

Dear Customer,
Thank you for being a Heroku user. Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® will no longer be available. You can learn more about these and other important changes from our GM, Bob Wise, on the Heroku blog.
Existing free dynos and Heroku data add-ons will be impacted, so action by you is required. To prevent any disruption to your apps or data using free plans, you will need to upgrade from a free plan to a paid plan before November 28, 2022.
For instructions on how to upgrade and for other questions, please visit our FAQ.
Thank you,
The Heroku Team

We should decide how to proceed.
Options are:

Move SnippetBin from Heroku to some other service with Free Tier
Move SnippetBin from Heroku to some LVGL server, maintained by LVGL
Replace SnippetBin by some other persistence technique
Remove the "Save" button and give up script persistence in the online simulator
Heroku (part of SalesForce now) claim in their blog that they have some Open Source Program we might be able to apply for, I'm not sure what this involves.

@embeddedt , @kisvegabor  - What do you think?

Heroku has been rock solid for this and other projects I've been involved in, so I'm not opposed to contacting them to see if we qualify for the open source program, assuming it's free. If it's not free we would need to compare with other options.

I'm not opposed to contacting them to see if we qualify for the open source program, assuming it's free.

Even if it's free and available for us, I would think twice.
I've read too many "Heroku is dying" titles in the last few years (this for example) and now removing the free tier makes me feel that Heroku will not be with us for long.
Why not simply host it on LVGL server? That way we don't depend on an external service.

Does the VPS for the forum have any spare cycles or can it only run Discourse?

As the Micropython simulator will use the server only to store store snippets I believe it won't overload the VPS. However, the Forum runs in Docker, and I don't really know how the port redirection are working and how can we serve two pages/services. It's possible for sure but requires some expertise.
We also need to use some kind of authentication to be sure only the simulator will store snippets there.

the Forum runs in Docker, and I don't really know how the port redirection are working and how can we serve two pages/services.

Port redirection in Docker is pretty simple with the -p port:port option where you map the "inner" port to an "outer" port.

We also need to use some kind of authentication to be sure only the simulator will store snippets there.

This is a delicate point. I think it's possible to configure a single origin with CORS, so this provides some protection. Furthermore, we can limit the container storage such that in the worse case it would impact the simulator but not other services that are running on the same host.
If you think this is a good direction, I can try creating a Dockerfile to host SnippetBin.

Port redirection in Docker is pretty simple with the -p port:port option where you map the "inner" port to an "outer" port.

I'm aware of that but I'm not sure it will be that simple :slightly_smiling_face:
Anyway, if someone is interested in implementing it I can provide access to the Forum's VPS.

I don't have much experience with web server administration.... but I can give it a shot.
How is the domain sim.lvgl.io routed today?
Do you have some load balancer that could forward connections to sim.lvgl.io to some dedicated port on the Forum's VPS?

How is the domain sim.lvgl.io routed today?

It's a GitHub feature that allows using a custom domain for GitHub pages. See here.

Do you have some load balancer that could forward connections to sim.lvgl.io to some dedicated port on the Forum's VPS?

We have no control over the sim.lvgl.io. It's managed by GitHub entirely.

I think we will need to use a second subdomain (snippetbin.lvgl.io) and possibly add a CORS header to allow sim.lvgl.io to access it.

I think we will need to use a second subdomain (snippetbin.lvgl.io) and possibly add a CORS header to allow sim.lvgl.io to access it.

It's really not my territory to tell how to do this. However if you need me to do change some DNS or other settings, just let me know.

@embeddedt if we simply set snippetbin_url to the forum's VPS with a special port, won't it simply work?
Then we can spin up a nodejs service (probably in a docker container) on the VPS, that listens to this port.
Today CORS is permissive, so we can limit it to the VPS url to be more strict.
Am I missing anything?

Yes, this should work. Are you suggesting something like https://forum.lvgl.io:3000? It works but is a little confusing with forum still in the name.

I would like to make progress in moving away from Heroku to LVGL VPS.
I created a Dockerfile that can be used like this:
sudo docker build -t snippetbin ./
sudo docker run -it --rm --name snippetbin -p 3000:3000 -e "SNIPPETBIN_DEPLOY_KEY=$(cat ~/SNIPPETBIN_DEPLOY_KEY.secret)" -e "SNIPPETBIN_REMOTE_REPO=amirgon/snippetbin_private_data.git" snippetbin npm start

I tested it locally and also fixed a few bugs on SnippetBin.
The environment variables SNIPPETBIN_REMOTE_REPO and SNIPPETBIN_DEPLOY_KEY specify the remote data repo for Snippetbin, which is currently a private repo under my username.
SNIPPETBIN_DEPLOY_KEY is a secret ssh key  which is needed by SnippertBin for pulling and pushing to that data repo.
I suggest these next steps:

[ ] Migrate the private data repo to LVGL organization
[ ] Generate a new SSH key for it (that's SNIPPETBIN_DEPLOY_KEY)
[ ] Save the SSH key on LVGL VPS
[ ] Clone SnippetBin on LVGL VPS and build the Docker image
[ ] Create a "start script" to run the Snippetbin Docker container on LVGL VPS.
It would look very much like the docker run line above, with LVGL data repo environment variables (and running as a daemon instead of interactively)
[ ] Configure the start script to run automatically when the VPS starts
[ ] Test that it works correctly, and synchronizes with the remote data repo as expected
[ ] Change the simulator to work with the new SnippetBin instead of Heroku

Optionally we can also:

[ ] Create a second subdomain snippetbin.lvgl.io, in addition to forum.lvgl.io
[ ] Add a CORS header to limit access to SnippetBin

(We can do the optional steps as a second phase after the deployment to the VPS)
@embeddedt @kisvegabor What do you think?

Sorry, but I have too limited experience with these technologies to judge what would be the right direction. :slightly_frowning_face:
From administration perspective I'm perfectly fine with having a new subdomain or even a new VPS if required.

Sorry, but I have too limited experience with these technologies to judge what would be the right direction.

From my side - I just need a "go" indication from you, or comments if you have any.
Then I'll need your help with things I don't have access to (like creating a new LVGL data repo, VPS access etc.)

I just need a "go" indication from you, or comments if you have any.

Then go :slightly_smiling_face:
Thank you!

I think I have the necessary privileges to create any private repos you need but Gabor will have to help with access to the VPS.

@amirgon I can send you the credentials of the VPS in private. Are you ok with that?

I think I have the necessary privileges to create any private repos you need but Gabor will have to help with access to the VPS.

Could you create an LVGL private empty repo (snippetbin_data) and add me as a maintainer?
I would need enough access rights to be able to create an SSH key, or you can create it instead.

I can send you the credentials of the VPS in private. Are you ok with that?

Sure, I'll try not to break anything :wink:
Could you also create a new subdomain snippetbin.lvgl.io?
btw, do you know how the forum server is started today on the VPS? What starts it after the VPS reboots?

I noticed that the VPS has only 4GB free out of 45GB disk, and already uses 1.6GB RAM out of a total of 2GB RAM.
I think it's a little... marginal... don't you think?
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        49G   45G  4.2G  92% /

              total        used        free      shared  buff/cache   available
Mem:           1.9G        1.6G         92M        160M        250M         63M

The Discourse Docker running on the VPS limits RAM to 2GB which is all the available RAM, so it could easily consume all RAM and not leave resources for snippetbin:
CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
dc9008a5d27f        app                 2.11%               1.313GiB / 1.947GiB   67.43%              121GB / 529GB       24TB / 8.68TB       151

For snippetbin, the nodejs docker image size alone is ~1GB, before counting the data size consumed by the container itself (snippetbin_data size mostly)
@kisvegabor - Is it an option to increase the VPS system resources a little?

Hmm... what's using all that space? It's only been 2 years; I'm skeptical that the forum data consumes 40 gigabytes already... but I could be wrong!

docker system prune helped a little to free 5GB.

That should avert the issue for now. Perhaps we can also look into pruning some Discourse backups later (assuming there is more than one in the backups folder).

For snippetbin, the nodejs docker image size alone is ~1GB

This seems high; let me see if I can cut it down.

The Discourse Docker running on the VPS limits RAM to 2GB which is all the available RAM, so it could easily consume all RAM and not leave resources for snippetbin

According to some brief research Discourse indeed recommends using at least 2GB of RAM. However, it sounds like it shouldn't regularly need the full 2GB, so do we have any swap configured?

According to some brief research Discourse indeed recommends using at least 2GB of RAM. However, it sounds like it shouldn't regularly need the full 2GB, so do we have any swap configured?

Discourse currently uses 1.3GB RAM. Swap is configure to 2GB.
I still think it would be best to increase the VPS resources a little, if possible.

Is it an option to increase the VPS system resources a little?

Now we have this config:

We can switch to this:

Basically double everything for +12 USD (double price)

I've removed all but the last backup. It should free ~6GB.

Almost double everything for +12 USD (double price)

I see.
Let's see if we can work with current config.
We now have 17GB free disk space, should be enough for now.
I'm more worried about RAM:
root@discourse-s-1vcpu-2gb-fra1-01:~# free -h
              total        used        free      shared  buff/cache   available
Mem:           1.9G        1.6G         72M        148M        258M         56M
Swap:          2.0G        1.0G        995M

That's 2GB RAM and 1GB of swap already in use. That doesn't leave much spares.
Looking at memory usage per process:
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 2032 1000      25   5 9500112 375772   7772 S 54.5 18.4   5017:01 ruby
 1718 lxd       20   0<PHONE_NUMBER>56 211160 S  5.9 10.5   0:17.47 postmaster
25628 1000      20   0 9032120 210024      4 D  1.3 10.3 281:20.43 ruby
30766 1000      20   0 8987064 197764   3780 R  2.0  9.7 198:23.15 ruby
30495 1000      20   0 8982888 186712   1288 S  1.0  9.1  88:25.44 ruby
 1709 lxd       20   0<PHONE_NUMBER>88 162464 S  5.6  8.1   0:03.87 postmaster
13864 1000      20   0 8962408 154400   1160 S  1.0  7.6  31:09.68 ruby
 1968 lxd       20   0<PHONE_NUMBER>20 125400 S  0.3  6.2  30:45.39 postmaster
 1973 1000      20   0  495820  92352   1336 S  0.7  4.5 135:43.33 ruby
 2073 lxd       20   0  360552  90780  85392 S  0.0  4.4   0:00.23 postmaster
 1786 lxd       20   0  361752  60500  53648 S  0.0  3.0   0:00.48 postmaster
 1907 lxd       20   0  357040  58512  54508 S  0.0  2.9   0:00.38 postmaster
 1281 lxd       20   0  360736  54688  49248 S  0.3  2.7   0:00.93 postmaster
 1717 lxd       20   0  357236  49412  45704 S  1.0  2.4   0:01.42 postmaster
 1720 lxd       20   0  360844  47776  43984 S  1.3  2.3   0:01.50 postmaster
 1943 uuidd     20   0  470980  47744   1092 S  2.0  2.3   6450:46 redis-server
 2026 lxd       20   0  357256  45900  41308 S  0.0  2.2   0:00.12 postmaster
 1843 lxd       20   0  356236  42496  40232 S  0.7  2.1   0:01.36 postmaster
 2021 lxd       20   0  359604  37132  32056 S  0.0  1.8   0:00.14 postmaster
 1967 lxd       20   0  353484  28072  28020 S  0.0  1.4  87:00.38 postmaster
 2152 lxd       20   0  355120  25100  22456 S  0.0  1.2   0:00.02 postmaster
 2128 lxd       20   0  354700  22764  20572 S  0.0  1.1   0:00.03 postmaster
 2133 lxd       20   0  354700  17240  15280 S  0.0  0.8   0:00.03 postmaster

It really looks like most of this memory is consumed by Discourse (Discourse is running on Ruby, postmaster is postgresQL database).
Do you know how to reduce/limit Discourse memory consumption?

Update - I've started a snippetbin service on the VPS.
It works when using an IP (http://<IP_ADDRESS>:3000/) but not when using the domain name (http://forum.lvgl.io:3000/).
I'm not sure how domain names are managed, but it looks like not with DigitalOcean:

@kisvegabor - how should I configure the domain?

That's 2GB RAM and 1GB of swap already in use. That doesn't leave much spares.
Looking at memory usage per process:

We can switch to the 24USD option. +12 USD/month is ok.

I'm not sure how domain names are managed, but it looks like not with DigitalOcean:

This is how it builds up:

We the lvgl.io domain at GoDaddy. So we managed the DNS settings there
A few month ago I started using CloudFlare to get better page load time

Now we have this DNS setting for the forum:

AFAIK, it just forward the forum subdomain to an IP and there are no port specific things here.
I disabled CloudFlare caching but http://forum.lvgl.io:3000/ is still not working. I'll ask our system admin.

I asked the system admin and the short answer is "It's not that simple".
We concluded that it'd be better to have a new VPS instead of extending the current one. It doesn't matter if we pay 2x12 USD or 1x24USD but 2 VPS would be way simpler.  Do you agree?

I asked the system admin and the short answer is "It's not that simple".

Strange. Port forwarding should be simple.
Could you ask your system admin to elaborate?

We concluded that it'd be better to have a new VPS instead of extending the current one. It doesn't matter if we pay 2x12 USD or 1x24USD but 2 VPS would be way simpler. Do you agree?

Sure, but I think it's a waste of 12USD a month.
I still think we can use the existing VPS in its current configuration. SnippetBin memory usage is so small that it would still fit.

He said it won't work because HTTPS communicates only on 443 port. We need "mod-proxy".
He also linked these 2 resources:

https://stackoverflow.com/questions/34084621/apache-and-nodejs-over-ssl
https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

And finally we can have https://forum.lvgl.io/snippetbin
However, as the forum uses Docker all these might be more complicated.

@kisvegabor Shouldn't it be possible to set up an Apache/Nginx proxy that selects which server to proxy requests to based on the hostname? I know that this is possible for some TCP services using SRV records. E.g. if the request is sent to forum.lvgl.io, send it to Discourse; if it's sent to snippetbin.lvgl.io, forward it to SnippetBin instead.
If that's not possible and we have to buy a new VPS, we should configure and choose the domain names in such a way that it can be used for other services too, not just SnippetBin. Otherwise we will be in the same position when a third potential service comes along.

He said it won't work because HTTPS communicates only on 443 port. We need "mod-proxy".

If SSL is the problem, I can change SnippetBin to work with HTTPS instead of HTTP (still on a different port, to live together with Discourse on the same host).
Would that help?

@kisvegabor if configuring the domain is such a big problem - there is another option.
Is <IP_ADDRESS> a static IP?
If you can guarantee this IP doesn't change, we can use it directly in the simulator. It's used internally and is not exposed to the users, so we don't need to have a pretty domain name there.

Yes, <IP_ADDRESS> is static. So it seems ok for me to use it directly.

It's used internally and is not exposed to the users, so we don't need to have a pretty domain name there.

It's just exposed it here :smile: But I think it's not a big secret. Anyone can check which request goes to which IP. E.g. this is from Chrome's Network inspector for a random LVGL GitHub issue site for a random file

And as I sent my comment I realized that by "expose" you meant "the user don't have to deal with it". :slightly_smiling_face:

I think we have a problem.
I've tried migrating to the new SnippetBin service on the VPS - but I get this error:
spread.js:25 Mixed Content: The page at 'https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_direct=7f13d85cb1954e2ddfe2c209b997d166638be763' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://<IP_ADDRESS>:3000/load_file/7f13d85cb1954e2ddfe2c209b997d166638be763'. This request has been blocked; the content must be served over HTTPS.

The problem here is that the Simulator is served over HTTPS, but SnippetBin is served over HTTP.
Browsers block HTTP requests for pages served over HTTPS for security reasons.
I can change SnippetBin to work over HTTPS but I would need a certificate signed by a Certificate Authority (CA).
I think that a self-signed certificate is also blocked by the browser, so we would need it signed by a CA.
Some ideas:

Serve SnippetBin through the forum domain with mod-proxy as suggested above
Serve SnippetBin over HTTPS with the existing LVGL certificate. It would probably need access to the private key
Serve SnippetBin over HTTPS with a new certificate. I'm not sure about the procedure to generate and sign it
Other ideas?

@kisvegabor @embeddedt - What do you think?

Serve SnippetBin over HTTPS with a new certificate. I'm not sure about the procedure to generate and sign it

Can we use Let's encrypt for it? I used it for the forum too (although most of the magic happened in Discourse).

Can we use Let's encrypt for it? I used it for the forum too (although most of the magic happened in Discourse).

The browser checks that the domain name matches the certificate name, so with HTTPS we'll need to use a domain name and not IP.
I can use your existing Discourse Let's Encrypt certificate, but the registered domain there is forum.lvgl.io and I can't use it because of the problem above...

I see. Having an other VPS? :slightly_smiling_face:
We can use that other VPS for other purposes later too as we will have more control there if we need to deal with only our own simpler "modules" (and not the complex Discourse).

I see. Having an other VPS?

Before giving up - I feel I totally don't understand something: Why is it so hard to have two services on the same VPS? This should be easy!
Both are HTTPS, served on different ports.
I'll try to summarize the key point I'm missing here:

Suppose we used a different VPS, would we have to use another domain and another certificate?
Do larger organizations with dozens of VPSs for different services, use a different domain/certificate for each VPS?? I think not, the domain and certificate are usually the same.
CloudFlare provides the domain and some proxy right? forum.lvgl.io IP resolves to <IP_ADDRESS> which maps to cloudflare.
Why can't this proxy be configured to forward different ports, other than 443?
You said above that HTTPS communicates only on 443 port but this is not true: I started SnippetBin with HTTPS server instead of HTTP and it works just fine with port 3000. The only problem I can see is with the domain name:

The browser is unhappy because it expects to see the domain name instead of the IP in the URL. It displays a scary message and red lines, but still works! You can try it here: https://<IP_ADDRESS>:3000/ (need to select "Advanced" and "Proceed to <IP_ADDRESS> (unsafe)" on the "Your connection is not private" message)

The disadvantage of another VPS is not only the money. It means there is another machine to maintain update and reboot. It means there is another certificate that sometimes expires and need to be renewed etc.

I've changed the Proxy policy of the Forum:

Does it make any difference?

Does it make any difference?

I'm not sure, but now with port 8443 it works!
I've updated lv_micropython javascript branches to use https://forum.lvgl.io:8443 instead of heroku and as far as I can tell - everything works now.
Thanks for the help!
As the migration from Heroku to LVGL VPS is complete, I'm closing this.

@amirgon Just as a heads-up; I'm not sure how you configured your SSH key, but you may want to add it as a deploy key on lvgl/snippetbin_data instead of as your own personal key, as right now it seems that GitHub is attributing all the commits to your personal account (even though the author is different):

as right now it seems that GitHub is attributing all the commits to your personal account (even though the author is different)

Strange. I'm using a deploy key.
Maybe it shows my name because I created the key?

I'm not sure, but now with port 8443 it works!

I re-enabled the proxy then.


Added resolver instruction to fix Amazon ELB DNS

Unfortunately, we still have an issue when Amazon changing DNS records for internal ELB and because of that, NGINX throws 504 bad gateway error.
https://gist.github.com/cpswan/966b9c6c88230e0c4ffc
https://tenzer.dk/nginx-with-dynamic-upstreams/
https://www.jethrocarr.com/2013/11/02/nginx-reverse-proxies-and-dns-resolution/
http://ghost.thekindof.me/nginx-aws-elb-dns-resolution-nginx-resolver-directive-and-black-magic/

LGTM.


Add notices file

We should have a notices file that lists 3rd party trademarks and other information as required. Typically this contains legal information in it, but we should investigate with someone who knows about open source to know if there's anything else we need to include.
List of companies required to be in the special attribution notice: https://www.ibm.com/legal/copyright-trademark#special

We should add the instructions and the link to the special attribution requirements to our readme also.

Note these instructions for Slack:

For usage only within the U.S., use the ® symbol on the most prominent use of the word Slack (Slack®), and say “Slack is a registered trademark and service mark of Slack Technologies, Inc.” at the bottom of the page on which the Slack word mark first appears

Update: It's possible that this required notices file should live in the footer of the UI, alongside Terms, Privacy, Accessibility, etc., which involves a different repo. Conversations are in progress

Update: Jules mocked up a solution to add to this link: https://quantum.ibm.com/terms. Fran is in agreement, and we are waiting on the lawyers to verify we don't need a full re-review of the terms to implement this change. I've been regularly pinging Peter Golcher/Douglas Patterson/James Carroll about it.

We have approval from Legal to move ahead with Jules' mockup. Issue to resolve this is here: https://github.ibm.com/IBM-Q-Software/sw-iqx-web/issues/5296

Closing since it has been handed off to the sw-iqx-web team


Table allows react elements as cell values but that is not clear from the documentation

Allowing table cell values to be react elements is great flexibility. However this is not clear in documentation.
I suggest updating the documentation to include this important information.

I actually think the current Table implementation should be switched to something like DataTable and the basic Table with TableHeader, TableBody and others should be made avaiable a fully customizable. Would this PR be welcomed @javivelasco ?

Yeah, I think you're right. We should have ha simpler one with just CSS

I'll get on it, was waiting for the theme refactor.

Great! 💃

Any updates on this @felipeleusin ?
Thx

Please check the PR!


Fix Lint bash failure when a .sh script is in the PR patch

Update:  Looks like an issue with the BASH linter
There currently are no .sh files in the main repo - so any repo without a .sh or .bash will pass
For example the following PR does not contain a .sh script so the section where .sh/.bash scripts are gathered is skipped
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/actions/runs/6973355149/job/18977199193?pr=724#step:5:86
The following PR does return the first sh script of the pdt repo and fails even when all the errors and warnings are fixed and we are left with only INFO level outputs.
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/actions/runs/6973900937/job/18978709528?pr=612#step:5:89
The lint level is set at info
          SHELLCHECK_OPTS: "--severity=info"

Our other repos where we do have scripts do not run the bash linter
https://github.com/ssc-spc-ccoe-cei/gcp-tools/pull/64
https://github.com/ssc-spc-ccoe-cei/gcp-tools/pull/53
parking for now - will fix the linter after #446

I'll test .github modifications around the bash linter - out of band on my private fork first over the WE


remove cadvisor dashboard

Signed-off-by: Augustin Husson<EMAIL_ADDRESS>

:o Codecov shouldn't have posted something there. It's supposed to be deactivated mmmm


feat: Enable/Disable listeners

Allows for more fine-grain configuration, avoiding exceptions if certain listeners are broken, or if multiple scanners discover the same consumer/producer

Merged in upstream


update cursor forcibly on GUI

Update cursor forcibly since GUI doesn't redraw cursor immediately.

GUI doesn't redraw cursor immediately.

Probably, the correct solution to that is to draw the cursor only when the windowing system asks Vim to redraw the screen (like the GTK+3 GUI), not every time Vim thinks it necessary to update simply because the contents of a buffer or the position of the cursor has been changed.  After all, you cannot update any part of the screen anyway until after the windowing system asks the client to do so.
There should already be several events which are sufficient for Vim to update the screen smoothly even when the built-in terminal is working there (Rather, more events to come).  Nonetheless,  that "delay" happens (Actually, that's not delay, although I'm not going to talk about that in further detail here).  We first need to look into the reason why that happens before immediately resorting to any brute force means.
At least, IMHO, we should wait for the cursor drawing itself being fixed for the non-GUI version, as too early optimization is bad in general.

Yes, you are right. There are many workaround for updating cursor immediately were over 60 places in code. We should make some common function for each use-case.

update cursor
draw cursor immediately
draw cursor in later
etc...

Hmm, it's heavy redrawing cursor.


Update test based on update in the storage library

The storage library has an updated API, this PR reflects those changes in the tests

The build fails because the package has not been updated to the newly released beta version.


OLS-434: Use cluster url for evaluation

Description
Option to use api url retrieved from cluster for response evaluation.
This is required as weekly job for evaluation run against api deployed in a cluster (https://github.com/openshift/release/pull/50793)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.83%. Comparing base (5590b61) to head (e08323a).
Report is 12 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #748      +/-   ##
==========================================
+ Coverage   94.80%   94.83%   +0.02%
==========================================
  Files          53       53
  Lines        1906     1877      -29
==========================================
- Hits         1807     1780      -27
+ Misses         99       97       -2

see 4 files with indirect coverage changes

/lgtm

/approve


stack build fails

Hello 👋
I was interested in contributing to this project, I've just got ghcjs set up, but cloning this repo and running stack build I get
❯ stack build
Building all executables for `hinc' once. After a successful build of all of them, only specified executables will be rebuilt.
hinc> configure (lib + exe)
Configuring hinc-<IP_ADDRESS>...
hinc> build (lib + exe)
Preprocessing library for hinc-<IP_ADDRESS>..
Building library for hinc-<IP_ADDRESS>..
Preprocessing executable 'hinc' for hinc-<IP_ADDRESS>..
Building executable 'hinc' for hinc-<IP_ADDRESS>..
Preprocessing executable 'hincweb' for hinc-<IP_ADDRESS>..
Building executable 'hincweb' for hinc-<IP_ADDRESS>..
[1 of 1] Compiling Main

/Users/peter/Code/haskell/hinc/web/Main.hs:11:48: error:
    Module ‘Miso.String’ does not export ‘JSString’
   |
11 | import           Miso.String                  (JSString, fromMisoString, toMisoString)
   |                                                ^^^^^^^^

--  While building package hinc-<IP_ADDRESS> using:
      /Users/peter/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:hinc exe:hinc exe:hincweb --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

Should I need to specifiy a version of miso in the Cabal file?

Unfortunately, I could only make it work with Stack for the non-web
version, whereas for the web interface you need to use Nix. Stack + GHCJS
is currently unsupported.
El El sáb, 8 ago 2020 a las 9:29, Peter Murphy<EMAIL_ADDRESS>escribió:

Hello 👋
I was interested in contributing to this project, I've just got ghcjs set
up, but cloning this repo and running stack build I get
❯ stack build
Building all executables for `hinc' once. After a successful build of all of them, only specified executables will be rebuilt.
hinc> configure (lib + exe)
Configuring hinc-<IP_ADDRESS>...
hinc> build (lib + exe)
Preprocessing library for hinc-<IP_ADDRESS>..
Building library for hinc-<IP_ADDRESS>..
Preprocessing executable 'hinc' for hinc-<IP_ADDRESS>..
Building executable 'hinc' for hinc-<IP_ADDRESS>..
Preprocessing executable 'hincweb' for hinc-<IP_ADDRESS>..
Building executable 'hincweb' for hinc-<IP_ADDRESS>..
[1 of 1] Compiling Main
/Users/peter/Code/haskell/hinc/web/Main.hs:11:48: error:
Module ‘Miso.String’ does not export ‘JSString’

|
11 | import           Miso.String                  (JSString, fromMisoString, toMisoString)
|                                                ^^^^^^^^
--  While building package hinc-<IP_ADDRESS> using:
  /Users/peter/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:hinc exe:hinc exe:hincweb --ghc-options " -fdiagnostics-color=always"

Process exited with code: ExitFailure 1

Should I need to specifiy a version of miso in the Cabal file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/serras/hinc/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLQVT62GOTZSD7BNEFXBDR7T5FDANCNFSM4PYQZBJQ
.

--
Kind regards,
Alejandro


Add Spacing between API keys and Reported numbers & Improve Search results UI

add spacing between API keys and Reported numbers

reference:

Improve search results UI,
change from this:

to this:

@muchinon please i would like to work on this

@muchinon please I am done working on this. Waiting for review


targetBranch does not work

Describe the bug
The targetBranch does not work. See example below

task: dependabot@2
inputs:
targetBranch: "dev"
openPullRequestsLimit: 10
displayName: 'Run Dependabot'

Categorization

Branching issue

To Reproduce
Steps to reproduce the behavior:

Run the pipeline
No errors are reported and the target branch goes to main.

Expected behavior
I expect the targetBranch to create a PR that will be ready to merge to the dev branch. It is always created with the target branch to main.
Logs and screenshots
No errors are reported. It should work but ignores the option.
Extension (please complete the following information):

Host: [Azure DevOps]
Version [<IP_ADDRESS>9]

@dehlers-cts the target branch and pull request limits should be specified in your dependabot,yml configuration file, not the pipeline. The below config should do what you are asking.
In your pipeline
- task: dependabot@2
  displayName: 'Run Dependabot'

In your .azuredevops\dependabot.yml
version: 2
updates:
  - package-ecosystem: "nuget"
    target-branch: "dev"
    open-pull-requests-limit: 10

It is working now. I appreciate your help!!!


[Discussion] New Pulsar Website

We've launched the New Pulsar Website on May 11, 2022 (UTC +8).
Now everything goes fine except for a few known issues as below.
Search does not fully work
🙌 Status: WIP.
🙌 Technical details and progress see here1 and here2
Issue:

Some pages are not entirely translated
Some new contents are not completely ready

We're continually improving them all the time. 🙌
Feel free to comment if you have any suggestions for the New Pulsar Website, thanks!

looks awesome!!
when looking in devtools (firefox) there seems to be a small error:

it's a little bit irritating that not the latest release is advertised (probably missing blog content...maybe linking to changelog https://github.com/apache/pulsar/releases/tag/v2.10.0 ?)

stunning fast!

depending on browser used: the step is less or more visible:

@hpvd Thanks for raising this up! @Paul-TT will look into #1 and #3 issues.

it's a little bit irritating that not the latest release is advertised (probably missing blog content...maybe linking to changelog https://github.com/apache/pulsar/releases/tag/v2.10.0 ?)

@hpvd Now the latest tech blog is 2.9.2.
2.10 tech blog is not available, @DaveDuggins is working on it, stay tuned.

depending on browser used: the step is less or more visible (sceenshot was taken from firefox)

This is the animated sine wave graphic. @hpvd di this ever animate? What brower, version, and os are you on? Do you allow javascript or block it?

Here's what I see on macOS Catalina, Firefox 99.0.1

@dave2wave
seems like a grabbed an extreme case with Firefox 100 @ W10 @ 4K screen, everything is animated perfectly, js active..

@dave2wave
in other environments it's visible but not that extreme:
always latest browser versions:

I got much negative feedback about the blue background color, it decreases readability significantly.
They prefer the white background color as before, which looks more clearly.
Feel free to +1 if you feel the same, thanks!

Can we redesign this part?

Hi @jinmu003 thanks for your feedback! Can you explain more about your requirements? Do you mean re-categorize the industries or something else?
P.S. We plan to add filters for the Case Studies page to keep things organized.  .

what do think of documenting and highlighting the project quality with hard facts and numbers
using automatic badges summarizing some interesting/important quality markers?
e.g.
activity: date of latest commit, latest release, number of contributers
check status: tests, owasp-dep-check
popularity: number of downloads
this could be done either on the new website
or in the readme.md shown on github (or both:-)
for how to see:
https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge
and search for github on https://shields.io/

We got much negative feedback about the blue background color, it decreases readability significantly.

Who is the "we" here? On what channel was this feedback received?

@Anonymitaet  showing github stars on the website as already planned in https://github.com/apache/pulsar/issues/15550 task 4
goes into the same direction as proposal in https://github.com/apache/pulsar/issues/15538#issuecomment-1126064195
The other markers named there, goes more into detail and give every prospect/interested party and also existing users a great peace of mind to use / to start using pulsar - it could perfectly argued/justified to rely on pulsar (beside the great feature sets) even in large projects...

@hpvd thanks for your valuable suggestions! Adding badges to README.md is a good way to show community growth.

@dave2wave Pulsar Website User Survey and Slack.

two things that are not that great for seo (ranking in search engines) and accessibility:

alt tag of pulsar logo is misspelled
title of svg (images) are pretty generic

@hpvd good catch! We'll update them

@zhaoyajun2009 thanks for your feedback! We need to check other people's thoughts on this.
If you feel the same, please 👍

It is too much white space！

@zhaoyajun2009 thanks for your feedback! We need to check other people's thoughts on this.
If you feel the same, please 👍 on @zhaoyajun2009's comment.

doc/connectors:

tiny: should be plural (see attachment)
when following link to "elastic search" config: the menu disappears
https://pulsar.apache.org/docs/io-elasticsearch-sink/
"elastic" could not be found by search

the visible structuring of blog-posts is not that clear,
for comparison, simple release notes are much easier to understand

both at 100% zoom:

@hpvd thanks for your feedback! Please see my interlined reply:

tiny: should be plural (see attachment)

OK, we're redesigning the Pulsar Information Architecture. Re-constructing the connector doc is on the way.
/ cc @D-2-Ed @DaveDuggins @momo-jun

when following link to "elastic search" config: the menu disappears
https://pulsar.apache.org/docs/io-elasticsearch-sink/

All connectors do not have the left navigation. They only have the right panel.

"elastic" could not be found by search

Search does not work properly is a known issue recorded here.

the visible structuring of blog-posts is not that clear, for comparison, simple release notes are much easier to understand/overview both at 100% zoom:

Hi @DaveDuggins you're the author of the 2.10.0 tech blog, any thoughts on this comment?

@Anonymitaet  regarding blog structure, it's possibly mostly about predifined css for different elements (headlines, p, lists) like

font sizes
whitespaces
margins/intend
...

Notes on Main Page

Background color: I can express this technically as I'm not a designer, but I can say it doesn't feel right. Something about the contrast to the other colors on the page and that vague color to it, instead more bright and vivid colors, broadcast that sense of "gloominess" to it. Not sure I'm expressing my self correctly  - it's just doesn't feel right :)
The following items - Search bar, Sun, Github stars - just seem to be in the wrong place visually. It creates a big whitespace gap and the alignment and spacing between them is not symmetrical. It's just fees like they are in the wrong place.
Logo positioning and white space - it's as if it's just thrown out there without any "anchor" to it, maybe due to the large whitespace this opening part of the main page has in general.

Docs section

There is a very large section of whitespace between the actual docs content to the upper section (bar).
The logo looks mis-aligned relative to the content section below IMO, as if it is just "thrown there" in metaphorical speaking.

IMO we should aim for a more "neat"/clean look, maybe in it's own page like here?

@hpvd @asafm I feel the same as you.
Here is the feedback from the website designer team:

We've run the beta version of the new website for more than 3 months. The beta period has passed. The design was approved by the community and executed. As representatives to the community and members of the design team, we have to commit to the design that has been implemented. Once a decision is made, we support that decision. We can revisit in 3-6 months as needed and after appropriate usability testing, etc.

But do not hesitate to add more comments! Suggestions are always welcome!

@Anonymitaet
did some optimizations on the wave images, to cut size down (both are near 1 MB)
to improve download time, client and server load...
Got less than 1/3 for each image with IMHO near identically visual quality.
just have a look:
originals (downloaded from website):

optimized versions:

Hi @hpvd thanks for your great idea, that makes sense! Would you like to replace the old one with the new image? Please submit the new image to pulsar repo. Thanks!
cc @Paul-TT

@Anonymitaet please let your designer double check if quality target is reached with the new image versions.
He/she could easily save the images from my comment and integrate them into the website.

I'm watching @sijie's video on YouTube and the website looks much more readable and modern than it looks now.

@visortelle Good to know, lol.


Adopt generalized rich hover support for issues in the Issues View

Once https://github.com/microsoft/vscode/issues/97496 becomes available, the rich hover support should be adopted for issues in the issues view.

@alexr00 merged in https://github.com/microsoft/vscode/pull/100285, see IHoverService which includes jsdoc on how to use it.


Predict Person Suffer from Heart Attack or not Via Machine Learning

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Latest Merged PR Link
N/A
Project Description
The project aims to build a machine learning model to predict whether a person is at risk of having a heart attack based on various health parameters. The dataset typically includes features like age, gender, blood pressure, cholesterol levels, heart rate, and lifestyle factors such as smoking and physical activity.
The process involves:
Data Preprocessing: Handling missing data, scaling features, and encoding categorical variables.
Exploratory Data Analysis (EDA): Identifying patterns and relationships between variables to gain insights.
Model Selection: Training multiple models (e.g., Logistic Regression, Decision Trees, Random Forest, SVM, etc.) and selecting the best performing one.
Evaluation: Using metrics like accuracy, precision, recall, F1-score, and AUC-ROC to evaluate model performance.
Optimization: Tuning hyperparameters and applying cross-validation for better predictions.
The goal is to create a reliable model that can assist in early detection of heart attack risks.
Full Name
Mithanshu Rajesh Hedau
Participant Role
gssoc-ext , hacktoberfest

@UTSAVS26 , Please assign me this issue so i can further contribute in that .


pccommon.sh is renamed to pc-common.sh

Do not rename pccommon.sh to pc-common.sh when installing pccommon.sh in utility and neutron_agents containers.  Leave it as-is.

rpc-extras is not deployed yet, so any existing files are manually named. pccommon (no dash) is that is in the extras repo now. Closing.


Parser: set results to unavailable if used as part of an invalid binary expression

Fixes #229

I'm not totally sure if this is the correct solution; what was happening is that adjustTypes was returning false due to an error condition and not actually adjusting the types, which allowed the ty and val fields of the Result to get out of sync. I think another solution would be to return error.ParsingFailed from invalidBinTy


Viewing Core Account resources as a Member Account Developer

Expected Behavior
users should be able to follow these steps to view resources on core accounts https://user-guide.modernisation-platform.service.justice.gov.uk/user-guide/member-read-only-core-accounts.html
Actual Behavior
users are receiving an "Invalid information in or more fields" error message:
Looking in Coud Trail I can see the below error when reproducing the problem.
"errorCode": "AccessDenied",
"errorMessage": "User<EMAIL_ADDRESS>is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::<AccountNo>:role/member-delegation-read-only",

Steps to Reproduce the Problem
https://user-guide.modernisation-platform.service.justice.gov.uk/user-guide/member-read-only-core-accounts.html
Version
No response
Modules
No response
Account
No response

I’m getting the same error as above when using the ModernisationPlatformEngineer role:
An error occurred (AccessDenied) when calling the AssumeRole operation: User<EMAIL_ADDRESS>is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::acctNr:role/member-delegation-read-only
But using the developer role:
"arn"<EMAIL_ADDRESS>I’m able to switch role successfully, tested this in both sprinkler and equip.
So, using the developer role it should be possible to switch roles due to these permissions which the ModernisationPlatformEngineer role doesn’t have.

Hi @Khatraf - I tested this for you using a developer role. I was able to switch from equip-development to core-vpc-development. You can see my successful role assumption in core-vpc-development following our user guide in this CloudTrail log entry: https://eu-west-2.console.aws.amazon.com/cloudtrailv2/home?region=eu-west-2#/events/4cd28cfa-9595-3de5-b232-372aa91c4aa4


Just a minor apostrophe removal - user's to users

Noticed an improper use of the possessive "user's" when in this case I believe it should be "users".

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@Kateyanne Please merge this PR. Thanks


Microsoft channel in Anaconda, but not in ReadMEs

Is your feature request related to a problem? Please describe.
Just stumbled upon this channel on Anaconda. Is this yours? I have never seen it in any ReadME, but from my understanding it is an official channel.
Describe the solution you'd like
In all the ReadMEs, the Anaconda package is not cited at all, only the PyPi package. I would like to see it as an alternative if it is officially supported.

Hi! Yes, that link is the official channel on Anaconda. Tagging @xiangyan99 and @lmazuel for visibility.
Thanks for bringing this up. We have official releases every 3 months to Anaconda, but there are conda-forge packages that update whenever a library is updated (these also have way more downloads than our releases - which gives us a few options on how to proceed).

https://github.com/Azure/azure-sdk-for-python/issues/28456#issuecomment-1401235049
Here's a previous explanation by Xiang on why we release to Anaconda in the way that we do.

Thank you for the feedback. I like the idea. :) @Sclafus

Added into READMEs.

@xiangyan99 Hello, I am not really sure where you added them... Is it on a non-public branch and it will be added on this repo in the future?

@Sclafus we added the link into each readme. They are all public.
e.g. https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/README.md

I did not see that it was completed by #29342!
Thank you for the very fast response 🥇


use go get when VCS method not supported

I noticed error (on https://gowalker.org/src.d10.dev/command):
Oops! Something is going wrong...
src.d10.dev/command: check package: VCS not supported: fossil

My suggestion is, rather than custom support for fossil along with numerous other VCS systems, use go get to fetch this package.  go get already understands a wide variety of VCS.

Thanks for the feedback! Might migrate to use go get for all packages when adding support of Go modules.


forward ImageStreamListener onChunk so we can have progress bar

Is your feature request related to a problem? Please describe.
if the image to be displayed is big the user has no idea of the progress
Describe the solution you'd like
we should either be notified by a callback of progress event from ImageStreamListener or we could have a loading child builder which give loadedbytes and expectedbytes
Additional context
Since May 2019 ImageStreamListener now has an onChunk event:
class ImageStreamListener {   /// Creates a new [ImageStreamListener].   ///   /// The [onImage] parameter must not be null.   const ImageStreamListener(     this.onImage, {     this.onChunk,     this.onError,   }) : assert(onImage != null);
this onChunk send an event of type ImageChunkEvent which holds
cumulativeBytesLoaded and expectedTotalBytes

@renancaraujo will you merge it ?

@neckaros Sorry, forgot to close it. It is not only merged, but also published on 0.9.2.
Thanks!


Add "Keep awake when plugged in" to Awake

Description of the new feature / enhancement
Keeps the computer awake when plugged in, follows the selected power plan otherwise.
Scenario when this would be used?
Running long tasks (like music or file transfers) that can be paused by sleep, when saving battery is more important.
Supporting information
For my use case, it would be handy to make sure that when I sometimes run long, less important tasks, I don't come back to a dead laptop because it was unplugged, and this is easier than switching power plans.

@dzgen21
Feel free to open a PR. Your contribution is welcome. Thank you for your work on this.
If you have questions or need help don't worry to ask us.

Duplicate of #15137


fix(kit): InputSlider not working border-bottom-left-radius for slider (Firefox)

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #3489
Does this PR introduce a breaking change?

[ ] Yes
[X] No

@vladimirpotekhin please review)