[project-pagination] Paginate project list

See Trello: https://trello.com/c/XTJkvpAe branched from: https://trello.com/c/rXpr25Wc

@jgerigmeyer I figured the best way to write this without having enough test projects is by copying the existing patterns for pagination in the product detail component and writing tests to make sure it works right. Is that the right approach?  I'd like some feedback on what you think is wrong with this test setup and if this is even the right approach to getting this done.  Also, do you think it would be better to separate the function for scroll tracking to a utility helper for better reuse?

@duggiemitchell Looking at the mockup (https://xd.adobe.com/view/2dc1958f-96ed-4f7a-6140-87fe98ae0813-5bf0/), the pagination here is not scroll-based -- so it won't follow the same pattern as products. It's explicit prev and next links. The action will be similar, but we'll probably want to do something where we track which page we're showing. But that means just storing the next url in the store won't be sufficient.
This will take a bit more thought. If you want to make a quick proposal for how to architect this that'd be fine -- otherwise let's put it on the back-burner for now.

@jgerigmeyer OK I didn't see the updated mockup with pagination.  I can give it some thought to a proposal for this, thanks!

@jgerigmeyer this new commit has the changes for pagination with previous next links.

but we'll probably want to do something where we track which page we're showing.

I think this could be accomplished through adding a page number to the url.  The project results return a count, and page max is 25.  So we can do some math to get the current page.  Though if a project is created and we are on page 3, a user would have to go to page 1 in order to see it in the list.

And I guess we'll also need to track whether the page being requested has already been fetched or not.

My first guess is to use the sessionstorage to 'cache' page results, so when someone clicks next/previous, it loads from the storage. But how would we track whether a new item is in the list not saved in storage ?

I don't know how this impacts @duggiemitchell and @jgerigmeyer's planning on this, but the last place we left this I think is following @mirisuzanne's suggestion here: https://trello.com/c/rXpr25Wc/20-i-want-to-select-a-project-from-a-list-of-projects-for-a-specific-product-that-i-have-access-to#comment-5d13e24893cbf314e3d761dd using an even more simplified "load more" instead of previous and next links. I didn't update the prototype but I should have updated the description. That said, "load more" is harder to find an older project if you know the project you are looking for is far down in the list. I like the idea of having an option to recall a "page 3" type of url even if it changes based on how many new projects are being added. That said, ideally I'd like the numeric pagination BUT since we are looking to streamline things at these MVP stages, I would still vote for the prev / next if it does update the URL. Otherwise, load more is fine, and I would up the limit to something much higher since it doesn't really effect performance when you load 50 text links, as opposed to 25, does it?

This should be functionally complete.  @stacyk I assigned you to give the styling a once/over approval.

 I want project pagination.

@duggiemitchell Nice work! This looks (and works) great 👏


Identify routing approach

Routing be decoupled from the buildContext.
Research routing packages and make a recommendation.

https://resocoder.com/2020/01/10/flutter-zero-boilerplate-router-with-auto-route-flutter-navigation-tutorial/
https://pub.dev/packages/get

There’s an ongoing effort to improve navigation/routing in Flutter for all platforms with Navigator 2.0 and a new Router widget. This will not only make navigation more declarative and flexible, but also improve how routing history works for Flutter web apps.
https://medium.com/flutter/going-deeper-with-flutters-web-support-66d7ad95eb52


Updated code

Add support for the new version of the openai python package, and also add support for the chatgpt-4-turbo model

@MotherOfG0d, Thank you for the PR!
Before merging the PR, I think there are two minor issues need to be addressed:

In the gpt.py file, there is blank space in some of the blank lines.
In the AskGPT.alfredworkflow file, it is better to leave the API_BASE configuration in the “Environment Variables” page of the Alfred workflow.

With my new changes, I have addressed both of those concerns, and I hope that now everything has been done correctly.


The '_' character has been removed in the copilot-chat text.

In the copilot-chat result text, the '_' character is missing from function names, variable names, etc. If the same query is performed in vscode, the result will contain the _ character.

Could you give me a prompt that would reproduce the problem? I have no problem with '_' and there is no code that could remove it (as far as I know).

The reported problem occurred, for example, at the following prompts
"Could you show me, how to convert from sqlalchemy query output to pandas DataFrame?"
However, when I ran it again today, it returned results with the correct '_'.

OK. Tell me if it happens again.


Clone a vm from a cloned vm with annotationFilters  "!kubevirt.io/*" will make clone stuck as well as clone-controller stuck

What happened:
When I want to clone a vm from a vm which is cloned, I set annotationFilters like this:
 annotationFilters:
    - "*"
    - "!kubevirt.io/*"

the vmclone will stuck in Restoreinprogress phase

the virtualmachinerestore has filed

The vm has being created while annotations "kebevirt.io/*"being update by restore-controller also vm-controller.
this will cause controller stuck.
What you expected to happen:
Clone vm success no mater what I set in annotationFilters and labelFilters or we need some validating webhook.
How to reproduce it (as minimally and precisely as possible):
clone a vm VM1 from a vm
clone vm VM2 from VM1 with annotationFilters:
 annotationFilters:
    - "*"
    - "!kubevirt.io/*"

Additional context:
Environment:

KubeVirt version (use virtctl version): 0.59
Kubernetes version (use kubectl version): N/A
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

/cc @enp0s3

I will do the same environment. come back soon

Thank you @Longchuanzheng!
I'm now working on a fix here: https://github.com/kubevirt/kubevirt/pull/10393.
p.s. would you mind adding this BZ to your issue description? https://bugzilla.redhat.com/show_bug.cgi?id=2224663

/assign

Thank you @Longchuanzheng! I'm now working on a fix here: #10393.
p.s. would you mind adding this BZ to your issue description? https://bugzilla.redhat.com/show_bug.cgi?id=2224663
I approve

Hey @Longchuanzheng!
There's no need to close the issue :) it will be automatically closed when https://github.com/kubevirt/kubevirt/pull/10393 gets merged.
Thanks a lot for reporting this bug!
/reopen


gdb: use system zlib, fix guile support

Also convert flags to a list and a couple of other style improvements.
cc @nbp

This sounds good to me, I am still sad that the build system of gdb does not allow us to build guile and python scripting languages as extensions which would be ldopen, as this would have avoided the necessary dependency on guile.


Add support for CSES Problem URL

Requirement
Currently, Caucus only supports codeforces and atcoder links, but it would be great to add support for CSES links.
example https://cses.fi/problemset/task/1068

Changes need to be made in the caucus server to add the functionality to scrape the CSES question from the get response.
Also, some UI changes in the front-end, to tell the user that we support CSES links.

Files to be modified

caucus-server/src/utils/scrapeQuestion.ts
caucus/src/component/QuestionsPane/ProblemList/ProblemList.tsx

Similar to #43


components_redundancy_cop: make non-strict

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Thanks again, again @commitay!

Thanks again, again

😆
Thanks for the merge @MikeMcQuaid!


Refactor and enhancement of XML documentation parsing

Refactored DocumentationCommentsDescription to improve XML documentation parsing and added comprehensive unit tests.

DocumentationCommentsDescription.cs: Refactored ParseSection to ParseSections, introduced multiple helper methods for parsing and processing nodes.
Added unit tests for DocumentationCommentsDescription to cover various XML documentation scenarios.

How Has This Been Tested?

Added lots of tests

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

106 of 106 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+34.8%) to 98.065%

Totals

Change from base Build<PHONE_NUMBER>1:
34.8%

Covered Lines:
548

Relevant Lines:
553

💛  - Coveralls


Not available on cocoapods

Not available on cocoapods
When i run "pod install" i get the following response:
[!] Unable to find a specification for NotchKit

[x] I have reviewed the README
[x] I have searched existing issues and this is not a duplicate

I just made a new test project and its working here. You might need to run pod repo update to update CocoaPods' local cache

Is there any possibility of NotchKit to be used by cocoapods with "platform :ios, '9.0'" in Podfile?
Thanks.
$ pod install
Analyzing dependencies
[!] Unable to satisfy the following requirements:

NotchKit (= 0.3.0) required by Podfile

Specs satisfying the NotchKit (= 0.3.0) dependency were found, but they required a higher minimum deployment target.

@wjiuxing Working on it
Sent with GitHawk


fix(multi_object_tracker): input stream timimg functions

Description
The input stream checked the object time interval inputs (object_latest_time and object_oldest_time) whether the latest time is later than the oldest time.
There was a report that the reversed timing settings (object_latest_time is older than object_oldest_time) was observed and the assertion stop the node, in the planning simulation environment.
https://github.com/autowarefoundation/autoware.universe/pull/6820#discussion_r1615201758

InputManager::getObjectTimeInterval
Eliminated possibility to ouput the time interval settings (object_latest_time and object_oldest_time) in wrong order.

latest_object_time_ (renamed to latest_exported_object_time_)
Initializing this value to now (time at the initialization) can cause the reversed times.
This value will be initialized to a bit older than the initialization time.
The value was renamed to avoid confusion.

InputStream::getObjectsOlderThan
It checks the settings, but just warn (not assert) and return.

