Q: It's possible to access current iteration value starting on zero? [migrated]

@theofidry coming from this issue on Alice I will continue the discussion here. I have check your solution but still random and that's not the behavior I need or I am looking for. Take a look at the code below:
public function load(ObjectManager $manager)
{
    $defaults = array(
        'UNKNOW', 'VIVO', 'CLARO', 'TELEMIG', 'OI', 'TIM', 'CTBC',
        'SERCOMTEL', 'BRT', 'TELCEL', 'NEXTEL', 'MOBILESYS', 'MOVISTAR AR'
    );

    $faker = new CustomFaker();

    foreach ($defaults as $key => $value) {
        $carrier = new Carrier();
        $carrier->setName($value);
        $carrier->setCarrierId($key);
        $carrier->setDescription($faker->getRandomDescription());

        $this->addReference('carrier-'.$key, $carrier);
        $manager->persist($carrier);
    }

    $manager->flush();
}

This is how I did using only Doctrine Fixtures and I am trying to do the same using your bundle that's why your previous solution will not work for me. The big idea is pick each element on the big array NAMES from your example and add each one also note I need the position on the array because it will be set as carrierId. Having that info would you recommend me another solution?
Thx

Maybe you could try:
PlatformAdminBundle\Entity\Carrier:
    carrier{1..X}:
        name: <carrierName(current())>

with:
class CarrierProvider {
  private $names = [
    'val1',
    'val2',
    '...',
  ];

  public function carrierName($index) {
    return $this->names[$index];
  }
}

although this is rather fragile. I'm not sure of the syntax <carrierName(current())> so needs to be checked. Otherwise you could keep your old loader, you just need to make it return your collection of objects without persisting them if I remember right.

I have checked and I got this error:

[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: current() expects exactly 1 parameter, 0 given

As for your second suggestion I am not sure what are you trying to tell me here

Oh, that's an unexpected error...
For the second suggestion, if I remember right, DoctrineFixtures loaders can still be used (they are loaded as if you were using DoctrineFixturesBundle).

That could be easily checked by doing a dump() in your loader method.

@theofidry you mean something like this?
public function load(ObjectManager $manager)
{
    ...
    $faker = new CustomFaker();

    foreach ($defaults as $key => $value) {
        $carrier = new Carrier();
        $carrier->setName($value);
        $carrier->setCarrierId($key);
        $carrier->setDescription($faker->getRandomDescription());

        $this->addReference('carrier-'.$key, $carrier);
    }

    dump($manager);
}

Return the $manager and then persist them as follow?
// optional persistence
$persister = new \Nelmio\Alice\Persister\Doctrine($manager);
$persister->persist(); // => what to persist here?

err no I just mean to keep your old dataloader as it is :)

Lol, sorry I am not following you, keep the dataloader as it is means

keep using Doctrine Fixtures rather than your bundle?
keep the fixture as I have on the first post where I ask for the iteration value?

I'm saying the data loader you were using for DoctrineFixturesBundle should be compatible with this Bundle :)

Ohhhh ok I think you are talking about this, I am right? Using this I need to take care of the order of each fixture, I am right?

Nope, talking about that

Ok, I will keep this open while I am doing my test and if all is good all I will close as fixed, thank you for your support

I am have a problem here since apparently the Doctrine Fixtures are not included when I run the command which is causing a second issue describe below. Take a look to the directory structure:
src/PlatformAdminBundle/DataFixtures/ORM/
├── Alias.yml
├── Category.yml
├── Command.yml
├── Group.yml
├── IdentifierType.yml
├── LoadCarrier.php
├── LoadOperator.php
├── Msisdn.yml
├── ProcessType.yml
└── User.yml

LoadCarrier.php and LoadOperator.php are both implementing Doctrine\Common\DataFixtures\FixtureInterface meaning:
class LoadOperator extends AbstractFixture implements FixtureInterface { ... }

When I run the command:  hautelook_alice:doctrine:fixtures:load this is the output at console:
Careful, database will be purged. Do you want to continue y/N ?y
  > fixtures found:
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Msisdn.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Command.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/IdentifierType.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Group.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/User.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Alias.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/ProcessType.yml
      - /var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Category.yml
  > purging database

As you can see the *.php are not included which case this second issue:
[Hautelook\AliceBundle\Alice\DataFixtures\LoadingLimitException]
Loading files limit of 5 reached. Could not load the following files:
/var/www/html/platform-cm/src/PlatformAdminBundle/DataFixtures/ORM/Msisdn.yml:

Instance mask "operator*" did not match any existing instance, make sure the object is created after its references

I am missing something?

Err can't remember how much DoctrineFixturesBundle is integrated, gonna look into that sorry for the inconvenience :(

No indeed this won't work at all, the load() function of Doctrine loaders is completely ignored so for such an edge case you must stick to DoctrineFixturesBundle. That being said, if you need it only for that then you can just keep only this loader and keep using AliceBundle for the rest of it.

I am not sure what are you telling me :-| you mean execute a command for run Alice fixtures and a second one for Doctrine fixtures? That's?

you mean execute a command for run Alice fixtures and a second one for Doctrine fixtures?

yeah :/ The fact that you depend on the order of the names 'UNKNOW', 'VIVO', 'CLARO' and so makes it too much an edge case sadly.

@theofidry can I access references from Doctrine Fixtures Bundle in your bundle? I mean I will run first the Doctrines fixtures and then Hautelook ones but I need to access some references from Doctrine in Hautelook fixtures, can I do that?

Nope.
To me from what you've said in this issue you have two solutions:

Keep it as it is and rely to DoctrineFixturesBundle
Accept some changes (ex here not depending on the order of the names 'UNKNOW', 'VIVO', 'CLARO', etc.)

It may be a bit weird but this bundle (v1) provides an easy upgrade from DoctrineFixturesBundle, not a full BC. Your current way of doing things right now is very very specific to DoctrineFixturesBundle. Hence sticking with it (choice 1.), or change a bit for the upgrade (2).
Sorry of not being able to help more than that :/

No problem, you help me and that's great!


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Amarok-Hider/Amarok APP.
Current translation status:

@fnogcps Thanks for the contribution!


Add data migration to clear unwanted collection link

We were asked to remove one of the history entries in a collection page.
In order to do that, we need a data migration that changes minor_change to true
in order to make it go away from the front-end.
Zendesk ticket: https://govuk.zendesk.com/agent/tickets/1399255

👍


MakeCode Download shows blank page in iOS11

From microbit-mark:
I've just tried this in Safari and Chrome on iOS11.0.3
If the micro:bit app is installed, Chrome opens in app and safari asks, but this is hidden by a blank page opening.

If the app is not installed, chrome opens a blank page and safari "cannot open the page because the address is invalid"

See related https://github.com/microbit-foundation/microbit-support/issues/32

For some reason when this was done 7 months ago we needed to call window.open in this scenario. This created a new tab, but Safari (IOS 9 and 10) still showed the dialog (of a different page mind you) on top of the newly created tab.
It appears this has been fixed by IOS11 and now the dialog is showing up on the same page.
I'm tempted to just remove the window.open but I want to understand why it's there?

@microsoftsam Any other update here?

I think the following explains the empty page. This refers to the way things were with Safari in iOS 8/9/10...
Setting window.location or window.open(url,"_self") is best done in the context of a user click. Then you only have to answer this alert: Open in "micro:bit"?
If window.location is set in another context, the question is: Open this page in "micro:bit"? This is not too bad but it also remembers if you Cancel at all and switches to saying "Cannot Open Page" until the page is refreshed.
This can be avoided by creating a temporary window with an empty location in the context of the user click, which has its location set later.
http://stackoverflow.com/questions/31891777/ios-9-safari-iframe-src-with-custom-url-scheme-not-working
Hopefully iOS 11 is better behaved and we can just dispense with the temporary window in iOS 11, but I haven't tested that.

@abchatra @pelikhan Just to check, this is now fixed in beta?

Fixed in master.


need a lot of help !!! Plese Help Me!!!!!!!!!

need a lot of help  I misunderstood the passcode, because ubuntu I couldn't run the ramdisk from checkm8, so I failed to boot so I didn't get jailbreak.  So I understand that my iphone is normal.  So I went to activate the passcode.  But it made me unable to use it or turn it off.  Do you have any way to fix it for me?

you could try restoring the phone to factory settings? to be honest it just sounds like your bootlooping, not sure.

I can't remove passcode and now my iphone disable 1hr.

you just said you couldnt boot and now your saying you cant remove the passcode? if you forgot the passcode reset your phone through icloud, whats the issue?

I haven't forgotten my passcode. I never change it but when i install palera1n have to turn off passcode until boot patch ramdisk got error so i exit dfu mode and use normal phone Realized that the passcode was off. So go in and open it as usual. but when i lock screen i put the passcode but iphone says the password is invalid.


Remove horizontal lines in the calendar

Hello, i was wondering if there was a way to remove the horizontal lines in the calendar.

Maybe you about this:
const calendarStyles = {
  dayButton: {
    borderTopWidth: 0,
  },
  calendarHeading: {
    borderTopWidth: 0,
    borderBottomWidth: 0,
  },
};
<Calendar
  customStyle={calendarStyles}
/>

👍 Yup! That'll do it.


Remove margin from .menu-icon

Hello,
if you have for example a logo in .title-bar-left (or right) and the .menu-icon on the other side the gaps to the sides are not equal because of this margin.
Olli

Could you make a codepen to illustrate the bug?


Updating status of a couple of projects

This PR updates the following:
-CVS book
-Version framework tutorial

I think this loos pretty good


Alt-tabbing stops input from registering that was pressed before alt-tabbing and is still held when alt-tabbing back

Godot version
v4.1.1.stable
System information
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - Intel(R) Iris(R) Xe Graphics (Intel Corporation; <IP_ADDRESS>75) - 12th Gen Intel(R) Core(TM) i7-1260P (16 Threads)
Issue description
Alt-tabbing stops input from registering that was pressed before alt-tabbing and is still held when alt-tabbing back
For example if I press the left key on the script editor, the cursor moves to the left. If I hold down the left key, alt-tab away, and alt-tab back while still holding down the left key, the cursor will not move to the left after focus is regained. This also happens if I start pressing the left key while focus is not on the editor and alt-tab back. If I instead click on the icon in the bottom bar, the left press is recognized, so it's just alt-tab that this happens with.
This also happens with exported projects.
Steps to reproduce
See above
Minimal reproduction project
N/A

