Prevent the entire navigation stack from being rebuilt from dependency changes

I have the problem that all widgets in a navigator stack are rebuilt when e.g. the MediaQuery changes (opening the keyboard).
If there are many routes in the navigator it can cause the app to start janking, even though every single build method of a single route would only take about 2-3 ms.
Wouldn't it be possible to teach the navigator to update routes with the "newest" dependencies only when a route becomes visible again?
It doesn't really make sense to rebuild the whole app on an opening keyboard when only one page is visible.
If I have overlooked something how to solve this problem I would be very grateful for suggestions.

Hi @b3nni97, I believe that is expected since Opening the keyboard or change to MediaQuery would require UI rebuild Please see this answer for more details https://stackoverflow.com/a/65963713/8253662

Closing as this is working as intended, if you disagree feel free to write back with a minimal code sample and the output of flutter doctor -v.

Yes, I am aware that it currently works as intended. However, that doesn't mean that you can't optimize the current solution.
I have put together a small example here which shows the problem:
https://gist.github.com/b3nni97/4bcdcd3872f5f6aecf11fab55d052e92
1. click on + button
2. click on one of the text fields to open the keyboard
3. pay attention to the performance overlay
4. repeat step 1.
I am testing it with an iPhone 12 Pro Max and iPhone X.
I have to open about 40 routes (2 times on + button) after that the app starts lagging as soon as you press on the text fields.
I know that normally this is rarely the case that you have so many routes open. However, as the pages get more complex, you need to open fewer routes to get the app to lag.
I think there should be the possibility that if a route is not visible the media query is not applied (and thus no rebuild is generated).
Maybe there is currently a widget that forcibly blocks the subtree from being rebuilt, but I don't know about that.
[✓] Flutter (Channel master, 2.9.0-1.0.pre.220, on macOS 11.5.2 20G95 darwin-arm)

Reopened based on the above comment.

Thanks for the details @b3nni97,  this does look like a valid proposal. I will leave this issue open for further insights from the team

reproducible code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

int GLOBAL_COUNTER = 0;

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      showPerformanceOverlay: true,
      title: 'Flutter Demo',
      home: CupertinoTabScaffold(
        tabBar: CupertinoTabBar(items: const [
          BottomNavigationBarItem(
              icon: Icon(
                CupertinoIcons.home,
              ),
              label: "1"),
          BottomNavigationBarItem(
              icon: Icon(
                CupertinoIcons.home,
              ),
              label: "1"),
          BottomNavigationBarItem(
              icon: Icon(
                CupertinoIcons.home,
              ),
              label: "1"),
          BottomNavigationBarItem(
              icon: Icon(
                CupertinoIcons.home,
              ),
              label: "1"),
          BottomNavigationBarItem(
              icon: Icon(
                CupertinoIcons.home,
              ),
              label: "1"),
        ]),
        tabBuilder: (context, index) {
          return MyHomePage(
              title: 'Flutter Demo Home Page: ' + index.toString());
        },
      ),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  void _incrementCounter() async {
    GLOBAL_COUNTER++;

    var route = CupertinoPageRoute(
      builder: (context) => MyHomePage(title: GLOBAL_COUNTER.toString()),
    );

    Navigator.of(context).push(route);

    if (GLOBAL_COUNTER % 20 != 0) {
      WidgetsBinding.instance!.addPostFrameCallback((_) {
        _incrementCounter();
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        middle: Text("Keyboard Page:" + GLOBAL_COUNTER.toString()),
      ),
      child: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const CupertinoTextField(),
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$GLOBAL_COUNTER',
              style: Theme.of(context).textTheme.headline4,
            ),
            FloatingActionButton(
              onPressed: _incrementCounter,
              tooltip: 'Increment',
              child: const Icon(Icons.add),
            ),
          ],
        ),
      ),
    );
  }
}

Thanks for the details @b3nni97, this does look like a valid proposal. I will leave this issue open for further insights from the team.

I know that normally this is rarely the case that you have so many routes open. However, as the pages get more complex, you need to open fewer routes to get the app to lag.

By the way can you please share your use case, where you would need to open so many routes and leave them in stack without navigating them?
minimal code sample

Yes, of course, the current use case is, for example:

CupertinoTabScaffold exists. That means there are 4 pages loaded.
On page 1 - Navigate to the details of a product. (+1 Page)
Click on Post (+1 Page)

So now in normal case 6 pages are opened.
These pages are very expensive i.e. they need approx. 9-12 ms in peak during a navigation in the CupertinoPageRoute in the build (this is in profile mode - however without DevTools it goes to 6-9 ms (says the performance overlay).
If you now want to write a comment on the post page, the keyboard opens and all pages are rebuilt, which of course causes the page the user is currently seeing to jank.
These individual pages can certainly be optimized a bit, but the MediaQuery usually rebuilds the CupertinoPageScaffold, i.e. all pages are rebuilt (and not just individual branches) and I don't know how to deny a subtree from being rebuilt.

I’ll take a look recently and file a PR to solve this issue O(∩_∩)O

See PR https://github.com/flutter/flutter/pull/116090

As temporary workaround, I use this code in my pages. This code prevents background pages from rebuild:
final currentRoute = ModalRoute.of(context)?.isCurrent ?? false;
if (!currentRoute) return const SizedBox.shrink();


OSX NameError fix

Had the following error when trying to run Reticulum on OSX High Sierra:
line 115, in set_timeouts_osx
    sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
NameError: name 'sock' is not defined

This fix solved the problem for me.
(Also git added the newline at the end of the file, not sure if no-newline at EOF is intentional or not)

Ah, of course. I restructured that, and then forgot the OSX specific socket conf. Thanks for fixing this! Merging and including in next release.


Updated URL: vagrant-dev to phalcon-vagrant-dev

Updated URL: vagrant-dev to phalcon-vagrant-dev

Thanks

@oscarmolinadev Can you send me an email please<EMAIL_ADDRESS>I need to ask you a question


Show text when CollectionView is empty

I would like to suggest having a property for CollectionView, say, "emptyText", which shows if the CollectionView is empty. Better still, allow this property to take in a TextView widget so that styling can also be applied to it.

+1
Right now I have to toggle CollectionView visibility manualy (if dataset is empty) and show text widget with emptyText instead and vice versa

I think @sand123 pointed out the "correct" implementation when dealing with empty collections. Furthermore i'd say if there would be such a feature to show something when the collection view is empty it should just be a Composite so that you could place arbitrary Views in there. Eg an image as well. But since there is a reasonable good workaround this feature will not be a top priority.

I agree with @mpost that programmatically replacing the CollectionView with another widget as needed is not only a workaround but the correct approach.
The suggested property is plain convenience, and it falls short when anything else than a text is to be displayed, e.g. an image or a color gradient.

@mpost @ralfstx I agree about the possibility of showing other widgets instead of text. Perhaps instead of using "emptyText" as suggested, you could consider "emptyWidget" instead, which points to the widget that displays in place of the CollectionView if it is empty, or points to a function which is able to take in parameters and spit out a widget.
The rationale why I feel this is useful is because for UX reasons, in almost any circumstances, we would want to show something in place of an empty CollectionView. While using a conditional if-else statement is definitely do-able, it adds to code clutter and boiler plate.
But I agree that this is probably low in priority since it's not exactly a show stopper.

Still doesn't sound like a functionality to be offered by a widget. The responsibility of the widget is to display data, not to control other widget's visibility.
Once we have data binding (soon to come), there may be an easy way to show the other widget only in case of an empty data model.

@ralfstx yes that would work. looking forward to it :)


Request: Add cursive font for italic

Hello,
First of all thank you for the fantastic work on this V2.
Recently I discovered FiraCode iScript and I like very much to be able to put some words in cursive.
https://github.com/kencrocken/FiraCodeiScript
Here is an overview of my IDE

If it is possible to add ligatures from FiraCode, I suppose it is possible to add characters from other fonts. Would it be possible to do the same or add an option to modify Operator Mono Lig?
Thanks

Operator Mono includes italics, so not sure what you are specifically asking for.


ProgressIndicator currentIndex is not reactive to changing variables?

Sandbox example: https://codesandbox.io/s/recursing-ride-e1781?file=/App.svelte:301-331
Hi! I've been enjoying this library, it's cool work. I wanted to use a ProgressIndicator to show, well, progress - but it doesn't seem to change the selection state when a let changes.  I am new to Svelte though, so it's possible I'm doing something wrong.

Hello @orta – thank you for raising this issue. This is definitely unexpected and not very "svelte-like." Several other components suffer from this, and need fixing (i.e. DatePicker).


Add support for federation and running test_federation

Federation is not as flexible as one would hope right now, but it works. Found a bug in federation for 4.2.8+ which is not affected by this change

Okay. Some of these things are refactoring and more general improvements, and then there are the changes for federation. Should I just squash it all into 1?