Tests performed
Regular test : TIER IV INTERNAL
Effects on system behavior
Not applicable.
Interface changes
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@yukkysaito @technolojin still died
[multi_object_tracker_node-49] *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1717082878" if you are using GNU date ***
[multi_object_tracker_node-49] PC: @                0x0 (unknown)
[multi_object_tracker_node-49] *** SIGSEGV (@0x20) received by PID 461172 (TID 0x7df1e7c2f8c0) from PID 32; stack trace: ***
[multi_object_tracker_node-49]     @     0x7df1e548a206 (unknown)
[multi_object_tracker_node-49]     @     0x7df1e7a45320 (unknown)
[multi_object_tracker_node-49]     @     0x7df1e4932f0f TrackerObjectDebugger::process()
[multi_object_tracker_node-49]     @     0x7df1e48f8e08 TrackerDebugger::publishObjectsMarkers()
[multi_object_tracker_node-49]     @     0x7df1e48881e6 multi_object_tracker::MultiObjectTracker::publish()
[multi_object_tracker_node-49]     @     0x7df1e4887e5e multi_object_tracker::MultiObjectTracker::checkAndPublish()
[multi_object_tracker_node-49]     @     0x7df1e48875cc multi_object_tracker::MultiObjectTracker::onTimer()
[multi_object_tracker_node-49]     @     0x7df1e48cf76d std::__invoke_impl<>()
[multi_object_tracker_node-49]     @     0x7df1e48c98e9 std::__invoke<>()
[multi_object_tracker_node-49]     @     0x7df1e48c449b _ZNSt5_BindIFMN20multi_object_tracker18MultiObjectTrackerEFvvEPS1_EE6__callIvJEJLm0EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
[multi_object_tracker_node-49]     @     0x7df1e48bdab5 std::_Bind<>::operator()<>()
[multi_object_tracker_node-49]     @     0x7df1e48edabc rclcpp::GenericTimer<>::execute_callback_delegate<>()
[multi_object_tracker_node-49]     @     0x7df1e48ea877 rclcpp::GenericTimer<>::execute_callback()
[multi_object_tracker_node-49]     @     0x7df1e8307a51 rclcpp::Executor::execute_any_executable()
[multi_object_tracker_node-49]     @     0x7df1e8319234 rclcpp::executors::SingleThreadedExecutor::spin()
[multi_object_tracker_node-49]     @     0x65224930e45c main
[multi_object_tracker_node-49]     @     0x7df1e7a2a1ca (unknown)
[multi_object_tracker_node-49]     @     0x7df1e7a2a28b __libc_start_main
[multi_object_tracker_node-49]     @     0x65224930dac5 _start

@wep21 Thanks for the report.
@technolojin , may I ask you to analyze the bug?

@wep21 Thank you for your report.
The message indicates it is another issue.
How can I reproduce the situation?


Update software templates to support deploying to RHOAI

Adds a new boolean field to the deployment properties, rhoaiSelected, which will toggle whether or not to create the necessary resources for OpenShift AI workbenches

If selected, it deploys the OpenShift AI resources into the same namespace as the application.
Currently, the namespace that the OpenShift AI resources are deployed into cannot be configured, it must be the same namespace as the app

@maysunfaisal @Jdubrick Review comments addressed, if you don't mind re-reviewing when you have time.


Vue Create Fails with 504 Error

Version
3.0.0-beta.10
Reproduction link
https://jsbin.com/hirinefuye/1/edit?js,output
Steps to reproduce
run "vue create myapp".
What is expected?
(note, I downgraded to beta.9 to be able to show the "expected") options for selecting configuration should appear that looks like this:
cseibert@Codys-MacBook-Pro:/Users/cseibert/Workspace/vue-adonis-todo$ vue create client

Vue CLI v3.0.0-beta.9
┌───────────────────────────────────┐
│  Update available: 3.0.0-beta.10  │
└───────────────────────────────────┘
? Please pick a preset:
  yum (vue-router, vuex, babel, eslint)
  default (babel, eslint)
❯ Manually select features

What is actually happening?
(note: this is with -beta.10) I get this error:
 ERROR  StatusCodeError: 504 - "
504 Gateway Time-out
\nThe server didn't respond in time.\n\n\n"
StatusCodeError: 504 - "
504 Gateway Time-out
\nThe server didn't respond in time.\n\n\n"
    at new StatusCodeError (/usr/local/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/usr/local/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/@vue/cli/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/usr/local/lib/node_modules/@vue/cli/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/usr/local/lib/node_modules/@vue/cli/node_modules/request/request.js:1157:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/@vue/cli/node_modules/request/request.js:1079:12)

I downgraded to 3.0.0-beta.9 and it works fine

Is this still happening? Cannot reproduce and this looks like a temporary downtime for the npm registry...
If it's still happening with beta.10 please provide more information (OS, Node version, your ~/.vuerc config)


test-csharp runs 0 tests on OS X

As you can see from the output here, 0 tests are run when I run grunt test-sharp on OS X:
$ grunt test-csharp
Running "shell:csharpCompile" (shell) task
    Configuration: Release Platform: AnyCPU
