An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)

I keep getting the following error when trying to open the ord wallet
ord.exe --cookie-file "Cookiepath" --index "Index path" server
█████████████████████████████████████████████████████████████████████████████████████████████████████████░ 838801/839931Listening on http://<IP_ADDRESS>:80
error: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)

same. are you using rdp

On Windows you may have to set special permissions to listen on port 80. you can try listening on a different port with ord server --http-port 8080

you need to free port 80 from being used. you can check by typing in "netstat -ano" into your command line
Usually following applications uses port 80 in windows.
IIS
World Wide Web Publishing service
IIS Admin Service
SQL Server Reporting services
Web Deployment Agent Service
you can stop them from using it by typing in "net stop http" into your command line


Social Media Icon Links in the website are not directed to the linked webpage

In the Website https://portfolio.smaranjitghose.codes/  .The following issues are notified
1).Consider Social Media Icon Links like Twitter, Github of the website https://portfolio.smaranjitghose.codes/ are not to directed to the concerned webpage  account of https://portfolio.smaranjitghose.codes/ in Twitter and Github

In the Website https://portfolio.smaranjitghose.codes/ .The following issues are notified
1).Consider Social Media Icon Links like Twitter, Github of the website https://portfolio.smaranjitghose.codes/ are not to directed to the concerned webpage account of https://portfolio.smaranjitghose.codes/ in Twitter and Github

This a template meant for people to use for their own portfolio so we have left them empty for putting in their own social media links as and when required


Installation problem: "Package Luxor does not have LaTeXSt"

I have followed the instruction in the documentation to install Julia and OpticSim.jl. The examples will not run and I get the following error when loading the package:
Run Pluto and open a new Notebook

import OpticSim.NotebooksUtils as NB
Error requiring LaTeXStrings from Luxor
"Package Luxor does not have LaTeXSt" ⋯ 226 bytes ⋯ "need to report an issue with Luxor"

OS: Windows 10
Julia version 1.7.2
OpticSim.jl version 0.5.3

This is my first time using Julia, so my environment is pristine and I followed the installation instructions carefully. I presume that this is a package dependency conflict but it could be user error. Please advise.

The Latex issue with Luxor is a problem with the Luxor package.  We raised the issue with them a while back and they said they would have a fix soon but it's still a problem. You can file a bug report at their github repo.
Examples not running is probably due to problems downloading the Schott glass catalog. They are constantly changing their website so our code can't find the download. We've fixed this in the code on our repo but not yet for the code in the Julia repo. We have to make a new release.
If you clone the repo instead of adding the package from the Julia Registry then the examples should work. If they don't let me know and I'll fix them.

@hadmack did this fix your problem? If it did I'll close the issue.

@hadmack Since this is a Luxor problem and not an OpticSim problem I'm closing the issue.


Support recording and edit plugins

This PR refactors the plugin system, along with the UI as discussed with @skllcrn (discover tab is now Browse, and contains all plugins)
There are also 3 recording plugins created:

https://github.com/karaggeorge/kap-hide-desktop-icons
https://github.com/karaggeorge/kap-do-not-disturb
https://github.com/karaggeorge/kap-key-cast