Related to https://github.com/godotengine/godot/issues/33928.

Engines? Like unity?

Okay I opened factorio and did the same thing and it didn't move the character. Maybe this is just a thing computers do

Okay I opened factorio and did the same thing and it didn't move the character. Maybe this is just a thing computers do

Indeed, I believe this is intended behavior too. Since this happens in pretty much every application, I'm not sure if (or where) it should be documented soemwhere.


Update of supports-color in 3.6.0 is breaking

Hi!
The latest update from 3.5.0 -> 3.6.0 should've been 3.5.0 -> 4.0.0 due to https://github.com/jam1garner/owo-colors/commit/abb63524634712d3c562ac0685a93f5e19ac5130 and https://github.com/jam1garner/owo-colors/blob/509f6e68cfe0ce7e062837f60b33b0d9e0e5e374/src/lib.rs#L471
See cross-rs/cross#1177

The release should be janked and released as 4.0.0

Ugh I'm so sorry, did not pay attention enough when bumping the version. Will yank now and  take some time to consider whether I'm going to do a 4.x bump or just stick to supports-color 1.x.


Issue 2047

TAs can now see the total number of assignments they have been assigned, as well as number of assignments they have finished marking.
Admin can see this information for all TAs on the dashboard in the summaries box.

Thanks, @hootiehoo


[ISSUE - 372] Adding Sunrise and Sunset Calculator

Fixes Issue🛠

Fixes #372

Description👨💻
The Sunrise & Sunset Calculator is a simple yet powerful tool that allows users to determine the precise times of sunrise and sunset based on geographical coordinates. By providing the latitude and longitude values of a specific location, this calculator delivers accurate information regarding when the sun will rise and set at that particular point on the Earth's surface.
Type of change📄

[x] New feature (non-breaking change which adds functionality)

How this has been tested✅
I have done Alpha, Beta & Unit Testing
Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 This pull request is ready for review and merge. Additionally, I kindly request you to consider adding the "JWOC" and "Difficulty" labels to this pull request.
Thank you for the opportunity to contribute to the project!

Pls add your calculator screenshot in the Readme file @antilneeraj

@Rakesh9100 Done! 👍🏼

Good job, Merged!! Congrats on getting your PR merged to this repo under JWOC 🎉🎉 @antilneeraj

@Rakesh9100 Thankyou for the opportunity to contribute


Local realm not synced after losing connection and forcing re-login

Goals
Start app online, go offline, add item(s), force close the app, go back online, open the app and log in. Edits are pushed back to ros.
Expected Results
As soon as the user is back and the app is online, resume syncing.
Actual Results
If I just go back online, no sync occurs.
If I force Close the app, reopen it and force a login, the changes are not pushed. Instead, the local copy has the previous state before it went offline
Steps to Reproduce
Explained above
ROS 2.0
Realm database: 2.0.12
Javascript

Sorry, wrong repo. Recreated it here https://github.com/realm/realm-js/issues/1562


Remote end closed socket abruptly while generating preview

We are using this in Github CI action. And below errors are identified.
/home/runner/work/_actions/snyk/release-notes-preview/v1.6.2/dist/index.js:3299
      had_error(new Error('Remote end closed socket abruptly.'))
                ^