Configuration: Release Platform: AnyCPU
LayoutEngineTest.cs(2127,21): warning CS0219: The variable `node_1' is assigned but its value is never used
LayoutEngineTest.cs(2162,21): warning CS0219: The variable `node_1' is assigned but its value is never used
LayoutEngineTest.cs(2725,21): warning CS0219: The variable `node_1' is assigned but its value is never used
LayoutEngineTest.cs(2973,21): warning CS0219: The variable `node_1' is assigned but its value is never used
LayoutEngineTest.cs(5841,21): warning CS0219: The variable `node_1' is assigned but its value is never used
LayoutEngineTest.cs(5881,23): warning CS0219: The variable `node_2' is assigned but its value is never used
LayoutEngineTest.cs(8285,23): warning CS0219: The variable `node_2' is assigned but its value is never used

Running "shell:csharpTestExecute" (shell) task

Tests run: 0, Failures: 0, Not run: 0, Time: 0.001 seconds

Done, without errors.

I figured out the problem. The version of nunit-console that came with Mono is 2.4.8. Versions 2.4.x contain a bug due to a hardcoded Windows-style directory separator when parsing .csproj files. For more details see http://stackoverflow.com/questions/33828340/running-tests-on-mac-os-x-console-using-mono-nunit-console-4/33828786#33828786.
I worked around the problem by downloading NUnit-2.6.4.zip from http://www.nunit.org/index.php?p=download and then putting a shell script called nunit-console early in my path which invokes version 2.6.4 of nunit-console:
#!/bin/sh

mono /path/to/NUnit-2.6.4/bin/nunit-console.exe $@


Potential web sites that mines without consent.

I do not know how to spot if a site is mining or not, but I when I left my browser on these sites while my laptop is connected to its charger the CPU usage spikes. The battery was also actually drained instead of being charged. This also happened with my phone when visiting www.radianttranslations.com.
www.webnovel.com
www.radianttranslations.com

Didn't see any miner on either site. Does it still happen?

Since the incident where my battery has an unusually large drain when on these sites I have avoided them. I will do a test today to confirm it.

At the time I was testing this morning I couldn't see any mining.

No miner on those sites.


Issue73: bugfix in RouteImpl  & unit test in RouteTest .

The path matcher was matching too much on paths that contain an asterisk after the trailing
slash.

Thanks!


Feat: adding naive transaction implementation

Closes #80
As discussed in the issue, I added a naive implementation of transactions. It doesn't do any check (throwing if you try to call get after calling a set/update/delete) but is a good start :)

Thanks for this. Really appreciate it!

No, thanks to you! This library has been super useful to create unit tests in my project. This PR is just a way to say thanks for your good work!

Let me know when the new version is published so I can update and remove the code from my project :D


Unity games not launching while application running

Description
While Livestreamer-Twitch-GUI is running some (older) Unity based games will not launch from Steam. The games simply show status as 'running' and then returned to the closed state.
Reproduction steps

Load steam
Load Livestreamer-Twitch-GUI
attempt to run game.

Games tested and shown not to launch while Livestreamer-Twitch-GUI is running:

Sunless Sea
Shadowrun: Dragonfall (directors cut)
Wasteland 2: Directors Cut
Oxenfree
HuniePop

However, the Systemshock Pre-Alpha Demo does run while Livestreamer-Twitch-GUI is running but i believe that it uses a far newer version of Unity engine than most other games.
Environment details (operating system, etc.)
Antergos Linux, all updates installed as of time of posting (11/11/2016 18:00 GMT)
Nvidia Proprietary driver (version 375.10)
Kernel x86_64 Linux 4.8.7-1-ARCH
Desktop Environment XFCE 4.12
Comments, logs, screenshots, etc.
This issue was first discovered by a friend who has replicated this behaviour on Antergos (with LTS kernel) and Ubuntu
I also made a youtube video outlining the issue if that is of help https://youtu.be/Q3ejAGGwK0U

I've also experienced this issue with band new clean installs of default Ubuntu 16.04 and Ubuntu 16.10.  I also did a fresh install of Antergos, Gnome 3.22.2, Linux kernel 4.8.7-1-ARCH, with the latest version of Livestreamer Twitch Gui, MPV, and Chatty. The video shows the issue perfectly.

Thanks for the report. Interesting issue...
Are there any useful log outputs and does this same problem occur when you are running other NWjs or even Electron applications?
The version that's being used here right now is the NWjs legacy version 0.12.3. The work on the long-awaited NWjs upgrade (#275) is not yet completely finished, but you might want to try building the application off of either the nwjs-upgrade or node-notifier branch (the latter one is an extension to the former one that fixes the notification regressions). Instead, you can also try just downloading and running NWjs >=0.13.0.
The NWjs archives can be found here: https://dl.nwjs.io/
Please be aware that running newer NWjs versions will delete localstorage data of the legacy versions when NWjs is transforming data to the new format.
Also, running a newer build than the v0.16.0 release will make the settings incompatible if you're trying to go back afterwards and a cache/config wipe will be necessary.
It's a bit worrisome that I don't see any reported issues on the NWjs repo:
https://github.com/nwjs/nw.js/issues?utf8=✓&q=is%3Aissue unity
I'd be surprised if this issue is related to the code of this project, though. All that's added to NWjs here is the launch script, which fixes an issue with a missing lib on some distros and the WM_CLASS issue in the legacy versions (also included in both AUR packages):
https://github.com/bastimeyer/livestreamer-twitch-gui/blob/v0.16.0/build/resources/linux/start.sh

I'm not very well versed in building code myself, but I'd be willing to try things out if you'd like.  When attempting to run those games there was pretty much nothing in the logs of the games.  The only thing that I saw was "player is already running" for Shadowrun Dragonfall.  I'm wondering if this could be a mpv issue, but when Livestreamer Twitch Gui starts up, does it start or prep mpv at all?
I'm more than willing to give you any logs though if you let me know what to gather or try or what you need.  Do you know of any well known electron apps I can install really quick and see if they have the same issues?

I just installed Atom and Rambox from the AUR.  With both open, games are running just fine.  But maybe they're using a different version than Livestreamer Twitch GUI is?

I just installed Atom and Rambox

These are both Electron apps and thus unrelated.
The nwjs-bin and nwjs-sdk packages in the AUR are using one of the latest NWjs versions (0.18.x), so you can try applications that require these packages (eg. signal). gitter also uses NWjs, I believe.

I'm not very well versed in building code myself, but I'd be willing to try things out if you'd like

See https://github.com/bastimeyer/livestreamer-twitch-gui/blob/v0.16.0/CONTRIBUTING.md
sudo pacman -S git nodejs npm bower grunt-cli

git clone https://github.com/bastimeyer/livestreamer-twitch-gui.git
cd livestreamer-twitch-gui
git checkout node-notifier

npm install
grunt release

./build/releases/livestreamer-twitch-gui/linux64/start.sh

player is already running

This is a Chromium related issue.
https://www.google.com/#q=chromium+player+is+already+running
This google query returns a link to a reddit thread which is describing this exact issue, no responses, though (why do people create reddit threads instead of letting the devs know 😞 ):
https://www.reddit.com/r/linux_gaming/comments/54x1l4/unity_games_dont_start_player_already_running/?st=ivehirb0&sh=5311c6a6
Please try one of the newer NWjs versions.
The Chromium version that's included in legacy NWjs is 44.x (latest is 55.x).

Thanks for looking at this issue @bastimeyer
On an unrelated note, do you fancy spending a little bit of time talking to me on YouTube about how great Livestreamer-Twitch-GUI is?

Thanks for looking at this issue

I was actually hoping for some cooperation here, as I don't have access to any of those games.
If you don't want to go through the trouble of downloading NWjs or building the application on your own, you can also try running the latest chromium (which might not yield the same results as running NWjs).

talking to me on YouTube

I'm sorry, but I don't want to do something like this. 😊
Thanks for making YT videos, though!

I ran through your instructions exactly as you had them above, and running that version of livestreamer still produces the same behaviour with the Unity games "Player is already running" issue.

I'm not sure if NWjs/Chromium is the culprit here. This looks like a bug in Unity3D which is somehow interfering with Chromium when it is checking for already running Unity3D processes.
As you can see, this issue is quite old:
https://steamcommunity.com/app/234650/discussions/0/558754899774858118/
https://forums.obsidian.net/topic/73867-starting-game-while-chrome-running/
https://www.gog.com/forum/pillars_of_eternity/player_already_running
https://knucklecracker.com/forums/index.php?topic=17352.0
You should let the Unity devs know about this:
https://issuetracker.unity3d.com/
If it's not a bug in Unity3D and an upstream bug instead, then please open a new thread on the NWjs repo or Chromium issue tracker. All I can do here is upgrading to the latest NWjs version, nothing more.

Thanks!  I've opened a forum thread about it, since the only way you can post a bug is through the Unity editor, but that's not available on Linux.  But I'll follow up with Unity!  Keep up the amazing work bastimeyer!
https://forum.unity3d.com/threads/bug-in-unity-when-running-chrome-on-linux.441253/

I guess this can be closed here, since it's a Unity3D bug and the devs have responded to your report/question. It's the responsibility of the game devs to upgrade their games, which they haven't done yet, unfortunately. 😞


Branch ppp kenneth

Codecov Report

Merging #198 (644c529) into master (05a387d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 644c529 differs from pull request most recent head 0066021. Consider uploading reports for the commit 0066021 to get more accurate results

@@            Coverage Diff            @@
##             master     #198   +/-   ##
=========================================
  Coverage     76.29%   76.29%
  Complexity      649      649
=========================================
  Files            92       92
  Lines          2071     2071
  Branches        265      265
=========================================
  Hits           1580     1580
  Misses          424      424
  Partials         67       67

Continue to review full report at Codecov.

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


Force Proxy to use own keys.

I need to provide my own keys so I can get a device to talk to my proxy as if it's talking to another API I'm trying to mimic.
I've made my own self signed ceritficate with custom hostname, but I can't get proxy to use it so device accepts it. How do I do this ? (Installing the certificate on the device deson't seem to work).
Which platform are you running AnyProxy
Mac
The version of the AnyProxy
4.0
Your expected behavior of AnyProxy
Allow me to provide my won keys
The actual behavior of AnyProxy
Uses it's own key
The log of the error
Sends the default keys

@jcampbell05
Hi, is your key a root certificate format? If the key can be used as the root CA, you can try to replace AnyProxy root CA with it.
The certifates are located in your ~/.anproxy/certificates, just name your key as root.key and root.ca, and put them to the folder, and restart AnyPorxy.
Before that, you should remove all the certificates in the folder

Cool that helps thank you !


Global module for sharing static resources at starting time is needed

Possible performance slowdown for large simulation
Currently, routing, and gathering network information especially routing is done independently at each node.
For example, looking at code snippets below
in application.cc
https://github.com/sfc-aqua/quisp/blob/ee82009f5387278ef59eda6a1d783a8d76b645fb/quisp/modules/Application/Application.cc#L108-L116
and in routingdaemon.cc
https://github.com/sfc-aqua/quisp/blob/ee82009f5387278ef59eda6a1d783a8d76b645fb/quisp/modules/QRSA/RoutingDaemon/RoutingDaemon.cc#L63-L76
These information of topology and node's mass parameter is static (at the very least at simulation initialization time). When the simulation has millions of nodes. This will be equivalent to running loops with million iterations million times and will be very slow.
The static information should be created only once by a global module and shared (read-only) among modules that require it.

I would like to work on this issue.
I am thinking of creating a simple module that prepares topology information in initialize(), but I am not sure where global modules belong. Should it be a submodule of network, QNode, something else, or totally independent from other modules?

you can look modules/Backend and modules/Logger/LoggerModule.{h,cc,ned} and figure out how it should be.
the Backend module and Logger module are global modules and each module (for example, Application) can access to it through ComponentProvider.


count the source data & enhance log

Codecov Report
Base: 55.55% // Head: 55.51% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (c39eacc) compared to base (4db5462).
Patch coverage: 20.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #110      +/-   ##
============================================
- Coverage     55.55%   55.51%   -0.04%
  Complexity       81       81
============================================
  Files            18       18
  Lines          1431     1432       +1
  Branches        269      269
============================================
  Hits            795      795
- Misses          494      495       +1
  Partials        142      142

Impacted Files
Coverage Δ

...soft/exchange/common/writer/ServerBaseWriter.scala
25.77% <0.00%> (-0.27%)
:arrow_down:

...la/com/vesoft/exchange/common/config/Configs.scala
61.55% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Runtime allocation profiling

It'd be nice to add some sort of memory allocation/deallocation profiling support for allocations made within the runtime (through the FreeingBumpHeapAllocator), and maybe write a script so that the data can be easily exported into something like my Bytehound for analysis.
(This could probably be worked around by profiling the native runtime, but that's not ideal since 1) the native runtime is going to go away anyway, 2) it'll be extra noisy so it'd be harder to analyze and 3) it might not exactly match with what happens in an actual WASM runtime considering e.g. the native environment will be 64-bit and WASM is 32-bit, etc.)

I also already thought about something similar, but maybe for the start just some kind of prometheus metric. Collect the different allocation sizes, the maximum memory usage etc. I think based on that we should already be able to create some nice dashboard.

Hmm... well, yeah, there are essentially two different use cases here: one is monitoring, and this would be something that I think could work well as Prometheus metrics and could even be turned on by default, the other one is actually digging into the details and seeing exactly where, what and why is being allocated, and that would need more detailed allocation logs which would only be enabled on demand.

Yeah that makes sense. However, I think first having at least some broader view would be a good start.

I am up for having monitoring as well.
The only way that I can get this metric accurately now is to use the execute-block command of try-runtime, which works but is slow and not a continuous process.
Ideally, we should have a prometheus metric that tells you how much memory a block execution consumed per block. You can currently roughly achieve this by enabling wasm-heap=debug. But this emits a log for every instance of the allocator not just the block import.
The hard and rather noisy part is that we need need to somehow return these allocation amounts, and then pipe it back to prometheus if the call is actually relevant (i.e execute_block).
Looking around the code, it seems like changing the interface of WasmInstance's fn call to return the memory usage would be a good start, probably feature gated.

Looking around the code, it seems like changing the interface of WasmInstance's fn call to return the memory usage would be a good start, probably feature gated.

Yeah, we intend to refactor the executor interface anyway in the near future so I'll be keeping this issue in mind when working on refactoring it.


(windows) running plugins from build.py

I appreciate this probably isn't the right place to ask support questions, but couldn't find any other channel. Apologies!
My goal for now is to run pybuilder plugins from the build.py file.
I have this build.py script that I've pieced together by looking at existing examples:
from pybuilder.core import task, init, use_plugin

use_plugin("python.core")
use_plugin("python.flake8")

@init
def init_(project):
    project.build_depends_on('flake8')
    project.set_property('dir_source_main_python', 'src')

    project.set_property('flake8_verbose_output', True)
    project.set_property('flake8_break_build', True)

@task
def hello():
    print("hello")

default_task = ['analyze', 'hello']

Flake8 reports issues in my code if I run it from the command-line, but the pybuilder doesn't report anything and just runs hello successfully. My project isn't using a recommended layout for Python projects.
I'm on Windows.
Thanks!

This could be a bug, in all honesty. But to determine that I'd need more info.

Could you run pyb -v -X and post output?
What version of pyb are you using?

Did you run pyb install_dependencies so that flake8 is installed?
But agree that it looks like a bug. If flake8 is not installed there should be an error, and if it's installed it should run.
Also @guillermooo  this is totally the right place for questions and support, no worries!

I just did pip install flake8 into the same venv. If what you say makes a difference, then it must be that. Will doublecheck later.

This shouldn't make a difference, because pyb install_dependencies would call pip install flake8 too.
When you double check, please be sure to capture a debug log (-X switch as pointed out by @arcivanov )
Incidentally, thanks for your work on the sublime text ecosystem :smile:

Incidentally, thanks for your work on the sublime text ecosystem

:+1:

Log:
PyBuilder version 0.11.2
Build started at 2015-11-12 20:38:12
------------------------------------------------------------
[DEBUG] Loading project module from C:\Users\XXXXX\Documents\Dev\foo\build.py
[DEBUG] Loading plugin 'python.core'
[DEBUG] Trying to load builtin plugin 'python.core'
[DEBUG] Loading plugin 'core'
[DEBUG] Trying to load builtin plugin 'core'
[DEBUG] Found builtin plugin 'pybuilder.plugins.core_plugin'
[DEBUG] Found task 'clean' with required dependencies [] and optional dependencies []
[DEBUG] Registering task 'clean'
[DEBUG] Found task 'compile_sources' with required dependencies [<function prepare at 0x0000001E95F47B70>] and optional dependencies []
[DEBUG] Registering task 'compile_sources'
[DEBUG] Registering initializer 'init'
[DEBUG] Found task 'install' with required dependencies [<function package at 0x0000001E95F47D08>] and optional dependencies [<function publish at 0x0000001E95F47EA0>]
[DEBUG] Registering task 'install'
[DEBUG] Found task 'package' with required dependencies [<function compile_sources at 0x0000001E95F47BF8>] and optional dependencies [<function run_unit_tests at 0x0000001E95F47C80>]
[DEBUG] Registering task 'package'
[DEBUG] Found task 'prepare' with required dependencies [] and optional dependencies []
[DEBUG] Registering task 'prepare'
[DEBUG] Found task 'publish' with required dependencies [<function package at 0x0000001E95F47D08>] and optional dependencies [<function verify at 0x0000001E95F47E18>]
[DEBUG] Registering task 'publish'
[DEBUG] Found task 'run_integration_tests' with required dependencies [<function package at 0x0000001E95F47D08>] and optional dependencies []
[DEBUG] Registering task 'run_integration_tests'
[DEBUG] Found task 'run_unit_tests' with required dependencies [<function compile_sources at 0x0000001E95F47BF8>] and optional dependencies []
[DEBUG] Registering task 'run_unit_tests'
[DEBUG] Found task 'verify' with required dependencies [<function run_integration_tests at 0x0000001E95F47D90>] and optional dependencies []
[DEBUG] Registering task 'verify'
[DEBUG] Found builtin plugin 'pybuilder.plugins.python.core_plugin'
[DEBUG] Registering initializer 'init_python_directories'
[DEBUG] Found task 'package' with required dependencies [] and optional dependencies []
[DEBUG] Registering task 'package'
[DEBUG] Loading plugin 'python.flake8'
[DEBUG] Trying to load builtin plugin 'python.flake8'
[DEBUG] Found builtin plugin 'pybuilder.plugins.python.flake8_plugin'
[DEBUG] Found task 'analyze' with required dependencies ['prepare'] and optional dependencies []
[DEBUG] Registering task 'analyze'
[DEBUG] Found action assert_flake8_is_executable
[DEBUG] Registering action 'assert_flake8_is_executable'
[DEBUG] Registering initializer 'initialize_flake8_plugin'
[DEBUG] Have loaded plugins python.core, core, python.flake8
[DEBUG] Found task 'hello' with required dependencies [] and optional dependencies []
[DEBUG] Registering task 'hello'
[DEBUG] Registering initializer 'init_'
[DEBUG] Adding 'prepare' as a required dependency of task 'compile_sources'
[DEBUG] Adding 'package' as a required dependency of task 'install'
[DEBUG] Adding 'publish' as an optional dependency of task 'install'
[DEBUG] Adding 'compile_sources' as a required dependency of task 'package'
[DEBUG] Adding 'run_unit_tests' as an optional dependency of task 'package'
[DEBUG] Adding 'package' as a required dependency of task 'publish'
[DEBUG] Adding 'verify' as an optional dependency of task 'publish'
[DEBUG] Adding 'package' as a required dependency of task 'run_integration_tests'
[DEBUG] Adding 'compile_sources' as a required dependency of task 'run_unit_tests'
[DEBUG] Adding 'run_integration_tests' as a required dependency of task 'verify'
[DEBUG] Adding 'prepare' as a required dependency of task 'analyze'
[DEBUG] Adding after action 'assert_flake8_is_executable' for task 'prepare'
[DEBUG] Verbose output enabled.

[DEBUG] Executing initializer 'init' from 'pybuilder.plugins.core_plugin'
[DEBUG] Executing initializer 'init_python_directories' from 'pybuilder.plugins.python.core_plugin'
[DEBUG] Executing initializer 'initialize_flake8_plugin' from 'pybuilder.plugins.python.flake8_plugin'
[DEBUG] Executing initializer 'init_' from 'build'
[DEBUG] Project properties:
                                 basedir : C:\Users\XXXXX\Documents\Dev\foo
                                dir_dist : $dir_target/dist/foo-1.0.dev0
                        dir_dist_scripts : scripts
                                dir_logs : $dir_target/logs
                             dir_reports : $dir_target/reports
                  dir_source_main_python : src
                 dir_source_main_scripts : src/main/scripts
                              dir_target : target
                      flake8_break_build : True
                 flake8_exclude_patterns : None
                 flake8_include_patterns : None
                  flake8_include_scripts : False
             flake8_include_test_sources : False
                  flake8_max_line_length : 120
                   flake8_verbose_output : True
                                 verbose : True
[DEBUG] Execution plan is hello
[INFO]  Building foo version 1.0.dev0
[INFO]  Executing build in C:\Users\XXXXX\Documents\Dev\foo
[INFO]  Going to execute task hello
[DEBUG] Executing task 'hello'
[DEBUG] Executing subtask from build
hello
------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------
Build Summary
             Project: foo
             Version: 1.0.dev0
      Base directory: C:\Users\XXXXX\Documents\Dev\foo
        Environments:
               Tasks: hello [0 ms]
Build finished at 2015-11-12 20:38:12
Build took 0 seconds (6 ms)

Hmm. Looks like you ran pyb hello, is that correct?
PyBuilder runs the task you specify on the command line (unless you don't specify anything, in that case the value of default_task in the build.py is used).
Since the task hello doesn't have any dependencies here, other tasks are not executed.
Your options if you want to run flake8:

Run pyb analyze hello (explicitly analyze the analyze task registered by the flake8 plugin)
Have the task hello depend on analyze (@depends("analyze") with from pybuilder.core import depends)
Set default_task = ["analyze", "verify", "hello"] in your build.py

Darn, it's true. I don't need to change anything. I just need to invoke the build script as pyb_.exe. I could swear I'd tried that, but nevermind. Thanks!


New feature: fixed header?

It would make it so the notification bell is always on screen, as are the pull request and issue links.
Thoughts?

This would get a bit weird on diff pages, which already have the sticky diff header as you scroll down the page. We could account for that, but the inconsistent behavior (and the double sticky headers height) on the diff page may be a little strange
Not necessarily against it, but definitely require some thought regarding how that would be addressed.

👎 There's nothing important in the global header and having it fixed would waste vertical space and be annoying. This is a good use for keyboard shortcuts, g+n to go to Notifications. There's also notifier-for-github.

I've always liked google's mobile behavior:
The search bar slides up like normal as you scroll down, but slides back into view as you scroll up.
This gets it out of the way when reading a long page, but you don't have to scroll up all the way to the top to get to it.

Just press s and it scrolls up and focuses the search bar.

Yes. But that requires knowing, and remembering to use the shortcut. Maybe it's too hard to implement and not worth the effort. Keyboard shortcuts are awesome and all, but magically doing what I want is better.


[Localization] Localization Overhaul

This pull request...

splits up existing translations across several .hjson files;
localizes many more strings within the mod, including:

localizing the text within UI elements,
localizing and rewriting event clear messages,
localizing NPC names and dialog,
and more;

adds some systems for handling localization keys which defer string resolution while holding on to objects for formatting.

Planned work will...

rework the existing dialog system to use a more convenient manner of choosing dialog with localization keys in mind;
hopefully further revise how we handle localization keys and deferred string resolution;
whatever else I think of.

This PR will inevitably break #134, but will ideally make translating easier for everyone in the long run.

hi, my localization has moved all translation to localization files
could you please have a look


Ingress class with multiple Traefik controllers

Hi all,
For our on-premise Kubernetes cluster, I would like to publish internal and/or external services.
Some services needs to be publish only for internal users, some needs to be accessible from Internet.
The idea is to deploy two Traefik ingress controllers:

a first on 80/443 for private/internal only
a second on 8080/4443 for public

When we need to publish a service, we can set:

a first ingress rule for internal, with the ingress.class=traefik-private, and his specific rules
a second ingress rule for public, with the ingress.class=traefik-public, and his specific rules

My question is: is it possible to specify as a parameter "the class to watch" by the traefik controller ?
I am asking, because the official documentation says:
You can control which ingress Træfik cares about by using the kubernetes.io/ingress.class annotation. By default if the annotation is not set at all Træfik will include the ingress. If the annotation is set to anything other than traefik or a blank string Træfik will ignore it.
And the code says:
https://github.com/containous/traefik/blob/b80ecd51a7346aea29e5ce751e148614695226af/provider/kubernetes/kubernetes.go#L420-L427
If it's not possible, what do you think about that feature? Does that make sense?
It could be nice if I can use traefik for both internal and external publish.
Thank you for your help.

Thanks for your interest in Traefik !
Every question in the issues means features less 😉.
The issue tracker is for reporting bugs and feature requests only.
For end-user related support questions, refer to one of the following:

Stack Overflow using the "traefik" tag
the Traefik community Slack channel

It was actually a feature request, no ?
"If it's not possible, what do you think about that feature? Does that make sense?"

My question is: is it possible to specify as a parameter "the class to watch" by the traefik controller ?
... If it's not possible, ...

For me, that's a question.
Ask on Slack first, following the answer, open a feature request (respecting the template)


Tooltip Firefox Performance issue

On a page having about 40-50 tooltips firefox freezes about 2-5sec depending on the cpu of the computer.
related to this http://foundation.zurb.com/forum/posts/17823-performance-issues-with-tooltips-on-dynamic-content
i open this issue here on github because at this date this is a big issue for us don't be able to use tooltips often.
any workarounds to make this faster???

I have a page with >300 tooltips and FF display "Unresponsive Script" alerts and freeze on page display with the current tooltip version.
I confirm that commenting these 3 lines fix the problem with Firefox 35.

for me i fixed it remove the DOMAttrModified and changed the code to
.on('DOMNodeRemoved', '[' + this.attr_name() + ']:not(a)', function (e) {
          self.hide(S(this));
        });

I also have the same problem when loading table in ajax with tooltip on header column. Any update on this issue?

Something like this would require methods to write the JS to be more performant for this use case. It's definitely something we'll consider in the next version which we're working on. If you have created a solution on your projects we'd love to see it.

+1 @designerno1

In case anyone watching is curious, I have a fix for the performance issue here: https://github.com/zurb/foundation/issues/6944#issuecomment-154242356

In case anyone watching is curious, I have a fix for the performance issue here: #6944 (comment)

Yes, it improved the performance, but you must also remove the DOMAttrModified for best performance.
Thank you, @brianlenz and @designerno1 ! :+1:


search: add fuzzy searching (and update Node/sharp versions)

backports code from other repo to add fuzzy searching.
(also backports fix from other repo to allow development on Mac M1 chips)

(this was accidentally auto-closed 😄 )


Various fixes, update .gitignore

Add charset utf-8 to html files.
Added to .gitignore to ignore vim swap files.
Fix typos in some html files (like txzchk does not do one sanity check; it has many).
The README.md has been updated with what should be improvements. It is not fully looked at yet, however.

I'll be back a while later ... not sure if I will get more done here or not but I do have some things in mind for the website, though they're minor.

Good changes / improvements, @xexyl, thanks! 🙏

You are most welcome. Going to reply to the other comments (or maybe just a comment, not sure) and then do other things for the day. I can look at this repo more tomorrow, I think, though perhaps not: it's my mother's birthday.


Ignore Amul Topicals directory if made in repo's directory #12

'Amul Topical' folder added to .gitignore file.

Merged.


log4j-vuln-scanner: 0.7.1 -> 0.8.1

Motivation for this change
Update to latest upstream release 0.8.1
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 150935 run on x86_64-linux 1

1 package built:

log4j-vuln-scanner


[dvc][server][samza] Heap size estimation improvement

[dvc][server][samza] Heap size estimation improvement
Introduced two new utilities to make our on-heap memory usage assessment more
accurate, and easier to maintain as class hierarchies evolve:

ClassSizeEstimator: Predicts (based on assumptions about how the JVM's
memory layout works) the shallow size of a class. This includes the object
header, all primitive fields, and all references to other objects (but it
does not count these other objects, hence the shallowness). Reflection is
used in this class.
InstanceSizeEstimator: Predicts the size of instances of a limited number
of classes. This is not a general-purpose utility, and it requires some
manual effort to onboard a new class. Reflection is not used in this class.

The general design goals are the following:

Reflection should only be used once per class per runtime, and the result
of this logic should be stored in static constants.
On the hot path, there should be no reflection, and we should leverage our
knowledge of the Venice code base to determine which objects are meant to
be counted or not. For example, singleton or otherwise shared instances
should not be counted, since their amortized cost is negligible (besides
the size of the pointer to refer to them).

The above utilities have been integrated in all classes that implement the
Measurable interface, and several new classes have been given this interface
as well. The Measurable::getSize function has been renamed getHeapSize, to
minimize the chance that it could clash with other function names, and to
make it extra clear what kind of size is meant.
Miscellaneous:

Minor efficiency improvements to PubSubMessageHeaders and ApacheKafkaUtils
so that empty headers (a common case) carry less overhead. Also made the
PubSubMessageHeaders implement Iterable.
Created a DefaultLeaderMetadata static class in VeniceWriter, so that a
shared instance can be leveraged in cases where that object is always the
same (e.g. when producing to the RT topic).
BlobSnapshotManagerTest improvements:

Added timeouts to all tests.
Fixed a race condition in testMultipleThreads.

How was this PR tested?
New unit tests.

Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Have you got a chance to take a look at openjdk/jol implementation?
https://github.com/openjdk/jol
It might carry some issues, but I guess we can analyze the strategy this lib is using to see whether we can borrow some or not.

Nice job!

Thanks a lot for the reviews!


Starting a project with only Histoire for Vue stories is not working

Describe the bug
I'm starting a new project, for testing stories on VueJS components with histoire.
By reading the guide here https://histoire.dev/guide/vue3/getting-started.html, and by installing histoire + @histoire/plugin-vue, adding a histoire.config.js, I was thinking it would be okay to create a new meow.story.vue file and see it in action in the UI.
That's not the case, I encounter the error Error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files. .
By thinking again, I install the @vitejs/plugin-vue package and add a vite.config.ts like this one :
// vite.config.js
import vue from '@vitejs/plugin-vue'

export default {
  plugins: [vue()],
}

And now, the story is visible.
Do you think it could be nice to add this in the getting started of vue3, by specifying that the vite config and the vitejs plugin need to be either already present or added ?
Reproduction

create a new folder
init with npm init
follow the getting started https://histoire.dev/guide/vue3/getting-started.html#installation

npm i -D histoire @histoire/plugin-vue
create the histoire.config.js file

add the 3 scripts in package.json (see https://histoire.dev/guide/vue3/getting-started.html#command-line-interface)
create a meow.story.vue (see https://histoire.dev/guide/vue3/stories.html#how-to-write-stories)
run npm run dev

Then observe the error
Error while collecting story [...]/meow.story.vue:
Error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.

System Info
System:
    OS: Linux 5.15 Linux Mint 20.3 (Una)
    CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
    Memory: 1.27 GB / 7.67 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Firefox: 103.0.2

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

you found any solution?

// vite.config.js
import vue from '@vitejs/plugin-vue'

export default {
  plugins: [vue()],
}

Anyone coming here using webpack and vue3 and looking for a solution, this solved the issue for me. Simply put vite.config.js in same directory as your package.json / vue.config.js directory with this and it'll solve the issue.
Sure would be nice if this was in the documents, or at least addressed by Akyrum instead of being ignored. I guess he's too busy working on the 300 different half-finished libraries he's created.


rlang-deploy/ARCH=x86_64,NAME=R,OS=centos6,SITE=generic,VERSION=3.3.0 #21 failed

Build 'rlang-deploy/ARCH=x86_64,NAME=R,OS=centos6,SITE=generic,VERSION=3.3.0' is failing!

[Bruce Becker] fedc062141f065645fdb9d1dc315993d698fc6f2 - I TOLD YOU IT WAS A GZ!

[Bruce Becker] 78812695c4b1ddcc03b0bca51c0c88b9a9a8cbda - add lzma dep

No changes

[Bruce Becker] 059a5fe641ce11f71802c023f0d9312a68464467 - add ldpath

No changes
No changes

[Bruce Becker] a2dcb1c204384144773f3b05a5ded2100f705181 - Add lzma support

[Bruce Becker] 584df474642bf73aac70db1b2af165eede1b4e6e - Disable recommended packages and fix LZMA

View full output

Missing zlib. checking whether zlib support suffices... configure: error: zlib library and headers are required


Colorize service names based on their status

sysz colorizes unit names to efficiently convey their status at a glance:

This issue is about implementing the same feature in systemctl-tui.

Good idea 👍

Implemented in version 0.2.4.


bbs2gh migrate-repo should only require the Bitbucket username and password when it needs to talk to the Bitbucket API

As of #1057, we require --bbs-server-url to be provided for all variants of bbs2gh migrate-repo - even ones where we don't need to talk to the Bitbucket Server's API (i.e. the upload-and-import flow and the import-only flow).
We have started requiring the URL because we need it to communicate to the GitHub API which repo to pick from the archive when running the migration (see #1057 for more context).
This has the unwanted side effect that we now also require the Bitbucket Server username and password to be configured for all of the variants - even those ones that don't need to talk to the Bitbucket Server's API, and so won't use the username and password.
https://github.com/github/gh-gei/blob/d5bcc2b6c872517847a5dd857a99419baf334325/src/bbs2gh/Commands/MigrateRepo/MigrateRepoCommand.cs#L224-L231
We should improve this logic so that the Bitbucket username and password is only required for command variants which will talk to the Bitbucket API.

@timrogers we're hitting this bug as we try to migrate a couple of repositories from our internet-disconnected Bitbucket server instance using the --archive-path option and not the "default" end-to-end flow. Specifically with the following error:
[2024-03-22 14:34:48] [ERROR] OctoshiftCLI.OctoshiftCliException: --bbs-username and --bbs-password can only be provided with --bbs-server-url.
   at OctoshiftCLI.BbsToGithub.Commands.MigrateRepo.MigrateRepoCommandArgs.ValidateNoGenerateOptions()
   at OctoshiftCLI.BbsToGithub.Commands.MigrateRepo.MigrateRepoCommandArgs.Validate(OctoLogger log)
   at OctoshiftCLI.Extensions.CommandExtensions.RunHandler[TArgs,THandler](TArgs args, ServiceProvider sp, CommandBase`2 command)