squash to taste.   federation things should reference 10.

Eh, it's all part of the effort. Squashed and #'d


"Răchitoasa", "Barcana", "Bucșa", "Buda", "Burdusaci", "Dănăila","Dumbrava","Farcașa","Fundătura Răchitoasa","Hăghiac","Magazia","Movilița","Oprișești" , "Putini" and "Tochilea" villages are listed in the drop-down menu

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Răchitoasa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Răchitoasa, Bacău(Răchitoasa)"

Step 3
Type "Bucșa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Bucșa, Bacău(Răchitoasa)"

Step 4
Type "Buda" in the search bar.

Expected results
The location is listed in the drop-down menu as "Buda, Bacău(Răchitoasa)"

Step 5
Type "Burdusaci" in the search bar.

Expected results
The location is listed in the drop-down menu as "Burdusaci, Bacău(Răchitoasa)"

Step 6
Type "Dănăila" in the search bar.

Expected results
The location is listed in the drop-down menu as "Dănăila, Bacău(Răchitoasa)"

Step 7
Type "Dumbrava" in the search bar.

Expected results
The location is listed in the drop-down menu as "Dumbrava, Bacău(Răchitoasa)"

Step 8
Type "Farcașa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Farcașa, Bacău(Răchitoasa)"

Step 9
Type "Fundătura Răchitoasa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Fundătura Răchitoasa, Bacău(Răchitoasa)"

Step 10
Type "Hăghiac" in the search bar.

Expected results
The location is listed in the drop-down menu as "Hăghiac, Bacău(Răchitoasa)"

Step 12
Type "Movilița" in the search bar.

Expected results
The location is listed in the drop-down menu as "Movilița, Bacău(Răchitoasa)"

Step 13
Type "Oprișești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oprișești, Bacău(Răchitoasa)"

Step 14
Type "Putini" in the search bar.

Expected results
The location is listed in the drop-down menu as "Putini, Bacău(Răchitoasa)"

Step 15
Type "Tochilea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Tochilea, Bacău(Răchitoasa)"


Phaser browser Next Tab Update is stopped

In Phaser i use ES5,
this is my boot state.

var initGame = function(game) {};
initGame.prototype =
{
init: function()
{
console.log("INIT GAME");
this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
this.game.stage.disableVisibilityChange = true;
},
    preload:function ()
    {
        console.log("Preload");

    },
    create:function ()
    {
        game.state.start("STAGE_ASSETS");
    },
}

This is My Second State-

var stageAssets = function ()
{
i =0;
}
stageAssets.prototype =
{
create: function ()
{
console.log("STAGE ASSETS");
},
    update: function ()
    {
        wheel.angle +=1;
        console.log("----------------i----->"+i++);
    },

}

In this game i just trace i in update, In browser i just move to next tab update is stopped, I also put
this.game.stage.disableVisibilityChange = true;
In my boot state, still Update is not Working when i minimize window or move to next tab, update is stopped. In my game i put some main functions in update. that function are not working at that time. I google is lots of time, still no one give solution. Please Help us rectify this problem.

Thank you for your input. We'd really like to keep GitHub issues specifically for actual issues with the library. Therefor please ask coding support questions like this in the Phaser forum. If you prefer direct chat then you could use Slack or Discord. Or even Stack Overflow with the correct tag.


BUGFIX: don't switch jQuery tabs out of context

Fixes https://github.com/silverstripe/silverstripe-cms/issues/1430

I'm not sure what I've done wrong with this PR :cry:

Doh! Wrong branch.


Install consul-ui on consul server nodes?

I noticed we install consul-ui on consul server and client nodes.  I'm thinking we only want to install consul-ui on consul server nodes.
I'll tag this as a question for now but if the team agrees let change this to an enhancement.

I think it's a bug. It should only be on servers.

OK I've switched the tag to bug and added it for 0.2.

Fix in https://github.com/CiscoCloud/microservices-infrastructure/commit/58ea198. Initial tests seem good, but keeping this open for further testing.

Marking as closed.


Query results grid hyperlinks random text

Issue Type: Bug
ADS seems to think (....) syntax is a hyperlink so if I click on the cell to select the text I get jumped to a new tab.