Error: Remote end closed socket abruptly.
    at TLSSocket.on_socket_end (/home/runner/work/_actions/snyk/release-notes-preview/v1.6.2/dist/index.js:3[29](https://github.com/splunk/splunk-connect-for-syslog/actions/runs/5386296898/jobs/9776195324?pr=2079#step:4:30)9:17)
    at processTicksAndRejections (node:internal/process/task_queues:78:11)

Could you please help us with the resolution?

@Shesekino Can you please help us here ?

Hey hey 👋 I'm afraid I no longer have access to this repository. I believe you'll need someone from Snyk to help with that.
Sorry!

@ivanstanev Can you please help us here ?


Promise return is not being honored

While we are returning promise object to show hide ribbon button on advanced find , the promise object is not being honored. The execution process takes place less than 200 ms and still the output is not reflecting while using the promise.
Following is the snippet I am using :
function ShowHideControl() {
    var globalContext = Xrm.Utility.getGlobalContext();
    var userRoles = globalContext.userSettings.securityRoles;

    return new Promise(function (resolve, reject) {
        Xrm.WebApi.retrieveMultipleRecords(EntityLogicalNames.Setting, "?$select=abcd,createdon&$orderby=xyz&$filter=contains(prqs, '" + requiredRole + "')").then(function (result) {
            if (result.entities.length > 0) {
                var allowAction = false;
                var userData = result.entities[0].abcd;
                var userAllowedRoles = userData.split('~');

                userRoles.forEach(function (item) {

                    userAllowedRoles.some(function (element) {
                        if (item.toLowerCase() === element.toLowerCase()) {
                            allowAction = true;
                        }
                    });
                });

                resolve(allowAction);
            }
        }, function (error) {
            reject(error.message);
        });
    });
}

@mkcgphy There is at least one code path that doesn't resolve or reject the promise (the else condition under the retrieveMultile call).  A better pattern is to return the result of the retrieveMultiple call and inside that use Promise.resolve/reject.

Thanks for contacting us. As we haven’t heard back from you, I am closing this issue. If you need further help, please reopen the issue or open a new issue.


Evaluate the use of a full-fledged language for attribute pattern matching.

We want to evaluate whether it is possible to use a full-fledged programming language to implement the logic that pattern matches against attributes and generates calls into configured aspects.
The idea is that we would use a jitted language for this purpose for max perf. The operator would write in this language directly to get fully customized power-user kind of behavior. The operator could also write using a higher-level config-style environment, which we would translate into the language automatically, run the jit on, and then use at runtime.
We need to experiment and see if using a general-programming language makes sense, whether we can efficiently generate correct programs, etc. We'll prototype using the otto JavaScript interpreter since it's super easy to use and interoperate with. In the long run, if we like JavaScript we could use v8. However, JavaScript is not ideal for operators, we'd probably be better off with a Python environment. Depends on what JITs exist out there in OSS...

Is it worth considering cgo calling overhead in this evaluation? It looks like no-op cgo call in golang 1.8 is ~50ns (ref https://go-review.googlesource.com/c/30080/)
ref https://github.com/golang/go/issues/16051

Two comments on that front:

I expect to have a fairly chunky model. There would be a single transition into the jitted code per incoming request.

If that's still too much overhead, then the jitted code can likely be made to run in a stand-alone thread and interacted with via some IPC scheme, so there would indeed be no entering/exiting costs. There would be a context switch cost of course though.

When evaluating the doability of this, we need to definitely look at the end-to-end cost and make sure we're happy before jumping.

If we do this, we should design a super simple language that can be trivially compiled to 50% of C speed, then we can use it to replace for most of business logics.
https://lwn.net/Articles/713918/
This is user space network stack written in Lua. The team claim to support 100Gbs network this year. Our new language must be able to perform at the same level. I will be happy to contribute to this effort.

All done.


selectionBackground doesn't match settings.json setting?

The name suggests that selectionBackground will be the backGround of selected text.  It often isn't.  Here's Powershell and Campbell Powershell.  Settings.json has  bright white and I see light blue.

And can selectionBackground be set with a control sequence?

Yeah. This is sorta silly. The selection color is blended at something-percent opacity with the text because we draw it in a final pass on top of everything. We have plans to make it better.

I kinda like the light blue in the Campbell Powershell scheme.

Actually, I also kinda like the apparent averaging of selectionBackground (#FFFFFF) with the background (#000000) in Vintage.  So I'm not eagerly awaiting a change.  But I wonder ... can I change selectionBackground, on-the-fly, with a control sequence?  If not, how about adding OSC13; that could be "chained" with OSC10/11/12.  With that, I couls change the whole scheme under program control.

With that, I could change the whole scheme under program control.

I guess that;s moot since all the builtin ones are #FFFFFF.  :-)

can I change selectionBackground, on-the-fly, with a control sequence?

Nope. selectionBackground is a uniquely Terminal thing, pretty sure there's not a VT sequence for that one. There might be an iTerm2 sequence that's similar, or a kitty one possibly, otherwise we'd have to roll our own.

iTerm2

Change the color palette
To change the current session's colors use this code:
OSC 1337 ; SetColors=[key]=[value] ST
[key] gives the color to change. The accepted values are: fg bg bold link selbg selfg curbg curfg underline tab black red green yellow blue magenta cyan white br_black br_red br_green br_yellow br_blue br_magenta br_cyan br_white
[value] gives the new color. The following formats are accepted:

RGB (three hex digits, like fff)
RRGGBB (six hex digits, like f0f0f0)
cs:RGB (like RGB but cs gives a color space)
cs:RRGGBB (like RRGGBB but cs gives a color space)

If a color space is given, it should be one of:

srgb (the standard sRGB color space)
rgb (the device-specific color space)
p3 (the standard P3 color space, whose gamut is supported on some newer hardware)

The following alternate schemes are also supported: * If key is preset then value should be the name of a color preset. * If key is tab then a value of default removes the tab color and restores it to the system default.

Boy that's a gross sequence though. Does take care of #6574 though, with OSC 1337 ; SetColors=tab=[whatever] ST
Tempted to convert #6574 to "implement support for iTerm2's SetColors sequence" close this as a dupe of #6574.

Nope. selectionBackground is a uniquely Terminal thing, pretty sure there's not a VT sequence for that one.

XTerm uses OSC 17 for this (they call it the highlight color). It's also supported by quite a few other terminals. That seems a better choice than the iTerm2 sequence, especially since we've already implemented many of the related XTerm color sequences.

Heehee!  I guess if you want to set 19 colors (as I do, or more) it's going to get ugly.  I'm timing with the performance counter and the code below takes (on average) 90 microsecconds (@3.5GHz).  I tried like heck to make it faster but I can't.  Even using a BYTE rgb[N_SCHEMES][N_COLORS][3] array (which avoids all the Get*Value macros) doesn't make a measurable difference.
	for (  p = szBigSeq,color_index = 0; color_index < 16; color_index += 1 )
	{
		p += wsprintfW(p, OSC L"4;%d;rgb:%02X/%02X/%02X" ST,
				color_index,
				GetRValue(cr[scheme_index][color_index]),
				GetGValue(cr[scheme_index][color_index]),
				GetBValue(cr[scheme_index][color_index]));
	}

	// "chain" OSC10/11/12
	p += wsprintfW(p, OSC L"10;rgb:%02X/%02X/%02X;rgb:%02X/%02X/%02X;rgb:%02X/%02X/%02X" ST,
			GetRValue(cr[scheme_index][16]),
			GetGValue(cr[scheme_index][16]),
			GetBValue(cr[scheme_index][16]),
			GetRValue(cr[scheme_index][17]),
			GetGValue(cr[scheme_index][17]),
			GetBValue(cr[scheme_index][17]),
			GetRValue(cr[scheme_index][18]),
			GetGValue(cr[scheme_index][18]),
			GetBValue(cr[scheme_index][18]));

	WriteConsoleW(hConOut, szBigSeq, (DWORD) (p - szBigSeq), nullptr, nullptr);

Does the terminal ever see control sequences?  A sequence for the "setColorScheme" action would make life easy for anyone who wanted to do this sort of thing.

Terminal only sees control sequences.
90 microseconds doesn't seem like a terrifically high number to be concerned about.

However: you can also combine OSC 4 sequences. OSC 4;1;color;2;color;3;color;4;color;... ST. Perhaps that'll streamline things slightly.

However: you can also combine OSC 4 sequences. OSC 4;1;color;2;color;3;color;4;color;... ST. Perhaps that'll streamline things slightly.

Ya know, I tried exactly (I think) that at a command line and it didn't seem to work.  I'll try again, a little harder.

90 microseconds doesn't seem like a terrifically high number to be concerned about.

I'm a bit obsessed with time and I have a lot of it on my hands.  😁

However: you can also combine OSC 4 sequences. OSC 4;1;color;2;color;3;color;4;color;... ST. Perhaps that'll streamline things slightly.

Yeah, it does work.  Thanks!  I'm confident I won't see a decrease in the time to construct and emit the sequence.  But my guess is that it would save a lot of time on the other end, when the sequence is processed ... yes/no?

@DHowett said:

However: you can also combine OSC 4 sequences. OSC 4;1;color;2;color;3;color;4;color;... ST. Perhaps that'll streamline things slightly.

@vefatica  said:

But my guess is that it would save a lot of time on the other end, when the sequence is processed ... yes/no?

Whoa!  That made a significant difference, bringing 90 microseconds down to 75 microseconds (new code below).  And I think I've answered my question in the affirmative.  I doubt I saved much in constructing the sequence, so I figure the saving is in the WriteConsole.  Is that right ... WriteConsole (to a "CONOUT$" handle) doesn't return until the sequence has been processed (and the sequence is being processed much faster because of the chaining)?
Here's the new code.  I'm timing 100 of them and taking an average.
	p = szBigSeq;
	p += wsprintf(p, OSC L"4");
	for ( color_index = 0; color_index < 16; color_index += 1 )
	{
		p += wsprintfW(p, L";%d;rgb:%02X/%02X/%02X",
				color_index,
				GetRValue(cr[scheme_index][color_index]),
				GetGValue(cr[scheme_index][color_index]),
				GetBValue(cr[scheme_index][color_index]));
	}

	p += wsprintf(p, ST);

	// use OSC10, OSC11, OSC12 (fore, back, cursor) ... chain them
	p += wsprintfW(p, OSC L"10;rgb:%02X/%02X/%02X;rgb:%02X/%02X/%02X;rgb:%02X/%02X/%02X" ST,
			GetRValue(cr[scheme_index][16]),
			GetGValue(cr[scheme_index][16]),
			GetBValue(cr[scheme_index][16]),
			GetRValue(cr[scheme_index][17]),
			GetGValue(cr[scheme_index][17]),
			GetBValue(cr[scheme_index][17]),
			GetRValue(cr[scheme_index][18]),
			GetGValue(cr[scheme_index][18]),
			GetBValue(cr[scheme_index][18]));

	WriteConsoleW(hConOut, szBigSeq, (DWORD) (p - szBigSeq), nullptr, nullptr);

FWIW I know that this one doesn't have the same title, but we're aggregating "change how selection background works" over in /dup #3571
You're right: WriteConsole doesn't return until all console handling is complete, synchronously. That's something we're keen on changing. :)

FWIW I know that this one doesn't have the same title, but we're aggregating "change how selection background works" over in /dup #3571

Did you get that right?  That thread and the one it dups don't mention selectionBackground and don't otherwise seem to deal with it.

Whoops, that was my bad. I fat-fingered #3561.


⚠ Turnos 24x7 has degraded performance

In 9226493, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 8456 ms

Resolved: Turnos 24x7 performance has improved in 7d85ff4.


Investigate effect of using shifts instead of div/mod for set indexing

The set is always power-of-two-sized -- even in the face of runtime expansion -- but I highly doubt a compiler can deduce this. As a consequence, I suspect it emits expensive integer divide and modulo instructions when it could use simple shifts and subtract. In certain models this computation might end up contributing significantly to the overall runtime. We should profile the effect of explicitly shifting and subtracting instead on a large model.

This was implemented in https://github.com/Smattr/rumur/commit/52e1583eeac95c325591181d76e5f41d1ce96558.


Rename ehcache group to cache

Rename ehcache group to cache, as it will contain other cache system (Caffeine, Memcache, etc.)
These modules won't change:

ehcache-with-java-config
ehcache-with-xml-config

I don't think all caches should be in the same feature. It is totally possible to have multiple cache mechanisms in the same app (ex: a local Caffeine and a shared ehcache)

Agree with you but I think it's not too common to use 2 different caches in real projects
So for our use cases, I would suggestion to restrict to 1 cache (group) here. Then, if the user want another cache, he/she can go to the patch page to apply this module as standalone
WDYT ?

Personally I don't care, I don't often use caches (I prefer simple memoiziers)

Ok then, I'll do this ticket soon so I could start later the Hibernate cache


FrankenPHP 1.3.2 images for PHP 8.3 are missing

What happened?
It seems that something went wrong during the last release. The images FrankenPHP 1.3.2 for PHP 8.3.* are missing on Docker Hub

Build Type
Custom (tell us more in the description)
Worker Mode
Yes
Operating System
Other (tell us more in the description)
CPU Architecture
Other (tell us more in the description)
PHP configuration
-

Relevant log output
No response

Also, please note that PHP 8.2 images are only available with Alpine.

It looks like it reached the rate limit during the build-and-push actions: https://github.com/dunglas/frankenphp/actions/runs/11987316006/job/33422201979

Fixed, thanks!


chrome.identity ignores interactive parameter on iOS

Can be implemented trivially via: https://developers.google.com/+/mobile/ios/sign-in#automatically_sign_in_the_user

Relates to #484


Port more code from Local2Global_embedding

[x] network as a submodule
[x] clustering in root
[x] sparsity in root
[x] utils in root

completed.


Icinga Monitoring - AWS RDS

We have made few changes to enable AWS RDS instances to be monitored by
Icinga. This change incorporates some instructions/guidance on how to
add an instance to be monitored or to add a new matric to be monitored.

https://trello.com/c/C7SY8edZ/1123-monitor-rds-and-elasticache-in-aws-and-alert-icinga
Pair: @suthagarht @szd55gds

The check is arbitrary and uses terraform-docs to generate docs from the manifests. I'm not sure how many people ever read those READMEs, so it's probably not a great place for docs. If you want to write documentation, maybe put it in the guides/ or docs directory?

From issy


Not work on real device, fine on simulator

dyld: Library not loaded: @rpath/SQLite.framework/SQLite
Referenced from: /var/mobile/Containers/Bundle/Application/086B446B-AB51-449B-955F-B421F72ACDBE/xxx.app/xxx
Reason: image not found

I do get this on the simulator by run the app in the Simulator, but not run it from Xcode.

do you fixed it?

Dup of #536


Bug: Middleware execution order

The hono middleware is great, but I think the execution order should be different.
As stated in the Routing Priority documentation: "Handlers or middleware will be executed in registration order."
Though, middlewares don't execute according to that rule.
const router = new Hono()

router.use(async (context, next) => {
  console.log('first middleware before next')
  await next()
  console.log('first middleware after next')
})
router.use(async (context, next) => {
  console.log('second middleware before next')
  await next()
  console.log('second middleware after next')
})
router.use(async (context, next) => {
  console.log('third middleware before next')
  await next()
  console.log('third middleware after next')
})

router.get('/', (context) => context.json({ hello: 'world' }))

The console will look like the following:

first middleware before next
second middleware before next
third middleware before next
third middleware after next
second middleware after next
first middleware after next

What I expected because of the Routing Priority

first middleware before next
second middleware before next
third middleware before next
first middleware after next
second middleware after next
third middleware after next

I propose a change in the execution order, to match the expected execution order.

A valid point could be made of course, that the execution order should indeed look like this.
middleware 1 start
middleware 2 start
middleware 3 start
request here
middleware 3 end
middleware 2 end
middleware 1 end
Maybe we could think of an api where we can opt into a different execution order? Does that make sense?

Hi @PietervdWerk !

As stated in the Routing Priority documentation: "Handlers or middleware will be executed in registration order."
Though, middlewares don't execute according to that rule.

You are right, this wording on the website is confusing. However, we do not intend to change the current routing order. Because it will make big breaking changes. And this is implementation reasons. So, it is good to tell developers in an easy-to-understand way so that there is no confusion.
middleware 1 start
  middleware 2 start
    middleware 3 start
      request here
    middleware 3 end
  middleware 2 end
middleware 1 end

This way you wrote is very easy to understand and I want to use it.
Thank you!

Alright, totally understand. Thanks for your response, appreciate it.


Complete configuration of React Navigation

Further manual tweaking needed to finalise the configuration of React Navigation, as per their official documentation. Currently deciding between automating it with a script vs documenting it explicitly, for the user to do it manually.

I have opted to automate it with a node script as part of the installation process of the template.


[5.2] Unable to update new model's date fields using Carbon

Laravel Version: 5.2.45
PHP Version: 5.6
Database Driver & Version: MySQL

Description:
After creating a new model, I cant update it's fields, that are declared in $dates, using Carbon setters.
Steps To Reproduce:

create new model
$post = new Post;

set datetime from form in Y-m-d H:i:s format
$post->start_date = $request->input('start_date'); //2016-10-14 15:33:12

try to update this field
$post->start_date->setTime(0, 0, 0); // still 2016-10-14 15:33:12

It worked only by assigning an already updated Carbon instance to start_date
$start_date = new Carbon($request->input('start_date')); //2016-10-14 15:33:12
$start_date->setTime(0, 0 ,0); //2016-10-14 00:00:00

$post = new Post;
$post->start_date = $start_date; //2016-10-14 00:00:00

You can only change that value by assigning a new value, like you stated above ;)

@bobbybouwmann well, what is the point in using Carbon then ?


Some updates to header files and includes

Since combine was originally a CMSSW package, the header files are expected to be found in HiggsAnalysis/CombinedLimit/interface even at build time. This means that if one wants to build combine standalone, the source repository also has to be cloned into a HiggsAnalysis/CombinedLimit subdirectory structure, which is unnecessarily restrictive.
This situation can be improved by using relative include paths:

drop the "HiggsAnalysis/CombinedLimit/interface" from the header files in interface because it's the same directory anyway

replace "HiggsAnalysis/CombinedLimit/interface" with "../interface" in the src directory

These relative includes also work in the CMSSW context, and for standalone builds they get rid of the requirement to have the repo in HiggsAnalysis/CombinedLimit.
Missing include guards are also added.
Finally, ROOT no longer requires forcing the instantiation of templates
in the .h file. The declaration in classes_def.xml is sufficient.
These changes were already done to CMSSW in 2019, see for example
the first commit in https://github.com/cms-sw/cmssw/pull/25826.

@amarini @nsmith- , can this be marked safe to test? Thanks!

Hi, did the tests all go fine? Just asking because I don't have access to the cms-hcg GitLab and can't see all the test outputs.

We have failed fits in htt, hgg, and tth_hgg.
The others seems to have gone well.
Timewise it seems that the fits are slightly worse (except for the vhbbXX cards that are much worse).
It may also be a glitch from the machines (so take these with care in interpretations),
but it maybe something to keep an eye upon.
text2workspace seems to be much improved in speed and slightly worse in time.

That's very unexpected! I didn't think my changes in this PR would affect the performance at all.
So in these plots, I see master vs old (ratio) on the y axis. Is old corresponding to 112x, and master to 112x plus this PR?

On is old maybe an older version of 112x? Then the speedup in test2workspace might come from this PR:
https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/787

Hi @nsmith-, have you considered to integrate these changes? They are purely technical

Ok the rebase-port to 112x-comb2022 fails to merge because we have not been good about porting all changes to that branch (in particular your ROOT 6.26 compatibility changes). If we decide to update that branch I think it is better to just merge 112x into 112x-comb2022. As a note, 112x will "soon" be renamed main


bar sign cleanup

About the PR
removes all the custom bar sign stuff and just does it in yaml.
Screenshots

Changelog

no cl no fun

/vg/ allows the bartender to reprogram their bar sign, that's why I wrote it like this.

bad pr + pjb has a icbm pointed at my house.

The map yaml changes are still relevant and should either be moved into another pr, or this one can just be re-opened with just those changes.


Add Vol Transformation

Relates to #260

Add transform to mimic Sox Vol effect
Add tests to compare with Sox

Let's go with Vol as you suggest, since one of the cases for gain_type doesn't use gain.


[MM-14534] Re-organize System Console into new sections

Summary
Reorganizes system console settings into a flatter structure (2-tiered as opposed to 3).
Ticket Link
https://mattermost.atlassian.net/browse/MM-14534
Related Pull Requests
N/A

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spintmint test server creation failed. See the logs for more information.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-068139c5f73a2f64a.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-068139c5f73a2f64a

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-03a31333b3e9fb944.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-03a31333b3e9fb944

@wiersgallak @jasonblais spinmint is up if you'd like to review the system console updates!

@jasonblais

Changed to "Plugins (Beta)"
"Plugins (Beta)" as the page title makes sense, changed
I thought "CORS" looked too short so I added settings 0/5
I'll see if I can move "Plugins" below "Gif" and "CORS".

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0dcb631cca2b1f6d3.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0dcb631cca2b1f6d3

Thanks @bradjcoughlin - this is looking great.  Here are my notes:

Category headings - "Integrations" and "Compliance" should be in all caps.  "Compliance Settings" should be "Compliance"
Logs:  Page heading is "Server Logs", Let's update the LHS section title to "Server Logs"
Database:  Page heading is "Database Settings", remove "Settings"
Image Proxy: Page heading is "ImageProxy", should be "Image Proxy (missing space)
Email Notifications: Page heading is "Email", add "Notifications"
Push Notifications: Page heading is "Mobile Push", Change to "Push Notifications"
Rate Limiting: Page heading is "Rate Limiting Settings", remove "Settings"
Sign Up: Page heading is "Signup", change LHS section title to "Signup"
Email: Page heading is "Email Authentication", remove "Authentication"
Plugins: Page heading is "Management", update to "Plugins"
CORS: Page heading is "CORS Setting", remove "Settings"
Compliance Export - Update to LHS section title to "Compliance Export (Beta)
Compliance Monitoring: Page heading is "User Activity Logs" - anyway we can try to combine this with the settings on "Compliance Settings" page as first priority? Heading should be "Compliance Monitoring"

Spinmint test server destroyed

@wiersgallak we can discuss #12 further offline, but that's probably why I temporarily titled the "Compliance" page as "Compliance Settings" to differentiate.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0bbc36e2f8949ed39.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0bbc36e2f8949ed39

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0d36fe8321d754dac.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0d36fe8321d754dac

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-02319ea255751cc6b.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-02319ea255751cc6b

@bradjcoughlin Sorry that I'm nitpicking but the title page for GIF is missing (Beta), which was added to the sidebar

Not at all! Sorry I missed that.

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0757bf95b9764d4b3.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0757bf95b9764d4b3

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0926d5a4f02f0257f.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0926d5a4f02f0257f

Spinmint test server destroyed


Add a which property to the Event

I'm not sure if the which property is in the official draft of the Event specification. I might be mistaken, but I think it is.
Cheers

it never happened, so I close this for now :-)

Good call ;)