Is there an ETA for fixing this (i.e. make the --bbs-user/pass options not required when --archive-path is specified) so we're able to migrate these repositories?

@kutsal Thanks for flagging this issue! I'm no longer working on GitHub Enterprise Importer, so I'll CC in @boylejj who has taken over from me.
If you give a dummy --bbs-username and --bbs-password, does that work as a workaround? Or are you totally blocked?

Hi! I'm hitting the same issue. I tried providing dummy values for the username/password, but got the same

--bbs-username and --bbs-password can only be provided with --bbs-server-url

even though --bbs-server-url is also set.
@kutsal have you figured out any workaround for this?

EDIT: this was a problem with the CLI arguments, setting dummy BBS_USERNAME and BBS_PASSWORD works past that error, but now I get

@laughedelic That sounds strange. Are you able to share a full example command that triggers the error, but doesn't trigger it with the environment variables, with any sensitive details redacted?

Which seems completely irrelevant because I already have the archive locally and don't need to upload it anywhere. Is the blob-storage step absolutely unavoidable in the migration process?

I'm afraid it is - the way that your data gets transferred to GitHub.com is via blob storage - even if you already have the archive locally on your machine.

Hi @timrogers! Sure, here's the command I was trying to run initially:
gh bbs2gh migrate-repo \
  --github-pat "$(gh auth token)" \
  --archive-path '...' \
  --bbs-server-url '...' \
  --bbs-project '...' \
  --bbs-repo '...' \
  --bbs-username 'laughedelic' \
  --bbs-password 'pswd' \
  --github-org '...' \
  --github-repo '...' \
  --keep-archive \
  --target-repo-visibility private