Azure Data Studio version: azuredatastudio 1.39.1 (7553f799e175f471b7590302dd65c997b838b29b, 2022-08-30T01:11:13.047Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.68GB (10.32GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

extra-sql-script-as
pac
0.5.0

it is actually the {} that made ADS think it is a json string, clicking the cell will open a new tab with the cell content formatted as JSON.

we can try to improve the regex to detect JSON strings.

Thanks, these are string.format style text values.


Unable to identify "Hilliary Clinton" in input

Hi!
When using Hillary Clinton as an input to this library:
The second presidential debate contained a slew of troubling moments for both sides. Among the most disturbing, existentially speaking, was a comment that Donald Trump made about Hillary Clinton that if realized would threaten the balance of power within the American democracy.

it produces the following result:
Person {
  whitespace: { preceding: '', trailing: ' ' },
  text: 'Clinton',
  normal: 'clinton',
  expansion: null,
  reasoning: [ 'capital_signal', 'lexicon_pass' ],
  pos: { Noun: true, Person: true, MalePerson: true },
  tag: 'MalePerson',
  honourific: null,
  firstName: 'Clinton',
  middleName: '',
  lastName: null }

Do you know what the possible issue might be?

firstName: 'Clinton',

@davidbuhler That's a wrong interpretation it seems, i would like First name to be Hillary.

hi Yongzhi, ouch, this one hurts a bit.
yeah, it looks like Clinton is being recognized as another first name, then it's refusing to lump them together.
this should do the trick:
lexicon = nlp.lexicon()
lexicon["apple"] = "Person" // augment it
let s = nlp.sentence('apples are nice', {lexicon:lexicon});
console.log(s.tags());

but really, it's a bug i should fix.
will leave this open,
thanks!

@spencermountain Great, thank you very much for looking into it.

hey Yongzhi, this is fixed now in 7.0.9
var str='The second presidential debate contained a slew of troubling moments for both sides. Among the most disturbing, existentially speaking, was a comment that Donald Trump made about Hillary Clinton that if realized would threaten the balance of power within the American democracy.'
console.log(nlp(str)).people().data());
//[donald trump, hilary clinton]

cheers!


added is_top_level to the cql_libraries

Pull requests into cqm-converter require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[ ] This pull request describes why these changes were made.
[ ] Internal ticket for this PR:
[ ] Internal ticket links to this PR
[ ] Code diff has been done and been reviewed
[ ] Tests are included and test edge cases
[ ] Tests have been run locally and pass
[ ] If applicable, the library version number in cqm-converter.gemspec has been updated
[ ] Update cqm-execution test fixtures using update_cqm_execution_fixtures.sh script from server-scripts repo

Bonnie Reviewer:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Cypress Reviewer:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Codecov Report

Merging #35 into master will increase coverage by 1.69%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   56.54%   58.23%   +1.69%
==========================================
  Files           7        7
  Lines         474      498      +24
==========================================
+ Hits          268      290      +22
- Misses        206      208       +2

Impacted Files
Coverage Δ

lib/cqm/converter/bonnie_measure.rb
95.41% <ø> (-1.06%)
:arrow_down:

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 406052a...64a1627. Read the comment docs.


WIP - feat(ux): auto focus on inputs in startup flow

Notes
Still working on the tests for this

Description:
Added autofocus to the inputs during the startup flow. This can easily be extended to other inputs in the app if they should be autofocused on render

Motivation and Context:
It's annoying to have to click on an input if it's required. It's standard to auto focus on the first available input.

How Has This Been Tested?
Manual testing currently, still working through how to write a test for this.

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Code looks good @seanyesmunt . It looks like some of the tests are failing though.

@mrfelton Yep. Still working through it. Haven't had a lot of time recently but hoping to wrap it up soon.


Line breaks with HTML parse mode without template variables

Telegram doesn't show line breaks when using parse_mode: "HTML" and no template variables passes to template function
en.yaml
test: First Line\nSecond Line
test2: First Line\nSecond Line${n}

Example Grammy code with and without template variables
await ctx.reply(ctx.i18n.t("test"), { parse_mode: "HTML" });
await ctx.reply(ctx.i18n.t("test2", { n: "" }), { parse_mode: "HTML" });

Result in Telegram

I think your problem is unrelated to the parse_mode. The yaml format is a bit specific there but after getting used to it its quite nice to use.
When I use multiline things I use the block style. Its relatively well described here: https://yaml-multiline.info/
basically your test would look like this:
test: >
  First Line

  Second Line

A single new line is normally wrapped and can be used to use one sentence per line for example in the yaml file.
Two new lines in the yaml file results in a "real" new line. Markdown often (not always) uses the same logic for dealing with newlines.
Hope it helps!

Ok, it helps, thank you.
But why \n still works when using template data?

Yaml itself does not ignore characters, you get exactly what you type. With the variables they get replaced to what you provided via code. That isnt yaml anymore so you get what you are used to in pogramming with TypeScript/JavaScript.
Its basically: yaml → i18n → choose template → apply template data → use with grammY.
Applying the data is a way later step, importing yaml only happens once when you start your bot.
I hope it made it more clear what is happening under the hood here.


[branch 4.x] Minify JS: migrate from Uglifier to Terser gem to support ES6

ℹ The branch targets v4 branch
Ref: #2530

Hello @tdreyno! Pretty sure the CI errors are unrelated to this change. Let me know if I can do something to help move this forward. Thank you so much!

The Ruby 3 seems like it could be something else, but the rest are definitely failing the minify_js test suite.

Ah yes! It seems the first CI run (under 3.0) was canceled. Just took a look at the error and it seems related to the default options in Terser for "IIFE". So maybe these changes in specs are acceptable 🤔 ?
There are also a couple of configuration options for the constructor, but I played a bit with them with no luck matching the current output:
   option :compressor, proc {
     require 'terser'
-    ::Terser.new
+    ::Terser.new(output: { wrap_iife: true }, compress: { negate_iife: false })
   }, 'Set the JS compressor to use.'

Thanks for merging @tdreyno 👍🏼 👍🏼 👍🏼


Working only for page refresh

Hi!
I tried to use your library which i think could be very helpfull since something like this is not implemented in NEXT app router.
I tried to wrap my content in a NavigationGuardProvider but it seems like it works only for page reloading and not if i navigate to another page through a Link element.
I'm doing something wrong or the library is tied only for the refreshing/reloading of the page? Thanks :>
Reference to the code i used:
My wrapper:
<NavigationGuardProvider>
      <Style />
</NavigationGuardProvider>

In the Style Component:
  useNavigationGuard({
    enabled: true,
    confirm: () => window.confirm("You have unsaved changes that will be lost."),
  });

I have what seems to be the opposite issue. When I click around on links it works as expected, but if I hit the browser back button, the url changes but the route stays the same

If you really wraps Style component only, you should wrap your whole application component instead. In app/layout.tsx, it looks like this:
<NavigationGuardProvider>
  {children}
</NavigationGuardProvider>

See example here:
https://github.com/LayerXcom/next-navigation-guard/blob/0d004a9ba598ad3ced17739da3b4b0a239a007c5/example/src/app/layout.tsx#L30

@jrnxf Could you open new issue and provide version number of Next.js and the browser please? 🙇

@jrnxf Could you open new issue and provide version number of Next.js and the browser please? 🙇

of course!

My use case was to wrap only a page because i needed a custom logic for handling not saved input fields.
The Style component i provided is returned from a Page.tsx file so i need to wrap only that. I think my usecase is a little bit tricky to handle 😅.

i needed a custom logic for handling not saved input fields.

Could you describe it more? 👀
You can write custom logic in enabled func:
useNavigationGuard({  enabled: () => form.isChanged(), confirm: () => ... )

Note that generally custom logic should be placed to enabled not confirm, because only enabled will be called when user closes the tab.

i needed a custom logic for handling not saved input fields.

Could you describe it more? 👀
You can write custom logic in enabled func of useNavigationGuard() hook. So only one NavigationGuardProvider in root layout or _app.tsx is necessary for customizing.
useNavigationGuard({ enabled: () => form.isChanged(), confirm: () => ... })

Note that generally custom logic should be placed to enabled not confirm, because only enabled will be called when user closes the tab.

Thanks! I'll try it as soon as i can 😁

all the best. it works for me. Refined + Nextjs 14 App Router +  Antd Form


Page Designer view for symbol objects

Page Designer view should work with Symbol-only objects, not just with local files.

Works with Document and Card pages. List-type pages are to be handled.

List page handling is done.


Add member link in toast message after member creation

Changes proposed ✍
What
Fixes #1584

🤖 Generated by Copilot at da5675d
This pull request adds a new feature to the frontend that allows users to view the contact details of a newly created member entity. It updates the en.js locale file with a new translation key and modifies the actions.js file to display a button with a link to the contact page.

🤖 Generated by Copilot at da5675d

New View contact
Button for member entity
Spring of user joy

Why
How

🤖 Generated by Copilot at da5675d

Add a new translation key for 'View contact' message in English locale file (link)
Modify the logic for displaying a success message after creating a new entity in the frontend (link)

Checklist ✅

[ ] Label appropriately with Feature, Improvement, or Bug.
[ ] Add screehshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[ ] Quality standards are met.

@joanagmaia are there plans to update the spanish and portuguese words to be the same with English. I added the 'View contact' to the en.js but not sure how to go about with the other versions of es and br

@joanagmaia are there plans to update the spanish and portuguese words to be the same with English. I added the 'View contact' to the en.js but not sure how to go about with the other versions of es and br

Hey @peoray, not really. Even though we still have those files, currently we are not updating them since supporting multiple languages is not in our roadmap for now


Is there any way to have the finalize task be distributed across workers too

In the read_csv part I am reading a 700 file and that is causing utilization of 2GB plus and this triggers a finalize call when seen in the dash board that has been failing repeatedly and workarounds to avoid the finalize task?
data= dd.read_csv(file, blocksize="10MB", engine="pyarrow")

WARNING - Couldn't gather 1 keys, rescheduling ('finalize-ca54380b6362925e94b19ac565d090ee',)

The finalize task is added once you call compute. This means that all partitions are being concatenated on one worker and the result is shipped to the client. If the result is large, this will require a lot of memory and this is likely the reason why you're seeing this problem.
You likely don't want all that data collected in one place. Consider filtering it or storing it in a remote data. If you need further help, I suggest reaching out for help on discourse where we handle usage related questions and general discussions.


Update Readme about starting the PHP built-in web server.

added another command to start the PHP built-in web server if the first option does not work.

COMPOSER_PROCESS_TIMEOUT=0 composer run command did not work for me. After a little bit of digging, I found the command php -S localhost:8888 -t web inside the composer.json file. I ran the command and it worked successfully.

Instead of adding another option, it would be better to understand why the composer run one didn't work for you.


Sparse Tensor support in scala api

The sparse tensor is supported in python api. is any plan to add the support in scala api also?
thanks
eric

I'd second this request for support of sparse tensors/ndarrays in Scala.  Thanks!

Sparse API is still in the queue of our TODO list. We will try to get this set of APIs release in the next few months. If you can't wait and would like to 'unlock' this feature to try on your own, please change it here:
https://github.com/apache/incubator-mxnet/blob/master/scala-package/macros/src/main/scala/org/apache/mxnet/SymbolMacro.scala#L60#L63
or here if you prefer type-checked api:
https://github.com/apache/incubator-mxnet/blob/master/scala-package/macros/src/main/scala/org/apache/mxnet/SymbolMacro.scala#L94#L98
Just allow 'sparse' as an accepted input. There is no guarantee that this API will fully worked as we haven't test that.

interested as well, as this is key to our adoption of MXNet (we're heavy user of sparse computations)

Sparse Support was added in https://github.com/apache/incubator-mxnet/pull/15378


GH-43414: [C++][Compute] Fix invalid memory access when resizing var-length buffer in row table

Rationale for this change
As #43414 explained. The UT in PR reproduces this issue well (may need ASAN to detect).

What changes are included in this PR?
Check if is_fixed_length before treating the second buffer as offset.

Are these changes tested?
UT included.

Are there any user-facing changes?
None.

GitHub Issue: #43414

Hi @pitrou @westonpace , would you please take a look? Thanks.

Looping in @felipecrv as well. Would you help to take a look? Thanks.

The CI failure seems unrelated. Shall we move on with this? Thanks.


Page Permissions

Have the ability to set permissions per page. For example if we want to have a page available to only team members of our forum, set group permissions on the page.

You can set permissions of the header icons and on the widgets. This feature isn't really necessary.


Refresh Token causes rerender

Issue and Steps to Reproduce
Access token is correctly refreshed when expired.
But if we have a context which expose an overrided version of fetch, the user inside is never update.
Versions
All
Expected
Fetch should get access_token from UserManager, not from its props
Actual
Fetch gets access_token from props, which are provided by a contextProvider

Hi @rpetigny , i do not understand your problem. Do you have sample of code?

This is fixed in v4. https://www.npmjs.com/package/@axa-fr/react-oidc-context
Hooks have been splitted in order to solve that problem.


New Search UI: allow attachments contributed via Resource Selector to use the correct viewer on the search page

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included
[x] screenshots are included showing significant UI changes

Description of change
When clicking attachment previews from the search page, if the attachment came from a non-integration selection session (Resource Attachment) then it wouldn't resolve the mimetype, and so the viewer would treat is as a default MIME type attachment and simply open in a new tab rather than a lightbox.
To fix this, I added a case on the backend to handle mimetypes for resource attachments rather than just for file attachments.
Since it is possible to select a resource attachment which points to a resource attachment which points to a resource attachment infinitely, we required a bit of recursion to drill down to the original attachment and get its mime type.

Gah, build was decidedly very unhappy. Must have missed something. Putting back to draft and trying to iron out the kinks.

Turned out that only resource attachments of type 'a' (attachment). If such an attachment was pointing at a resource summary, it would throw a null pointer (hence all the failed tests). Locally this change seemed to fix the problems with all of the tests.

Argh. So we're down from 33 tests to just 3. I'll have this working soon.
Main reason we got a green build before is because my if check had a typo (was checking string against char when I should have been comparing strings).

Argh. So we're down from 33 tests to just 3. I'll have this working soon.
Main reason we got a green build before is because my if check had a typo (was checking string against char when I should have been comparing strings).

No probs. Let us know when it's green and I'll review then. :wink:

Okay so the problems are with Equella Web Pages and SCORM packages. Fixing.

so the issue was that the way I was recursing handled only single linked attachments - if it was an unzipped zip or scorm it would return multiple attachments which broke it. So I changed the code to only recurse if a single attachment is returned, otherwise we can let the original method handle it, as that handled zips/scorms correctly.

@edalex-ian Ready for review now!
Got the green build and then just added a couple commits to refer to constants rather than inline strings.

Okay my bad, that's definitely the last commit now.

AdvancedScriptControlTest - testStagingMove flaked in the new UI on GHA. I think this is fine, especially since Codebuild was fine. I'll restart GHA just in case.

Yay awesome! Build is green again. @edalex-ian we should be good to go.

@edalex-ian Refactored out to GenericDao with a new function findByDetachedCriteria, which takes a DetachedCriteria and also a Function<Criteria, Object> process to determine what it does with the output of the query. Then in the AttachmentDaoImpl I created a DetachedQuery criteriaByUuid(String uuid) with the institution and uuid check, which simplifies findByUuid and findAllByUuid to findByDetachedCriteria(Criteria::list/uniqueResult, criteriaByUuid(uuid));.
I don't know if findByDetachedCriteria is as generic as it could be, it got tricky when the output could be T and also could be List<T>, but it works and now could definitely be useful elsewhere.
If you think I've over-complicated things, I can go ahead and just use your suggested code directly without touching GenericDao.

Also - the main reason for not using the JPA API was simply that I've gone through several different ways to do the same thing in the course of this PR, Criteria is used a lot in openEQUELLA already and I didn't want to waste your review time reworking to a new API again. (Although that said the move to GenericDao is a bit of a change around anyway).


TF 2.0: Invalid argument: Unsupported type: 21

Hello guys,
Did any of you encounter this weird warning when training any network:
E tensorflow/core/grappler/optimizers/meta_optimizer.cc:502] constant folding failed: Invalid argument: Unsupported type: 21

I am using Adam optimizer, however, I tried other optimizers but nothing changes!
And, this warning appeared just after I set-up the Tensorboard using callbacks:
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir, histogram_freq=1)
To set-up the Tensorboard I used: pip install -q tf-nightly-2.0-preview
Thanks

I'm experience this as well with the latest nightly build. In my case, the error appears when using tf.function and calling tape.gradient but only when the model calls an instance of tf.keras.layers.LSTM. Disabling the layer call, tf.function or tape.gradient does not result in the same error.

Thanks for the feedback @jimfleming.
I am not sure if it has an impact on anything, in my case during the optimization process!

Please provide details about what platform you are using (operating system, architecture).Also help us to get minimal reproducible code to expedite the trouble-shooting process. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

@achandraa thanks for the reply.
I resolved the issue by uninstalling tf-nightly-2.0-preview and installing fresh TF 2.0 GPU Alpha using pip install tensorflow-gpu==2.0.0-alpha0.
The problem was that the TF was not using GPUs anymore (after nightly installed), therefore my machine CPUs with tf-nightly-2.0-preview caused those warning!
For the sake of reporting, I can share some of the specs of the machine I'm using, even though, I was able to fix the issue myself.

Code: a FC network using tf.keras.Sequential and tf.keras.layers. Using tf.keras.optimizers.Adam (however the issue happens with other optimizers as well, included from the same module tf.keras.optimizers)
OS: Arch Linux
TF: GPU 2.0 Alpha
Tf-nightly: pip install -q tf-nightly-2.0-preview (this install caused the issue)
Python: 3.7.2
GPUs: GeForce GTX 1080 (with CUDA)
CPUs (XLA_CPU): 10 x Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz

I'm going to close this. Thanks.

Have the same issue.
I can't use the alpha version.

Uninstall all the TF versions you have in your system, then install a fresh TF2.0 using: pip install tensorflow-gpu==2.0.0-alpha0

I'm experiencing this with Tensorflow=2.0.0-beta0.

Same here with 2.0.0-beta0. I have uninstalled all previous versions of tensorflow and did a fresh install. I'm using the CPU version and the error occurred during fit().

this error happend in 2.0.0-beta0 when use dropout, someone know how to do?

Same error for me with 2.0.0-beta0.
Even worse. It seems connected to a memory leak, too. But only happens after validation runs apparently.

problem+1, some solution?

Just tried GPU 2.0.0-beta0 and report the same as tbhunderbird. Ran through 492 epoches before my early stop kicked in. I received the error: tensorflow/core/grappler/optimizers/meta_optimizer.cc:502] constant folding failed: Invalid argument: Unsupported type: 21, almost immediately 4 times. but it ran. I was watching memory somewhat and it did not appear to be growing. However, the 2nd GPU appears do be doing almost no work but I see a lot of "copy" going on. FYI, when I run the same on Keras, backed TF 1.13, I see both GPUs doing almost the same amount of CUDA activity. On the bright side, I think we can rule out a memory leak.