command to list all groups

Listing all accounts for a given group already works with sherlock list group-name, here the default if no argument is given will be the default group. Having a separated command to list all groups would not be nice from a users point of view. Therefore, I feel the sherlock list command needs to change a bit.
Maybe the command could check if the argument is something like all to display all groups or simply use a flag --all?

Hi, is this issue open for me to work on ? thank you

Sure! 👍

thanks ! I will update you soon


Create figure showing where each marker (primer pair) maps to ribosomal operon

Here is a first draft. I would like to get a better rendering and alignment of the reference operons, perhaps showing the variable regions.

@ksilnoaa @marinednadude


Replace use of deprecated TrustManager in IG with SecretsTrustManager

Currently we are using the deprecated TrustManager, update to use SecretsTrustManager.
Deprecation warning logs:
{"timestamp":"2023-10-13T14:55:33.665Z","level":"WARN","thread":"main","logger":"org.forgerock.openig.security.TrustManagerHeaplet","message":"TrustManager is deprecated, use SecretsTrustManager instead.","context":"default"}
{"timestamp":"2023-10-13T14:55:33.667Z","level":"WARN","thread":"main","logger":"org.forgerock.openig.security.KeyStoreHeaplet","message":"KeyStore is deprecated, use KeyStoreSecretsStore instead.","context":"default"}

Documentation:
https://backstage.forgerock.com/docs/ig/2023.4/reference/secrets.html#SecretsTrustManager
This feature is required so that we can make connections from IG (acting as a client) to the OB directory servers over TLS. OB have their own CA, we add these certs to a truststore and configure the OBClientHandler to use it.

Hey team! Please add your planning poker estimate with Zenhub @dbadham-fr @jorgesanchezperez


Add the request type to TOC links

This commit finds the next <code> tag following an H2 and parses out the request type (GET, POST, PUT, DELETE, etc). This can be used to add extra styling:

Wouldn't this be dependent on what language the first code block was?

Yeah unfortunately there's not a really good way to test to make sure this is safe or will always work. If an MD is provided to display and has a <code> in between the route header and details that could potentially cause problems. I put in an extra protection to verify that the type we pull out matches a standard GET/POST/PUT/PATCH/DELETE.
Here's how I've been seeing the typical HTML breakdown - I'm not sure if it really changes much:

Unfortunately I think this is too fragile of an approach to be generally applicable.
What might work is adding an anchor or some other element within the widdershins template, which is always, predictably, the HTTP method, regardless of the code samples order.


Geoparquet source

For a faster import Maxar now has all the STAC Items as geoparquet: https://maxar-opendata.s3.amazonaws.com/events/maxar-opendata.parquet

😍

The format isn't set in stone so if needs adjusting, lmk

@drwelby I've started to work with the Geoparquet file but it hasn't been updated since April. Do you know if it will updated at one point? I would love to ingest the latest data for the Morocco EarthQuake

I'll regenerate it today, I don't have a great workflow yet to keep it updated automatically.

Updated just now

@drwelby what do you think about creating per-collection GeoParquet files and then add the link to the GeoParquet file in the collection's assets?
I don't want to give you more work (well I do) but I think it could be really handy (and maybe easier to manage)

Certainly possible. I had some other related questions that I sent directly to your Mastodon account.
If the smaller parquet files can be referenced by the top level one that would be an easier update workflow but I'm not sure if that's functional in the geoparquet region. It's all experimental, so if you want me to experiment with any format that improves interop just point me to the right docs!
We could also generate STAC Search Collections instead of STAC Static Collections which would be much faster to ingest and readable by GDAL.

👍 sorry I do not login often on Mastodon.
As for the GeoParquet format, I'm not an expert but from what I know there is no multiple level GeoParquet, so if you want to keep the GDAL compatibility for your whole catalog, you'll have to continue what you are doing.
The issue with this approach is that there is no collection metadata, and also means that all the items have to respect the same model (or you end up having a lot of none)
We're talking internally about stac + GeoParquet, trying to define what should the combination look like and it really depends on the usage of the GeoParquet file. There is not one good schema to store both collection / items

The issue with this approach is that there is no collection metadata, and also means that all the items have to respect the same model (or you end up having a lot of none)

Yeah this is the case with your current maxar-opendata.parquet file. There are a lot of null values internally because it looks like the schema of included stac data changes a lot. Here's an example. For each row in the assets column, we check how many of the included keys are null or not null. In Arrow/Parquet representation, the assets column includes all keys for every row, whether or not that row actually includes a value with that key. Below we compute the number of null assets per row
import pyarrow.parquet as pq
table = pq.read_table('maxar-opendata.parquet')