Which results in "--bbs-username and --bbs-password can only be provided with --bbs-server-url". Then I changed it to
export BBS_USERNAME='laughedelic'
export BBS_PASSWORD='pswd'

gh bbs2gh migrate-repo \
  --github-pat "$(gh auth token)" \
  --archive-path '...' \
  --bbs-server-url '...' \
  --bbs-project '...' \
  --bbs-repo '...' \
  --github-org '...' \
  --github-repo '...' \
  --keep-archive \
  --target-repo-visibility private

and ran into the blob-storage requirement.
Thanks for the explanation, it wasn't clear to me from the docs alone. I will try to proceed with an S3 bucket.

I was able to repro this, looks like a bug to me.

Any updates

I have notified our engineering team and they're looking into it.


Connection string parameters InitialSize and Password are incompatible

This may be by design, but i haven't found it documented anywhere, so I am reporting this as an issue.
The following code uses LiteDB 4.1.1 and demonstrates the issue:
using System;
using System.IO;
using LiteDB;

class Poco
{
    public Guid Id { get; set; }
    public string Text { get; set; }
}

class Program
{
    static void Main()
    {
        var connectionString = new ConnectionString("test.litedb")
        {
            Password = "password",
            InitialSize = 50 * 1024 * 1024,
        };

        File.Delete("test.litedb");
        using (var liteDatabase = new LiteDatabase(connectionString))
        {
            LiteCollection<Poco> pocoCollection = liteDatabase.GetCollection<Poco>();
            pocoCollection.EnsureIndex(poco => poco.Text);
        }
    }
}