I also have this issue - I found that with beta0, the training failed (not using the GPU build), but with beta1, the training works - but still outputs these errors.

I also have this issue - I found that with beta0, the training failed (not using the GPU build), but with beta1, the training works - but still outputs these errors.

I have the same issue with gpu-2.0.0-beta1. Did you fix it? I am just dong a simple masking and LSTM (only 2.0.0 beta1 support cudnnlstm with masking).

Same issue here with beta1 version.

getting this

Thank you all. Looks like many users are having the issue on TF GPU 2.0-beta1. Can we open a new issue and try to triage from that. It will be good for us to track for better and faster resolution.

what is the "21" type? this happens to us even on 1.14...

what is the "21" type? this happens to us even on 1.14...

I believe is the tf.variant dtype: https://github.com/tensorflow/tensorflow/blob/r2.0/tensorflow/core/framework/types.proto#L39

would it be possible to print a better warning/error to explain what is 21 and how to resolve the issue?

The same happens with tensorflow-1.14.0

the same happens with tf-gpu-2.0.0beta1

Just to help future strugglers:
I'm in tf==2.3.1 and got this error when using tf.py_function(_, _ (tf.variant, tf.float64)).
Changed tf.variant to tf.int8 and it worked. It is not semantically correct in my case, but it works.


🐛 BUG: header buttons were missing in local previews

Thanks @DrDrij for the solution. This PR makes the header icons available in local previews.
TODO:

[ ]  implement the functionality of header buttons to work on local previews

fixes https://github.com/QuantEcon/quantecon-book-theme/issues/10

thanks @AakashGfude -- once the checks are passing -- please go ahead and merge -- then we can rebuild the https://github.com/QuantEcon/lecture-python-programming.myst

Codecov Report

Merging #26 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   75.78%   75.78%
=======================================
  Files           2        2
  Lines         190      190
=======================================
  Hits          144      144
  Misses         46       46

Flag
Coverage Δ

#pytests
75.78% <ø> (ø)

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

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 75b0304...5a8d5dc. Read the comment docs.


Refactor writeAdditionalFiles and writeAdditionalExports logic into integration.customize()

Description of changes:
TypeScriptIntegration provided its own extension points writeAdditionalFiles and writeAdditionalExports which are now called explicitly from DirectedTypeScriptCodegen. Instead Smithy’s DirectedCodegen provides such extension point SmithyIntegration.customize() that it will call into. So that should be leveraged instead.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

https://github.com/aws/aws-sdk-js-v3/pull/4014


[FEATURE]New fieldsummary PPL command

Describe the solution you'd like
We propose adding a new fieldsummary command to OpenSearch PPL that would provide summary statistics for all fields in the current result set.
This command should:

Calculate basic statistics for each field (count, distinct count, min, max, avg for numeric fields)
Determine the data type of each field
Show the most frequent values and their counts for each field
Calculate the percentage of events that contain each field

Additionally, the command should support the following key optional parameters:

includefields:
Specify which fields to include in the summary (e.g., | fieldsummary includefields="status_code,user_id,response_time")
excludefields:
Specify which fields to exclude from the summary (e.g., | fieldsummary excludefields="internal_id,debug_info")
topvalues:
Set the number of top values to display for each field (e.g., | fieldsummary topvalues=5)
maxfields:
Limit the number of fields to display (e.g.,  | fieldsummary maxfields=20)
nulls:
Include null/empty value counts (e.g., | fieldsummary nulls=true)

Example usage:
source = t
| where timestamp >= "2023-01-01" and timestamp < "2023-02-01"
| fieldsummary includefields="status_code,user_id,response_time" topvalues=3 nulls=true

This command would generate a table with summary statistics for the specified fields in the given date range, showing the top 3 values for each field and including null counts.
Example output:

Field
Count
Distinct
Min
Max
Avg
Type
Top Values
Nulls

status_code
10000
4
200
503
-
short
200 404 500
0

user_id
9500
1200
-
-
-
string
user123 user456user789
500

response_time
10000
986
0.01
10.5
0.75
float
0.50.751.0
0

Given the above specifications, the pushed-down query to generate a fieldsummary should take the next form:
WITH field_summary AS (
    SELECT
        COUNT(*) AS total_count,
        COUNT(column_name) AS count_non_null,
        COUNT(DISTINCT column_name) AS distinct_count,
        MIN(column_name) AS min_value,
        MAX(column_name) AS max_value,
        AVG(CAST(column_name AS DOUBLE)) AS avg_value,
        COLLECT_LIST(STRUCT(column_name, COUNT(column_name))) AS top_values
    FROM table_name
    WHERE timestamp >= "2023-01-01"
      AND timestamp < "2023-02-01"
    GROUP BY column_name
)
SELECT
    column_name AS Field,
    count_non_null AS Count,
    distinct_count AS Distinct,
    min_value AS Min,
    max_value AS Max,
    avg_value AS Avg,
    CASE
        WHEN typeof(column_name) = 'integer' THEN 'int'
        WHEN typeof(column_name) = 'float' THEN 'float'
        ELSE 'string'
    END AS Type,
    top_values,
    total_count - count_non_null AS Nulls
FROM field_summary
ORDER BY total_count DESC
LIMIT 20;

where for each column name we will produce such a summary query

@LantaoJin I would appreciate u'r feedback here since I suspect this type of query may cause a significant compute - any best practices recommended ?

@YANG-DB I think we don't need to do this rewriting. Spark itself contains a similar API call Dataset.describe, you can refer https://github.com/apache/spark/blob/master/sql/api/src/main/scala/org/apache/spark/sql/api/Dataset.scala#L2486 to build a new implementation. Or more specific, try https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/stat/StatFunctions.scala
Here is an example:
val sourceData = Seq(
      (1, "1066", "Failed password", "Engineering"),
      (2, "1815", "Failed password", "IT"),
      (3, "1916", "Session closed", null), // Changed to null for testing
      (4, null, "Failed password", null), // Changed to null for testing
      (5, "1690", "Session closed", "Engineering"),
      (6, "1090", "Session closed", "Engineering")
    ).toDF("id", "uid", "action", "department")

sourceData.describe("id", "uid", "action", "department").show

The output is
+-------+------------------+------------------+---------------+-----------+
|summary|                id|               uid|         action| department|
+-------+------------------+------------------+---------------+-----------+
|  count|                 6|                 5|              6|          4|
|   mean|               3.5|            1515.4|           NULL|       NULL|
| stddev|1.8708286933869707|407.32394970097204|           NULL|       NULL|
|    min|                 1|              1066|Failed password|Engineering|
|    max|                 6|              1916| Session closed|         IT|
+-------+------------------+------------------+---------------+-----------+


Fixing the API ref index doc

The API ref index mentioned that the docs are not complete which is not true and sends a wrong message to would-be users. Fixed now.
/cc @mairaw @cartermp

:+1:


Connection geometry: adequate rounding around the OY axis

Hi! I use Your solution in my project and I am bored with bends similar to each other in the OY axis when the input port is further than the output port. I fixed it! 💃
Before:

After:

Hi Andrei,
thank for your PR, indeed, the connections look better now.
Thanks
Dmitry


nix-eval-jobs: 2.24.1 -> 2.25.0

Diff: https://github.com/nix-community/nix-eval-jobs/compare/v2.24.1...v2.25.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@mic92 Shall I open PRs for nix 2.24.11 and 2.25.3 bumps?

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 364137

x86_64-linux

:white_check_mark: 4 packages built:

colmena
nix-eval-jobs
nix-fast-build
nix-fast-build.dist


Feature request: add a function [Request Mobile Version Web]

Feature request: add a function Request Mobile Version Web using user-agent spoofing

Great idea, I'll look into this!


Some fixes

Some fixes I did to get wonderous working.

I tried this PR with Wonderous + FLTEnableMergedPlatformUIThread. With CAMetalLayer the performance is really bad, regardless of whether there is a platform view present. Seems pathological almost (~30FPS), maybe it would be worth trying to figure out what is going on. With FlutterMetalLayer I seem to be getting consistent 120 fps with and without platform views.


Update shimming.md

Add example of ProvidePlugin's capability of providing certain children of a module by configuring it with an array instead of a string.

Looks good.

Can you fix the typo? Good to go after that.


Highlight the code inside textarea

Create a custom textarea component to highlight the JSON data.

@issuehuntfest has funded $50.00 to this issue. See it on IssueHunt

@mohitkyadav has submitted a pull request. See it on IssueHunt

@mohitkyadav has rewarded $35.00 to @mohitkyadav. See it on IssueHunt

:moneybag: Total deposit: $50.00
:tada: Repository reward(20%): $10.00
:wrench: Service fee(10%): $5.00


SITL orb poll failing intermittently

http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-SITL_tests/detail/pr-nuttx_adc_dma/2/pipeline/55/

http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-SITL_tests/detail/pr-nuttx_adc_dma/2/pipeline/57

Plenty of other examples if you look under Firmware-SITL_tests (PX4 ROS mission tests) recent activity. http://ci.px4.io:8080/blue/organizations/jenkins/PX4_misc%2FFirmware-SITL_tests/activity

Possibly related https://github.com/PX4/Firmware/pull/10030

Can we please do all temp files if possible in working folder.

@dagar do jenkins build run in parallel and is the /tmp directory shared between the instances?

No, to keep it simple it's always 1 job per machine.


[WIP] Adds implementation for some LinQ methods.

This adds some implementations. Currently:

Any
All
Contains
First(OrDefault)
Single(OrDefault)

Thank you


Async Downstream Correlation

One of the limitations of all non-commercial standards is handling of asynchronous transaction measurement and tracking. This is an advanced technique which many APM tools do not do well today. In order to do this well you have to understand the current problem:
The user makes a request to SystemA. SystemA runs several threads which spawn several new transactions. These transactions need to be tracked and attributed back to the initial user request. This poses a complex problem both on the instrumentation, downstream correlation, and reporting/visualization.
I believe we need to add headers to allow new transactions to also be attributed to a master transaction. These could be to track threads in the process, and threads out of the process. Often times having two headers make more sense to be able to attribute them back to a specific runtime or even a second runtime running on the same (or another) system.

You feel that trace-id and span-id do not achieve that correlation? Can you show a specific example?

Sure, if you have a trace-id which goes
A->B->C
Then from C there are new threads created which go
C-> AA -> BB
C -> BB -> DD
C -> DD -> AA
You could tag all of these back to the trace-id, but we wouldn't know if they are attached to a particular thread, this means that vendor tools cannot distinguish between an async call for diagnostic purposes or what process/thread it may trace back to that eventually needs to come together to build the full picture of the transaction. This is critical for users doing diagnostics.

It sounds like you're talking about a problem of trace context propagation across threads in a single process (C->AA, C->BB). If so, then again this is not in scope for this project whose objective is standardizing on wire formats. The instrumentation concerns are the raison d'être of OpenTracing API, which (for Java) has a notion of "active span" that can be carried over thread boundaries.

Can baggage be what you are looking for? https://github.com/TraceContext/tracecontext-spec/issues/13

Hi, jonah.
To try and tease this out.
I know in the past we had folks in APM who have a notion of "next async id"
ex naver pinpoint do, which help to establish async scheduling order
independent of execution time. They use this so that profiler style
functions can operate. I am not sure one of the use cases of detecting a
loop (as you are noticing here) are supported. Nod if this is relevant..
Moreover the actual thread vs the logical one is an interesting and tricky
thing especially in apps such as reactive who switch many times. In such
case you need to or might want to know the entrypoint into that reactive
flow (flux). I know some save call stack references and dedupe by hash of
them.. not sure if this hash is propagated (so as to detect a loop). Nod if
relevant...
One last this is frankly most open source tracers do nothing very fancy wrt
propagation.. a lot of time that code is closed source or buried in a
larger code base that is more APM in nature. Personally, I would love to
see more advanced propagation apis, but many have never seen them. If you
have design ideas please mention.. it is indeed important to know the use
and design cases behind context decisions. It is also important imho to
have more relevant tools in OSS if we ever would like vendors to actually
use them ;)
Regardless. THANK YOU!