null_counts = []
for i in range(len(table)):
    null_count = sum([1 for _asset_name, asset_value in table['assets'][i].items() if not asset_value.is_valid])
    null_counts.append(null_count)

Plotting this, we can see that most rows have only a couple asset names and most are null.

 Parquet on disk and Arrow in memory can compress the null values pretty efficiently. But the usability is hard because every row might have a different data representation, so you never know in advance whether a given asset will exist or not in a row.

We'll probably pare out some of the assets that were briefly delivered and only include the ones we always deliver: visual, pan, and multispectral

If the end user of this data is a web browser/app, device memory/cpu/resources will be the limiting factor, not data transfer speed. I don't see a benefit using parquet in that case.
Developers often make claims like, "1 million points displayed in the web browser", which is never the case. It's a subset based on zoom level. Again, client resources are the limiting factor.
If you're one of the elite few that your Chrome browser can actually process a million vector geometries in a timely manner, then 'faster' data transfer will probably be a concern.
This has that "everybody needs big data" feel , when that is actually not the case. Reality seems to be closer to about 5% need those features.

Just chiming in here to register some interest in a convention / standard for how to represent STAC items in geoparquet.
In https://github.com/stac-utils/stac-geoparquet I made some arbitrary decisions around things like lifting properties to the top level of the parquet file.

This is not Maxar "catering to customers", this is one Maxar developer (me) experimenting with a new cloud-native vector format. My interest in this format is that can be read by DuckDB to provide queryability since the ARD pipeline only delivers a system of static STAC catalogs.

@TomAugspurger I used stac-geoparquet to generate the file (thanks!) and and happy to assist with changes/ideas/experiments using the ODP data.

a new cloud-native vector format

FlatGeobuf (FGB) uses a spatial index and http 206 requests. Build on that.
A queyable format might consist of a composite index, ie, (geom, col1, col2), etc, with the data. Your query conditional, such as 'where', could use one of those columns. Like FGB, multiple requests would be made.
I still think you're putting the cart before the horse. Even with a queryable format, huge amounts of data can be returned, rendering your browser a boat anchor. Some of the examples I've seen with parquet and duckdb, wasm, etc are pretty awesome, but functionally useless in terms of the web client, because of the amount of data returned.
Parquet is being touted as the miracle format that can transfer huge amounts of spatial data quickly. Great. But in terms of usefulness in the browser, it doesn't matter. Any cloud native vector format will do just fine.

Thanks everyone for jumping into this issue. Just to be clear in this issue, we envision the usage of the GeoParquet file format for an easy way to share a Static catalog. And as the title of the repo suggest, we want to ingest the static catalog to any PgSTAC instance.

Maxar seems to catering to their big data customer's and I get that. For the rest of us, I don't see a clear benefit.

@PostholerCom, I don't think this is the kinda of comment we are looking for in this issue. Thank you

This experiment is not aimed at browser use. I can make FGB too if you like, but this is volunteer effort that came out of a hackathon and so far I only have the bandwidth to investigate one cloud-optimized vector format.
As we like to say, "PRs welcome and appreciated" and jumping in, crawling the Open Data bucket and making some FGBs for the project would go a much longer way than unwarranted ranting.

Whoops, I forgot that for browser use, I did generate a .pmtiles because there was some discussion of having source.coop  automatically preview this format in their UI.


LUCY-295 Change I32Array to use size_t

Change I32Array so that it uses a size_t to index into its array of 32-bit integers. This entails both changes to the class internals and to the internal API. (I32Array is not a public API.)

The Go bindings need some more work for this changeset. I'll submit another version.


combineLatest([]) broken in 7.x

It should return EMPTY, it instead returns NEVER.
Tnis is the cause of breakage in Angular router when updating to rxjs@7.
cc @leggechr

@benlesh I tried beta.9 couple of weeks ago on my Angular project and I all I was getting was the white screen. I never went digging deeper. beta.10 successfully solved the issue. Thanks a lot!

@benlesh I tried beta.9 couple of weeks ago on my Angular project and I all I was getting was the white screen. I never went digging deeper. beta.10 successfully solved the issue. Thanks a lot!


🐞 - incorrect work nested dropdown using tuiDropdownHover

Playground Link
https://stackblitz.com/edit/angular-fwx3yj?file=src%2Fapp%2Fapp.component.html
Description
https://user-images.githubusercontent.com/2184564/228928050-d7019ba3-9c29-4ed3-b93d-e0789d9c3cc0.mp4
Angular version
15.2.3
Taiga UI version
3.20.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

After updating to the new version, please also move ng-template under tui-hosted-dropdown so that it is under tuiDropdownHover in DI tree.


Send @lamby Stripe details

Done
(As with the others, please close when done...urgh iPad)
On Tuesday, September 29, 2015, Chris Lamb<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/takeyourmeds/takeyourmeds-web/issues/62.


SNI routing support

Adds a new env var called DEFAULT_PORTS that allow you to override the
default 80, 443 binding. reqMode can now be ‘sni’ which implies TCP
with SNI routing. No existing test cases have been modified.

Sorry for the delay...
The code looks good. I hope I'll be able to try it out tomorrow. If it works, I'll merge it after that.

It's merged to master. I think that the only thing missing is an example we can put to docs. Can you come up with something?

TCP SNI routing unfortunately needs 2 things. More than one hostname mapped to the proxy endpoint and valid certificates at the recipient backend servers. If it's configuration examples you are looking for I'll send you some.

That would be great. You can send me some configs and/or examples, I can put some "words" around them and convert it into docs.

Sure. Can I mail them to you sometime later in the day? I'm a little occupied right now with some things that need to be done on the weekend.

There's no hurry. The code is merged and an "unofficial" release is made. Everything works and we just need to let users know how to use it :)

Adding to PR - description I sent over mail. This should go here for the record.
Here’s what I envision typical usage might be like. Here I don’t want to use 443 for TLS termination. Instead haproxy treats the traffic as TCP and peeks into the TCP stream to extract the SNI field (unencrypted) and make a routing decision based on that.
I’m reusing the pathType label to pass in the haproxy match “type” string and the actual argument for it comes from servicePath. We are also assuming that we have also mapped DNS for both www.example.com and api.example.com and pointed them to the IP(s) of the swarm node(s). The individual services listen on TLS with either a wildcard cert that matches the expected FQDN or an individual certificate for the endpoint.
ENV
DEFAULT_PORTS=“80”
Service1 labels. service name=‘www’
com.df.reqMode=‘sni'
com.df.pathType='req_ssl_sni -i -m beg’
com.df.servicePath=“www.example.com”
com.df.port=8443
com.df.srcPort=443

Service2 Labels. service name=‘api’
com.df.reqMode=‘sni'
com.df.pathType='req_ssl_sni -i -m beg’
com.df.servicePath="api.example.com”
com.df.port=5000
com.df.srcPort=443

Produces the following configuration
/cfg/haproxy.cfg
global
    pidfile /var/run/haproxy.pid
    tune.ssl.default-dh-param 2048

    #disable sslv3, prefer modern ciphers
    ssl-default-bind-options no-sslv3
    ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS

    ssl-default-server-options no-sslv3
    ssl-default-server-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS

defaults
    mode    http
    balance roundrobin

    option  dontlognull
    option  dontlog-normal
    option  http-server-close
    option  forwardfor
    option  redispatch

    errorfile 400 /errorfiles/400.http
    errorfile 403 /errorfiles/403.http
    errorfile 405 /errorfiles/405.http
    errorfile 408 /errorfiles/408.http
    errorfile 429 /errorfiles/429.http
    errorfile 500 /errorfiles/500.http
    errorfile 502 /errorfiles/502.http
    errorfile 503 /errorfiles/503.http
    errorfile 504 /errorfiles/504.http

    maxconn 5000
    timeout connect 5s
    timeout client  20s
    timeout server  20s
    timeout queue   30s
    timeout tunnel  3600s
    timeout http-request 5s
    timeout http-keep-alive 15s

    stats enable
    stats refresh 30s
    stats realm Strictly\ Private
    stats auth admin:admin
    stats uri /admin?stats

frontend services
    bind *:80
    mode http

frontend service_443
    bind *:443
    mode tcp
    tcp-request inspect-delay 5s
    tcp-request content accept if { req_ssl_hello_type 1 }
    acl sni_api5000 req_ssl_sni -i -m beg api.example.com
    acl srcPort_api443 dst_port 443
    use_backend api-be5000 if sni_api5000 srcPort_api443
    acl sni_www8443 req_ssl_sni -i -m beg www.example.com
    acl srcPort_www443 dst_port 443
    use_backend www-be8443 if sni_www8443 srcPort_www443

backend api-be5000
    mode tcp
    server api api:5000

backend www-be8443
    mode tcp
    server www www:8443

— snip —
This use can co-exist with typical HTTPS terminated routing - as long as they don’t both use 443 as srcPort. One thing that this implementation doesn’t cater to is HTTPS+SNI. This is typically used to select the certificate to present if haproxy is listening on a single port for potential HTTPS clients who want to see the appropriate certificate when connecting - based on the hostname.
Hope this is useful in explaining what the SNI routing code path does


Different environment variables per stage?

Prerequisites

[x] I am running the latest version. (up upgrade)
[x] I searched to see if the issue already exists.
[x] I inspected the verbose debug output with the -v, --verbose flag.

Description
Is there any way we can add environment variables per staging environment? For example, if I have something like POSTGRES_URI for my API lambda function, this environment variable will differ from staging to production. Right now the only way I can think of getting around this is duplicating variables to POSTGRES_URI_STAGING and POSTGRES_URI_PROD and then having my application logic check UP_STAGE to load the proper environment variable.
Not sure if this is a lambda limitation as well because it looks like you can only set environment variables for all stages in the AWS Lambda configuration page for a Lambda function.
Also, ETA on when secret support is coming out TJ? Take my money!

Oh, I guess once secrets comes out it should be no problem.
"GRAPHQL_URI": "@dash-staging-graphql-uri"
"GRAPHQL_URI": "@dash-prod-graphql-uri"

Yep it's coming! Just about finished, I'm on a little vacation but I should be able to set up billing and the Pro plan in the next few weeks. Once I get the env stuff in I'd be happy to provide "early access" for free as well, never hurts to battle test!