This is the exception that is happening in the call to EnsureIndex():
LiteDB.LiteException: Datafile is not a LiteDB database.
   at LiteDB.HeaderPage.ReadContent(ByteReader reader)
   at LiteDB.BasePage.ReadPage(Byte[] buffer)
   at LiteDB.PageService.GetPage[T](UInt32 pageID)
   at LiteDB.PageService.NewPage[T](BasePage prevPage)
   at LiteDB.CollectionService.Add(String name)
   at LiteDB.LiteEngine.GetCollectionPage(String name, Boolean addIfNotExits)
   at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func`2 action)
   at LiteDB.LiteEngine.EnsureIndex(String collection, String field, String expression, Boolean unique)
   at LiteDB.LiteCollection`1.EnsureIndex(String field, String expression, Boolean unique)
   at LiteDB.LiteCollection`1.EnsureIndex[K](Expression`1 property, Boolean unique)
   at Program.Main() in Program.cs:line 25

My guess is

the pages that are written initially in response to the InitialSize property are not being encrypted
subsequent attempts to read these pages use decryption and thus return invalid data

Hi @spodskubka, you are absolute right. As I read issue title I get same idea: initial size create pages with no encryption... and this can b viewed here:
https://github.com/mbdavid/LiteDB/blob/master/LiteDB/Engine/LiteEngine.cs#L279
Thanks, I will fix soo (it's just add encrypt method call)

Any performance concerns when writing 50 MB of encrypted vs. unencrypted empty pages?
Since AES is used that shouldn't be an issue, right?

There is not big difference between encrypted vs. unencrypted performance (~10%). I made a test (in v3) using different operations with/without encryption. You can see times here:
https://github.com/mbdavid/LiteDB-Perf


Equations don't render

This is from 1-1-elements.html rendered in Chrome.
Edit: I just noticed a "load unsafe scripts" icon in Chrome. That seems to fix the rendering problem, and it enables the green sidebar which wasn't showing properly before. Is there a way to make the scripts "safe"? Or at least make a note of it so people know they have to enable the scripts manually?

fixed in a3e1aa88b1bcf5bef4ab8d9a64cd251b4e46e55c


Add caret navigation results to test table

See issue #9.

Need to add more results, but columns are all added with Safari 9 results.


Investigate why controller/invoker does not work with JDK9 or higher

When using JDK9 or higher, the controller is not able to determine that the invoker is healthy. The controller is able to register that there is an invoker available on startup, but the active ack from the invoker health check is never received by the controller. Resulting in the controller seeing an unhealthy invoker.
JDK images tested:
adoptopenjdk/openjdk12:x86_64-alpine-jdk-12.33
adoptopenjdk/openjdk9:x86_64-alpine-jdk-<IP_ADDRESS>
Controller logs, completion ack never received:
[2019-04-12T17:37:50.491Z] [INFO] [#tid_sid_invokerHealth] [InvokerPool] registered a new invoker: invoker0
[2019-04-12T17:37:50.516Z] [WARN] [#tid_sid_invokerHealth] [InvokerActor] invoker0 is unhealthy
[2019-04-12T17:37:50.538Z] [INFO] [#tid_sid_invokerHealth] [ShardingContainerPoolBalancer] posting topic 'invoker0' with activation id '5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c'
[2019-04-12T17:37:50.562Z] [INFO] [#tid_sid_invokerHealth] [InvokerPool] invoker status changed to 0 -> Unhealthy
[2019-04-12T17:37:50.567Z] [INFO] [#tid_sid_loadbalancer] [ShardingContainerPoolBalancerState] loadbalancer invoker status updated. managedInvokers = 1 blackboxInvokers = 1
[2019-04-12T17:37:50.658Z] [INFO] [#tid_sid_invokerHealth] [ShardingContainerPoolBalancer] posted to invoker0[0][122]

Invoker logs, completion ack sent:
[2019-04-12T17:37:50.668Z] [INFO] [#tid_sid_invokerHealth] [ContainerPool] containerStart containerState: cold container: None activations: 1 of max 1 action: invokerHealthTestAction0 namespace: whisk.system activationId: 5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c
[2019-04-12T17:37:50.670Z] [INFO] [#tid_sid_invokerHealth] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 32 --memory 128m --memory-swap 128m --network bridge -e __OW_API_HOST=https://<IP_ADDRESS>:443 --name wsk00_11_whisksystem_invokerHealthTestAction0 --pids-limit 1024 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --log-driver json-file --env __OW_ALLOW_CONCURRENT=false openwhisk/nodejs6action:c173d64 (timeout: 1 minute)
[2019-04-12T17:37:51.536Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] sending initialization to ContainerId(43aeda4d2f343e1274a58c89c1a32832c05f4e0b97332fab4561ed0ea84ba0b3) ContainerAddress(<IP_ADDRESS>,8080)
[2019-04-12T17:37:51.855Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] initialization result: ok
[2019-04-12T17:37:51.856Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] sending arguments to /whisk.system/invokerHealthTestAction0 at ContainerId(43aeda4d2f343e1274a58c89c1a32832c05f4e0b97332fab4561ed0ea84ba0b3) ContainerAddress(<IP_ADDRESS>,8080)
[2019-04-12T17:37:51.867Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] running result: ok
[2019-04-12T17:37:51.927Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive] posted completion of activation 5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c

The problem here may exist in the controller. In an attempt to narrow the problem down, I was able to successfully run the invoker on JDK12 and the controller on JDK8 simultaneously without issue, but not vice versa.

Now works with JDK11.


Misleading statement about Developer Exception Page

Description
In paragraph "Developer Exception Page" it reads:

ASP.NET Core apps enable the developer exception page by default when […] running in the Development environment.

That statement either is wrong or misleading.
Every other ASP.NET Core documentation page claims that the user must manually enable the Developer Exception page:
if (env.IsDevelopment())
{
  app.UseDeveloperExceptionPage();
}

Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-9.0#developer-exception-page
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/error-handling.md
Document ID
38515dfb-91a5-b395-db9d-084bbaf095c8
Article author
@tdykstra

The doc states:
BOTH
ASP.NET Core apps enable the developer exception page by default when both:
Running in the Development environment.
The app was created with the current templates, that is, by using WebApplication.CreateBuilder.


Trouble running after installing

Hi there,
I'm new to using node.js so apologies if this is just my ignorance and not a bug...
But having installed croc (which looks amazing btw! - i really want to run it :), i cannot get it to run.
node and pigments are installed (used docco fine), but running croc, it either fails silently or throws the following error:
node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object function glob(pattern, options, cb) {
  if (typeof options === "function") cb = options, options = {}
  if (!options) options = {}

  if (typeof options === "number") {
    deprecated()
    return
  }

  var m = new Glob(pattern, options, cb)

  if (options.sync) {
    return m.found
  } else {
    return m
  }
} has no method 'globSync'
    at Object.CLI (/usr/local/lib/node_modules/groc/lib/cli.coffee:102:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/groc/bin/groc:3:17)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Array.0 (module.js:470:10)
    at EventEmitter._tickCallback (node.js:192:40)

had a good google and can't find anything related to that error.
I have stub README.md and almost empty .groc.json:
{
  "globs": ["./*.js"]
}

look in anyway familiar?

Node is v0.6.7 btw, running on lion.

Hmm, your setup looks good - the globbing library I use might have changed its API out from under me from the looks of it.  I'll take a look, and thanks for giving this a whirl :)

Yup, node-glob was updated - I've pushed out groc v0.2.7 that takes advantage of it, and has more restriction dependency versioning.  This should do the trick for ya!

that's done it - perfect!
thank you :)


Avoids automated timezone adjustments and forces UTC

Fixes https://github.com/ms3056/Tenki/issues/5

Thanks - I'll incorporate these changes this weekend. There are a couple of other things I need to clean up as well - thanks for giving me a push!!!


Decorator should support hoisting

Decorator used before declaration does not decorate anything. When combining many files, we don't know in which order files will be merged.
Workaround is to change filename containing decorators should be prefixed with "_".
TypeScript Version:  2.4.0 / nightly (2.5.0-dev.201xxxxx)
Code

namespace App {

    // never called...
    @injectGlobal
    export class BrowserService{
    }

    // decorator...
    export function injectGlobal(){
    }

}

Expected behavior:
Decorator declared even after use should work correctly.
Actual behavior:
Decorator never gets called.
Workaround
Rename files and prefix with "_", works on windows, haven't tried it on other platforms.

This is not a support forum; please use Stack Overflow or other question forums if you're having trouble with ordering your output file.

@RyanCavanaugh I have already posted a workaround so I am not looking for any support. Decorators are simple functions, just like other function hoisting why can't it support hoisting instead of ordering them? I haven't found any ECMA script specifications which says otherwise, but I believe it should be consistent with normal functions. Except decorators, you don't really need to order anything.

C:\Throwaway\dectest>tsc a.ts --experimentalDecorators

C:\Throwaway\dectest>type a.ts
namespace App {
    @injectGlobal
    export class BrowserService{
    }

    // decorator...
    export function injectGlobal(cls: any) {
        console.log("Hello!");
    }
}

C:\Throwaway\dectest>node a.js
Hello!

@RyanCavanaugh try this...
namespace App {
@injectGlobal
export class BrowserService{
}

}
namespace App {
// decorator...
export function injectGlobal(cls: any) {
    console.log("Hello!");
}

}

Hoisting does not occur across namespaces


fix product image copy issue #3932

BUGS: Fixed
Fixed issued #3932
Previously
When Admin want to copy the product then the image section not copy to new directory instead it link to that product id
which the product you copied
Now
when admin wants to copy a product then the image section make a new copy and image get uploaded to that new directory.
No link to previous product id

Working fine

Hi @deepaksinghgusain227
The same mistake is done many times in the given file, changed all of them.  (https://prnt.sc/upqj6h)

closed because new pr created


Details required on ESP-MATTER SDK/IDF versions for proof of concept and development (CON-304)

I am looking for the latest ESP-MATTER SDK for my project which is under the proof of concept phase. Which version of ESP-IDF and ESP-MATTER SDK can I use it for my development purpose? When is the official release planned for ESP-IDF with the matter as an integrated component inside ESP-IDF? Also, is there any documentation available on how to use the API's of ESP-MATTER SDK?

@aggaddam Please follow the documentation link present at the top-level README.md. This specifically should help you: https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html
You can also quickly create a PoC using pre-built images ESP Launchpad, again present in the top-level README.md

Closing as the question is answered

Currently, there is very minimal documentation related to APIs of ESP-MATTER. When is the next official release planned for ESP-IDF with the matter?

Currently, there is very minimal documentation related to APIs of ESP-MATTER.

Currently, we have the API reference documentation. Which specific APIs are you looking into?

When is the next official release planned for ESP-IDF with the matter?

ESP-IDF does not do official releases for Matter as it is the generic core SDK. Matter, sort of a specific project/implementation, sits on top of ESP-IDF and uses the IDF functionality as the base (like many other ESP projects do)


S/N detection discrepancy: rs-enumerate-devices and udev

Required Info

Camera Model
{ D415 }

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Ubuntu 16.04 64b

Kernel Version (Linux Only)
4.15.0-47-generic

Platform
PC

SDK Version
2.19.2

Segment
Robot

Issue Description
I'm seeing different serial number returned from rs-enumerate-devices command and udev (2 Realsense devices are connected to our computer).
$ rs-enumerate-devices | grep Serial
    Serial Number                 :<PHONE_NUMBER>56
    Serial Number                 :<PHONE_NUMBER>27

$ lsusb|grep -i 8086
Bus 002 Device 008: ID 8086:0ad3 Intel Corp.
Bus 002 Device 007: ID 8086:0ad3 Intel Corp.

$ dmesg|grep -i serial|grep -i 2-7
[ 6422.188134] usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6422.188145] usb 2-7: SerialNumber:<PHONE_NUMBER>35
$ dmesg|grep -i serial|grep -i 2-8
[ 6423.643856] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6423.643859] usb 2-8: SerialNumber:<PHONE_NUMBER>27

Probably because of these discrepancy, I'm getting errors in the downstream intel-ros/realsense when I pass the values I got from udev:
The requested device with serial number<PHONE_NUMBER>35 is NOT found!

Some more environment info:
$ apt-cache policy librealsense2|grep -i Installed
  Installed: 2.19.2-0~realsense0.775
$ apt-cache policy librealsense2-dkms|grep -i Installed
  Installed: 1.3.5-0ubuntu1
$ apt-cache policy librealsense2-utils|grep -i Installed
  Installed: 2.19.2-0~realsense0.775
$ modinfo uvcvideo | grep "version:"
version:        1.1.2.realsense-1.3.5
srcversion:     3286F64D5B1431E64E8C37C

Hi @130s
While this is true, I doubt it is going to be changed (the USB serial is serial number of the ASIC board, while the LRS serial is of the camera head).
Is it problematic to use the output of rs-enumerate-devices -s?

@dorodnic Thank you for clarification. I didn't know that.

Is it problematic to use the output of rs-enumerate-devices -s?

No it isn't now that I know the correct answer.
I'd say this setting might be inevitably confusing, and I understand this is what it is. It is worth being more clarified, maybe in a documentation. Also better error message can help. I suggest to keep this ticket open before some solution is implemented.

Hi 130s,
Thanks for the feedback and suggestions. We will update in the github if any.
Please check back later.
Cheers!

We have added ASIC_SERIAL_NUMBER to librealsense to reflect the SN appearing in lsusb.
We also considered aligning SDK S/N to libusb convention, but I fear that would have been to intrusive of a change for many customers.


E2E tests should use framework, yaml and artifacts from the same SHA

In green build and release pipeline, we are using E2E framework and yaml from the latest master when triggering the tests, but artifacts are built from older SHA.

fixed by https://github.com/istio-releases/daily-release/pull/81


Compiling Godot 2 fails with clang 6 (-Wc++11-narrowing errors)

Godot version:
2.1 branch
OS/device including version:
Antergos OS (Linux)
Issue description:
Tried to compile Godot 2 from source.
Steps to reproduce:
Command: scons p=x11 bits=64 use_llvm=yes -j 8
Error Output:
[Initial build] Compiling ==> modules/chibi/register_types.cpp
platform/x11/os_x11.cpp:1401:37: error: non-constant-expression cannot be
      narrowed from type 'unsigned long' to 'int' in initializer list
      [-Wc++11-narrowing]
        Property p = { ret, actual_format, nitems, actual_type };
                                           ^~~~~~
platform/x11/os_x11.cpp:1401:37: note: insert an explicit cast to silence this
      issue
        Property p = { ret, actual_format, nitems, actual_type };
                                           ^~~~~~
                                           static_cast<int>( )
Ranlib Library         ==> main/tests/libtests.x11.tools.64.llvm.a
[Initial build] Compiling ==> modules/cscript/godot_c.cpp
[Initial build] Compiling ==> modules/cscript/register_types.cpp
[Initial build] Compiling ==> modules/dds/register_types.cpp
[Initial build] Compiling ==> modules/dds/texture_loader_dds.cpp
[Initial build] Compiling ==> thirdparty/rg-etc1/rg_etc1.cpp
[Initial build] Compiling ==> modules/etc1/image_etc.cpp
[Initial build] Compiling ==> modules/etc1/register_types.cpp
1 error generated.
[Initial build] Compiling ==> modules/etc1/texture_loader_pkm.cpp
scons: *** [platform/x11/os_x11.x11.tools.64.llvm.o] Error 1
scons: building terminated because of errors.

What clang version are you using?

Fixed by 60835ce88.

@akien-mga Can you please reopen the issue?

It would have been better to open a new issue since it's about different errors (the initial bug report is fixed), but well, now that it's reopened let's use it.

Fixed by b29b35cee.


[DNM]*(cdc): try to pass all CI cases for the new scheduler

What problem does this PR solve?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update key monitor metrics in both TiCDC document and official document

Release note
Please add a release note.
If you don't think this PR needs a release note then fill it with `None`.

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-kafka-integration-test

/run-integration-tests

/run-integration-tests

/run-kafka-integration-test

/run-kafka-integration-test

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-verify

/run-leak-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

/run-integration-tests

Codecov Report

Merging #3816 (1446484) into master (3873d39) will decrease coverage by 1.9586%.
The diff coverage is 67.2994%.

:exclamation: Current head 1446484 differs from pull request most recent head 30657c1. Consider uploading reports for the commit 30657c1 to get more accurate results

Flag
Coverage Δ

cdc
58.5622% <67.2994%> (+0.3256%)
:arrow_up:

dm
52.1993% <ø> (-3.8353%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #3816        +/-   ##
================================================
- Coverage   57.0741%   55.1155%   -1.9587%
================================================
  Files           478        486         +8
  Lines         56551      59974      +3423
================================================
+ Hits          32276      33055       +779
- Misses        20978      23576      +2598
- Partials       3297       3343        +46

/run-integration-tests

/run-kafka-integration-test

/run-integration-tests

/run-integration-tests

/run-leak-tests
/run-kafka-integration-test

/run-integration-tests
/run-kafka-integration-test

/run-integration-tests
/run-kafka-integration-test

/run-verify

/run-integration-tests
/run-kafka-integration-test

@liuzix We don't seem to need it anymore?


Spike: is it possible to rebuild the subject area search/browse with tags?

What would need to change?

GraphQL queries
Ingestion

If we can do this then we don't have the constraint that a data asset is only tagged to one subject area.
This would be the first step of redoing the subject area taxonomy - before we add second-level subject areas

Setting new tags for CaDeT is fiddly
Either we modify dbt to add the additional tags there, or we need a new transformer to add additional tags.
The first approach means CaDeT users need to manage more things, and we no longer infer subject areas automatically from their domain structure
The second approach needs to preserve the tags that are already added from the dbt ingestion

Here's a proof of concept branch for using tags instead of the domain in Find MoJ data: https://github.com/ministryofjustice/find-moj-data/compare/fmd-1152-tag-based-subject-areas
The main issue I ran into was rewriting the GraphQL query that pulls back the list of subject areas with the number of entities in each one.
This can be done using aggregateAcrossEntities, but there is a hard limit of 20 set in the server config which prevents this from working as intended https://github.com/acryldata/datahub-helm/blob/767bbdc81b0f6d495ae325aab05641f384d683be/charts/datahub/values.yaml#L518
This is supposed to be overridable by a parameter, SearchFlags.maxAggValues, but currently this does not take precedence (this is possibly a bug)
I will try bumping this value to see if that resolves the issue without affecting performance. Worst case scenario, we can hard code the subject areas and take out the counts next to each one - these might not be necessary in the new design where we show subject areas in a grid.

Tickets raised:

https://github.com/ministryofjustice/find-moj-data/issues/1160
https://github.com/ministryofjustice/find-moj-data/issues/1161


TDD project

General requirements

Make sure that there are no linter errors.
Make sure that you used correct Gitflow.
Make sure that you documented your work in a professional way.

Ruby requirements

Follow our list of best practices for Ruby.

Project requirements

Use the TDD approach to develop the project.
Create a class called Solver.
Create a method called factorial that takes one argument, an integer N, and returns the factorial for that number. This method only accepts 0 and positive integers, so if a negative integer is given it should raise an exception.
Create a method called reverse that takes one argument, a string word, and returns word reversed.
Create a method called fizzbuzz that takes one argument, an integer N, and returns a string. The returned string is constructed following these rules:

When N is divisible by 3, return "fizz".
When N is divisible by 5, return "buzz".
When N is divisible by 3 and 5, return "fizzbuzz".
Any other case, return N as a string.

@GzimAsani Thanks for the approval!


Add hl-smi binary from firmware-tools

Adding hl-smi to image so hardware can be queried

It builds correctly with Stream and RHEL and I think @enriquebelarte also tested on bare metal.


Using Presidio in Spark/Databricks

Hello,
I've been trying to use the analyzer in pyspark. My idea is to apply presidio analyzer on a spark dataframe that has file paths(50000 ".txt" files from IMDB reviews dataset found in Kaggle) and their contents. I was able to create the dataframe(50000 x 2). It looks like this:

Now I used the python function:
def pii_apply_pandas(file):
text = file
response = analyzer.analyze(correlation_id=0,text = text,entities=[],language='en')
if len(response) == 0:
return "no"
else:
return "yes"
This function is working fine on single text of any length. Then I converted it into a spark udf. As I try to apply this udf on the spark dataframe, it is taking more than 30 mins and the spark jobs does not even run. Please help.
Originally posted by @Ratnakara-Sarma in https://github.com/microsoft/presidio/discussions/669

There is an issue with serializing the en_core_web_lg spaCy model used by presidio, therefore the sample initializes the model on every request which isn't optimal. Worth checking if the new en_core_web_trf model behaves better on Spark.

Fixed in #672


Remove shimmering tendrils as a possible drop

As per wiki (senile lihc, slick lihc), shimmering tendrils drop was removed as a part of class revamp in 2013.

Do you think you can remove the other drops that I presume went away at the same time:

crumbling rat skull
paranormal ricotta
quasi-ethereal macaroni fragments
smoking talon
vampire glitter
wine-soaked bone chips

Thanks for this.

Yes, removed the rest of old Pasta Guardian summon drops as well.


[FEA] Requesting "fall back" CPU implementations of certain decompression algorithms

Is your feature request related to a problem? Please describe.
No problems...
Describe the solution you'd like
It would be very beneficial to have CPU-only implementations of nvCOMP decompression algorithms.  My limited understanding is that some compressed streams created my nvCOMP are not a 'compliant' byte stream, meaning for example a standard CPU-based lz4 decompressor may not be able to handle nvCOMP compressed streams due to additional information embedded in the stream (or something along those lines).
Additional context
NCAR recently became aware of the power of nvCOMP in an Open Hackathons event.  Coupled with GPU-Direct Storage (GDS), this could be a very powerful tool for the Earth Sciences community.  In order to deploy nvCOMP in this setting, however, it is imperative that any compressed files created through nvCOMP be usable on any machine, in particular machines with no GPUs whatsoever. Thus, an enabling capability for this use would be the ability for nvCOMP to decompress its own streams, on systems without GPUs.
Describe alternatives you've considered
It could be sufficient for nvCOMP to call pre-existing CPU decompressors, after it has handled any implementation-specific stream issues.

Hi!  We provide examples of using CPU LZ4 compression and decompression interoperating with the nvCOMP GPU LZ4 decompression and compression.  Are these not working for you?  Could you be referring to nvCOMP's high-level interface that has a bit more metadata embedded in it?  We also have examples for interoperation with CPU Deflate in both directions, and although we only seem to have an example for one of the directions for Gdeflate, it seems to support both directions.  Were you wanting other compressors to have a CPU fallback?

We'd definitely be interested in a CPU-only decode path through the high-level interface, if at all possible. Since the additional metadata makes the stream unusable by another decompressor, this feature could be enabling.
As for which compressors; it is a bit of an open question until we know more about the performance of nvCOMP's algorithms for our specific climate/weather data sets.  After some discussions at the Hackathon, we expect Zstd and Bitcomp both to do well, but again we'd need some more testing on our side.

@benkirk I think that the appropriate place for this may be in the hdf5 filter, the filter could detect whether the nvcomp library and gpu were present and, if not, call the appropriate cpu method.  But again this requires that nvcomp compressed files can be decompressed using the cpu based implementation.

@jedwards4b Would it not make sense to use the nvcomp low-level API to build a batched HDF5 filter instead of using the nvcomp high-level interface? The low level interface does not add any additional metadata and is standards compliant so you could use an existing LZ4 CPU filter to read an HDF5 file that was generated using the nvcomp LZ4 filter based on the low-level API. The main requirement here would be to have the ability to (de)compress batches of chunks.

Yes, I think that the reason we used the high level interface for the hackathon was in the interest of expedience.  We will look into using the
low level interface instead.

Thanks, please let us know if you encounter any issues with this approach. We are looking into the same approach for zarr as well and there is probably enough overlap in the two use cases.

For the hackathon, we only had a single large HDF5 chunk. In order to use the LLIF on a such a chunk, you'd need to manually chunk the HDF5 data to pass to the LLIF. You'd need to store metadata regarding the size of each chunk. You'd also need to manage compacting the chunks together after compression.
The HLIF made sense in the context of a single large chunk because it handles the metadata, chunking, and compaction for you.
The LLIF however would make a ton of sense for a batched HDF5 read/writer as Akshay mentioned. In this case there's no further chunking, and thus no compaction and no metadata. You'd just need to provide smaller chunks directly to the LLIF, 1 per HDF5 write.

This issue does still need to be addressed.  I believe that the ball is in my court to rewrite the interface using the lowlevel routines.

Hi Jim,
We'll include CPU HLIF decompression in the upcoming 3.0 release. It's not much work and we think it will be generally useful for the community.
I'm not sure I understand your comment, though. If you switch to LLIF, you won't need this anymore, right?
With the LLIF as-is, each chunk is able to decompress using existing CPU decompressors (mainline zstd, deflate, etc.).
Thanks,
Eric

I haven't tried it yet, I would like to try it and confirm.


"sub-packages" inheriting license and attributes of parent packages

Consider this from the analyzer-result.yml:
    - id: "NPM:@glimmer:compiler:0.22.3"
      purl<EMAIL_ADDRESS>      declared_licenses: []
      declared_licenses_processed: {}
      description: ""
      homepage_url: ""
      binary_artifact:
        url: ""
        hash:
          value: ""
          algorithm: ""
      source_artifact:
        url<EMAIL_ADDRESS>        hash:
          value: "3aef9448460af1d320a82423323498a6ff38a0c6"
          algorithm: "SHA-1"
      vcs:
        type: "Git"
        url: "https://github.com/glimmerjs/glimmer-vm/tree/master/packages/@glimmer/compiler"
        revision: ""
        path: ""
      vcs_processed:
        type: "Git"
        url: "https://github.com/glimmerjs/glimmer-vm.git"
        revision: "master"
        path: "packages/@glimmer/compiler"

It is a plugin that belongs to the "parent" project here: https://github.com/glimmerjs/glimmer-vm
which contains all the attributes (license, etc.).
Of course ORT is unable to extract proper information. How could we improve this? Maybe some sort of "backtracking" (or upstream traversing) the URL path until finding the information?

Regarding detected licenses, I currently do not recall whether the new provenance-based scanner associates root licenses like https://github.com/glimmerjs/glimmer-vm/blob/master/LICENSE to nested packages like https://github.com/glimmerjs/glimmer-vm/tree/master/packages/%40glimmer/compiler if the latter do not have their own license findings. @mnonnenmacher can you help here?

The license matching has not changed with the new scanner implementation. This should be the algorithm you are looking for:
https://github.com/oss-review-toolkit/ort/blob/370c0762b4941e38062545dc19fd1c2f1a367a5f/model/src/main/kotlin/utils/RootLicenseMatcher.kt#L29-L44

Sorry folks I didn't follow, is it a configuration I should set to select the algorithm, or a code change?

Sorry folks I didn't follow, is it a configuration I should set to select the algorithm, or a code change?

Neither. The current code already associates a "root license" with a sub-package that has no own license. That is, even though the directory at https://github.com/glimmerjs/glimmer-vm/tree/master/packages/%40glimmer/compiler does not contain its own LICENSE file, the findings from the root license file at https://github.com/glimmerjs/glimmer-vm/blob/master/LICENSE will get associated to the package as detected licenses.

Then why declared_license us empty?

Then why declared_license is empty?

Because as mentioned the logic only applies to detected licenses, not declared ones.

detected license is not present at all there.

That shouldn't be the case if you ran the scanner tool.

Then why declared_license is empty?

Because as mentioned the logic only applies to detected licenses, not declared ones.

detected license is not present at all there.

That shouldn't be the case if you ran the scanner tool.

We did.

Closed as part of backlog grooming. Feel free to comment if you would like to contribute to this.


Sandbox mode for training days / Reset button

Addresses following Tasks in issue #144

Rename full-deploy pages, controller, and route to aoi-deploy
Add a aoi query param (for determining a new deploy or reset) to /aoi-deploy endpoint
Extend the status endpoint to also have a list of AOIs currently on the device
Show the active AOI in the left menu

Looks good. Will review and merge next week. Should close https://github.com/AmericanRedCross/posm/issues/144

In the render-db.js controller, both scripts are executed in parallel:
https://github.com/AmericanRedCross/posm-admin/blob/master/api/controllers/render-db.js#L97-L98
This isn't going to work, because you have to dump the API DB first, then load the Render DB second. We should only be executing the Render DB script once the API DB dump is complete.

I'm also seeing that the PBF being chosen to load to Render DB is not the same one that was just dumped. Troubleshooting that...
PBF dump written to: /opt/data/api-db-dumps/2016-05-09T21:06:17Z.pbf

==> osm_render-db-api2pbf.sh: END

false==> gis_render-db-pbf2render.sh: Building Render DB from PBF dump via osm2pgsql.
      Using PBF: /opt/data/api-db-dumps/render-db-update-dump.pbf
      Populating DB: gis

Merging!