@jcchavezs Once again baggage will become a pile of junk versus building critical tracing technologies into the design. These are key things we should define in the spec.
@adriancole Thanks for the feedback and reaching out! I'm not sure if detecting a loop is the main use case here, we would actually detect it as stalled and show where the stall is occurring.
I do believe the analysis of threads and hence being able to do distributed thread contention and timing is the main reason for this type of header. We had to add this into our design later in life when we added async detection and support. We actually show async differently and provide detailed analytics on these transactions. It's key in microservices architecture when you are trying to trace specific sub-requests back to a user/API transaction.
Right now OSS is early days, but give it a couple years and you'll need this :)

We decided to close this one as it is out-of-scope for our work right now. This needs to be rather handled at the implementation level of a tracer.


ul list flashes on load

Not an issue, Just for the record:
When I refresh the page. the ul list flashes for a second because my jquery is at the bottom of the page although the parent element has display:none
However adding overflow:hidden to the li element fixes it.

For future readers, below is the CSS used for this demo:
nav:not(.mm-menu) { display: none; }

Appears to be working for me … at least, I don't see that initial navigation FOUC.

How to prevent FOUC is documented on the website:
http://mmenu.frebsite.nl/support/tips-and-tricks.html

How to prevent FOUC is documented on the website:
http://mmenu.frebsite.nl/support/tips-and-tricks.html

Ah, I missed that. Thank you! :)


Update app.py

User uploaded files where only submitted to code interpreter not file search. Also removed uneccesary code from create_thread as the  call to OpenAI did not include the params set above

LGTM


Tests for online users yields inconsistent results for RepositoryExtensionsTests.cs

IQueryable and IEnumerable returning different orders on every test instance.
Investigation the order in which the repository is populated and iterated through.
Referencing PR #145

@jcocchi implemented a sort list before Assert.Equal() to ensure ChatUser order is consistent.


💡[Feature]:  want to add similar hovering effect as home page to the social icons of login page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i want to add similar hovering effect on social icons of login page as it is in home page .
you can see in the video blue colour is not looking good .
Use Case
it will bo looking more appealing to the users .
Benefits
the users first cone to the login page will find website more appealing and good
Add ScreenShots
before :
https://github.com/sk66641/Random-Disco-Light-Simulator/assets/159682348/6b4c65c4-82a5-4349-bf09-5249985baa44
after :
https://github.com/sk66641/Random-Disco-Light-Simulator/assets/159682348/81d4e912-923d-482d-b2ea-2ac6c139e789
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sk66641 please assign me this issue i want to work on it . I am sure it will look better than what is at present .


Adding a login and signup page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
As the app contains option for login and signup, but currently it dont have those pages, so i want to implement those pages
Describe the solution you'd like
I wanted to design and add login and signup page
Additional context

@jahnvisahni31 I can start working on this issue

@unknown91tech  its against rule, according to the rules the person creating issue will be assigned that issue

yes you can go ahead with it @Sourabh782  i am assigning this to you

Thanks @jahnvisahni31 on it

hey @jahnvisahni31 if @Sourabh782 is not working on this issue, could you please assign me this issue

@iamsohelx I am working on it

Hii @jahnvisahni31, i have completed frontend, can you tell me which database to use

@jahnvisahni31 can you specify the database?

use  prisma
yes
sorry for late repy

use prisma
yes sorry for late repy

Ohkk, I'll implement backend👍👍


[KOGITO-9886] fix IT for data-index and jobs-service with process-definitions events

Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request checks
Please add comment: Jenkins retest this

for a specific pull request check
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] tests

for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch

for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-branch

for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main

for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-main

for quarkus lts checks
Run checks against Quarkus lts branch
Please add comment: Jenkins run quarkus-lts

for a specific quarkus lts check
Run checks against Quarkus lts branch
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-lts

for native checks
Run native checks
Please add comment: Jenkins run native

for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] native

for native lts checks
Run native checks against quarkus lts branch
Please add comment: Jenkins run native-lts

for a specific native lts check
Run native checks against quarkus lts branch
Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] native-lts

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Quarkus-3 PR check is failing ... what to do ?

The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.
The first patch, called 0001_before_sh.patch, is generated from Openrewrite .ci/environments/quarkus-3/quarkus3.yml recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.
No panic, there is an easy way to regenerate it. You just need to comment on the PR:
jenkins rewrite quarkus-3

and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.
Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.

PR job #1 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1913 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1913/1/display/redirect
Test results:

PASSED: 2812
FAILED: 6

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.persistence.oracle.OracleStorageServiceIT.testQuery_Equal
Error invoking subclass method

PR job #3 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1913 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1913/3/display/redirect
Test results:

PASSED: 2813
FAILED: 5

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

@nmirasch can you take a look at this one.
thanks.

KogitoIndexEventConverter

I did that in the PR to be opened related to all changes in the Data index to consume and index this new type of event. This one is just to keep things working in the runtimes side, but there is not implementation for the data index the idea it to open a follow up one.


Indicate required fields

Hello,
Can there be an option to indicate "required" fields by having asterisk " * " after the associated labels of input fields. The color of this asterisk can also be configurable.
Right now the required field is indicated to the user only on form submit.

No, this isn't something the plugin should be concerned with, but you can easily do this with your own code.
$('#myForm').find(':required').closest('.form-group').find('label').addClass('label-required')

.label-required::after {
  content: "*";
  color: #f00;
}


server closed the connection unexpectedly

This happens when the application isn't used for some time. It fixes after several page refreshes. Looks like problem with pgsql connection pool.

#35 did not fix


Stash_plugin produce classad output in more cases

Changes include:

A recovery function that will catch any panics from stashPluginMain, this will attempt to write out a classad output file and exit
If we fail to create the classad outfile, we have an exit code of 3 to indicate that the problem is the creation of the file
If we fail to initialize our config, we also write classad output and exit
New function that can be used to write our output and exit

Note: I created issue #731 to add specific error types to the plugin since with #537 starts allowing us to write a classad list of classads I want to make sure everything is working with the new changes in condor. I also think it would be good to go through the enumerate client error codes issue #538 either with or before I do this so that we can utilize all our new error handling with this.
Currently in place is just printing the TransferError with a description of the error


Jsdoc comments part 2

Calendar, dialog, dropdowns

:tada: This PR is included in version 1.54.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Use actual request type in new 'Send' method

See this old issue for background: https://github.com/jbogard/MediatR/issues/124
var requests = new IRequest[] { new Req1(), new Req2(), new Req3() };
foreach (var req in requests)
{
  await _mediator.Send(req);
}

It will try to resolve handlers of type "IRequest" instead of using the concrete type of the given request.
sorry I didn't catch that yesterday 😞 let me know if I should add a test

Can you add a test for this? So I don't break it again.

I'll wait a bit to see if there are any other bugs before making a release for this.


NoClassDefFoundError: kafka/manager/utils/TopicConfigs$

I'm having trouble getting kafka-manager up and running on my system. I've built the application using the instructions provided in the README however when I start the service I am unable to access the application on the specified port. Digging into the logs reveals only the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: kafka/manager/utils/TopicConfigs$
        at controllers.Topic.<init>(Topic.scala:48)
        at loader.ApplicationComponents.topicC$lzycompute(KafkaManagerLoader.scala:35)
        at loader.ApplicationComponents.topicC(KafkaManagerLoader.scala:35)
        at loader.ApplicationComponents.<init>(KafkaManagerLoader.scala:52)
        at loader.KafkaManagerLoader.load(KafkaManagerLoader.scala:25)
        at play.core.server.ProdServerStart$.start(ProdServerStart.scala:52)
        at play.core.server.ProdServerStart$.main(ProdServerStart.scala:27)
        at play.core.server.ProdServerStart.main(ProdServerStart.scala)
Caused by: java.lang.ClassNotFoundException: kafka.manager.utils.TopicConfigs$
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 8 more

I'm running on RedHat Enterprise 6.8 with Oracle Java 1.8.0_65. Here are the steps I followed to get it running:
git clone https://github.com/yahoo/kafka-manager.git
cd kafka-manager
git checkout <IP_ADDRESS>.1
./sbt clean dist
./sbt rpm:packageBuild
sudo rpm -ivh target/rpm/RPMS/noarch/kafka-manager-<IP_ADDRESS>-1.noarch.rpm
# now I update /etc/kafka-manager/application.conf & /etc/default/kafka-manager
sudo service kafka-manager start

The source code for the missing class is under app/kafka/manager/utils/TopicConfigs.scala however I can't seem to find the contents of that app directory. From what I can tell, kafka-manager was installed to /usr/share/kafka-manager however I don't see an app folder in there and I can't find the contents of the app directory in any of the jars in the lib directory.
Are there steps that I'm missing during the build/installation process? Any help on this would be greatly appreciated.