And 3 edit plugins: (closes #550)

https://github.com/karaggeorge/kap-progress-bar
https://github.com/karaggeorge/kap-reverse
https://github.com/karaggeorge/kap-playback-speed (closes #453)

Version is set to 3.2.0, so we can test the build with the released plugins. Will need to turn back to 3.1.0 before merging
Other changes include:

didConfigChange hook for all plugins
Improvements around tracking and error handling
Not trimming size and time in ffmpeg command when the user doesn't change it in the editor
Cleaning up Plugin and ServiceContext implementations

This is ready to be tested

I quickly tried it out. Seems to work well 👌

The white line (the longest one) a bit too strong:

I wonder if we can create a custom Ajv type for hex color and use <input type="color"> for rendering it.
And Hex => hex.

Too much line height on the description here:

I've noticed that it's not obvious after installing a plugin that it has config. I usually install a plugin and then go to record, and I forget to check whether it has any settings. Maybe after installing a plugin, we should open the config window directly if any, so the user has a chance to set the initial config.

Instead of hiding recording plugins in the ... menu. How about we add a small triangle arrow to the right-side of the record button, that when clicked, opens a menu?

I wonder if we can create a custom Ajv type for hex color

I was actually thinking about that. If we can create custom types, we can use modules like a color picker for color, and something like a file location, where it can be a native file dialog (like when picking ~/Kaptures directory)

Maybe after installing a plugin, we should open the config window directly if any,

We currently show a notification that can open the config window only if the plugin has config that is not valid (required field is empty etc), since in this case you can't use it until you configure. Should we show a similar notification with different text in any case a plugin has a config?
Three other thoughts I had yesterday:

would it be worth having plugin note their desired type in the package.json, so if we have a ton of plugins, and search implemented, we could do github-like filters like is:record or is:share to filter down?

for recording plugins, if they need some more control, should we allow them to provide a submenu they can attach to the menu item under the … -> Plugins -> Title?

Should we give the recording hooks more control? Like ability to prevent defaults? So the didStopRecording or a new willOpenEditor can preventDefault and stop the editor from opening. Not just this, but functionalities like that. This might allow for the "Quick mode" to be a plugin (skip editor, trigger an export directly)

Should we show a similar notification with different text in any case a plugin has a config?

:+1: Although, one downside with notifications is for people like me that have notifications paused (DnD).

would it be worth having plugin note their desired type in the package.json, so if we have a ton of plugins, and search implemented, we could do github-like filters like is:record or is:share to filter down?

I think it's a bit early to think about filters and search, but maybe it would be useful to mark packages with what they contain? We discussed this earlier. How about just predefined keywords? kap-plugin-share, kap-plugin-edit, kap-plugin-record?

for recording plugins, if they need some more control, should we allow them to provide a submenu they can attach to the menu item under the … -> Plugins -> Title?

What kind of control? Example?

Should we give the recording hooks more control? Like ability to prevent defaults? So the didStopRecording or a new willOpenEditor can preventDefault and stop the editor from opening. Not just this, but functionalities like that. This might allow for the "Quick mode" to be a plugin (skip editor, trigger an export directly)

Do you have a specific use-case? I don't think we should add just this "just in case". For example, if we allow preventing the editor, we also need to provide a way to manually open it.

What kind of control? Example?
Do you have a specific use-case? I don't think we should add just this "just in case". For example, if we allow preventing the editor, we also need to provide a way to manually open it.

For both, what I had in mind was the Quick Record plugin, where in the context menu, you would be able to not just enable/disable, but also open submenu which would allow you to pick format and export method, then you record, editor never shows, but the recording is sent to the format/export method you selected directly.
So, in order for something like this to be possible, we would need some extra control (I guess this could just be settings in the plugin config, but it would need access to stuff like other installed export plugins) and then a way to prevent the editor from opening, and triggering an export right away.
Not sure if this is the right approach, but I'm trying to think if this Quick Record could be a plugin somehow

Another thought on more flexibility for the plugin API. Should we allow recording plugins to control options? For example, on willStartRecording we pass in the apertureOptions object. Should we allow plugins to edit those before we pass them to aperture?
Example use-case: a plugin that triggers something like Soundflower to record system audio, and then sets the input id of the apertureOptions.
Also, for the didStopRecording should we allow the hook to change the default file name?
Example use-case: a plugin where when you start recording, it captures the contents of your clipboard, and then at the end uses that to name your recording. Since most people know what they are about to record (for a PR or something), they can copy the PR title, proceed to trigger a recording and the resulting editor would have that title set already

Not sure if this is the right approach, but I'm trying to think if this Quick Record could be a plugin somehow

Would be nice to make that possible, but I think we should tackle that later on after we've had some experience with the plugins.

Example use-case: a plugin that triggers something like Soundflower to record system audio, and then sets the input id of the apertureOptions.

👍

Also, for the didStopRecording should we allow the hook to change the default file name?

This could potentially solve https://github.com/wulkano/kap/issues/774

This is absolutely amazing! I'm super excited about the possibilities. 🎉


Add captions to Tobira harvest API (plus: avoid using deprecated method for creators.)

See both commits! The main goal of this PR is to expose caption/subtitle information so that Tobira can show those in the player. Unfortunately, there are no strict rules how to attach captions to events, so this current code just checks multiple sources and takes all captions it can find. This is not optimal and it would be better if there were established best practices or even rules. This code is a bit flying blind. However, this harvest API does not guarantee any stability, so we can just improve the logic in the future.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits

this harvest API does not guarantee any stability, so we can just improve the logic in the future.

I'm going to merge this since it looks like it works and there's upcoming discussion on how to do captions going forward.  Let's get this in for now, and fix it when it breaks as the captions changes come in.


Unknown error in Prisma Client

Hi Prisma Team! My Prisma Client just crashed. This is the report:
I make this Prisma call:
return await Prisma.urlMonitor.findMany({
            include: {
                UrlMonitorHistory:{
                          select: {
                              id: true,
                              content_transfer: true,
                              date_monitor: true,
                              first_byte: true,
                              dns_lookup: true,
                              response_time: true,
                              region: true,
                              created_at: true,
                              status_code: true,
                              tcp_connection: true,
                              tls_handshake: true,
                              urlMonitorId: false,
                              apdex: false,
                              UrlMonitor: false,
                          },
                          where: {
                              date_monitor: {
                                  gte: min,
                                  lte: max,
                              },
                          },
                          orderBy: {
                              date_monitor: "desc",
                          },
                          take: 20,
                      },
                UrlMonitorSetting: settings,
            },
            where: {
                Project: {
                    id: Number(project.id),
                },
            },
            orderBy: {
                created_at: "desc",
            },
        });

output:
Error:
Invalid `prisma.project.findMany()` invocation in
webpack-internal:///./packages/prisma/repository/Project.ts:41:84
  Unknown error in Prisma Client
This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.

 Thanks!

Hello @pantharshit00
Here is the schema :
model Project {
    id         Int          @default(autoincrement()) @id
    name       String?
    base_url   String?
    api_key    String?      @unique
    userId     Int?
    UrlMonitor UrlMonitor[]
    created_at DateTime?    @default(now())
    updated_at DateTime?    @updatedAt
}

model UrlMonitor {
    id                       Int                        @default(autoincrement()) @id
    title                    String
    url                      String?
    projectId                Int?
    created_at               DateTime?                  @default(now())
    updated_at               DateTime?                  @updatedAt
    Project                  Project?                   @relation(fields: [projectId], references: [id])
    UrlMonitorSetting        UrlMonitorSetting
    UrlMonitorHistory        UrlMonitorHistory[]
}

model UrlMonitorSetting {
    id              Int         @default(autoincrement()) @id
    ping_frequency  Int
    email_notify    Boolean?
    method          Int?        @default(1)
    regions         String[]
    follow_redirect Boolean
    urlMonitorId    Int?
    created_at      DateTime?   @default(now())
    updated_at      DateTime?   @updatedAt
    UrlMonitor      UrlMonitor? @relation(fields: [urlMonitorId], references: [id])
}

model UrlMonitorHistory {
    id               Int         @default(autoincrement()) @id
    dns_lookup       Float?      @default(0)
    tcp_connection   Float?      @default(0)
    tls_handshake    Float?      @default(0)
    first_byte       Float?      @default(0)
    content_transfer Float?      @default(0)
    response_time    Float
    status_code      Int
    region           String
    apdex            Int
    urlMonitorId     Int?
    date_monitor     DateTime
    is_up            Int         @default(100)
    created_at       DateTime?   @default(now())
    UrlMonitor       UrlMonitor? @relation(fields: [urlMonitorId], references: [id])
}

I don't know if this will help you, but this mistake happens "randomly". That is to say that the query really works only once out of 2 times... and I have the feeling that some queries have trouble when I start to have a lot of data in the table.

I am unable to reproduce the crash with the latest version(2.2.0-dev.39). Can you please try again with that version again?
Otherwise please share a SQL dump of your data with us. If you have sensitive data, you can also mail it to<EMAIL_ADDRESS>We can also a sign a NDA if you want.

Facing the same issue too. Same stack. The exact code base is here: https://github.com/leerob/next-prisma

@RachelHow Can you please provide reproduction steps for this? Also, please make sure once that it happens on the latest version of Prisma.

Ping @RachelHow

Ping @RachelHow

I am going to close this as its been 3 months now and there is no activity here.
Please reply if you want us to take another look.

I am going to close this as its been 3 months now and there is no activity here.
Please reply if you want us to take another look.


[Bug]: Removing and Adding Services in Custom Installation doesn't work

Describe the bug!
Add Geth, Add Lighthouse CC, connect to geth, remove CC and add it again.
Click on Confirm and it fails.
Launcher Version
2.0.3
Desktop OS
All
Node Server OS
Ubuntu 22.04
Affected Service
probably all
Acknowledgment

[X] I looked through the existing bugs of this project

The confirm changes list however reacts really badly to this:

Will close this, as this is no longer the case


Calling hasFormat in the pathChanged handler breaks functionality

If you call hasFormat in the pathChanged event when using Squire with a contenteditable, it seems to break the path. The path ends up being "" instead of "UL>" etc. You have to change the cursor position for it to correct itself.
This seems odd as it seems like the most logical way to code your own buttons in this editor is to used the pathChanged event in conjunction with hasFormat so I would've thought people would come across this issue already.
Here is a gist with an example that breaks here:
https://gist.github.com/JaTochNietDan/364bce89fa1cf131602ba955ad262d9b
Edit: I've narrowed it down to being related to calling getSelection in the event handler. If you use editor.getSelection() in the event handler it causes the same issue. That function is also used in hasFormat. It is this line that's causing it: https://github.com/neilj/Squire/blob/master/build/squire-raw.js#L2927
It seems to be a race condition because if you add a timeout before calling getSelection then the issue doesn't occur.

Interestingly, this fixes the issue completely:
proto._updatePath = function ( range, force ) {
    var anchor = range.startContainer,
        focus = range.endContainer,
        newPath;
    if ( force || anchor !== this._lastAnchorNode ||
            focus !== this._lastFocusNode ) {
        this._lastAnchorNode = anchor;
        this._lastFocusNode = focus;
        newPath = ( anchor && focus ) ? ( anchor === focus ) ?
            getPath( focus, this._root ) : '(selection)' : '';
        if ( this._path !== newPath ) {
            this._path = newPath;
        }
    }
    if ( !range.collapsed ) {
        this.fireEvent( 'select' );
    }

    if ( this._path !== newPath ) {
        this.fireEvent( 'pathChange', { path: this._path } );
    }
};

I'm not entirely sure what's going wrong here though and what implications doing this might have.

I've been running into (I think) the same problem.
I listen to pathChanged and select events, and when they fire I update the state of my GUI buttons.
These events fire when I call, say, bold().
I just tried JaTochNietDan's Teamwork:Master version, but it gave me the same results.

Actually, Teamwork:master made things worse for me - after calling bold() my selection gets screwed up even if I don't call getSelection() in my event handlers :-(

Yeah our master branch of Squire is a little messed up now. If you go back to tag 1.8.9 in our repo, that's the one with just this fix I mentioned and it seems to fix this issue nicely.

Hmm. 1.8.9 works better for me in that the selection appears to be unchanged after calling bold() or whatever... but... if I then call removeBold(), say, with that selection, it doesn't work.
It works fine with neilj/Squire:master (as long as I don't call getSelection(), which of course is the original problem. sigh)
I've packed up my minimal UI into a gist to try and illustrate:
https://gist.github.com/bcampbell/6b4a137585efbe81abbd3f0e973e01d7
(single html file, no dependencies other than squire - you'll need to edit the line which includes squire to pull in the neilj:master version or the teamwork 1.8.9 version)
Steps to replicate:

enter a single line of text
highlight a section of characters within that line
click the 'bold' button to add the bold styling to the selected text
click the 'bold' button again to remove the bold styling from that same selection

Expected outcome:
You should be able to click the 'bold' button to toggle bold on and off for the selected text, as many times as you like.
Observed outcome:
The neilj:master version works as expected.
When using teamwork 1.8.9 version instead, the initial 'bold' click works fine, but subsequent clicks have no effect.
Hope this is of some use to someone!

Your issue seems to be a different problem because your example is not using hasFormat to check if the path is currently in a format node. You are trying to check by matching the pattern in the path. I haven't tried doing it that way because with my fix the hasFormat method has been reliable.

Oh, I wasn't looking at the hasFormat()/getSelection() issue for that example - I just wanted to flag up a case where the 1.8.9 version seems to introduce some other oddness (toggling styles - bold()/removeBold() - seems to work fine when using neilj:master version, but not when using the 1.8.9 version.)

I can't reproduce this issue (current master branch). I'm adding:
    editor.addEventListener('pathChange', function(ev) {
          editor.hasFormat('ul'); // Commenting out this line fixes it...
          console.log('Test:', ev);
      });

to the end of Demo.html
Perhaps this is a bug in your integration? Could you please give me a live test case I can examine?

Here is an example that is broken which is loading straight from the same stuff as your demo:
http://57f83eb8-9bf6-4f0e-ab96-f0545f3eb661.htmlpasta.com/
If you click on the list button over and over, you'll see unexpected behaviour immediately.
I fixed this in our fork of Squire here:
https://github.com/Teamwork/Squire/commit/18981fbc4b00b6f4454984f2df66d66b935d8807

This is the demo integration, which is not particularly good and probably using an old version of Squire. I'm asking for a reproduction using the very basic Demo.html in the Squire repo, on the master branch.

I have figured out how to reproduce it, it only happens when the item that you click on is a button...doesn't happen if it's an anchor or a span. I'm on Chrome Version 56.0.2924.87 (64-bit) on macOS.
Check out the demo.html file here, using Squire from master just cloned:
Squire.zip

Thanks for the test case. Fixed and released as v1.8.9.


Ability to add/subtract multiple months/years from a MonthTuple

Methods such as add_years on MonthTuple to achieve these four goals

Finished in commit 44f2362


add default data file name if none specified

left as an exercise to the reader:

putting the data file in the right place
adding configure argument to specify different file name

A default datafile name is not a good solution as the datafile itself is not packaged and will likely never be due to the size and content.


added plotting options

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

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

Project coverage is 71.86%. Comparing base (5b94464) to head (606de7e).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #72   +/-   ##
========================================
  Coverage    71.86%   71.86%
========================================
  Files            7        7
  Lines          263      263
========================================
  Hits           189      189
  Misses          74       74

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


foo

Sorry, but currently we can't support foo. We might look at it at a later point in time again, but currently we regard it to be out-of-scope for Rerun. We'll let you know if we change our mind or start a new project that could also incorporate foo-support.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/897 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 72d0abe:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-09-01-51-27 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Impossible to configure incoming mail

After a (HUGE!) update from version 3.1 to last stable 5.x, I'm no more able to receive email on streams.
Original error was:
The mail system <OMISSIS>: host  <OMISSIS>[<OMISSIS>] said: 554 5.7.1  <OMISSIS>: Relay access denied (in reply to RCPT TO command)
After few work:
The mail system  <OMISSIS>: host  <OMISSIS>[<OMISSIS>] said: 550 5.1.1   <OMISSIS>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
I'm still unable to receive mail on stream. Is there a way for reset the Mail Gateway?

Resolved.
It seems that despite what the instructions say, you must enter
[postfix]
mailname = chat.farmaciamorrica.it

in /etc/zulip/zulip.conf

Resolved.
It seems that despite what the instructions say, you must enter
[postfix]
mailname = subdomain.domain.ext

in /etc/zulip/zulip.conf


change license to apache-2.0

Due to logstash' license, it maybe need to change the license from MIT to apache-2.0, so that we can use it from RubyGems.org

Logstash and all its plugins are licensed under Apache License, version 2 ("ALv2"). If you make your plugin publicly available via RubyGems.org, please make sure to have this line in your gemspec:
s.licenses = ['Apache License (2.0)']

Can you suggest a PR for it?


Step 1: Assign yourself

Step 1: Assign yourself
Unassigned issues don't have owners to look after them. When you’re assigned to an issue or pull request, it tells repository visitors and contributors that you'll be facilitating the conversation or task :muscle:.
:keyboard: Activity

On the right side of the screen, under the "Assignees" section, click the gear icon and select yourself

For a printable version of the steps in this course, check out the Quick Reference Guide.

I'll respond when I detect you've assigned yourself to this issue.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.

Originally posted by @github-learning-lab[bot] in https://github.com/sneah9/github-slideshow/issues/1#issuecomment-1089043618

Assigned self to issue


Further optimize sine/cosine calls in U3 gates

Since theta/phi/lambda determine always zeroing cases - very common with CRY/RY gates and such, and such have trivial sine/cosine.  This may do very little on Linux if the glibc sin/cos already check zero cases, but that is implementation-dependent.

Some tests, like qgd_python/decomposition/test/test_Compression.py are systematically failing with this commit.

Python (which presumably bears semblance to the C library/FPU function) shows that conceivable the sign of 0.0 is different...
>>> math.sin(0.0)
0.0
>>> math.sin(-0.0)
-0.0
>>> math.cos(-0.0)
1.0
>>> math.cos(0.0)
1.0

But that SQUANDER relies on sin(-0.0)==-0.0 is a bit questionable of not this code, but something else with another function or the test itself...  Its concerning likely and worth an investigation.

Please try out the tests again. Sometimes one or two tests might fail, since the optimization is probabilistic.
On my end all the tests worked.

tests\decomposition\test_Compression.py ....                                                                     [  8%]

It is good to go, you are right it fails sometimes.
The test should be put in a loop and re-run and accepted if it passes in any number of iterations.  I think generally failure in <=1/2^64 or even better <=1/2^128 statistical probability is optimal for writing test cases, for best practice in unit tests.
sincos along with not doing it for the 0 cases (the check wastes a clock cycle vs saving hundreds of cycles), should actually be a reasonably decent improvement to have.

Annoyingly, Windows doesn't have a sincos in the C library, would have to get it via custom libraries, so just revert to the old behavior.


Rewrite RSpec tests for Assignment#grade_distribution_as_percentage

See comment in #2431.

Reason to mark as invalid:

This method no longer exists


Style events index page

Description
Everything should look like the Zeplin design
Acceptance criteria

[x] Looks like Zeplin design

Event index page is now styleable with cmd components. See #107 how we can pimp it up even more.


V1.2 pre release

This should not be merged.

Closing as should not be merged, @priyaayyar you can use this link to check the differences between v1.1 and v1.2: https://github.com/mulesoft/docs-service-mesh/compare/v1.1...v1.2


Import and installation are correct, but compilation is wrong

An older version of PyAutoGUI for macOS used rubicon, but we had some problems with it so I switched back to pyobjc. The solution is to update your version of PyAutoGUI.


Jest Coverage thinks true is sometimes false

🐛 Bug Report
I generated a jest coverage report for code which includes a while(true) construct on line 11. Jest considers that there is a code branch in which true is false and therefore won't award my test suite with 100% branch coverage.
cefn@penguin:~/Documents/github/lauf-mono/packages/lauf-lock$ yarn coverage
yarn run v1.22.10
warning package.json: No license field
$ jest --coverage
 PASS  test/core.test.ts
  Can lock using arbitrary reference
    ✓ Can lock with undefined (3 ms)
    ✓ Can lock with 3
    ✓ Can lock with "hello"
    ✓ Can lock with true
    ✓ Can lock with {} (1 ms)
    ✓ Can lock with []
  Mutual Exclusion
    ✓ Procedures without lock create interleaved results (17 ms)
    ✓ Procedures with lock have no interleaved results (143 ms)

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |   95.65 |       75 |     100 |     100 |
 core.ts  |   95.24 |       75 |     100 |     100 | 11
 index.ts |     100 |      100 |     100 |     100 |
----------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests:       8 passed, 8 total
Snapshots:   0 total
Time:        5.104 s
Ran all test suites.
Done in 5.77s.

To Reproduce
Run coverage on any code which uses a while(true) construct, for example this src/waste.ts library which wastes time
function promiseDelay(ms: number): Promise<void> {
  return new Promise((resolve) => setTimeout(resolve, ms));
}
export async function wasteTime() {
  const begin = new Date().getTime();
  while (true) {
    await promiseDelay(1);
    if (new Date().getTime() - begin > 10) {
      return "wasted";
    }
  }
}

...and this corresponding test suite test/waste.test.ts ...
import { wasteTime } from "../src/waste.ts";

describe("Jest coverage example", () => {
  test("Prove coverage of while(true)", async () => {
    expect(await wasteTime()).toBe("wasted");
  });
});

Expected behavior
Jest doesn't consider that true might be false sometimes. It therefore recognises a while(true) has only one possible code branch to exercise.
Link to repl or repo (highly encouraged)
See example code above or anything including a while(true).
envinfo
 npx envinfo --preset jest
npx: installed 1 in 1.301s

  System:
    OS: Linux 5.4 Debian GNU/Linux 10 (buster) 10 (buster)
    CPU: (2) x64 06/8e
  Binaries:
    Node: 12.20.2 - ~/.nodenv/versions/12.20.2/bin/node
    Yarn: 1.22.10 - ~/.nodenv/versions/12.20.2/bin/yarn
    npm: 6.14.11 - ~/.nodenv/versions/12.20.2/bin/npm
  npmPackages:
    jest: ^26.6.3 => 26.6.3

running your reproduction code  yield 100% coverage

Thanks for your detailed comment! Sorry to dig up this issue again, but I note that it's still open, and I've just understood that what you were pointing to is not the same as the original issue I raised.
It's not the if-without-else structure I was drawing attention to. It's the while(true) structure.
Since true can never be false there is actually no other branch. I realise now that your original comment addressed the if case, which is covered in the istanbul discussion, but how can while(true) have any other branch?
I have just encountered the same issue once again at https://github.com/cefn/lauf/blob/8d43efe885695e4b5eeb52f883f32d124df6425e/modules/store-follow/src/core.ts#L83


Update cache_engine.py

torch.zeros consume a lot of time, can use direct copy method to improve speed

error


Bitbucket Whitelist IP

Hello,
The company that I'm working for use whitelist to block which IPs will have access to the repositories.
So to use the Repman I will need some IP to add in the whitelist.
Can you please provide me some IP?

@iammayron Maybe it would be best to self-host Repman instead. Because you will be poking big holes in existing security, which is there for a reason.


containerd: 1.7.9 -> 1.7.11

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/containerd/containerd/compare/v1.7.9...v1.7.11
Changelog: https://github.com/containerd/containerd/releases/tag/v1.7.11

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Flagging as security related, it contains a security fix: https://github.com/containerd/containerd/commit/40162a576232b7d95325f85334590ea295d2ed2e (GHSA-7ww5-4wqc-m92c)

As 23.11 is on 1.7.9 still, shouldn't we backport this (or at least the patch linked above)?

Yes.

Looking at the changelogs I think it is fine to backport the upgrade directly. It looks like the security fix is probably the most impacting change.


Add option to specify dialog header colour as input to feedback directive

This feature will allow for the feedback dialog's header colour to be customized by the user by passing an input value into the headerColour input property of the feedback directive.
<button mat-raised-button color="primary" feedback [headerColour]="'red'" (send)="onSend($event)">     feedback   </button>

@RickonChen Please kindly review this pull request :)


Update 0xBTC logo to SVG

Update 0xBTC logo to SVG

@admazzola could you please modify this in an updated fork? Apparently this PR is using an outdated version with other circleci version. Thanks.

Okay close this please I resubmitted based on your suggestion https://github.com/MetaMask/eth-contract-metadata/pull/201
:)


Delay before shot is fired after pulling trigger

Description
This would be an option to configure a delay before the projectile is spawned and the shoot mechanics are triggered when you activate the gun. Would also be great if we could configure mechanics that are triggered at the start of the delay.
Would be useful for flintlocks and such
Configuration
Pre_Shoot:
  Pre_Shoot_Delay: <Ticks>
  Mechanics: <Mechanics>

Payment (optional)

[ ] I'm willing to pay for this feature

This isn't how guns works


Add HOWTO: Batch Normalization

The canonical example using BN is Imagenet: https://github.com/google/flax/blob/master/linen_examples/imagenet/models.py#L94

Closing this since I expect users will be able to search our examples for BatchNorm, and if not we can point them to it. This doesn't seem to require a HOWTO.

Closing this since I expect users will be able to search our examples for BatchNorm, and if not we can point them to it. This doesn't seem to require a HOWTO.


Fixes for setting unsecure/assisting ports

This change addresses two problems:

otGetUnsecurePorts() was not indicating the proper number of entries (it was indicating the maximum number of entries).
The NCP getter/setter for PROP_THREAD_ASSISTING_PORTS was not implemented properly.

LGTM :+1:

LGTM 👍


Typescript tours

This pull request introduces 1 alert when merging 7c6b52714a565e77fcad95bc8330bcadbee2e8af into 101e973ab9cbd8d12e60ba306e08d0f38b52e86f - view on LGTM.com
new alerts:

1 for Useless assignment to property

Comment posted by LGTM.com


Wrong response type when creating document

database.createDocument returns DocumentList object response but the SDK waits for Document object response.
Error when executing database.createDocument:
Exception in thread "OkHttp Dispatcher" java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
	at io.appwrite.models.Document$Companion.from(Document.kt:42)
	at io.appwrite.services.Database$createDocument$converter$1.invoke(Database.kt:770)
	at io.appwrite.services.Database$createDocument$converter$1.invoke(Database.kt:769)
	at io.appwrite.Client$awaitResponse$2$1.onResponse(Client.kt:472)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

The same issue is present on the Android SDK side.

@OKatrych Closing as this should not be an issue with Appwrite 0.15 and Kotlin SDK 0.6.0. Please re-open if your issue persists :grin:


new task for exporting inventory in Shopify CSV format

This task will generate CSV exports in the same format as if exported from Shopify admin. It also supports multiple locations.
I used the same tags in the task json file that were on the product export task. Let me know if there is some other process that should handle that.

I am wondering if we should switch both this task and the product backup task to FTP.  SFTP is difficult to implement on the server-side, and we now offer FTPS support for those that want FTP over SSL.

Closing in favor of updated task name in #38


Flutter Web on iOS PWA Clear Local Storage Automatically

Steps to reproduce
I am developing an application on flutter for the web segment. I use shared_preferences library to work with browser's localStorage.

I install the application using Safari shortcut to the desktop
open the application, authorize it
navigate the application a little, close it
Immediately open it, everything is fine, the application has not lost authorization
After 2-3 attempts through devtools I see that the storage has been cleared, who cleared it I don't know, but definitely not my code.

Expected results
The application must store localStorage
Actual results
The application loses localStorage after a few logins
Code sample
{
    "name": "My App",
    "short_name": "My App",
    "start_url": "/",
    "display": "standalone",
    "background_color": "#3D3C3C",
    "theme_color": "#3D3C3C",
    "description": "My Description",
    "orientation": "portrait-primary",
    "prefer_related_applications": false,
    "icons": [
        {
            "src": "icons/Icon-192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "icons/Icon-512.png",
            "sizes": "512x512",
            "type": "image/png"
        },
        {
            "src": "icons/Icon-maskable-192.png",
            "sizes": "192x192",
            "type": "image/png",
            "purpose": "maskable"
        },
        {
            "src": "icons/Icon-maskable-512.png",
            "sizes": "512x512",
            "type": "image/png",
            "purpose": "maskable"
        }
    ]
}

<!DOCTYPE html>
<html>
<head>
  <!--
    If you are serving your web app in a path other than the root, change the
    href value below to reflect the base path you are serving from.

    The path provided below has to start and end with a slash "/" in order for
    it to work correctly.

    For more details:
    * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

    This is a placeholder for base href that will be replaced by the value of
    the `--base-href` argument provided to `flutter build`.
  -->
  <base href="$FLUTTER_BASE_HREF">

  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
  <meta name="description" content="Desription">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="My App">
  <link rel="apple-touch-icon" href="icons/Icon-192.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_16_Pro_Max_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_16_Pro_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_16_Plus__iPhone_15_Pro_Max__iPhone_15_Plus__iPhone_14_Pro_Max_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_16__iPhone_15_Pro__iPhone_15__iPhone_14_Pro_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_11_Pro_Max__iPhone_XS_Max_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/iPhone_11__iPhone_XR_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="splash_screens/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/4__iPhone_SE__iPod_touch_5th_generation_and_later_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 1032px) and (device-height: 1376px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/13__iPad_Pro_M4_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/12.9__iPad_Pro_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1210px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/11__iPad_Pro_M4_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/11__iPad_Pro__10.5__iPad_Pro_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/10.9__iPad_Air_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/10.5__iPad_Air_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/10.2__iPad_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="splash_screens/8.3__iPad_Mini_landscape.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 440px) and (device-height: 956px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_16_Pro_Max_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 402px) and (device-height: 874px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_16_Pro_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_16_Plus__iPhone_15_Pro_Max__iPhone_15_Plus__iPhone_14_Pro_Max_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_16__iPhone_15_Pro__iPhone_15__iPhone_14_Pro_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_14_Plus__iPhone_13_Pro_Max__iPhone_12_Pro_Max_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_14__iPhone_13_Pro__iPhone_13__iPhone_12_Pro__iPhone_12_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_13_mini__iPhone_12_mini__iPhone_11_Pro__iPhone_XS__iPhone_X_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_11_Pro_Max__iPhone_XS_Max_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/iPhone_11__iPhone_XR_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="splash_screens/iPhone_8_Plus__iPhone_7_Plus__iPhone_6s_Plus__iPhone_6_Plus_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/iPhone_8__iPhone_7__iPhone_6s__iPhone_6__4.7__iPhone_SE_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/4__iPhone_SE__iPod_touch_5th_generation_and_later_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 1032px) and (device-height: 1376px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/13__iPad_Pro_M4_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/12.9__iPad_Pro_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1210px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/11__iPad_Pro_M4_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/11__iPad_Pro__10.5__iPad_Pro_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 820px) and (device-height: 1180px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/10.9__iPad_Air_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/10.5__iPad_Air_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/10.2__iPad_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png">
  <link rel="apple-touch-startup-image" media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="splash_screens/8.3__iPad_Mini_portrait.png">

  <meta name="theme-color" content="#3D3C3C" />

  <!-- Favicon -->
  <link rel="icon" type="image/png" href="favicon.png"/>

  <title>My App</title>
  <link rel="manifest" href="app.webmanifest">

  <script>
    // The value below is injected by flutter build, do not touch.
    const serviceWorkerVersion = null;
  </script>
  <script src="https://www.google.com/recaptcha/api.js?render"></script>
  <!-- This script adds the flutter initialization JS code -->
  <script src="flutter.js" defer></script>

  <style>
    body {
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background-color: #3D3C3C;
    }
    .splash-screen {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  </style>
</head>
<body>
  <div class="splash-screen">
    <svg width="193" height="197" viewBox="0 0 193 197" fill="none" xmlns="http://www.w3.org/2000/svg">
        {...mySvg}
    </svg>
  </div>
  <script>
    window.addEventListener('flutter-first-frame', () => {
      const splash = document.getElementById('splash-screen');
      if (splash) {
        splash.remove();
      }
    });

    window.addEventListener('load', function(ev) {
      // Download main.dart.js
      _flutter.loader.loadEntrypoint({
        serviceWorker: {
          serviceWorkerVersion: serviceWorkerVersion,
        },
        onEntrypointLoaded: function(engineInitializer) {
          engineInitializer.initializeEngine({
            useColorEmoji: true
          }).then(function(appRunner) {
            appRunner.runApp();
          });
        }
      });
    });
  </script>
</body>
</html>

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
[✓] Flutter (Channel stable, 3.19.6, on macOS 15.0 24A335 darwin-arm64 (Rosetta), locale ru-RU)
    • Flutter version 3.19.6 on channel stable at /Users/vlados/fvm/versions/3.19.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (7 месяцев назад), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16B40
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.94.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (5 available)
    • iPhone 16 (mobile)          • BA83ED91-F590-48B3-BE1F-9C3B6B722347 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-18-0 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 15.0 24A335 darwin-arm64 (Rosetta)
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 131.0.6778.86
    ! Error: Browsing on the local area network for iPhone (Ульяна). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for the report @VladislavYakonyuk
Can you upgrade to latest stable and re-run your scenario to check if the reported behavior still persist or not ?
If still yes, can you try with shared_preference example to check if using it and re-running your scenario, does it still persist or not ?


BP-705 Configuration settings

@saranchuk-hys please have a look at https://github.com/Seldaek/monolog/blob/main/doc/01-usage.md#log-levels
for log levels and monolog structure for the other parameters in config.

@florinel-chis fixed, other options is correct for monolog

@florinel-chis in case you have time - please review/approve Sergey's pull request because his config is needed for another task


Swift 4.2 and Xcode 10

I updated TvOSSlider to Xcode 10 and Swift 4.2.
I did not bump the version in the podspec.
I also saw that other repos are removing the .swift-version file.

🎩 Sounds like a plan


How to train 3D per-point encoder

Hello,
Thanks for your inspiring work! I still have some questions. In section 3.1 you introduced 2D encoder(per-pixel) OpenSeg/LSeg, which is pretrained on large amounts of data, and stays fixed during inference for any given scene, right? As for 3D encoder(per-point) ε^3D introduced in section 3.2, should we train a new ε^3D from scratch(through distillation) when a new scene is given? If so, how long does it take for a new scene?
Thank you.

You simply pretrain the 3D encoder on a large dataset by distillation. When a new scene is given, you directly apply it to the new input scene's point cloud. It is a generalizable model.


quotation marks issue (a small one)

aaa "xxxx" bbb produces Aaa "xxxx"bbb
aaa \" xxxx \" bbb produces Aaa "xxx bbb
I'd like to produce Aaa "xxx" bbb

use active strings ^' aaa "xxxx" bbb'

thanks !


[CARBONDATA-2181] Thread Leak during compaction processing on restructured table

Problem
Thread leak in compaction operation
Analysis
Compaction uses both query and data loading processes. During data laod operation during compaction new threads are spawned in sorting, merger and
data writer step using executor service. These threads are not getting closed in case comapciton fails or the operation is killed from spark UI
as observed by taking a thread dump after compaction failure.
Fix
Add a task completion listener in each compaction task which will close all the executor service instances as well as clean any other system
resources to prevent thread leak

[ ] Any interfaces changed?
No
[ ] Any backward compatibility impacted?
No
[ ] Document update required?
No
[ ] Testing done
Manually Verified in cluster testing
[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3245/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4477/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3992/

retest this please

LGTM

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4497/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3268/


Do not try to initialize logger more then ones.

remove test test_logger_for_testing(), it clashes with init_test_logging() in devsetup

remove call of indy::utils::logger::set_default_logger()

Signed-off-by: Artem Mironov<EMAIL_ADDRESS>

Codecov Report

Merging #599 (a2eb08e) into main (26a7652) will decrease coverage by 11.43%.
The diff coverage is 25.00%.

:exclamation: Current head a2eb08e differs from pull request most recent head 9145c64. Consider uploading reports for the commit 9145c64 to get more accurate results

@@             Coverage Diff             @@
##             main     #599       +/-   ##
===========================================
- Coverage   59.09%   47.65%   -11.44%
===========================================
  Files         198      197        -1
  Lines       19047    15256     -3791
  Branches     4358     3485      -873
===========================================
- Hits        11255     7271     -3984
- Misses       3458     4842     +1384
+ Partials     4334     3143     -1191

Flag
Coverage Δ

integration-aries-vcx
47.65% <25.00%> (ø)

unittests-agency-client
?

unittests-aries-vcx
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

aries_vcx/src/utils/test_logger.rs
6.81% <25.00%> (-5.95%)
:arrow_down:

aries_vcx/src/utils/constants.rs
0.00% <0.00%> (-100.00%)
:arrow_down:

messages/src/proof_presentation/mod.rs
0.00% <0.00%> (-100.00%)
:arrow_down:

...rotocols/issuance/issuer/states/credential_sent.rs
0.00% <0.00%> (-88.89%)
:arrow_down:

aries_vcx/src/lib.rs
25.00% <0.00%> (-75.00%)
:arrow_down:

aries_vcx/src/utils/json.rs
0.00% <0.00%> (-72.35%)
:arrow_down:

messages/src/connection/problem_report.rs
0.00% <0.00%> (-69.24%)
:arrow_down:

aries_vcx/src/utils/author_agreement.rs
7.69% <0.00%> (-63.22%)
:arrow_down:

aries_vcx/src/utils/qualifier.rs
0.00% <0.00%> (-62.50%)
:arrow_down:

aries_vcx/src/indy/utils/mod.rs
0.00% <0.00%> (-61.54%)
:arrow_down:

... and 106 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Basic performance tests in a docker container

Environment

OS: El Capitan
EMQ: emqttd 2.0.5 (in docker container)

Description
I used simple script (https://github.com/fabaff/mqtt-randompub) to test basic performance of emqtt compare to other brokers.
Container for emqtt from here: github.com:steffenix/emqttd2-docker.git
mosquitto and mosca, running both in docker containers yield around 10k/s, emqtt - around 1k
config
[MQTT]
broker = localhost
port = 1883
qos = 0

[Topic]
topic = mqtt-test
subtopic1 = test1
subtopic2 = test2

[Payload]
load = temp: 100 humidity: 20 timestamp: 2016-12-20T06:10:16.232332 level-sound: 32

Run test:
python mqtt_randompub/mqtt_randompub.py --config config -n 100000000 -i 0.000000001
Results:
mosquitto_sub -h localhost -p 1883 -t "#" | pv -l -i5 -r >/dev/null
Log:
10:26 $ docker run -it -p 1883:1883 -p 8083:8083 -p 18083:18083 emqttd2
emqttd 2.0.5 is started successfully!
emq_auth_clientid
Start apps: [emq_auth_clientid]
Plugin emq_auth_clientid loaded successfully.
emq_auth_http
Start apps: [emq_auth_http]
Plugin emq_auth_http loaded successfully.
emq_auth_ldap
Start apps: [emq_auth_ldap]
Plugin emq_auth_ldap loaded successfully.
emq_auth_mongo
load plugin error: {emq_auth_mongo,
                    {bad_return,
                     {{emq_auth_mongo_app,start,[normal,[]]},
                      {'EXIT',
                       {{badmatch,
                         {error,
                          {shutdown,
                           {failed_to_start_child,emq_auth_mongo,
                            {shutdown,
                             {failed_to_start_child,worker_sup,
                              {shutdown,
                               {failed_to_start_child,
                                {worker,1},
                                econnrefused}}}}}}}},
                        [{emq_auth_mongo_app,start,2,
                          [{file,"src/emq_auth_mongo_app.erl"},{line,35}]},
                         {application_master,start_it_old,4,
                          [{file,"application_master.erl"},{line,273}]}]}}}}}
emq_auth_mysql
load plugin error: {emq_auth_mysql,
                    {bad_return,
                     {{emq_auth_mysql_app,start,[normal,[]]},
                      {'EXIT',
                       {{badmatch,
                         {error,
                          {shutdown,
                           {failed_to_start_child,emq_auth_mysql,
                            {shutdown,
                             {failed_to_start_child,worker_sup,
                              {shutdown,
                               {failed_to_start_child,
                                {worker,1},
                                {{badmatch,{error,econnrefused}},
                                 [{mysql,init,1,
                                   [{file,"src/mysql.erl"},{line,484}]},
                                  {gen_server,init_it,6,
                                   [{file,"gen_server.erl"},{line,328}]},
                                  {proc_lib,init_p_do_apply,3,
                                   [{file,"proc_lib.erl"},
                                    {line,240}]}]}}}}}}}}},
                        [{emq_auth_mysql_app,start,2,
                          [{file,"src/emq_auth_mysql_app.erl"},{line,33}]},
                         {application_master,start_it_old,4,
                          [{file,"application_master.erl"},{line,273}]}]}}}}}
emq_auth_pgsql
load plugin error: {emq_auth_pgsql,
                    {bad_return,
                     {{emq_auth_pgsql_app,start,[normal,[]]},
                      {'EXIT',
                       {{badmatch,
                         {error,
                          {shutdown,
                           {failed_to_start_child,emq_auth_pgsql,
                            {shutdown,
                             {failed_to_start_child,worker_sup,
                              {shutdown,
                               {failed_to_start_child,
                                {worker,1},
                                econnrefused}}}}}}}},
                        [{emq_auth_pgsql_app,start,2,
                          [{file,"src/emq_auth_pgsql_app.erl"},{line,33}]},
                         {application_master,start_it_old,4,
                          [{file,"application_master.erl"},{line,273}]}]}}}}}
emq_auth_redis
load plugin error: {emq_auth_redis,
                    {bad_return,
                     {{emq_auth_redis_app,start,[normal,[]]},
                      {'EXIT',
                       {{badmatch,
                         {error,
                          {shutdown,
                           {failed_to_start_child,emq_auth_redis,
                            {shutdown,
                             {failed_to_start_child,worker_sup,
                              {shutdown,
                               {failed_to_start_child,
                                {worker,1},
                                {connection_error,
                                 {connection_error,econnrefused}}}}}}}}}},
                        [{emq_auth_redis_app,start,2,
                          [{file,"src/emq_auth_redis_app.erl"},{line,26}]},
                         {application_master,start_it_old,4,
                          [{file,"application_master.erl"},{line,273}]}]}}}}}
emq_auth_username
Start apps: [emq_auth_username]
Plugin emq_auth_username loaded successfully.
emq_coap
Start apps: [emq_coap]
Plugin emq_coap loaded successfully.
emq_dashboard
load plugin error: already_started
emq_mod_presence
load plugin error: already_started
emq_mod_retainer
load plugin error: already_started
emq_mod_rewrite
Start apps: [emq_mod_rewrite]
Plugin emq_mod_rewrite loaded successfully.
emq_mod_subscription
load plugin error: already_started
emq_plugin_template
Start apps: [emq_plugin_template]
Plugin emq_plugin_template loaded successfully.
emq_recon
load plugin error: already_started
emq_reloader
Start apps: [emq_reloader]
Plugin emq_reloader loaded successfully.
emq_sn
Start apps: [emq_sn]
Plugin emq_sn loaded successfully.
emq_stomp
Start apps: [emq_stomp]
Plugin emq_stomp loaded successfully.

Of course it could be that docker itself slows it down, so I'll try to run different brokers on linux server to compare. However, running tests in docker is pretty convenient way to compare baseline performance, so I'm curious what you think about this results.

Follow up: when running it as processes on Mac OS X - the results are comparable (14k/s emqtt with 18k/s mosquitto)
I guess it's just the docker specifics.

#176

Hi @rokka-n, Have you tried our official docker image: http://www.emqtt.io/downloads/latest/docker ?
I will run the mqtt-randompub benchmark later.

I tried official above link still am getting
/opt/emqttd # ./bin/emqttd_ctl plugins load emq_auth_mongo load plugin error: {emq_auth_mongo,                     {bad_return,                      {{emq_auth_mongo_app,start,[normal,[]]},                       {'EXIT',                        {{badmatch,                          {error,                           {shutdown,                            {failed_to_start_child,emq_auth_mongo,                             {shutdown,                              {failed_to_start_child,worker_sup,                               {shutdown,                                {failed_to_start_child,                                 {worker,1},                                 econnrefused}}}}}}}},                         [{emq_auth_mongo_app,start,2,                           [{file,"src/emq_auth_mongo_app.erl"},{line,35}]},                          {application_master,start_it_old,4,                           [{file,"application_master.erl"},{line,273}]}]}}}}}

@rokka-n I think this issue has been fixed on emq 2.3.11.


Enforce setting the cacert field for secure providers

Fix a bug in which the cacert field was not required if insecureSkipVerify is set to false, i.e. provider is secure.
This is reproduced for all providers.

cacert field was not required if insecureSkipVerify is set to false

cacert fiels is not required
we have:
a. insecure - insecureSkipVerify set to true
b. secure - insecureSkipVerify set to false, and cacert is empty
b. secure with custom ca - insecureSkipVerify set to false, and cacert is not empty, used as custom ca

cacert field was not required if insecureSkipVerify is set to false

cacert fiels is not required
we have: a. insecure - insecureSkipVerify set to true b. secure - insecureSkipVerify set to false, and cacert is empty b. secure with custom ca - insecureSkipVerify set to false, and cacert is not empty, used as custom ca

Is it still supported by backend for all providers? Based on my tests it's not working.
It's not documented and we also removed the cacert title that implied that:
CA certificate - leave empty to use system CA certificatesand replaced it with only  CA certificate title so now this info is only hidden somewhere in a tooltip. The user won't  know it's supported (if still is..).

If we still support this empty cacerrt field for all providers,  I'll update this PR accordingly since it also fix cacert validation for openstack.

Need to decide if to handle that or not, based on backend support/fix.
currently it's not clear for which providers it's supported and if working or not.
I'll close this issue for now and let's re-open for 2.7 when this issue will be decided.


Changes to new Proxy implementation

Run of 5k iterations with flowmatch: comet

haven't gone through the code yet but my first feeling is something is up with the rewards. I expected them to be in the range of 0.6, instead of 1.8. Also, I remember kl ideally reaches 1e-5 in 2k iterations. Will check today night.

Uhm right, that's odd. Good catch!

Ah sorry my bad

~Uhm right, that's odd. Good catch!~
The rewards are exp(-beta * proxy) so they can be 1.8. It's the proxy values that can be up to -0.6, which is the case.

Ah right okay, sorry my bad, thought power with reward_beta=reward_norm=1 was being used


rmw_zenoh and ROS 2 daemon

With ROS 2, there is a long-running daemon in the background that stores information about the ROS graph to provide faster responses to queries, e.g. the list of node names, without having to discovery every other peer in the network. The daemon is automatically started when the relevant command-line tools are used for the first time.
With rmw_zenoh, we expect users to run the zenohd router which largely does the same above. However, there are issues with the zenohd router and daemon coexisting (mostly related to graph cache queries).
For example, if a user runs ros2 topic list without the zenohd router running, the process will check indefinitely for a router until one is started. Once the command exists, and if one kills the router, running ros2 topic list again will instantly return the topics from the daemon's cache. However in such scenarios we would like the cli tool to look for a router first before returning results from a cache.
Starting a discussion on how to manage such scenarios.

systemd service: An extention to the discussion in https://github.com/ros2/rmw_zenoh/issues/231, the service could also kill/restart the daemon as appropriate.
Disable daemon:

Add mechanisms in rmw API to selectively enable/disable certain "features" including the daemon.
Update rcl, rclpy and ros2cli such that these features are checked  and only start the daemon if configured to do so.

We had a bit of a discussion about this at the Waffle meeting today.  Some notes:

People were somewhat opposed to getting rid of the daemon, because it makes rmw_zenoh look "different" than other RMWs.
One suggestion was to couple the lifetimes of the ROS 2 daemon and the Zenoh router.  That would probably mean that when we launched the Zenoh router, we would also launch the ROS 2 daemon at the same time, and if one died they both die.
Another suggestion was to just replace the ROS 2 daemon with the Zenoh router.  There are a couple of major problems with that approach:

The protocol between the ROS 2 daemon the ros2cli tools is XMLRPC.  So we'd have to have some kind of "wrapper" around the Zenoh router that converted XMLRPC calls into something that the Zenoh router understands.
The ROS 2 daemon doesn't always run.  It is only started when certain ros2cli commands are invoked.  In contrast, the Zenoh router is required and needs to be running at all times for rmw_zenoh to succeed, so it has different lifetime requirements.

I would love to see zenohd automatically stop the ros2 daemon if it had been started with another rmw. These issues can be hard to track down if you read past the section in the readme.


[Bug]: Failed to create the postgis_tiger_geocoder extension.

What happened?
babelfish_db=# create extension postgis_tiger_geocoder ;
ERROR:  The scale -1 for 'numeric' datatype must be within the range 0 to precision 14
Version
BABEL_4_X_DEV (Default)
Extension
babelfishpg_tsql (Default)
Which flavor of Linux are you using when you see the bug?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct.

This could be a case where one of the hooks are active when it should not be.
Temporarily removing babelfishpg_tds from shared preload libraries and then install this extensions might work.


File creator docker image private or gone

When running this line:

docker pull ghcr.io/threefoldtech/farmerbot_config:0.2.0

I get the following error:

Error response from daemon: Head "https://ghcr.io/v2/threefoldtech/farmerbot_config/manifests/0.2.0": denied: denied

The image might be private or gone. We could make sure it's ok for the next imminent Fbot release.

Image is available. It was a local temporary issue not related to the ghcr.io repo.


setTextTrackVisibility bug

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
master branch
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from master?
yes
Are you using the demo app or your own custom app?
custom
If custom app, can you reproduce the issue using our demo app?
n/a
What browser and OS are you using?
Chrome, MacOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

What did you do?

There is embedded english CC and other English CC is externally added:
player.addTextTrack(closedCaptionsUrl, 'eng', 'caption', 'text/vtt')
					.then(track => {
						player.selectTextTrack(track);
						player.setTextTrackVisibility(false);
					});

then after the CC toggle button is clicked, the below triggers:
const textTrackVisible = !player.isTextTrackVisible();
				player.setTextTrackVisibility(textTrackVisible);

What did you expect to happen?
it should show external CC.
What actually happened?
it did not show it. But after the toggle CC is pressed 3 times, it will show CC aka after
player.setTextTrackVisibility(true) then
player.setTextTrackVisibility(false) then
player.setTextTrackVisibility(true)
On the other hand. If I start with this:
player.addTextTrack(closedCaptionsUrl, 'eng', 'caption', 'text/vtt')
					.then(track => {
						player.selectTextTrack(track);
						player.setTextTrackVisibility(undefined);
					});

then i get a warning 'text visibility has fallen out of sync' but the button works as it should and shows CC on first click.

Hey @bcupac thanks for reporting!
Could you provide a manifest and text for us to reproduce this?
Feel free to send them privately to<EMAIL_ADDRESS>if you're concerned about posting publicly.

can't share the manifest or sub, will find a way to either recreate or further debug, thanks!:)

I can reproduce with our demo and the content in it.  Steps:

Load "Big Buck Bunny: The Dark Truths", which has no subtitles.
In the debugger, add subtitles from "Angel One": shakaDemoMain.player_.addTextTrack('https://storage.googleapis.com/shaka-demo-assets/angel-one/s-en.webvtt', 'en', 'captions', 'text/vtt')
Use the UI to enable subtitles. Nothing happens.
Disable and re-enable subtitles. They are finally shown.

After addTextTrack() is called, there is one text track, which is marked "active".  A network request for the subs has been made.  The text displayer has a list of cues.  isTextTrackVisible() on the player agrees with the internal state of the text displayer.
After selecting English from the UI, isTextTrackVisible() and the internal state of the text displayer both show that text should be visible, but it's not.

Ah, because "cues" is empty after enabling the display of text.

setTextTrackVisibility calls StreamingEngine's loadNewTextStream, which clears the text buffer through MediaSourceEngine.

It's unclear which is the fault: either that loadNewTextStream doesn't detect that it's the same stream and ignore it, or that the buffer doesn't refill after being cleared.  I tend to think the former, since we'd prefer not to fetch anything twice if it's already in buffer.

So, when
addTextTrack

is called, it calls
 await this.streamingEngine_.loadNewTextStream(stream);

which runs this
 if ((this.textStreamSequenceId_ == currentSequenceId) &&
        !this.mediaStates_.has(ContentType.TEXT) &&
        !this.unloadingTextStream_) {
      const presentationTime = this.playerInterface_.getPresentationTime();
      const needPeriodIndex = this.findPeriodForTime_(presentationTime);

      const state = this.createMediaState_(stream,
          needPeriodIndex,
          /* resumeAt= */ 0);

      this.mediaStates_.set(ContentType.TEXT, state);
      this.scheduleUpdate_(state, 0);
    }

Now, when we select a text track, we again call
loadNewTextStream

but now :
 !this.mediaStates_.has(ContentType.TEXT)

is false, so the code block does not trigger.
Then after turn off the subtitles
          this.streamingEngine_.unloadTextStream();
``
gets called and it triggers

  this.mediaStates_.delete(ContentType.TEXT);

so the next time we turn on the subtitles:

!this.mediaStates_.has(ContentType.TEXT)
is true so the if code block is executed and it starts working and displaying subtitles.

This should be working now, please feel free to reopen if you're still seeing the issue.

On our demo page, I tried to play 'Angle One (HLS, MP4, multilingual,
Widevine)' with captions, and then play 'Shaka Player History', and I can
see 'text visibility has fallen out of sync' from console. Not sure if it's
the same cause.
On Tue, Jun 25, 2019 at 12:53 PM ismena<EMAIL_ADDRESS>wrote:

This should be working now, please feel free to reopen if you're still
seeing the issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/shaka-player/issues/1938?email_source=notifications&email_token=AGXVZ2LBHZHHVT4LNSUAQPTP4JZVBA5CNFSM4HMPUWIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYRM5SQ#issuecomment-505597642,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGXVZ2PYC7GRXX6SM44IJTDP4JZVBANCNFSM4HMPUWIA
.

Honestly, I'm not 100% sure about that console message. I've seen it show up in different situations, but it's never related to any root cause as far as I can tell ¯_(ツ)_/¯
This particular bug was for external text not showing up when it's enabled. I don't think the console message is related.

Thank you for your input! I'll look into that :)


set development browserslist to modern browsers in package.json to simplify debug

What problem does this feature solve?
I'm beginner javascript / vue developer.
Out of box debug experience with default vue cli project is not perfect.
When trying to debug application, it was really hard to use console / inspect application state.
After setup it is much easier to debug.
What does the proposed API look like?
in default package.json:
"browserslist": [
      "> 1%",
      "last 2 versions",
      "not ie <= 8"
    ]
  }

change to:
"browserslist": {
    "production": [
      "> 1%",
      "last 2 versions",
      "not ie <= 8"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version"
    ]
  }

Thanks for the advice. But for debugging, we've already had source map enabled. So I don't think it's necessary, and it may confuse some people if they want to visit the dev server on IE.


Unable to move after setting "sv_bm_turn_slowdown" to "0" and restarting map.

This is the exact situation as #5 I posted except I actually found the cause...at least I hope I did.
When I set "sv_bm_turn_slowdown" to "0" and restart the map (or load a new one), movement is completely broken. I can't move or jump except in noclip and disable the addon via "sv_bm_enabled" makes me take off  like a rocket at the speed of sound.
Changing "sv_bm_turn_slowdown" back to "1" and restarting puts things back to normal, I don't think this is how it's supposed to work.
Just a reminder that I don't have any other addons that modify player movement.
I'm in x64 branch still.

fixed. will push later


Problem when the ng-model is initialized

in a multiple selection list if ng-model is initialized, the component does not load the starting value found in the ng-model

Hey @Isaac6702,
If you initialize ng-model with an array of objects (not primitives) angular will not be able to set the initial values for you for the same reason as the following:
var a = {};
var b = {};

a === b; // false

By default objects are tracked by using the hash of the object in angular. You should use track by sportsPreference.someUniqueKey in the ng-options directive to fix your issue. example:
<select chosen multiple
  ng-model="user.sportsPreferences"
  ng-options="sportsPreference as sportsPreference.name for sportsPreference in sportsPreferences track by sportsPreference.id">

where id is the unique key in sportsPreference

@adityasharat  thanks for your prompt response,
you're absolutely right, I helped.
But now I can think of another problem the sportsPreferences variable is carried right through an even restfull call and the call takes a long field I always appears empty. No it is this should.
I would greatly appreciate the help.

try this
<select chosen multiple options="sportsPreferences"
  ng-model="user.sportsPreferences"
  ng-options="sportsPreference as sportsPreference.name for sportsPreference in sportsPreferences track by sportsPreference.id">

add the options attribute.

@adityasharat  thank you very much for the help, it works perfect


[FEATURE]: Script - 32bit GPU drivers

Description
Add support for 32bit drivers installation via script

I have finished working on the following
Open Source

[x] AMD
[x] Intel
[x] Nvidia
Close Source
[ ] AMD
[ ] Intel
[x] Nvidia


fix: Se ajustan las salidas de los kardex

Please read and mark the following check list before creating a pull request (check one with "x"):

[ ] I read and followed the CONTRIBUTING.md guide.
[ ] I read and followed the New Feature Checklist guide.

Short description of what this resolves:

#835 Ajustes de calculo en salida de Kardex y corrección de metodo PEPS


how to read the styles

Excuse me!  How to read the styles in the json? I want to render it on the web. Thanks!

To read the styling you'll need the PRO version of this library. If you have that you can tell the API to read the styling when parsing the workbook. Here is an example (nodejs) :
const fileName = 'Book1.xlsx'; // Excel file with styling

const options = {
  cellStyles: true,
};

const filePath = path.join(process.cwd(), fileName);
const workbook = XLSX.readFile(filePath, options);

When working with the workbook object every cell contains a .s property that hold information about the styling.

Cell styling is part of our Pro offering, see https://sheetjs.com/pro for more info


Fix getcwd model to allow NULL argument

The model for getcwd assumes the first argument should be non-null when in fact a NULL pointer is legitimate and results in allocation:

  As  an  extension to the POSIX.1-2001 standard, glibc's getcwd() allocates the buffer dynamically using mal‐
  loc(3) if buf is NULL.  In this case, the allocated buffer has the length size unless size is zero, when buf
  is allocated as big as necessary.  The caller should free(3) the returned buffer.

I suggest this glibc extension be used for the getcwd model to reduce false positives.

Thank you for your interest in our signature. All attorney's are currently busy.  Please hold for the next available attorney.


InstanceType should be compatible with object type

Bug Report
🔎 Search Terms

InstanceType
TS2509
ts(2509)
InstanceType + compatible + object

🕗 Version & Regression Information

This is the behaviour in every version I tried, and I reviewed the FAQ for entries about InstanceType

⏯ Playground Link
Playground link with relevant code
💻 Code
const test = () => <T extends new (...rest: any[]) => InstanceType<T>> (Target: T) => {
	class NewTarget extends Target {}

	Object.setPrototypeOf(NewTarget.prototype, Object.getPrototypeOf(Target.prototype));

	return NewTarget;
};

export default test;

🙁 Actual behaviour
Compiler throwing error Error TS2509: Base constructor return type 'InstanceType<T>' is not an object type or intersection of object types with statically known members.
🙂 Expected behaviour
Should compile without any errors.
🧠 Reasoning
Whenever we make a new instance of a class, it always returns some kind of object (it never returns anything of a primitive type). Therefore, InstanceType<T> should be compatible with the object type.
🤓 Workaround
Use Record<never, unknown> instead of InstanceType<T> as the base constructor return type.
👷 Stack Overflow Link
Respective discussion ongoing on stack overflow

The error message really means what it says - without a statically-determinable set of properties to work from, TS has no idea what kind of shape NewTarget should have. If you want to do this anyway, you can write extends (Target as any).

Thank you.


CRAYSAT-1549: Document SAT inclusion in CSM

Add notes about SAT being automatically included in CSM 1.3.
Document components that are not included in this "bundled" version.
Specifically mention CFS configuration content.

Issues and Related PRs

Resolves CRAYSAT-1549
An additional PR will be needed to the release/2.4 branch.
See also: https://github.com/Cray-HPE/docs-csm/pull/2366

Testing
Spell check and style check
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] CHANGELOG.md updated
[X] Testing is appropriate and complete, if applicable
[X] HPC Product Announcement prepared, if applicable

This was approved at the CASM release planning meeting today. I've merged it. @jld-dehn-hpe is going to cherry-pick the commit to a branch off our release/2.4 branch and open a PR for that for some git practice.


I as a Mongo user can set uid and gid as arguments while building a Mongo Docker image

Hello!
It would be cool to have the ability to set up my uid and gid (numbers) as arguments. Because in my system 999 already belongs to another system.

You should be able to run with any --user (or USER in a Dockerfile) value you choose, as long as you make sure the permissions on /data/db are pre-set appropriately for the user you choose to access it.