Great news! I was about to ask the same question. I'd be happy to provide feedback.

I was looking for the same thing, maybe a solution would be to load different config files?

For those that are still waiting for secrets, etc, I made a preup.js script to run before an up deploy to substitute variables in up.json (empty environment strings are substituted). For any production variables that you want to be different from staging, add the _PROD suffix.
up.json
  "name": "react",
  "environment": {
    "NODE_ENV": "production",
    "API_URI": ""
  }

preup.js
require('dotenv').config();
const fs = require('fs');
const upJson = require('./up.json');

const { environment } = upJson;

Object.keys(environment).forEach((key) => {
  if (!environment[key]) {
    environment[key] = process.env[key];
    if (process.env[`${key}_PROD`]) {
      environment[`${key}_PROD`] = process.env[`${key}_PROD`];
    }
  }
});

const result = JSON.stringify(upJson, null, 2);

fs.writeFileSync('./up.json', `${result}\n`);

loadEnv.js
const loadEnv = (env) => {
  if (process.env.UP_STAGE === 'production') {
    if (process.env[`${env}_PROD`]) {
      return process.env[`${env}_PROD`];
    }
  }
  return process.env[env];
};

module.exports = loadEnv;

Then use loadEnv to load your env variables in your application code. For example: uri: loadEnv('API_URI').

forgot to close


cURL error 3 during update

Describe the bug
As reference on the forum thread here the /update is throwing a cURL 3 error for a number of users. I've done some investigation on it which I provide below.
Version
7.0.0-beta.3
7.0.0-beta.4
dev branch
To Reproduce
Steps to reproduce the behavior:

Go to Admin Panel -> Maintenance -> Update or /update route
Click "Update"
Error thrown