Please try latest version.


Please

Add a description to config.yml so I can change the description.

It gives me an error

thank you for adding description
But github writes that 4 problems have been found

When entering the command crashes

I'm fixing pls wait...

Okay I'll wait

InInIn In gIn giIn gitIn gitsIn gIn github 4 problems you write with this plugin

In github, you have 4 problems in this plugin

I know!

Hey @Danilwsk Repair is finish :)


Server dont start

Would be nice if someone can show me what iam doing wrong.
The directory permissions should be ok, UID/GID fits.
But the update/download of ASA dont work (directorys stays clean after starts)
  Attaching to asa_Server
  asa_Server   | New server installation or update required...
  asa_Server   | Current build ID is 13278428, initiating installation/update...
  asa_Server   | 0024:err:environ:run_wineboot boot event wait timed out
  asa_Server   | wine: could not load kernel32.dll, status c0000135
  asa_Server   | 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
  asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
  asa_Server   | Installation or update completed successfully.
  asa_Server   | Server update detected...
  asa_Server   | Updating server to build ID 13278428 from ...
  asa_Server   | 004c:err:environ:run_wineboot boot event wait timed out
  asa_Server   | wine: could not load kernel32.dll, status c0000135
  asa_Server   | 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
  asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
  asa_Server   | Server update completed successfully.
  asa_Server   | Cluster directory already exists. Skipping folder creation.
  asa_Server   | 005c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
  asa_Server   | Server process started with PID: 86
  asa_Server   | PID 86 written to /usr/games/ark_server.pid
  asa_Server   | 0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 0054:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
  asa_Server   | 0054:err:systray:initialize_systray Could not create tray window
  asa_Server   | 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
  asa_Server   | 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
  asa_Server   | 0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
  asa_Server   | 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 005c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 005c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
  asa_Server   | 005c:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
  asa_Server   | 005c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
  asa_Server   | 005c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
  asa_Server   | 005c:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
  asa_Server   | 005c:err:ole:start_rpcss Failed to open RpcSs service
  asa_Server   | 0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 0044:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 00a4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 00a4:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 00ac:fixme:file:NtLockFile I/O completion on lock not implemented yet
  asa_Server   | 00ac:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
  asa_Server   | 00b4:fixme:file:NtLockFile I/O completion on lock not implemented yet
  asa_Server   | 00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
  asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
  asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
  asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
  asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
  asa_Server   | 011c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
  asa_Server   | 011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
  asa_Server   | 011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | 0144:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
  asa_Server   | wine: configuration in L"/usr/games/.wine" has been updated.
  asa_Server   | 2024/01/28 10:02:27 Failed to connect to RCON serverdial tcp <IP_ADDRESS>:27020: connect: connection refused
  asa_Server   | Log file not found after waiting. Please check server status.

are you running this under a root user?? the reason im asking is because it seems like your having permissions issues that wont let wine start up

i run this in docker and docker daemon runs always as root, am i wrong ?
90% of the messages are from wine or not ?

ive tried the same now without mounted volumes, with same result so cant be volume permission issue

can you maybe post your docker-compose.yaml file and can you also try it again but make sure to get the latest docker image by doing docker pull acekorneya/asa_server:latest and then doing sudo docker compose up

thats the compose:
version: '2.4'

services:
  asaserver:
    build: .
    image: acekorneya/asa_server:latest
    container_name: asa_Server
    restart: unless-stopped
    environment:
      - PUID=1000                            # The UID to run server as
      - PGID=1000                            # The GID to run server as
      - BATTLEEYE=FALSE                      # Set to TRUE to use BattleEye, FALSE to not use BattleEye
      - RCON_ENABLED=TRUE                    # Needed for Graceful Shutdown / Updates / Server Notifications
      - DISPLAY_POK_MONITOR_MESSAGE=FALSE    # Or TRUE to Show the Server Monitor Messages / Update Monitor
      - UPDATE_SERVER=TRUE                   # Enable or disable update checks
      - CHECK_FOR_UPDATE_INTERVAL=24         # Check for Updates interval in hours
      - UPDATE_WINDOW_MINIMUM_TIME=12:00 AM  # Defines the minimum time, relative to server time, when an update check should run
      - UPDATE_WINDOW_MAXIMUM_TIME=11:59 PM  # Defines the maximum time, relative to server time, when an update
      - RESTART_NOTICE_MINUTES=30            # Duration in minutes for notifying players before a server restart due to updates
      - ENABLE_MOTD=FALSE                    # Enable or disable Message of the Day
      - MOTD=                                # Message of the Day
      - MOTD_DURATION=30                     # Duration for the Message of the Day
      - MAP_NAME=TheIsland
      - SESSION_NAME=Server_name
      - SERVER_ADMIN_PASSWORD=MyPassword
      - SERVER_PASSWORD=                     # Set a server password or leave it blank (ONLY NUMBERS AND CHARACTERS ARE ALLOWED BY DEVS)
      - ASA_PORT=7777
      - RCON_PORT=27020
      - MAX_PLAYERS=70
      - CLUSTER_ID=cluster
      - MOD_IDS=                             # Add your mod IDs here, separated by commas, e.g., 123456789,987654321
      - PASSIVE_MODS=                        # Replace with your passive mods IDs
      - CUSTOM_SERVER_ARGS=                  # If You need to add more Custom Args -ForceRespawnDinos -ForceAllowCaveFlyers
    ports:
      - "7777:7777/tcp"
      - "7777:7777/udp"
    #volumes:
    #  - "./ASA:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame"
    #  - "./ARK Survival Ascended Dedicated Server:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server"
    #  - "./Cluster:/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ShooterGame"
    mem_limit: 16G

uid and gid fits the user

thats ls -l:
drwxr-xr-x 3 chris chris  4096 Jan 28 10:59 'ARK Survival Ascended Dedicated Server'
drwxr-xr-x 4 chris chris  4096 Jan 28 11:00  ASA
drwxr-xr-x 2 chris chris  4096 Jan 28 10:59  Cluster
drwxr-xr-x 2 chris chris  4096 Jan 28 10:58  defaults
-rw-r--r-- 1 chris chris  2499 Jan 28 23:33  docker-compose.yaml
-rw-r--r-- 1 chris chris  2212 Jan 28 10:58  dockerfile
-rw-r--r-- 1 chris chris 11174 Jan 28 10:58  README.md
drwxr-xr-x 2 chris chris  4096 Jan 28 10:58  scripts
-rw-r--r-- 1 chris chris   415 Jan 28 10:58  start_rcon_manager.sh
c

chris is uid,gid: 1000

after pulling (ive build the image to test if it helps), exact the same happens:
Recreating asa_Server ... done
Attaching to asa_Server
asa_Server   | Setting timezone to UTC
asa_Server   | Timezone set to UTC
asa_Server   | Setting games user ID and group ID
asa_Server   | Creating directories and setting permissions
asa_Server   | Copying default configuration files if they don't exist
asa_Server   | Starting ARK server monitoring script
asa_Server   | Starting main application
asa_Server   | New server installation or update required...
asa_Server   | Current build ID is 13278428, initiating installation/update...
asa_Server   | 0024:err:environ:run_wineboot boot event wait timed out
asa_Server   | 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
asa_Server   | wine: could not load kernel32.dll, status c0000135
asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
asa_Server   | Installation or update completed successfully.
asa_Server   | Server update detected...
asa_Server   | Updating server to build ID 13278428 from ...
asa_Server   | 004c:err:environ:run_wineboot boot event wait timed out
asa_Server   | wine: could not load kernel32.dll, status c0000135
asa_Server   | cp: cannot stat '/usr/games/.wine/drive_c/POK/Steam/steamapps/appmanifest_2430930.acf': No such file or directory
asa_Server   | Server update completed successfully.
asa_Server   | Creating Cluster Folder...
asa_Server   | 005c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
asa_Server   | 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (<IP_ADDRESS>)
asa_Server   | Server process started with PID: 89
asa_Server   | PID 89 written to /usr/games/ark_server.pid
asa_Server   | 005c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 005c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
asa_Server   | 005c:err:systray:initialize_systray Could not create tray window
asa_Server   | 005c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
asa_Server   | 005c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
asa_Server   | 005c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
asa_Server   | 0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 0044:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0054:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 0054:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
asa_Server   | 0054:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
asa_Server   | 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
asa_Server   | 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
asa_Server   | 0054:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
asa_Server   | 0054:err:ole:start_rpcss Failed to open RpcSs service
asa_Server   | 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 00a4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 00a4:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 00ac:fixme:file:NtLockFile I/O completion on lock not implemented yet
asa_Server   | 00ac:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
asa_Server   | 00b4:fixme:file:NtLockFile I/O completion on lock not implemented yet
asa_Server   | 00b4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
asa_Server   | 00b4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
asa_Server   | 00ac:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
asa_Server   | 011c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
asa_Server   | 011c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
asa_Server   | 011c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | wine: configuration in L"/usr/games/.wine" has been updated.
asa_Server   | 0150:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
asa_Server   | 2024/01/31 21:55:01 Failed to connect to RCON serverdial tcp <IP_ADDRESS>:27020: connect: connection refused
asa_Server   | Log file not found after waiting. Please check server status.

What is your system specs for the host machine?? im still trying to figure out why your getting that error

vServer 4x~2ghz 16gb ram
but it dont download the game ti think if ram is an limitation the gameserver should at least try to start

sorry for the super late replay but a nomral starup look like this
etting timezone to America/Los_Angeles Timezone set to America/Los_Angeles Setting games user ID and group ID usermod: no changes Creating directories and setting permissions Copying default configuration files if they don't exist Starting ARK server monitoring script Starting main application No update required. Server build ID 13449248 is up to date. Server is already running the latest build ID 13449248. Proceeding to start the server. Cluster directory already exists. Skipping folder creation. Server process started with PID: 61 PID 61 written to /usr/games/ark_server.pid Waiting for server to start... [2024.02.16-11.16.52:123][  0]Log file open, 02/16/24 03:16:52 [2024.02.16-11.16.52:123][  0]LogMemory: Platform Memory Stats for WindowsServer [2024.02.16-11.16.52:123][  0]LogMemory: Process Physical Memory: 343.52 MB used, 343.52 MB peak [2024.02.16-11.16.52:123][  0]LogMemory: Process Virtual Memory: 322.76 MB used, 322.76 MB peak [2024.02.16-11.16.52:123][  0]LogMemory: Physical Memory: 9306.40 MB used,  55002.18 MB free, 64308.57 MB total [2024.02.16-11.16.52:123][  0]LogMemory: Virtual Memory: 13319.15 MB used,  117686.42 MB free, 131005.58 MB total [2024.02.16-11.16.52:572][  0]ARK Version: 34.72 [2024.02.16-11.16.52:717][  0]LogCFCore: SetSettings called: {         "defaultLanguage": "en",         "gameId": 83374,         "apiKey": "*****1aZe",         "maxConcurrentInstallations": 3,         "modsDirectory": "ShooterGame/Mods",         "modsDirectoryMode": "CFCore",         "userDataDirectory": "ShooterGame/ModsUserData",         "isServer": true,         "isServerPcOnly": false,         "throttling":         {                 "diskWriteBytesPerSec": 0         },         "premiumMods":         {                 "publicKeyPem": "*****"         },         "logger":         {                 "enabled": true,                 "history": 8,                 "maxSizeInMB": 2         } } [2024.02.16-11.16.52:753][  0]LogCFCore: User context not loaded from disk [2024.02.16-11.16.53:219][ 14]LogCFCore: Query server result: 1 mods [2024.02.16-11.16.53:252][ 15]LogCFCore: No need to update existing mod: Love Ascended (927084) [2024.02.16-11.16.53:252][ 15]LogCFCore: Mod valid: Love Ascended (927084) [2024.02.16-11.16.53:272][ 16]UShooterEngine::LoadGameMods with 1 mods [2024.02.16-11.16.53:272][ 16]UShooterEngine::LoadGameMods Loading Mod ShooterGame/Mods/83374/927084_5105878/LoveEvolved/Content/PrimalGameData_BP_LoveEvolved.uasset : 927084 [2024.02.16-11.16.53:580][ 16]UShooterEngine::LoadGameMods Using mod asset Package /LoveEvolved/PrimalGameData_BP_LoveEvolved as PrimalGameDataOverride. [2024.02.16-11.16.53:580][ 16]Initialize Primal Game Data Override. [2024.02.16-11.16.53:582][ 16]Primal Game Data Took 0.00 seconds [2024.02.16-11.16.53:838][ 16]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye [2024.02.16-11.16.53:841][ 16]BattlEye successfully started. [2024.02.16-11.17.37:238][ 16]Server: "POK-PVE-Community-ARK-Server-NO-WIPE-CROSSPLAY" has successfully started! [2024.02.16-11.17.38:993][ 16]Commandline:  TheIsland_WP?listen?SessionName="POK-PVE-Community-ARK-Server-NO-WIPE-CROSSPLAY"?Port=8780?RCONEnabled=True?RCONPort=27020?ServerAdminPassword=xxxxx -WinLiveMaxPlayers=70 -clusterid=kny -ClusterDirOverride=/usr/games/.wine/drive_c/POK/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame/Cluster -servergamelog -servergamelogincludetribelogs -ServerRCONOutputTribeLogs -NotifyAdminCommandsInChat -nosteamclient -UseDynamicConfig -mods=927084 -UseBattlEye [2024.02.16-11.17.38:993][ 16]Full Startup: 47.36 seconds [2024.02.16-11.17.38:993][ 16]Number of cores 16
are you running this in like VM proxmox or something similart btw The default CPU type (kvm64) in proxmox for linux VMs does not seem to implement all features needed to run the server. in that case just change your CPU type to host in the hardware settings of your VM.

Its an vServer on an Hoster so i have no chance to set an hardware Type. But ive tried directly on my Gaming Computer in Docker for Windows too, and there it was same.

I see well I working a another version

having same issue

ive dont notice, that i was on docker 18.xx after updating the whole system and docker to 20.xx it works

All Available Commands
-list                                     List all instances"
-edit                                     Edit an instance's configuration"
-setup                                    Perform initial setup tasks"
-create <instance_name>                   Create a new instance"
-start <instance_name|-all>               Start an instance or all instances"
-stop <instance_name|-all>                Stop an instance or all instances"
-shutdown [minutes] <instance_name|-all>  Shutdown an instance or all instances with an optional countdown"
-update                                   Update POK-manager.sh and all instances"
-status <instance_name|-all>              Show the status of an instance or all instances"
-restart [minutes] <instance_name|-all>   Restart an instance or all instances"
-saveworld <instance_name|-all>           Save the world of an instance or all instances"
-chat \"<message>\" <instance_name|-all>  Send a chat message to an instance or all instances"
-custom <command> <instance_name|-all>    Execute a custom command on an instance or all instances"
-backup [instance_name|-all]              Backup an instance or all instances (defaults to all if not specified)"
-restore [instance_name]                  Restore an instance from a backup"
-logs [-live] <instance_name>             Display logs for an instance (optionally live)"


1.41 build faild

I try to build 1.41 on Fedora 32 64 bits and the build fails with the following error:
[ 15%] Building C object CMakeFiles/ft2-clone.dir/src/ft2_events.c.o
/usr/lib64/ccache/cc -D__LINUX_ALSA__ -isystem /usr/include/SDL2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG   -o CMakeFiles/ft2-clone.dir/src/ft2_events.c.o   -c /home/collette/rpmbuild/BUILD/ft2-clone-1.41/src/ft2_events.c
/home/collette/rpmbuild/BUILD/ft2-clone-1.41/src/ft2_config.c: In function 'setConfigFileLocation':
/home/collette/rpmbuild/BUILD/ft2-clone-1.41/src/ft2_config.c:636:4: error: 'result' undeclared (first use in this function)
  636 |    result = chdir(".config");
      |    ^~~~~~

Woops, I'll get this (and more potential compiling errors on Linux) fixed. The joy of refactoring code that has #IFDEF platform dependant code...

Fixed.

I'll reopen this issue just in case you have more issues, but it compiles on Debian now, at least.

It compiled fine too on fedora now. I close the bug.
Thanks for the quick fix


Backspace not redrawing screen under some situations

I have a strange bug with the Backspace key when deleting the first character in a line (i.e. merging with previous line).  The change happens but the screen does not update.  I can reproduce it using this code below on main branch.  I wonder if it is something to do with the fact that the Window w is not a child of TopLevel or something?
Repro:

Type some text
Use backspace (works)
Go to begining of a line and press backspace (no change visible on screen)
Press another key (e.g. space) suddenly the screen and model update and changes reflect the backspace taking effect

I don't see the issue in Editor Scenario etc so thing it must be specifically related to the use of a Window @BDisp?

Pressing backspace here will not update the screen until next (non cursor) keypress
Application.Init ();

var w = new Window () {
	Width = Dim.Fill (),
	Height = Dim.Fill ()
};

w.Add (new TextView () {
	Width = Dim.Fill (),
	Height = Dim.Fill (),
});

Application.Run (w);

Application.Shutdown ();

Backspace is used to delete all words onto same line (screen does not update).  Pressing Home then Space causes screen to update correctly.

I don't see the issue in Editor Scenario etc so thing it must be specifically related to the use of a Window @BDisp?

Because the ScrollViewBar implementation and the iteration with the TextView is forcing to redraw, I think.