GuzzleHttp\Exception\RequestException
cURL error 3: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Expected behavior
Update of phpVMS installation (as far as I'm aware)
Bit of investigation
On all versions tested above the same error is thrown. On beta.4 the update fails to recognise that there is no update available as it should already be on the latest version. On dev, not sure if it's supposed to do the same as it's completely different and I assume the update is pulling off the master branch?
The updater doesn't seem to like this line (UpdateModule -> UpdateController.php line 134). So I did some dumping and doing something like this:
        $version = $this->kvpRepo->get('latest_version_tag');
        $release = $this->updateManager->source('github')->getVersionAvailable();
        dd($release);
        $this->updateManager->source('github')->update($version);

Should have brought back "7.0.0-beta.4" or similar as the most up-to-date version. Instead, it throws the cURL error.
Similarly, doing this:
        $version = $this->kvpRepo->get('latest_version_tag');
        $release = $this->updateManager->source('github')->getVersionInstalled();
        dd($release);
        $this->updateManager->source('github')->update($version);

Should have brought back the version currently installed, but instead it returns null. If I adjust the config/self-update.php 'version_installed' key to the current version (as seen in php artisan phpvms:version and run the code again, this time it gives the current version but then sets this value to '' again in the config file.
Upon looking into the cURL error 3, I believe it's a URL issue somewhere. So looking into the vendor's self-update GithubTagTest.php file and dumping this line it gives me this "/repos/nabeelio/phpvms/tags".
The only way I could get rid of the cURL error was to manually specify this:
$url = "https://api.github.com/repos/nabeelio/phpvms/releases";
before this line in the vendor's file (which I will revert). And update the UpdateController to this:
        $version = $this->kvpRepo->get('latest_version_tag');
        $release = $this->updateManager->source('github')->getVersionAvailable();
        $this->updateManager->source('github')->update($release);

After this, the installer runs fine, no errors and the update successfully dumps to storage/app/*version. The update fails to recognise after that it has updated (still says "update available" in the admin panel" and at this point, the config/self-update.php 'version_installed' reverts to an empty string ''.
As a sidenote, if I dump $version from here:
        $version = $this->kvpRepo->get('latest_version_tag');
        $this->updateManager->source('github')->update($version);

it returns null. And I think there's supposed to be a storage/app/kvp.json file (could be wrong) but it doesn't look like there is one there. The /storage directory is set to 777 to ensure that it's not a permissions issue.
Sorry if this is a bit overkill (hopefully a simple fix) but I thought I'd do some digging. Not sure if the installer has worked prior to beta 3 or if it's a change made to beta 4.
Additional context
Attached is the log file
laravel-2020-05-20.log

Thanks for looking into this in detail! I just started taking a cursory look a few days ago. I think I need to move the kvp store into the database to start.
Question - do you have the cron setup?

Nope no cron (just a quick test locally on valet), but now that you've mentioned it that would make a difference.

Ok cool, I think I need to rework a few things including the KVP store and also running the update check on demand (which it should be doing it but it seems like there's still an issue there)

Also, do you have pre-release versions checked in settings? There's no release versions found so it can only go off of pre-release versions.
And beware, I have to block updates from actually happening if you're on dev, but it will downgrade from dev to a beta version which might cause problems. But I'm fixing some of the issues you've brought up right now

Hey, so if you download the dev version, in config/version.yaml, change prerelease to beta.3, and then try updating. The force update check should would

Pre-release wasn't checked as it was off by default, so I'll enable that. I've got a beta version and a dev version running separately so that shouldn't be an issue if I update the dev and keep it separate. Will give it a go now.

So the version control seems to be working now. Installed a fresh clone of the dev branch, checked pre-release in the settings, changed 'dev' to 'beta.3' in config/version.yaml and it looks like it updated fine. Only issue is that after it updated, /update/step1 (and sometimes /update/downloader when POST) throws a 500 due to it having installed beta.4 over the dev which reverted the changed to the Updater module

Ok, that's great! I just realized that the module may also be disabled. There isn't a module enable/disable panel yet.
On the dev branch, it shouldn't alert you to a new version now either

Sounds good! Yeah that's better for the dev branch. Haven't tested with your latest commit but before it would only show the alert to a new version if you did the force update which is expected (and now working).

I'll close this one for now

Hi @nabeelio
I have the same issue and as I checked my corn jb is working well and also the updater module is enabled now but I still getting the below error:
cURL error 3: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)


Add explicit annotation for strict mode

I got the following error when running with angular-localization:
"Error: [$injector:strictdi] function($injector, $http, $q, $log, $rootScope, $window, localeConf, localeEvents, localeSupported, localeFallbacks) is not using explicit annotation and cannot be invoked in strict mode
...

I fixed the issue with explicit annotation.

Good catch. IMO, this is an issue at the gulp build level rather than source code.
Fixed in 299475306ac9c0027ad0ed00832da0be2c8511b9


Maps: Make controlled component

Props should not be accessed in the constructor.
https://github.com/salesforce/design-system-react/blob/master/components/map/index.jsx#L88
Plan is to remove state and make selection object required.

Update:

Props should not be accessed in the constructor has been completed.
Examples are broken.
I'm unsure about how to make the Map component work in CodeMirror or the doc website.
Selection needs to be required.


Article prompts need filtering for special characters that cannot be part of a valid file name

"FileNotFoundError: [Errno 2] No such file or directory: 'outputs/run_1706269702/The_US_GDP_Numbers,_opinion_of_Top_Fund_Managers_and/or_Bank_CEO.html'"
It looks like if the article prompt has characters that can't be part of a valid file name the program breaks before completing with an error message similar to the above.

Can you tell me how to produce this error again?

It looks to me like if you request an article that has a / in teh text. Like "Opinion of XYZ and/or ABC" it creates an invalid filename and the whole thing breaks. "/" needs to be either disallowed in the original request or better filtered out. There may be other special characters that cause the same or similar problem. I am pretty sure that in this case the problem is that "/" is not allowed as a file name.

@ciconsulting good catch, I will push a fix soon

thank you @sharma-aarushi!


Remove custom doubling allocation strategy in

Is your feature request related to a problem or challenge?
As I noted on https://github.com/apache/arrow-datafusion/pull/9025 https://github.com/apache/arrow-datafusion/pull/9025/files#r1468533266
There is a custom allocation pattern in VecAllocExt that doubles the size of the allocation each time
https://github.com/apache/arrow-datafusion/blob/d594e6257b34a5ad47112e26d41516aaeb19e6dd/datafusion/execution/src/memory_pool/proxy.rs#L39-L50
The actual rust stdlib also uses ths approach, but appears to handle overflows better :
https://github.com/rust-lang/rust/blob/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/alloc/src/vec/mod.rs#L1918-L1929
https://github.com/rust-lang/rust/blob/fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6/library/alloc/src/raw_vec.rs#L405-L436
Thus I don't know why we have our own custom doubling implementation
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Interestingly, I wrote an example / test
    /// # Example:
    /// ```
    /// use datafusion_execution::memory_pool::proxy::VecAllocExt;
    /// // track how much memory is allocated in the vec
    /// let mut allocated = 0;
    /// let mut vec = Vec::new();
    /// // Push data into the vec and the accounting will be updated to reflect
    /// // memory allocation
    /// vec.push_accounted(1, &mut allocated);
    /// assert_eq!(allocated, 8); // space for 2 u32s
    /// vec.push_accounted(1, &mut allocated);
    /// assert_eq!(allocated, 8); // no new allocation needed
    ///
    /// // push more data into the vec
    /// for _ in 0..10 { vec.push_accounted(1, &mut allocated); }
    /// assert_eq!(allocated, 40); // underlying vec has space for 10 u32s
    /// assert_eq!(vec.allocated_size(), 40);
    /// ```

And this fails:
assertion `left == right` failed
  left: 48
 right: 40

Left:  48
Right: 40
<Click to see difference>

As I think the logic is incorrect


huntorrent.org

Vendégként nem látok semmit:

Because the ads appear after you log in. :D But maybe this is too deep for ad-blocking. I'm sorry to came here with these bugs.

@Hulayki Yes, that's why I wrote that I only checked as a guest (just only in Hungarian, sorry). Basically, the filter doesn't support such sites, but if you send me a filtering rule proposal, I will be happy to include it.

@scripthunter7 Here are the lines:
||huntorrent.org/pic/banners/kielegules.gif$image ||huntorrent.org/pic/banners/1betsport.gif$image ||huntorrent.org/pic/banners/1betcasino.gif$image
And I deleted the empty space of ads:
huntorrent.org##div.mb-2.text-center:nth-of-type(2)

@Hulayki Thank you! In your opinion, blocking banners can be generalized in the following way?
! Matches with all file names
||huntorrent.org/pic/banners/*.gif$image

@scripthunter7 Yes, it works fine.


2022.08a Iteration Plan

SAP teams plan to work on the following issues/pull requests in our next iteration:

PoC to use ABAP file formats for interfaces in ABAP git as experimental feature (see abapGit/abapGit#5658; won't be closed with this iteration)

The iteration lasts 2 weeks and ends on August 15, 2022.

Iteration Results
Closed
Open

PoC to use ABAP file formats for interfaces in ABAP git as experimental feature (see abapGit/abapGit#5658; won't be closed with this iteration)


Use certs for Unix platforms

Closes https://github.com/conda-forge/git-feedstock/pull/7
Fixes https://github.com/conda-forge/git-feedstock/issues/8
This replaces PR ( https://github.com/conda-forge/git-feedstock/pull/7 ) and cleans up the work we did there.
Here we configure git to use certificates to ensure it is able to clone using SSL. As the certificates (a separate package, ca-certificates) are pulled in as a dependency of openssl, we are guaranteed to have them through that dependency.
We first add a test that should fail without certificates. Then we make the changes needed to fix it.
Also, pinned this properly to match the pinning wiki.
cc  @msarahan @pelson

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Pushed the test, which we can see fails. Also, pushed the fix, which we can see passes. Note this works inspite of the problems curl is having ( https://github.com/conda-forge/curl-feedstock/pull/3 ) so this is a very robust solution. Though we should fix curl first and then fix this.

Lgtm.  Merge if appveyor passes.

Thanks @msarahan.


Need uninstall instructions for Ventura 13.3

General troubleshooting tips
Before logging an issue please check that:

[ ] You have the latest version installed (There may be a beta version that fixes your issue), see here for the latest releases and bug fixes: https://github.com/JohnCoates/Aerial/releases
[ ] Your issue isn't already mentioned in our issues. You may find a workaround there or a similar request already made.
[ ] Your problem isn't mentioned in the troubleshooting page.

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.
Required information
In order to help us sort your issue, we ask that you provide the following information:

[ ] Mac model:
[ ] macOS version:
[ ] Monitor setup:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
How do you uninstall in Ventura 13.3. Since installing this app, Apple Watch is not receiving authorisation requests.

@flidget I don't think the Apple Watch bug is linked to Aerial.
In any case, follow the instructions here:  https://aerialscreensaver.github.io/faq.html#uninstall
The documentation is slightly outdated, after following the Big Sur instructions, open a terminal and do :
rm "~/Library/Screen Savers/Aerial.saver"

This will remove the screensaver itself.

See this regarding Apple Watch : https://forums.macrumors.com/threads/apple-watch-no-longer-unlocking-mac-after-ventura-13-3-installation-merged.2385085/
Sadly this is a bug in 13.3.

Many apologies, I no longer want to uninstall.


tea --help lists available targets

Closes #145.
Following is the help generated from teaxyz/cli/README.md
usage:
  tea [-xdX] [flags] [+package~x.y] [file|URL|target|cmd|interpreter] -- [arg…]

modes:                                            magical?
  --exec,-x         execute
  --dump,-d         dump
  -X                magic execute
  𝑜𝑚𝑖𝑡𝑡𝑒𝑑           infer operation                  ✨

flags:
  --env,-E          inject virtual environment       ✨
  --sync,-S         sync pantries, etc. first        ✨
  --magic=no,-m     disable magic
  --verbose,-v      eg. tea -vv
  --silent,-s       no chat, no errors
  --cd,-C           change directory first

more:
  tea -vh
  open github.com/teaxyz/cli

targets:
  usage-as-an-environment-manager
    You can check what environment this generates with `tea`:

Sorry this has remained unmerged. I thought we were still debating how to identify if a block should be treated as a target or not, but I see this is ready and we can figure that out later.

We have removed executable markdown from tea deeming it out of scope. Sorry for your wasted work 😔


Adding new hex values for some base colors and adding dark mode colors

Fixes JIRA ticket DSD-1046
This PR does the following:

Updates some existing base color hex values and adds new dark mode base colors.
Updates the ColorCard component to display the new colors.

@bigfishdesign13
Some questions while working on this, all based on the dark mode figma file:

Should the "grays" colors be added in the dark mode storybook section as well? It's essentially the same as the default display but it contains the "heading" and "body" rows.
For the "UI fills" colors, some have "heading" and "body", others have "bg/page" and "bg/default", and some have all four. Is this intentional?
I'm assuming that "heading" and "body" are meant to have the text color values of "dark/typography/heading" and "dark/typography/body", respectively. Is that true?
Similarly, for "bg/page" and "bg/default", the text color values are "dark/ui/bg/page" and "dark/ui/bg/default", respectively. Is that true?

How has this been tested?
Locally in Storybook.
Accessibility concerns or updates

N/A

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] I have added relevant accessibility documentation for this pull request.
[ ] All new and existing tests passed.

Front End Review:

[ ] Review the Vercel preview deployment once it is ready.

@EdwinGuzman, please see below...

Should the "grays" colors be added in the dark mode storybook section as well? It's essentially the same as the default display but it contains the "heading" and "body" rows.

No.

For the "UI fills" colors, some have "heading" and "body", others have "bg/page" and "bg/default", and some have all four. Is this intentional?

Yes.  Those choices were based on how the colors are expected to be used.

I'm assuming that "heading" and "body" are meant to have the text color values of "dark/typography/heading" and "dark/typography/body", respectively. Is that true?

Yes.

Similarly, for "bg/page" and "bg/default", the text color values are "dark/ui/bg/page" and "dark/ui/bg/default", respectively. Is that true?

Yes, those should be reletive to the color mode.  For less confusion, remove the slashes and just use bg page and bg default.

@bigfishdesign13 ready for a full review now.

Updated.


Fixed Cell memory leak in signaled subscriptions

When using input signals with subscriptions (layer 3 - materialized views) I've noticed gradually degraded responsiveness in a UI that subscribed to many of these form of subscriptions.
Upon investigation, and with the help of the Flutter Dev Tools, I've identified an issue that seemed to point to a memory leak of Cell instances:

And indeed after some debugging, I've confirmed that when re-dash subscriptions were used as input signals, they created new Cell instances each time the signal gets resolved to a new value, and the old Cell was not garbage collected (probably because it remained referenced by its original dependencies)
This is corrected in this PR by introducing a signal cache (a registry if you will, like we use for normal subscriptions registered with reg-sub, but only for subscription signals)
This is managed internally by re-dash (as with all other regsitries) no changes required to existing code.
Result is much better UI responsivenes that does not degrade over time, and Flutter Dev Tools agree:

🚀😎


Dotnet tool version of ILRepack is out of date

The dotnet tool version of ILRepack is still only v1.0.1 even though the release notes for v2.0.35 state that it's possible to install ILRepack as a dotnet tool and one would expect that the version installed would be the latest version, 2.0.35.

OK, thankfully, when issuing ilrepack /help, the version string of the tool includes the git SHA of the commit that produced the tool. And, even though the version says 1.0.1, the git SHA is from a commit only back in this past September just a few weeks ago. So, it's not that old. BUT, looking through all the releases, there is not a single "official" release which corresponds to the git SHA of the dotnet tool version of ILRepack.
It would be nice if, when a release is created, that the dotnet tool version of the release would also be created at the same time, and that the executable version for that release would match the GitHub release version of the release. (Package versions can be different, as the version of a package does not necessarily need to be tied to the version of the executable inside—though it is helpful if it is; but sometimes it's not possible, e.g., a packaging error that requires a new package to be released even if the contents inside have not changed, is a perfectly good reason for a package version to differ from the package contents version.)

yes they are not synced and this is by design, such that the library and the tool can evolve independently if needed.

I'll try to publish the tool and the library in the same release next time.


[Improvement][All Modules] Keyword Search Improvement

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
For DolphinScheduler V3.0.0, all the search actions can only  be triggered by pressing the search button in project list page, process list page and etc.
Mostly, users will press Enter after they finish typing the things they want to search, it is not user-friendly to press the search button again by hand.
Therefore, maybe it's better to allow Enter to trigger the search action.

Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@SbloodyS  @Amy0104  I'm interested this issue

I hope all search boxes can use the Enter key to submit requests, providing a better experience


Feature Request: Expose Time Tracker Start and Stop in API

Gitea version (or commit ref): 1.7.1 (Docker image from Docker Hub)
Git version: N/A
Operating system: openSuSE Leap 15.0
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:
N/A

Description
While it is possible to add time to an issue, it is not possible to trigger the functionality to start or stop logging time on an issue as it is provided by the Web Interface (see screen below) via API (in accordance to /api/swagger in version 1.7.1).
By this feature request I want to suggest to expose this functionality via API as well - including the ability to query if time us currently tracked ("Start" was issued but no "Stop" yet) or not.
Thank you very much for considering this feature request.
Background
Concrete Personal Example
Just my personal issue which would be solved by the implementation of this request:
We are managing our tasks and issues via the "issues functionality" in Gitea, which is working very well for us. By doing so, we also use the "Start" and "Stop" time tracking functionality via the Gitea Web Interface (which seems to had been introduced by #967) which comes very handy.
One issue with that is, that when an Gitea issue is closed by mentioning it in the commit comment or pull request (see #462), the time tracking is not stopped. That for itself would not be a problem as a web hook could be registered for issue changes and when called an API call could be issued to stop the time tracking on the issue - if such an API call would be available.
I would suggest not to change the behaviour when  the issue is closed by mentioning it in the commit comment or pull request, as this would allow the maximum flexibility but to allow for automation like outlined above it would be necessary to have the "Start/Stop" functionality exposed via API.
In General
In general I believe it would make a lot of sense to expose the "Start/Stop" functionality exposed via API as there could be a number of scenarios where this would allow automation for more efficient handling of issues in Gitea.
Screenshots
Time Tracker in UI for Reference

While this is nice, in the meantime while we wait on the PR for an API, I will update https://github.com/go-gitea/gitea/pull/4327 to take issues that are closed via commits into account too

@ekrgb #4327 has been merged so the root cause of this issue should be fixed.
The Stopwatch will be stopped whenever an issue is closed ( via close button or a commit. ).
There wouldn't be a backport to 1.7.X so you will need to
make use of the docker image built off master.
Regardless, this issue will still be opened pending a PR for the API.

@adelowo  great! thank you very much!


Include regression tests in PyPI tarball

In OpenBSD, we like to have the regression tests available in the tarball so we can easily do regression tests when updating ports.

As you've seen, the current tests are quite minimal and have to be extended.
When this is done the size of the binary test files will necessarily increase.
That's why I'm not really a fan of including them in the build package.
I could change the test script a bit,
so that it downloads the test files on demand.
By doing so the build package will stay small while the tests can still be executed without much trouble.


Text changes

I've made some changes to the text and added my details to the slide.

Thank you, @jamestripp ! Your contribution really improves the text!


ChatGPT独享账号，到手即用

Additional context
ChatGPT独享账号，到手即用
http://bwww.vip/ddiu8081.html

Thanks for taking the time to fill out this bug report! Please read this note otherwise your question may be closed directly:

If the language of the README is English, please use English to ask questions. This allows more people to search and participate in the issue.
For Q&A, please ask your questions in the discussions and not in the issue, if the repo has Discussions
Ensure the bug was not already reported by searching on GitHub under Issues.
If you're unable to find an open issue addressing the problem, open a new one. Be sure to include:

A title and clear description.
As much relevant information as possible.
A code sample or an executable test case.


return Nyaplot plot instance instead of nil.

This will help me to use the Nyaplot plot object for further configuration like weight, height, etc in daru-view : https://github.com/Shekharrajak/daru-view/pull/3 .
IRuby notebook will still display plot.

Ping @zverok @v0dro @lokeshh

@Shekharrajak can you confirm that you've checked that this works in iRuby? I'm good with this change if yes.

@v0dro ,Yes I have checked it. It is working fine.

Ok. Let @zverok approve and we can merge.

Ping @v0dro


Update our definition of labels to comply with BIDS

Our ways of defining labels: https://github.com/ivadomed/ivadomed/wiki/repositories#derivatives
Does not comply with BIDS: https://bids-specification.readthedocs.io/en/latest/05-derivatives/03-imaging.html#discrete-segmentations

I see the whole derivatives are not longer in use and now moved to file base level label entities, it seems, this is a good timing for incorporating BIDS Loader module update to reflect such changes as well in Loader v2. Will add this to the upcoming agenda.

@dyt811, IIUC the "derivatives" folder is still there but not shown in the templates. Typically in BIDS the folder "pipeline_name" is under the "derivatives" folder as shown here.
I'll try to take a look at the differences/similarities between the BIDS derivatives  spec and our ivadomed convention before today's meeting.

Here is the link to the slides from the meeting:
https://docs.google.com/presentation/d/1hMZfYwqIXa7sVX_X-gU1icr45cKuCyagQRXY9nfGVuU/edit#slide=id.g14cbbc890a6_0_0
I will add shortly some before/after filename examples in the slides so it's easier to follow.

As discussed, the specifications that works best for most of our current type of labels is "mask".
The template is:
<source_entities>[_space-<space>][_res-<label>][_den-<label>][_label-<label>][_desc-<label>]_mask.nii.gz
where:

<source_entities> is the name of the corresponding image without the modality suffix and extension (ex: without T1w.nii.gz).
The suffix is always _mask.
The anatomical structure segmented would go in the label entity (ex: _label-sc_, _label-axon_, etc)
Reference to the original contrast can be put under the description (desc) entity (ex: _desc_T1w_, desc_T2w_, etc)

"dseg" and "probseg" could still be used in specific cases as well, for examples:

dseg: mask combining more than one segmentation masks (ex: axonmyelin masks produced by ADS but not used for training in ivadomed)
probseg: non-binary masks (aka soft masks)

From the meeting, here are some points that we need to look into if we decide to move forward in that direction (in no specific order, feel free to add/modify the list):

[ ] How to transition from one convention to another i.e. do we want to support both versions (preferably not) and what does it means in terms of updating our datasets and for our external users.
[ ] The specification only covers MRI datatypes (anat/func/dwi), is it also applicable to microscopy? (IMO yes) If so, should we start a BEP/PR in BIDS to add microscopy to the derivatives specification for segmentation masks?
[ ] Update Mocker from PR #1201 to generate mock data for the BIDS derivatives convention.
[ ] Update unit_tests for the BIDS derivatives convention.
[ ] Look into what are the additional JSON files that are REQUIRED/OPTIONAL with the BIDS derivatives convention.
[ ] Impact on ivadomed loader:

[ ] Is PyBIDS able to index correctly the BIDS derivatives files, including parsing the filename entities and JSON sidecar metadata in the dataframe. May be related to https://github.com/ivadomed/ivadomed/issues/860.
[ ] Impact on the “pairing” between the image and GT.

[ ] Impact on ivadomed output/evaluation:

[ ] Possible impacts on prediction filenames.
[ ] Possible impacts on evaluation functions for comparing GT and prediction files.

Update:
I did not have time to work a lot on this project, but I did some investigations on a similar project for "derived dataset" that could be useful do this issue as well, see summary in 860.


Invalid Tibber configuration out of nowhere after updating - but fixes itself?

Describe The Bug:

I have updated everything on my homebridge install and ran into this issue:
It seems like the plugin has trouble reading the config, even though it hasn't been changed.
Also, there are no logs on the plugin config page for this plugin?
[08/02/2024, 11:17:48] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:09] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:09] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:14] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:16] [HomebridgeTibberPrice] [relativePriceSensor] Failed to update price in background Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:27] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:28] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.
[08/02/2024, 11:18:32] [HomebridgeTibberPrice] [relativePriceSensor] Failed to get price Invalid Tibber configuration. Check logs.

in this state the accessory is not responsive (doesn't show humidity)
a few restarts later:
[08/02/2024, 11:21:16] [HomebridgeTibberPrice] Found Home, with ID: <id here...>
it works again.
then I updated some more things (including Node.js and homebridge) and this happened again, first errors, a few restarts later it works again
To Reproduce:

not sure yet.
I removed and re-added my home-id from the config when troubleshooting,
perhaps removing it has some effect
Expected behavior:

no errors and logs with more info on any errors that might show up
Logs:
see above
Plugin Config:
{
    "accessToken": "....",
    "priceIncTax": true,
    "activatePriceGraphing": false,
    "activatePriceSensor": false,
    "activateRelativePriceSensor": false,
    "activateGaugePriceSensor": true,
    "platform": "HomebridgeTibberPrice"
}

but I removed, re-added, and removed a home id again during all of this
Environment:

Plugin Version:
Homebridge Version: 1.7.0 UI v4.55.1
Node.js Version: v20.11.0
NPM Version<EMAIL_ADDRESS>/opt/homebridge/lib/node_modules/npm
Operating System: Raspbian GNU/Linux Bullseye (11)

Hey @ThunderFD ! Interesting, haven't seen this myself. Will investigate later today 👍


release: bump to version 1.1.0rc2

Fixed

Fixed an issue where authors property was not detected (#437).
Fixed an issue where submodules of git dependencies was not checked out (#439).
Fixed an issue with Python constraints from markers (#448).
Fixed an issue where the latest version of git dependency was selected instead of the locked one (#449).

Do we want to include #447. It's kind of a regression that makes it very hard to write a dynamic version plugin / breaks existing plugins. I probably can bring it over the finish line later this day.

Do we want to include #447.

If we can finish this today, that's fine IMO. But my time is quite limited from the afternoon on and we should get out the RC today. So if necessary someone else might do the releases.


Integration Test - Release - 2022/04/12 06:20:43

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#reassign PRMergerTest2

#reassign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#please-close

#unassign PRMergerTest1

#unassign NonAllowedUser


Enable unit testing with Renode for the Bluepill target as part of CI.

With the addition of running all the unit tests on a software emulated bluepill target with Renode, we add an additional 25s (on my i7-7820HQ) to the running time for test_bluepill.sh
Addresses http://b/146226672

@JakubJatczak and @PiotrZierhoffer: turning on Renode as part of CI for bluepill.


Generate a github app installation key for runner registration

Optionally use a private GitHub app with read and write access to
organization self hosted runners to register.

I self-certify!


What about Node.js ?

Node.js has a label for "good first contribution" too.

@sotayamashita: Thank you for raising this. I'll be happy to add Node.js
Could you send a PR to address this?

@Roshanjossey Sure. I'll create it soon

This issue was resolved in c94c729

Wow, I am a contributor now !! Thanks a lot.


Not compatible with Zeitwerk loader in Rails 6+ ?

I'm trying to use this gem inside a Rails 6 project, but I'm getting lots of errors just trying to reference the library.
Errors like:
uninitialized constant HTMLCSSToImage
It works in Rails.env.development environment with a
require "HTMLCSSToImage"
at the top of my file, but that breaks when I deploy to a staging or production Rails environment (likely due to some incompabibility with the Zeitwek loader?)

Sorry for the delay, missed this notification!
Did you try with the require in all lowercase?
require "htmlcsstoimage"

I just tried it with a Rails 6 app (Zeitwerk enabled) and it worked in both development and production mode.

If that doesn't work could you share your specific Rails version? I'll try to recreate that way. Thanks!


[msal-angular-v2] Adding B2C sample

This is PR is draft for adding a B2C sample to msal-angular-v2 samples.
There are currently a few issues with it, I would appreciate some help:

I’m having difficulty getting msalGuard to obtain tokens for my protectedResourcesMap. Right now I’m acquiring them manually via acquireToken*. I’m suspecting the issue is due to the fact that, when you first sign-in, accessToken field is returned as an empty string “” from B2C (see the issue). If the guard is looking up for access tokens in cache, that might be the root cause, though I could be wrong.

Another issue is about retrieving account in cache. When a user flow, say edit-profile is initiated, msal cache stores this as a separate account, as the resulting homeAccountId is a different string: e.g. GUID.b2c_1_susi.GUID vs. GUID.b2c_1_edit_profile.GUID. As far as I see this is the only difference between the two account objects. This is rather complicating the account selection logic. Right now I’m signing out the user after editing their profile, but the user experience is not desirable (possibly related).

Finally, a noob issue: I can’t make typescript not complain when accessing IdTokenClaims in AuthenticationResult payload, as the object might be null (strict null checks) (see also)

Coverage decreased (-11.7%) to 70.27% when pulling cbda0ef0e88b7946a05a2000d23273635de56f93 on angular-v2-b2c-sample into 81d6145cba4f55a5615b610255edabdd12dcab9b on dev.