Delegate route matching logic from  to  (feature request)

Hello,
currently you have following logic in <Switch> component:
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Switch.js#L41-L60
<Switch> component makes assumption, that it will always receive the 'whatever' component, but with the specific options (path, exact, etc).
What the bad here is that if you'll want to wrap <Route> component in HOC with a different props interface, this new <HocRoute> won't work with <Switch> anymore, because <Switch> has its own copy-pasted matching logic and it, actually routes and only then switches.
What I want to propose is to delegate routing logic to <Route> components only. E.g. by creating static  computeMatch() method and by calling element.type.computeMatch(props, router) instead of calling matchPath() on props, that do not belong to <Switch> component.
I know, that element.type is a little bit hacky, but this will allow a great composability and extendability of react-router.
The use cases
Named routes
You can implement something like this:
<NamedRoute name="home" component={HomePage} />

import { Route } from 'react-router-dom';

const routes = {
  home: '/'
};

class NamedRoute extends Component // or it can be extends Route too {
  static computeMatch({ name, ...rest }, router) {
    const path = routes[name] || '/';

    return Route.computeMatch({ path, ...rest }, router);
  }

  render() {
    return <Route {...this.props} />;
  }
}

Route aliasing
<Route aliases={['/', '/index']} component={HomePage} />

import { Route, Switch } from 'react-router-dom';

class AliasRoute extends Component {
  static computeMatch({ aliases, ...rest }, router) {
    // btw. the alias can be the whole object
    // with props for Route instead of only path
    return aliases.reduce((match, path) => {
      if (match) {
        return match;
      }

      return Route.computeMatch({ path, ...rest }, router);
    }, null);
  }

  render() {
    const { aliases, ...rest } = this.props;

    return (
      <Switch>
        {aliases.map((path) => (
          <Route path={path} {...rest} />
        ))}
      </Switch>
    );
  }
}

This component can actually solve another <Switch> nesting problem, but the actual <Switch> component is hidden inside <AliasRoute>.
Switch nesting
The <Switch> can actually implement computeMatch() too and allow nesting:
  static computeMatch({ children, location }, router) {
    let match = null;

    React.Children.forEach((child) => {
      if (match) {
        return true;
      }

      match = child.type.computeMatch({location, ...child.props}, router);
    }, null);

    return match;
  }

I'm not sure I'm sold on this. Re-using a property of the component seems like a good idea, but it means we are depending on the type of child given to Switch.
I'm also pessimistic about a hidden API surface. This should be more out in the open. Perhaps  could use a computeMatch prop that takes a function for computing the match. That is more explicit and visible.

@timdorr Yep, I've busted that secret today :D
We can keep that secret with my proposal too. You just need to check, whether the element actually has the method required. If no, then skip it.
The feature with rendering of <div>'s depending on path prop is not the expected behavior and I hope, no one will exploit it.

Perhaps could use a computeMatch prop

So you accept the idea of traversing and passing props to some function, but you want that function to be a prop too. Am I right? So instead of child.type.computeMatch we will call props.computeMatch, right?
It looks good too. But this will force the client code to provide computeMatch and thus, will delegate the whole routing logic to client code, because you won't check defaultProps of HOC (the only way to set props on HOC so that the client code won't be forced to pass them) and won't traverse to it's children (from the <Switch> point of view it is children of children to get the first needed child and there is no way to know when to stop).
You'll be able to do this:
<Route computeMatch={(...) => matchPath(...)} />

but you won't be able to do this:
function HocRoute({ computeMatch }) {
    return <Route computeMatch={computeMatch} />;
}

HocRoute.defaultProps = {
  computeMatch: (...) => matchPath(...)
};

The problem with <Switch>, that it tries abstract 'if-else' to remain declarative. It is not possible without hidden API (if you are examining/changing the props of children this is already a hidden api). If you'll try to make logic more explicit, you will delegate the major part of logic to client code.
I think that Switch can be an exception in order to make the client code more declarative. As for me static function in routable components looks more explicit, than routing logic hidden in Switch with implicit overwriting of props.computedMatch from Router.

I'm currently having problems with the same issue (having my own route component and not being able to say "don't use this route"). Having a SwitchableComponent#computeMatch override check looks best to me, due to its ability to look at the props of the component via this.props.
My use case is routes that are only available when a user has certain permissions. This is currently "not easy" to "very difficult" to specify with just components.

It's been a while now, any update on this ?

I'm encountering similar issue:
<Switch><Child path="/foo"/></Switch>
const Child = ({path}) => (
  <Route
    path={`${path}/:foo?`}
    render={
      ({match}) => { /* Stale match from switch */ }
    }/>)

Wouldn't checking here if path and exact are same before reusing computed match be an easy and safe fix?
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/Route.js#L18

I'm also having problem with wrapping <Route> with custom component inside <Switch>.
I need something like this to be done:
<Switch>
  <ExtendedRoute path="/route">
    <Route path="/extended/route">

But the only working solution is to call ExtendedRoute as function and return <Route> component from it, wich seems very ugly :cry:


Tracking issue: Add all required predicates for hashes

Origial issue: https://github.com/RedHatInsights/insights-data-schemas/issues/28

Validators for following hash algorithms have been implemented (including unit tests):
md5Validator
sha1Validator
sha224Validator
sha256Validator
sha384Validator
sha512Validator
sha3_224Validator
sha3_256Validator
sha3_384Validator
sha3_512Validator
shake128Validator
shake256Validator
BLAKE2Validator

Validators for following hash algorithms have been implemented (including unit tests):
md5Validator
sha1Validator
sha224Validator
sha256Validator
sha384Validator
sha512Validator
sha3_224Validator
sha3_256Validator
sha3_384Validator
sha3_512Validator
shake128Validator
shake256Validator
BLAKE2Validator


How to choose the correct enviroment for installation including all functions like eye tracking?

I have seen on the official document that to obtain the full fuctions, we should be based on Windows. MeanWhile, the official document also says WSL is needed.
So whether to use WSL or Windows command to construct the DeyeVR?

Hi, sorry for the confusion. We are working on improving this with an upcoming release.
WSL used to be the required/recommended installation method on windows since we used bash scripts (.sh) to copy files over, but recently we revamped this installation method with python that is os-compatible with batch (windows shell) and unix (linux/mac). So now you do not need WSL and can do all your installation from the cmd (using make install and/or make check in the DReyeVR repo, just like with Carla).
It is true that the Eye-tracking and logitech-steering-wheel plugin currently only support Windows at the moment, so you'll need to install DReyeVR on a Carla installation running on Windows to enable these features. If you'd like to individually enable/disable these (and upcoming) features you can toggle these flags here (the defaults are enabling the eye tracking and logitech wheel)

Thank you for answering! In recent days, I'm trying to build carla on windows.
Later on, I will install DeyeVR based on windows cmd completely rather than WSL.

Hi, I encounter some new issues and I'm still rather not sure about them after looking through large quantity of documents. As I mentioned in my last question before, I want to fulfill the complete functions of DeyeVR.
My problem is about Eye tracking part.
Problem 2-4 are mainly about the compatiability between UnrealEngine 4.26 and VRS Plugin.

Does Variable Rate Shading(VRS) is particularly necessary or not for eye tracking? I think it's yes but I'm not very sure.
If question 1 is essential, we use UnrealEngine 4.26 in DeyeVR, but here . Did you revise these files according to it or just ignore them?
There are several versions of VRS here, but 4.26 is just not in the lists of them. How to choose the right VRS Plugin version? I wonder how you choose them. Thanks very much!
According to here, it seems that we need to add some extra codes. I don't know if we need to do so.

Best wishes.

Hi,
Good questions! I'll answer in order:

Variable Rate Shading is a technique to modify (downsample or upsample) the "quality" of the rendering shader in select areas of the scene depending on various factors: fixed, content-aware, eye gaze. We are primarily interested in this to achieve extra performance by reducing the quality (and rendering cost) of the periphery which we can calculate using our eye gaze data. However, for DReyeVR's default Eye tracking, VRS (and foveated rendering) is NOT required. It is entirely an (optional) optimization process. In fact, it is currently broken in main but we have WIP development to get it functional again.
Question 1 is not essential, so you can skip all the Foveated-rendering notes. But we did have to use a modified UE4 fork from CarlaUnreal, for best results on 0.9.13 you should use the commit d40ec35474e8793b4eea60dba6c4f051186e458e.
I worked a bit on porting the ViveSR (from UE4.24) work to UE4.26 myself, but it is not ready for production yet. Currently we have seen positive results in the Editor but not in Shipping build yet. Once this is working we'll ship this feature to all users.
To use DReyeVR normally (without Foveated Rendering) you don't need to use any of this extra code, all the important code is already provided by us. You only need to install the SRanipal (and optionally Logitech) plugin and use the CarlaUnreal fork described above. If you have any questions or are unable to download SRanipal plugin <IP_ADDRESS> or <IP_ADDRESS>, contact us and we can provide you with a copy.

You mean, VRS has broken in 'main'?

Currently, DReyeVR does not support VRS because the code changes to UE4.26 haven't been successful yet. I am personally working on this and it should be fixed in the near future. This is currently an optional feature that is disabled by default (see here) so end users don't have to worry about it.

Oh, good guide, thanks!
On windows, the offical document says we need LogitechWheel and SRanipal Plugins as following:

But it also points out that we need install UE4 SteamVR plugin.

So do we need to place the unzipped folder in carla/Unreal/CarlaUE4/Plugins/ as following?

Hi, yes you should be able to install SteamVR from the steam application itself, and installing the steamvr unreal plugin is only required for Linux builds (which it looks like you are not using). With SRanipal (for eye tracking) and Logitech (for steering wheel) installed you should be able to select to "play in VR mode" in the editor once SteamVR is installed. For more help you can refer to the SetupVR.md guide.

Hi, no, this is not normal behavior and there is definitely something wrong. You should not be seeing crashes at all in the shipping build (CarlaUE4.exe -vr). Can you check if you can find crash logs in the WindowsNoEditor folder after the crash?

The log (CarlaUE4.log) files for shipping crashes should be in the WindowsNoEditor/CarlaUE4/Saved/Crashes/ directory.
Additionally, you can force the game to enable logging while in package/shipping mode by adding the following line to the Target file (in Carla/Unreal/CarlaUE4/Source/CarlaUE4.Target.cs) and rebuild. Then you should see logs in all your package builds located in C:\Users/%YOUR_USER_NAME%/AppData/Local/CarlaUE4/Saved/Logs/CarlaUE4.log
// to make it look like this:

public class CarlaUE4Target : TargetRules
{
	public CarlaUE4Target(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;
		ExtraModuleNames.Add("CarlaUE4");
		bUseLoggingInShipping = true;//                 <--- added here
	}
}

See this guide for more help

运输崩溃的日志 ( CarlaUE4.log) 文件应该在 WindowsNoEditor/CarlaUE4/Saved/Crashes/ 目录中。
此外，您可以通过将以下行添加到目标文件（在 中Carla/Unreal/CarlaUE4/Source/CarlaUE4.Target.cs）并重建来强制游戏在打包/运输模式下启用日志记录。然后你应该在位于的所有包构建中看到日志C:\Users/%YOUR_USER_NAME%/AppData/Local/CarlaUE4/Saved/Logs/CarlaUE4.log
// to make it look like this:

public class CarlaUE4Target : TargetRules
{
	public CarlaUE4Target(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;
		ExtraModuleNames.Add("CarlaUE4");
		bUseLoggingInShipping = true;//                 <--- added here
	}
}

CarlaUE4.log

请参阅本指南以获取更多帮助
Hi,
Today, even in the UE4 Editor it doesn't work either. In other words, it also crashes after launching in UE4 Editor, not only in 'CarlaUE4.exe -vr' from x64 cmd.
After rebuilding, I see the log file in 'C:\Users/%YOUR_USER_NAME%/AppData/Local/CarlaUE4/Saved/Logs/'. It was generated after executing 'CarlaUE4.exe -vr', reporting errors as following(line 477 to 492 && line  598 to 599):

It seems that some oponents are missing, what should I do next? Reinstall DReyeVR or something else?

Hm, I haven't seen this error message before. Did you run Update.bat on the vanilla Carla prior to installing DReyeVR?

You can explicitly download SRanipal <IP_ADDRESS> from this link: https://hub.vive.com/en-US/download/SDK-v<IP_ADDRESS>.zip

I verify I run Update.bat on pure Carla before installing DReyeVR.
About next question, I use <IP_ADDRESS> rather than <IP_ADDRESS>. Next I will change it to <IP_ADDRESS>.

Hi,
Is it(Bug 2) essential to fix in windows cmd(not WSL)？

If necessary, how can we do that? Should we run this before it? Because I don't see 'make patch-sranipal' in the installation command summary

Yes, bug2 must be fixed. This can be run with make patch-sranipal CARLA=\PATH\TO\CARLA as defined here. Sorry for the confusing documentarion! We are working on improving this in the upcoming release

Yes, bug2 must be fixed. This can be run with make patch-sranipal CARLA=\PATH\TO\CARLA as defined here. Sorry for the confusing documentarion! We are working on improving this in the upcoming release.
(The patch_sranipal.sh is an outdated reference before we updated our build system to python+make)

It doesn't matter. So we don't have to run 'make patch-sranipal' before running 'make patch-sranipal CARLA=../carla'?

另外，您使用的是哪个版本的 SRanipal？你能确认它是 <IP_ADDRESS> 而不是 1.3.6+

Cheerfully, it works! Thanks!

Great, yeah we've also seen unknown issues with SRanipal 1.3.6.+ so we recommend exactly <IP_ADDRESS>
Is it working in both Editor and Package mode?

太好了，是的，我们也看到了 SRanipal 1.3.6.+ 的未知问题，所以我们推荐 <IP_ADDRESS>
它是否在编辑器和包模式下工作？

Yes, it works in both 'CarlaUE4.exe -vr'  from x64 cmd on windows and  Editor.
Here is in 'CarlaUE4.exe -vr' from x64

Here is in Editor.

In addition, I feel performance in ' CarlaUE4.exe -vr' from x64' is much better and more fluent than in the Editor, although in Editor the performance is OK. Mine is NVIDIA 3080

Awesome, glad to hear it! We are working on updates and should have improved performance features coming up in the next release.

@GustavoSilvera
Hello, recently I encountered one problem when installing DReyeVR. But I still can not find an suitable way to solve it.
When running make package in x64 command line, it reports one strange error as the second picture shows.


Turbolinks breaks Foundation tabs

Scenario to repeat the problem

I load a page with foundation tabs
call  $(document).foundation()
Using ajax i replace the existing tabs with a different set of tabs with different anchors
when i call $(document).foundation() i get an Exception Uncaught TypeError: Cannot read property 'split' of undefined for this line https://github.com/zurb/foundation/blob/master/js/foundation/foundation.tab.js#L131

If no tab with the memorized anchor is found, then it throws an error and other JS code after this line does not get executed.
My solution was to patch the Foundation.libs.tab.reflow function
Foundation.libs.tab.reflow = function(){
  this.default_tab_hashes.length = 0
}

and call $(document).foundation('tab', 'reflow')
before $(document).foundation()

Can you try initializing Foundation like this? It has helped with some issues
$(function(){ $(document).foundation(); });

We're looking for ways to avoid this for Foundation Sites 6. Until then, have any suggestions?

As we write JS for the next version, we'll keep turbo links compatibility in mind.

I know this is an old thread, however for anyone who got here through Google:
place foundation init function within turbolinks load event (new turbolinks):
`
document.addEventListener('turbolinks:load', function() {
$(function(){ $(document).foundation(); });

});
`


Dropdown as "block level button" will not open menu

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue

Decide you want to have a "block level button" as the trigger element for the dropdown menu
Wrap a
 around the trigger element
Click the trigger element: The dropdown menu will not open (a JS error is thrown).

Reduced test cases

       Dropdown link

Action

Another action

Something else here

CodePen reduced test case
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
v.5.1.3

The encountered issue comes probably from https://github.com/twbs/bootstrap/blob/427c089961c8773386de0503a1da8b586587df38/js/src/dropdown.js#L98
which expects that the direct parent contains any .dropdown-menu. It confirms technically that adding an extra
 in the middle causes unexpected results.
Maybe it is a bit difficult to silent this JS error @GeoSot isn't it?
In the Dropdowns - Examples documentation:

Wrap the dropdown’s toggle (your button or link) and the dropdown menu within .dropdown

Maybe it worth adding more details about the HTML structure to respect or adding another example with
  if it represents a common use case for Bootstrap users.

Even if the issue is fixed I let it open for the moment to see if some improvements can be made and to have other opinions

I think our docs are clear on the required markup for components like this. Closing as a won’t fix.


SwiftUI Image Loading Bug

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[X] I have read the wiki page and cheat sheet, but there is no information I need.
[X] I have searched in existing issues, but did not find a same one.
[X] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
This is an issue in SwiftUI. When the KFImage is onscreen, everything loads immediately and all is well. However if the view refreshes while the KFImage is scrolled offscreen, it shows the placeholder view and won't load the actual image. If I scroll back up and trigger another refresh, then the image will load eventually. It's the same image URL loading every time.
I don't know exactly what you need to help debug this, I'm not very experienced with SwiftUI yet so it may be something I'm doing wrong.
Here is the code I'm using to display the image. I've confirmed that the display URL is indeed the same every time:
KFImage(viewModel.imageURL())
	.placeholder {
	Text(viewModel.item.displayName)
	.font(.headline)
	.fixedSize(horizontal: false, vertical: true)
	.multilineTextAlignment(.center)
	.lineLimit(3)
	.minimumScaleFactor(0.4)
}
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxWidth: screenMetrics.size.width * 0.75, maxHeight: .infinity, alignment: .top)

Update on this. I didn't realize this was related to my issue when I was first researching, but since then I stumbled on #1660 and tried adding .loadImmediately() to my view, which seemed to have fixed my issue. Going to go ahead and close this, sounds like it will be fixed in version 7.x anyway.


Initial commit, based on semenodm's original contribs

Based on semenodm's original contribs to https://github.com/laserdisc-io/scanamo-json
Co-authored-by: Dmytro Semenov<EMAIL_ADDRESS>

tests + CI coming soon


Remove version: OpenJS.NodeJS.LTS version 18.17.1

Replaced by another Pull Request
Microsoft Reviewers: Open in CodeFlow

https://www.github.com/microsoft/winget-pkgs/pull/143386#issuecomment-1986949152 [Policy] Needs-Author-Feedback

Close with reason: See discussion in above linked issue;


License?

This project doesn't seem to have a LICENSE file, which means it can't currently be used in other projects without asking the author for permission on each one. The original Git Re-Basin repo is MIT.

thanks. fixed


feat: Add support for function input/output encoding/decoding

Motivation
Added support for Function input encoding and output decoding.  This is in reference to issue #210
Solution
Added trait FunctionExt that defines 2 methods: encode_input(...) and decode_output(...) and an implementation of the trait for json_abi::Function.  Currently this resides in resolve.rs.
PR Checklist

[X] Added Tests
[X] Added Documentation
[ ] Breaking changes

discussing this approach internally and will loop back

As I dig in a bit more, to grok all of core, I'm wondering if SolType is intended as a (better) replacement for  ethabi Token.  If that's the case, should encode_input() take a SolType as arguments vs DynSolValue?

ethabi::ParamType -> DynSolType
ethabi::Token -> DynSolValue

ethabi::ParamType -> DynSolType ethabi::Token -> DynSolValue

Ok. I'm on the right track then. However, at a higher level, I can still envision the need for something like ethers::Tokenizable to go to and from DynSolValue.

implementing Into<DynSolValue> seems to be sufficient? 🤔


Medication_requests and dispense autoterminator performance improvement

It should work in batches/ not update all

https://github.com/edenlabllc/ops.api/pull/231

Works well on dev for requests and dispenses


[Feature] custom plugin/theme folder location

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
add an option in the settings somewhere to set a custom plugin/theme folder location
instead of using "%appdata%/BetterDiscord/plugins" you could change it in the settings to use another folder like "Downloads/plugins" or "Desktop/plugins" or wherever you feel like putting it
Describe alternatives you've considered
making symbolic links(is this really the solution?)

This is something that BD itself would need to handle (tracked under https://github.com/BetterDiscord/BetterDiscord/issues/539). You can currently use symlinked folders, those do work and that's what I use locally.


Copy Match might not be copying properly, version is correct, main file is wrong.

This seems to have been an issue of one of the vetala process manager sessions, not able to reproduce it easily


[BUG] /account is display as logged out user

Description
/account can be manually accessed as a logged out user and is displaying the UI. This should IMO be resolved by displaying the login modal on a blurred background. Closing the modal returns the user to the previous page or homepage.
PWA 0.9.1
SW 6.4

Same issue here, Something is going wrong with the route object in the auth.js middleware. My object looks like this:
fullPath: "/account/profile"
hash: ""
matched: (2) [{…}, {…}]
meta: (2) [{…}, {…}]
name: "undefined_profile_334d47a1d61f46c6adc292ad7bdb9714"
params: {}
path: "/account/profile"
query: {}

The middleware is checking if the route is protected by it's name property but it got undefined and an id as name since the update. Guess the middleware is still correct but the issue is the name that's incorrect.


VT renderer works incorrectly when cursor is moved between writes

Windows Terminal version
Latest source
Windows build number
10.0.19045.4355
Other Software
No
Steps to reproduce
The original issue is described here: https://github.com/FarGroup/FarManager/issues/841
According to the comments, it regressed somewhere between 1.18.3181.0 - 1.19.11213.0
MRE: VtRendererBug.zip
STR: compile, run, follow instructions
Expected Behavior
The vertical bar moves right without affecting the underlying text.
It works as expected in OpenConsole.
Actual Behavior
The vertical bar and the underlying text are broken.
The third line is written into the second.
It doesn't work as expected in WT and other terminals that use OpenConsole, e.g. WezTerm.

I've managed to trace it down to https://github.com/microsoft/terminal/blob/f62d2d5d2c7b4188daf1d46f48faacf5ee2c717d/src/renderer/vt/XtermEngine.cpp#L281-L282
It looks like specifying the position explicitly fixes the issue:
-                std::string seq = "\r\n";
-                hr = _Write(seq);
+                hr = _CursorPosition(coord);

Which could mean that the cursor position in _lastText is tracked incorrectly / unreliably.

MRE: VtRendererBug.zip
STR: compile, run, follow instructions

P.S. I think the provided example reproduces the same issue.
Just in case if not, STR for the original one:

Get Far - https://github.com/FarGroup/FarManager/releases/
Run it.
In F9 - Options - Interface settings
uncheck:
[ ] Use Virtual Terminal for rendering
[ ] Fullwidth-aware rendering
check:
[x] ClearType-friendly redraw (can be slow)
Edit any file (F4)
In F11 - FarColorer - Configure - Main settings
check:
[x] Cross
set Cross style to both
Press CtrlHome to move the cursor to the upper left corner and then Right a few times.

We've talked internally about reverting #15500 for the 1.21 release. It's the source for all these issues.
On the current main branch, which targets version 1.22, we're thinking of potentially removing VtEngine in its entirety. This would then also fix the cursor invalidation issue introduced in #15500. Unfortunately, this means that this issue would intentionally exist on main for up to a couple months.

FYI, I did a git bisect with the VtRendererBug test case, and for me the issue first showed up in commit 72b44888b5487a41cf2f030de86daea34b30e9c0. However, I suspect it may be one of those things that's timing dependent, and that commit just exposed a bug that has always existed.

Thanks James, reverting 72b44888b5487a41cf2f030de86daea34b30e9c0 fixed it for me as well.

As for what's going wrong, this is what I've been able to establish:

When you write a line of text that extends to the last column, we set the _wrapForced flag, even though the line hasn't actually wrapped (this is partially tracked in #15602, although that's referencing the AdaptDispatch class, while this particular case is in one of the console APIs).

When the VtEngine outputs that line, and it sees that flag is set, it records the apparent wrapped state in the _wrappedRow field, again despite the fact that it hasn't actually wrapped.

At this point in time, the cursor is meant to be at the start of line 2, because that's where it was manually positioned, and the WriteConsoleOutput API doesn't change that. So at the end of the frame, the VtEngine tries to move the cursor there. However, because of _wrappedRow being set to the line above, it thinks there is nothing to do.

Even though the _MoveCursor method didn't do anything in the previous step, it still updates the _lastText field to where it mistakenly thought the cursor was (it thinks it's at the start of line 2, when it's actually at the end of line 1). This is why the subsequent output ends up the wrong location.

Ignoring bug number 1 for the moment, it seems to me that point 3 is also a bug, because the _wrappedRow field being set does not actually indicate that the cursor is on the next line, only that it doesn't need to be moved there if you're about to write a character. If you're just painting the cursor at that point, it needs to be moved explicitly.
So another possible way to fix this issue would be to set _wrappedRow = std::nullopt in the VtEngine::PaintCursor method before calling _MoveCursor.
That said, the conpty code is complicated, and I really don't know it very well, so there may be more to it than that. I'm just throwing this out there as potential solution.

Another simple test case that can be run from a WSL bash shell:
printf '\033[2J\033[1;999H*'; sleep 1; printf '\033[2H\033[65;1;1;1;999$x'; sleep 1; printf '\033[3HThis should be line 3\n'

The text "This should be line 3", should be on line 3 😄, but it usually ends up on line 2.
This one is not fixed by reverting 72b44888b5487a41cf2f030de86daea34b30e9c0, but it is fixed by the _wrappedRow patch suggested above.

Whichever the fix ends up being, I'm going to defer it until the next servicing wave for 1.21 - thanks for all the great investigations, everyone 😄

I've just realised that issue #17013 is another variant of this bug. And that scenario is also fixed by PR #17290.


As a developer, I can test auto-scaling by increasing and decreasing synthetic traffic

Copied from Azure Dev Ops Backlog
Tasks:

Documentation
ARM Azure tool to test the site performance.

moved to entref-appservice-containers project


feat: extracted two columns component

References:
VehicleReference design
Report suspicious
Motivation and context
Extract twoLayoutColumns component
How to test

Thank you 🌮

@talamcol what do you think about introducing a layout wrapper where you'd have a header, footer and content?

@talamcol thank you for the nice feedback.

[ ] Optimised Y-padding in the BaseGrid
[ ] Header as full width
[ ] Header outside the grid
[ ] Keep the with/without back link variations

Thank you 🥦


use groupby instead of vec allocation

Codecov Report

Merging #1582 (b5919ff) into main (44e0379) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1582      +/-   ##
==========================================
- Coverage   93.79%   93.78%   -0.02%
==========================================
  Files         251      251
  Lines       46329    46332       +3
==========================================
- Hits        43456    43454       -2
- Misses       2873     2878       +5

Impacted Files
Coverage Δ

src/indexer/segment_writer.rs
96.39% <100.00%> (+0.01%)
:arrow_up:

src/schema/document.rs
92.81% <0.00%> (-1.31%)
:arrow_down:

src/fastfield/multivalued/mod.rs
97.23% <0.00%> (-1.19%)
:arrow_down:

src/postings/segment_postings.rs
98.95% <0.00%> (-0.53%)
:arrow_down:

.../termdict/sstable_termdict/sstable/block_reader.rs
82.14% <0.00%> (+1.78%)
:arrow_up:

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


Update ShowInformationPage.class.php

Fix by terrasiel
Tested and woring

Does this fix #89?

yes


support extend, close #6

Coverage remained the same at 100.0% when pulling 638174659ec9c9f609ab49ff2b94e2fedec95f4d on extend into 03aaa6f5e9495ed75d21aa3c9e010ae26251c2cb on master.

Coverage remained the same at 100.0% when pulling 638174659ec9c9f609ab49ff2b94e2fedec95f4d on extend into 03aaa6f5e9495ed75d21aa3c9e010ae26251c2cb on master.


Remove all parts of Project approval forms model

This is a left over from earlier unfinished development. It will never be used and should be removed.

@frjo, does this mean removing all occurrences of ProjectApprovalForm? Even for the funds, labs etc?

@sks444 Yes.


Remove nginx from required in README.md

Nginx will be setup using docker image, it means that you might not install nginx yourself - docker will do it

Realized: pull request #120

To production: pull request #121


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Other
Brief description of your issue
Upgrade of package MSYS2.MSYS2 produces:
Installer failed with exit code: 1
Steps to reproduce
winget update -r

Name          Id            Version        Available      Source
----------------------------------------------------------------
MSYS2         MSYS2.MSYS2   20231026       20240113       winget

Installing dependencies:
(1/2) Found MSYS2 [MSYS2.MSYS2] Version 20240113
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1

Actual behavior
Installer failed with exit code: 1
Expected behavior
Successful update
Environment
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3007
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
No response

https://github.com/microsoft/winget-pkgs/issues/127282


check the module permission to add module

Fix #4234

@mitchelsellers @valadas - should this target the release branch?

@mitchelsellers @valadas - should this target the release branch?

That is what I was thinking too...

(recovering this from PR comments)
#4238 is merged to release branch instead of this one

It is on purpose, we wanted to have that in 9.8.0, I will rebase develop from the latest changes in the release branch shortly...


Unused imagesperpage setting

I don't see where the download/imagesperpage setting from "sources-settings-window" is actually used.
If it really is unused, it should be removed.

Indeed, I can't seem to find any usage of this either. 🤔
It might be some remaining setting from the pre-JavaScript Grabber era, and therefore should indeed be removed.


Time difference between ROS and Apollo

Hi Guys,
Recently I have started working on Apollo. I see that Apollo time is not same as ROS time.
Could anybody please let me know difference and also the relation between ROS and Apollo time.
Thank you,
KK

Thank you for the response... Having hard time in understanding.. when I run apollo using bash scripts/bootstrap.sh, it would run based on ROS time or is there any difference. ?

The three kinds of clocks in Apollo is different in time. Your Apollo time maybe the system time, because your project maybe workede in the Linux or other system, it's not the true ROS system.

@follow123 Thank you so much for the explanation .. :-) I got it working now..

Thanks for the help guys.. I will be closing this issue ...


Magisk Canary Bootloop on crDroid 13 v9.18

Device name: Pixel 5
Rom name: CRdroid
Android version: 13
Pixelify version: 3

Bug Description: Works with latest public version of magisk on CRdroid 13, but as soon as you upgrade magisk to canary version or directly try to install it on a system with magisk canary (https://github.com/topjohnwu/Magisk/releases/tag/canary-27006) it bootloops the system.
sadly magisk canary is necessary to get play integrity (device integrity) so it's not an option to use an older or the public release version of magisk

How do i get out of bootloop?
my phone keeps booting to fastboot mode only

How do i get out of bootloop? my phone keeps booting to fastboot mode only

What I did was reflash crdroid, luckily I just reinstalled my phone so I had all data backed up

dirty flashing a patched boot.img works, no need to reset your device


IndexError when saving file and auto-formatting is on

Description
What steps will reproduce the problem?

list = ['blah1', 'blah2']
print(sorted(list))
Issue with saving file
Traceback
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range
Traceback (most recent call last):
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2093, in _save_file
    self.modification_changed(index=index)
  File "C:\Users\Andy\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\editor\widgets\editor.py", line 2550, in modification_changed
    finfo = self.data[index]
IndexError: list index out of range

Versions

Spyder version: 4.2.1
Python version: 3.7.9
Qt version: 5.12.10
PyQt5 version: 5.12.3
Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree                    :  None (OK)
IPython >=7.6.0                 :  7.19.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  21.5.0 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
paramiko >=2.4.0                :  2.7.2 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.7.3 (OK)
pygments >=2.0                  :  2.7.3 (OK)
pylint >=1.0                    :  2.6.0 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.0             :  0.3.0 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.1               :  5.0.1 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
rtree >=0.8.3                   :  0.9.4 (OK)
setuptools >=39.0.0             :  51.0.0 (OK)
sphinx >=0.6.6                  :  3.3.1 (OK)
spyder_kernels >=1.10.1;<1.11.0 :  1.10.1 (OK)
textdistance >=4.2.0            :  4.2.0 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog                        :  1.0.2 (OK)
zmq >=17                        :  20.0.0 (OK)

# Optional:
cython >=0.21                   :  0.29.21 (OK)
matplotlib >=2.0.0              :  3.3.3 (OK)
numpy >=1.7                     :  1.19.3 (OK)
pandas >=1.1.1                  :  1.1.5 (OK)
scipy >=0.17.0                  :  1.5.4 (OK)
sympy >=0.7.3                   :  1.7.1 (OK)

Hey @mil01, thanks for reporting. This problem has been reported a couple of times before but we don't understand how it's generated.
Could you upload an animated gif that shows when the error appears? For that you can use the Licecap program.

Hey @mil01, thanks for reporting. This problem has been reported a couple of times before but we don't understand how it's generated.
Could you upload an animated gif that shows when the error appears? For that you can use the Licecap program.

@ccordoba12  I think I might have the save issue. It happens when I save file.
I think it may be somehow related to the code autoformatting (see gif). In gif I use CMD+S to save my file.
The problem disappears if I do not use "autoformatting when saving".

@ccordoba12  I think I might have the save issue. It happens when I save file.
I think it may be somehow related to the code autoformatting (see gif). In gif I use CMD+S to save my file.
The problem disappears if I do not use "autoformatting when saving".

Thanks @SergeiDBykov for the insight! It's really useful!

Thanks @SergeiDBykov for the insight! It's really useful!

@ccordoba12 After the problems with new version of spyder I returned to 4.2.0 and the error I described above is no more. I hope it helps to you.

@SergeiDBykov, this error could be fixed in 4.2.2 but we're unsure because we were unable to reproduce it.
Please let us know if you don't observe the error anymore when that version is released (we'll do that next week).

@ccordoba12 I was unable to reproduce this with Spyder 5.3.0 with the standalone installer on Windows:

Could you check by splitting the editor vertically and horizontally several times? And then saving in different split editors?
This could also happen on new editor windows, i.e. the ones you create with

No error with the Windows installer:

Ok, that's really good to know, thanks for testing. Let's wait to see if someone with 5.3 has this problem before closing.

Ok, I finally found the cause of this problem: closing tabs in the editor while a formatting operation is in process! That can be seen in the gif below:

@dalthviz, I think the solution is to use the file name, instead of the tab index, in the modification_changed and analyze_script methods of EditorStack. I got this clue from a comment in _save_file:
https://github.com/spyder-ide/spyder/blob/d8b9b022d08a7b4013426470aa5c15a236f703ba/spyder/plugins/editor/widgets/editor.py#L1930-L1933


feat: ability to specify docker org for baseimg

At the moment nvidia is being slow at pushing out ubuntu 22.04 cudagl images and we've been forced to create our own. This patch lets users use their own organisation images instead of nvidia's.
This adds a -baseorg argument to the build command.

I'm +1 on the spirit of this PR (make base image more configurable), bit -1 on actual implementation. It makes more sense to make base image fully configirable. Many usecases do not involve rendering at all and would happily use ubuntu-nn.mm for exame, without any connection to nvidia stuff.

I agree. I did this quick hack because I needed to quickly move on. Specifying the image in entirety is likely a better move.

I will remake this to make it a baseimg override instead.

I think changing the base image to nvidia:cuda instead of nvidia:cudagl also works:

https://github.com/adamrehn/ue4-docker/discussions/294#discussioncomment-4778592

@patrick-5546 thanks a lot for bringing this to my attention. I have changed my build to use cuda now. You should create a PR for it ;).


Update rand_lib.c to work well with MemorySanitizer

CLA: trivial

This is also not acceptable with CLA: trivial. Please submit a regular CLA.

Signed the CLA and sent it. Changed the patch to be more specific and fixed the preprocessor magic in https://github.com/openssl/openssl/pull/21136


[LSP] language server emits protocolVersion instead of jsonrpc

I see this was fixed in https://github.com/OmniSharp/csharp-language-server-protocol/issues/98 – would it be possible update src/Omnisharp.LanguageServerProtocol to use the updated version?
At the moment the issue is that lsp-mode from emacs fails to read response from the current implementation due to the missing jsonrpc property.
Related to https://github.com/emacs-lsp/lsp-mode/issues/415

I am getting the same issue. Any idea when it will be getting fixed in this repository Or how to get latest  OmniSharp.LanguageServerProtocol.dll in the omnisharp-roslyn ?

It seems this can be closed with release 1.32.11..

@ilohmar right, this works now as i have checked with emacs-lsp


Add docs for universal delegated gateway without transparent proxy

Description
If a user wants to configure a delegated gateway in the mesh on Universal mode without using a transparent proxy, we currently don't provide any information on how to achieve this. While it's a bit of an edge case, we should document the steps to help users set this up.

Triage: it makes sense, maybe we should even have a guide


[List] Sticky subheader overlaps scrollbar on iOS (all major browsers)

Steps to reproduce
Steps:
On any iOS 18.0.1+ browser

Open this link to live example: (official List demo page)
2.Scroll  the sticky sub-header list
3.Notice the list sub-headers overlapping the scrollbar

Current behavior
List sub-headers are overlapping the list scrollbar (overlay)
Expected behavior
List scrollbar stays "above" list content
Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: ListSubheader iOS scrollbar

This is a tricky one. Not sure we can land a proper solution. We'll investigate a bit. When the sticky subheaders have the same background color as the list, it's easy to subtract some pixels to avoid it covering te scrollbar. But doing that when the subheader has another background color makes it look really bad.

Hi, thanks for the response!
Another workaround would be adding some (right- or x-) padding to the List such that the overlay scrollbar would "land" outside the List content. I'm not sure while iOS scrollbar doesn't play well with sticky items; it looks fine on Android.

Hi, Thanks for the response!
Fortunately in my case, I've worked around it by adding some right padding as suggested, since there is no difference in color between the headers and rest of the content. I'm not sure why iOS scrollbars don't play well with sticky item, it looks fine on Android.

@functoria your solution works well when subheaders have the same background as the list scrolling container, but it'd be problematic if subheaders have a different background, a bottom border, etc.

Ok so adding isolation: isolate solves the issue. I'll put up a PR unless you @functoria are interested in creating one.


How to use the Command within the process? IGarnetApi...

How to use the Command within the process?
IGarnetApi GarnetServer

Thank you for your interest! In-process use of Garnet is not yet supported, however it is on our to-do list! No ETA yet, but stay tuned!


Feature fqdn entrypoint

This add a new option that allow changing the name of the python init symbol in order to bundle a bunch of cythonized python files into a single .so.
I explained the usage of this feature in the Initial post about it https://groups.google.com/forum/#!topic/cython-users/ZVrDYHAnMi8
To resume, this prevent the conflict between the same init name symbol between multiple cythonized files, when thoses files are within a single library (on android), or statically included into the final binary (on iOS, mandatory as dlopen is prohibed).
The option is named use_fqdn_entrypoint, default to False, and is handled as a compiler directive.
If i have a file at kivy/graphics/opengl.pyx, without the option, the entrypoint would be initopengl. With the option activated, it would be initkivy_graphics_opengl. Obviously a custom Python meta-importer is required, but it's up to the user to write it.

I'd like to have a more principled approach to bundling modules into a single so (or executable), complete with injecting the right import hooks, but that'd take longer to design. As this is a blocker for some platforms, I'm willing to consider this intermediate suggestion.
The name "use_fqdn_entrypoint" isn't very suggestive to me. Perhaps, as it's specified as a directive, let the user choose the full name itself (e.g. initmodule_cname=XXX) I would be open to sentinel values that indicate that the module name or fully qualified module name should be used.
Also, tests?

PEP 489 has a section about multiple modules in one shared library. Since Cython now has support for PEP 489 module initialisation, we should build on that.


utoronto, ingress-nginx: add azure required annotation to Service

When Yuvi upgraded utoronto's k8s cluster, the k8s Service for ingress-nginx that is of type LoadBalancer stopped receiving traffic.
It seems that this was caused by a failing health check by a AKS k8s service-controller, which then concluded the ingress-nginx-controller pods supposed to receive traffic via the Service should't get traffic. The issue was that that health check had changed and had to be configured now via an annotation.
This PR adds such annotation to the ingress-nginx Service resource, not just for utoronto which is an azure/AKS based cluster, but for all helm charts. The annotation is azure specific, so my assumption is that this should be fine in non-azure based clusters.
We could put this in utoronto config as well, but then we need to document and keep manage a specific step for Azure based cluster's helm chart config. I lean towards thinking setting it systematically is preferred but am open to setting it just for utoronto.

EDIT: Config put in utoronto specifically, but no docs are added on this being required for all AKS based clusters yet.
EDIT: docs added

I would definitely like us to keep this contained just for azure specific things rather than uniformly apply it across all cloud providers.

Updated to reflect Yuvi's comment - @pnasrat what do you think?

I agree with @yuvipanda as  under an active incident the focus of changes should be constrained to recovery to operable state, so keeping it to utoronto here makes sense and we can generalize to automatically add all azure at a later point

Thank you @pnasrat!!


Use the atom-text-editor tag instead of the editor class.

In index.less: Use the atom-text-editor tag instead of the editor class.
(this is from Atom's deprecation cop)

Just fixed a lot of deprecations in v0.5.0, re-open if this is still an issue.


remove satspay

https://github.com/lnbits/satspay

Codecov Report

Merging #1520 (23eebc3) into main (5a8db02) will decrease coverage by 0.27%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1520      +/-   ##
==========================================
- Coverage   48.91%   48.65%   -0.27%
==========================================
  Files          69       61       -8
  Lines        7823     7492     -331
==========================================
- Hits         3827     3645     -182
+ Misses       3996     3847     -149

Impacted Files
Coverage Δ

lnbits/helpers.py
68.26% <0.00%> (-12.50%)
:arrow_down:

lnbits/utils/exchange_rates.py
86.44% <0.00%> (-3.39%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support configure TPC-H connector in runtime

Why are the changes needed?

This PR proposes to introduce TPCHConf to support configure TPC-H connector in runtime, just like TPC-DS connector
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Thanks, merging to master


FuseCastCastPattern is unsound

The Cast canonicalization pattern FuseCastCastPattern
// onnx.Cast (onnx.Cast (%X, $type1)), $type2 = onnx.Cast (%X, $typ2)
def FuseCastCastPattern : Pat<
	(ONNXCastOp (ONNXCastOp $arg, $_), $type),
	(ONNXCastOp $arg, $type)>;

is unsound in some cases.
For instance the fusion of the two casts int32->bool->int16 to a single cast int32->int16 is unsound because int32->bool followed by bool->int16 changes, e.g., -2 to true to 1, whereas int32->int16 preserves -2.
The soundness of cast fusion between integer types depends on whether casts truncate or saturate (see issue #2209). For instance, fusion of the two casts int32->uint32-int16 to a single cast int32->int16 is sound for truncation (where bits are reinterpreted and high bits are ignored when going from 32 bits to 16 bits) and is unsound for saturation where int32->uint32 changes, e.g., -2 to 0 and the end result it 0 whereas the single cast int32-int16 preserves -2. Conversely, the fusion of the two casts float->int32-int16 to a single cast float->int16 is sound for saturation (assuming cast from float to integer maps out of range numbers to the min/max number for the integer type) whereas it is unsound for truncation where float->int32 preserves 70000 and then the int32-int16 cast truncates to 4464 whereas float-int16 changes 70000 to 32767 (max int16 number).

Agree. Cast that results in data truncation can not be ignored.

The pattern is now commented out. Reopening the issue to track the future effort to replace it with a version that fuses only casts that are sound to fuse.


small fixes (typo, abbreviations) + fix incomplete citations

(See notion for all the requested changes that I addressed here)

Summary by Sourcery
Fix typos, abbreviations, and incomplete citations in BibTeX entries. Adjust x-axis range and ticks in the confidence vs. performance plot. Correct a typo in the benchmark corpus figure description and fix incorrect model performance comparison in the appendix.
Bug Fixes:

Corrected author names and formatting in multiple BibTeX entries.
Fixed incomplete citations by adding missing fields such as 'eprint' and 'url'.
Adjusted x-axis range and ticks in the confidence vs. performance plot to correct display issues.
Corrected a typo in the description of the benchmark corpus figure.
Fixed incorrect model performance comparison in the appendix.

Enhancements:

Standardized abbreviations and expanded acronyms in the main text and BibTeX entries for clarity.

Thanks for the changes @marawilhelmi! I will try fixing the actions, and then merge


Protected resolver methods are not detected anymore (v5.2.4)

Hi,
PR #167 breaks protected methods in resolvers in v5.2.4, because "type.methods.toList()" returns only public methods.
https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html#getMethods()

Right, so (type.methods.toList() + ClassUtils.getAllSuperclasses(type).flatMap { it.methods.toList() }) should probably simply be reverted to (type.declaredMethods.toList() + ClassUtils.getAllSuperclasses(type).flatMap { it.methods.toList() }) to fix this.


Add requester pays to cli

Related issues and pull requests

Closes #15

Description
Includes an update to use the alternate extension to find a s3 url. To use:
$ stac-asset download https://landsatlook.usgs.gov/stac-server/collections/landsat-c2l2-sr/items/LC09_L2SP_092068_20230607_20230609_02_T1_SR --s3-requester-pays -i thumbnail

cc @philvarner
Checklist

[x] Add tests
[x] Add docs
[x] Update CHANGELOG

Codecov Report
Patch coverage: 63.52% and project coverage change: -1.48 :warning:

Comparison is base (f50accc) 70.28% compared to head (970d7a7) 68.81%.

:exclamation: Current head 970d7a7 differs from pull request most recent head 170c09b. Consider uploading reports for the commit 170c09b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   70.28%   68.81%   -1.48%
==========================================
  Files          13       13
  Lines         451      497      +46
==========================================
+ Hits          317      342      +25
- Misses        134      155      +21

Impacted Files
Coverage Δ

src/stac_asset/__init__.py
100.00% <ø> (ø)

src/stac_asset/s3_client.py
39.13% <18.51%> (-12.04%)
:arrow_down:

src/stac_asset/functions.py
66.66% <40.00%> (-0.91%)
:arrow_down:

src/stac_asset/client.py
91.26% <90.90%> (+0.83%)
:arrow_up:

src/stac_asset/_cli.py
91.48% <100.00%> (+0.37%)
:arrow_up:

src/stac_asset/errors.py
100.00% <100.00%> (ø)

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


Upgrade Python packages to at least the latest patch version.

Is your feature request related to a problem? Please describe.
We have a bunch of CEV warnings from GitHub which we should fix.
Describe the solution you'd like
Update all Python packages at least to the latest patch version to fix these CEV warnings.
Describe alternatives you've considered
None
Additional context
This will also be required for the new BlackDuck scan as these are going to put more emphasis on security besides licensing.

DoD checklist

[ ] Changelog updated
[ ] COMPONENTS.md updated / doesn't need to be updated
[ ] Schema updated / doesn't need to be updated
[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade

[ ] Idempotency tested
[ ] Documentation added / updated / doesn't need to be updated
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license
[ ] Backport tasks created / doesn't need to be backported

:heavy_check_mark: I have tested deploying the clusters for the following configurations: AWS / Azure x Ubuntu / RHEL / CentOS with all components enabled (at least 1 vm) and did not run into any problems.

Tested again after #2540. No issues found.


UKHPI - 1.4.3 Contrast (Minimum)

See https://docs.google.com/spreadsheets/d/1YS3N5ps9pJGFOxBDi9C2DwA37WQPIVax/edit?gid=1215429860#gid=1215429860&range=9:9

Completed as part of https://github.com/epimorphics/ukhpi/issues/406

@bogdanadrianmarc I'm going to need some screenshots/guidance on what you have done here so I can tell if you have met the requirement. Also, I think from the wording on the PRs as if you are addressing the issues in rows 10 and 11 of the spreadsheet (but the link above is to row 9)?

@bogdanadrianmarc I'm going to need some screenshots/guidance on what you have done here so I can tell if you have met the requirement. Also, I think from the wording on the PRs as if you are addressing the issues in rows 10 and 11 of the spreadsheet (but the link above is to row 9)?

The link points to row 9 as that is the main issue, but rows 10 and 11 are sub-issues of the main one so I've addressed them as well in this ticket. These are screenshots from before:

and after:

Notice the links are all underlined for better visibility. Modal close button also has a bigger focusable area so it can be clicked easier, and the location error message is now more visible as well.

OK great thanks @bogdanadrianmarc


Not live-server in packages tab after install. Can't start server.

If you have a problem launching a live-server, please try following steps:

Make sure you use the right hotkeys. After v2.0.0, the keys became ctrl-alt combination.
Try launching live-server from top menu: Package -> live-server -> Start Server to see if it works.

#57


Add some pkg/utils/url.go tests

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description


Progress indicator appears in wrong place if vertical height exceeds window height

Describe the bug
When I moved the progress indicator to the top bar, it never occurred to me (alas) that we would hide this on overflow, which means it is possible to have the progress indicator appear within the canvas as shown in the screenshot below.
To Reproduce

Open the clean up plugin with enough items that you need to scroll down.
Remove some item.
Watch the progress indicator turn up in the wrong place.

Expected behavior
The progress indicator should move to the top underneath the top navigation bar.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version:  114.0.5735.110 (Official Build) (64-bit)

Why not just move the progress indicator atop the tab bar (aligned with the very bottom of the the top app bar) in general?

Good idea, let me do a PR with that approach. Thanks for taking a look.

Why not just move the progress indicator atop the tab bar (aligned with the very bottom of the the top app bar) in general?

Hmmm, I find it a little distracting because it's placed between visually continuous  parts.
What about Github styles?


Improved UI

Issue #61
Changes Made:

Change of Font to Slabo
Multiple Cards on Large Screen.

Added Country Flag
Stars ★
Cleaner Buttons
Aligned Buttons in single line for large screens
Added Contests Count
Pointers on Hovers

Cleaner Mobile View

Minor UI Bug Fixings

It doesn't feel good!
If you can check new material design's documentation and make changes following the documentation, it would be great..
Also the font seems a little odd.

There are UI changes but it's fine, if you aren't finding them good enough for PR.

@yashchaudhari008 if you don't mind, can I use your API in my project?
Link

@yashchaudhari008 if you don't mind, can I use your API in my project?
Link

Sure Bro✌, just add original repo link showing API page.

Thanks :)


syntax sugar for oci_pull

This tightens up the attributes for the underlying rule, while making the macro much more permissive of various formats.
Fixes #135

I'm not even sure who we would ask that knows an answer other than personal opinion.


Harvest and use scale dependency information for services

Use in determination of validity (map might not display at global scale but will display at zoomed-in scale) and to message user regarding view scale.

@bglewis do OGC service metadata in GetCapabilities provide such an information? /cc @tomkralidis

I think scale dependency info is optional in WMS.  If it is present we should use it.  For service registries there is a need to handle this address the situation when neither valid default map extent nor scale dependency information is not provided.  This is a huge unsolved problem for service sharing.  Automated approaches are difficult but an admin tool / crowd-source tool that lets users set both scale dependencies and default map extent for remote services would be very useful.

WMS 1.3.0 provides optional Layer MinScaleDenominator and MinScaleDenominator elements; the WMS 1.1.1 equivalent being ScaleHint@min/@max.  This should be supported in OWSLib proper which you can use to satisfy this use case.

It would be interesting to figure out how many services/layers expose this before adding this to django models

@capooti: something like the below may help in the analysis:
from hypermap.aggregator.utils import get_wms_version_negotiate

num_services = 0
num_services_with_scale = 0
num_layers = 0
num_layers_with_scale = 0

wms_urls = ['http://geo.woudc.org/ows']

for wms_url in wms_urls:
    scalehint_found = False
    wms = get_wms_version_negotiate(wms_url)
    num_services += 1
    num_layers += len(wms.contents.keys())

    for layer in wms.contents:
        if wms.contents[layer].scaleHint is not None:
            scalehint_found = True
            num_layers_with_scale += 1
    if scalehint_found:
        num_services_with_scale += 1

print 'Number of services: {}'.format(num_services)
print 'Number of layers: {}'.format(num_layers)
print 'Number of services implementing scale hint: {}'.format(
    num_services_with_scale)
print 'Number of layers implementing scale hint: {}'.format(
    num_layers_with_scale)

Thanks, I was exactly thinking to something like this.
Let me try this on our WMS list to figure out what is the % of services which are exposing scales /cc @bglewis


Remaining thumbnails count

Hi, thanks for your awesome component.
I have one feature request. Is it possible to add remaining thumbnails count?
For example: I have 10 pics and I configured that I want to see 3 thumbnails. I don't want to show slider arrows for thumbnails, but I want to see how many picts remaining. For this I want to show label "+6" on the last thumbnail. And when i click to last thumbnail modal picture opens. And one more thing, clicking on any thumbnail opens modal image also.
Thank you.

Hi @fpmk, yes it is possible, I will think about it.

Hi, thanks man. It rocks.


about CR and LF

Sorry for the machine translation.
environment:

Windows 11.
Create sentences in notepad.
Read into Buffer with 'from_file()'.

result:
Line breaks were not recognized correctly.
investigation:
The line feed code in Windows is "0x0d0x0a"
On Mac/Linux, the line feed code is "0x0a"
The 'read_to_string()' used inside 'from_file()' reads the newline code as it is.
'line_count()' counts correctly because it counts '\n'.
'move_toXXX' recognizes it as a one-line string.
I tried changing "\n" in 'move_to_last_line()' but it didn't work.
first aid:
It is supported by reading line by line and adding a line feed code.
Is it possible to read 'from_file()' and recognize it correctly even if the line feed code is different?

The source 'amp' does not support Windows.
So I take it off.


Add ssl_cert to DAVClient for client certificate support

This adds the keyword argument ssl_certto the __init__method of DAVClient. The idea is to allow for passing a client certificate to the requests module.
Maybe, you might want to integrate this.

Thanks

Thanks for having merged it.


🐛 [Database] Can't write data into database

Bug report
Describe the bug
I can't write to the database in real time from my flutter code with the following code:"FirebaseDatabase.instance.refFromURL("https://c/").child("Users");"
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
I am waiting to be able to write to the database in real time but when I use the instance of firbaseDatabase.ref().child("").set({Object}) I don't see anything in my firbase option realtime database console
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
https://github.com/abdoul-kader1/Application-de-chat.git

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE
! Doctor found issues in 1 category.
 Flutter (Channel stable, 3.3.5, on Microsoft Windows [version 10.0.19044.2130], locale fr-CI)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.72.0)
[√] Connected device (4 available)
[√] HTTP Host Availability

! Doctor found issues in 1 category.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE
Dart SDK 2.18.2
Flutter SDK 3.3.5
calcule_calorie 1.0.0+1

dependencies:
- cupertino_icons 1.0.5
- firebase_auth 4.0.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_database 10.0.2 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities
meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- _flutterfire_internals 1.0.5 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.9.0 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.1
- clock 1.1.1
- cloud_firestore_platform_interface 5.8.2 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.0.2 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.16.0
- fake_async 1.3.1 [clock collection]
- firebase_auth_platform_interface 6.10.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.0.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.0.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_database_platform_interface 0.2.2+10 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.1+12 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- path 1.8.2
- plugin_platform_interface 2.1.3 [meta]
- sky_engine 0.0.99
- source_span 1.9.0 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.1 [source_span]
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- vector_math 2.1.2

Hi @abdoul-kader1, have you correctly set up your project on the firebase console?
What security rules are you using for the database?
Do you see any errors when you try to insert the data? If so, kindly share the error.

-Yes I have configured my project on the Firebase console thanks to the command flutterfire configure I will show you the result of the command :   Can't load Kernel binary: Invalid SDK hash.
Building package executable...
Built flutterfire_cli:flutterfire.
i Found 3 Firebase projects.
✔ Select a Firebase project to configure your Flutter application with · calcule-de-calorie (calcule de calorie)
✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios
i Firebase android app com.example.calcule_calorie registered.
i Firebase ios app com.example.calculeCalorie registered.
✔ Generated FirebaseOptions file lib\firebase_options.dart already exists, do you want to override it? · yes
Firebase configuration file lib\firebase_options.dart generated successfully with the following Firebase apps:
Platform  Firebase App Id
android   1:808999431348:android:0c9637bb0942b68953fbe1
ios       1:808999431348:ios:af55cd89bdc18de653fbe1
Learn more about using this file and next steps from the documentation:

https://firebase.google.com/docs/flutter/setup

-I use a true value for reading and writing
-I don't see any error when I call the code FirebaseDatabse.instance.ref() it was the code is ignored but when I call the code FirebaseAuth.instance I can see the users created

Hi @abdoul-kader1, your google-services.json file seems to be missing the firebase_url. After creating the database, your google-services.json file should probably be updated in your firebase console. Can you get a new google-services.json file from the console to see if it contains the firebase_url and try again to see if you still experience this issue?

I redid the connection of flutter to firebase from the console and I replaced the json file after comparing with the one I had using the command "flutterfire configure" but the result is the same I can not write in database in real time

Hi @abdoul-kader1, can you update your firebase dependencies to the latest versions to see if you still experience the issue? If you do, please provide update the source code in the repo you shared and let me know so I can try to repro with your code.
Thank you

I am experiencing the same problem here is the update of my deposit:
https://github.com/abdoul-kader1/Application-de-chat.git

Hi @abdoul-kader1, I used your code sample in a project I created and I am able to write the data into the realtime database just fine. The only difference I see is that your android & ios options in your firebase_options.dart seem to be missing the databaseUrl. Can you add the databaseUrl to the firebase options to see if you're able to write the data?
Below is what my database looks like using your code.

hello, I inserted the databaseURL in the file firebase_option.dart and now when I launch my emulator it crashes and displays this error:
[firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ API key not valid. Please pass a valid API key. ]

Hi @abdoul-kader1, the API_KEY in your google-services.json file does not match the API_KEY in your android settings in the firebase_options.dart
Kindly make sure that these 2 keys are the same and try again.

I did what you told me but it's tjr the same I can not write in the database with the code "FirebaseDatabase.ref()"j from my editor I do not understand anymore

Can you write to the database from the console or from your Flutter code??

Hi @abdoul-kader1,

Can you write to the database from the console or from your Flutter code??

I'm writing to the database using your code. See the recording below.
I'm not sure what is wrong on your end, but the code is working just fine for me.
Can you try the firebase_database example code to see if you still face the issue?

recording
https://user-images.githubusercontent.com/88313112/198528905-e3ba68ec-8116-40a9-90e1-daef80474031.mov

For you pass I don't know what's wrong with mine Okay but before please can you compare my gradle files with yours? It sends you back my file git up

https://github.com/abdoul-kader1/application-sms.git

Hi @abdoul-kader1, can you share a recording similar to what I did in https://github.com/firebase/flutterfire/issues/9775#issuecomment-1294587384?
Also, if you use the code sample from https://github.com/firebase/flutterfire/tree/master/packages/firebase_database/firebase_database/example does it work for you?
I have reviewed your project and I don't see anything odd in it.

Hello sir, I will send you the recording today and test the example of firebaseEnvoyé de mon iPhoneLe 31 oct. 2022 à 10:59, Daniel Agbemava @.***> a écrit :
Hi @abdoul-kader1, can you share a recording similar to what I did in #9775 (comment)?
Also, if you use the code sample from https://github.com/firebase/flutterfire/tree/master/packages/firebase_database/firebase_database/example does it work for you?
I have reviewed your project and I don't see anything odd in it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hi @abdoul-kader1, can you try running flutterfire configure again to re-setup the project?
Please also add try adding a try/catch statement around the block of code that you use to insert the data into firebase and print the exception so that we can see if there's any exception when you try to insert the data. Please provide the full output of flutter run that captures all the logs of you running the app.
Thank you

flutter run :
PS C:\Users\Kader\StudioProjects\application_sms> flutter run
Using hardware rendering with device sdk gphone64 x86 64. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...                            109,5s
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...                 5,7s
Syncing files to device sdk gphone64 x86 64...                   2 547ms
Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
Running with sound null safety
An Observatory debugger and profiler on sdk gphone64 x86 64 is available at: http://<IP_ADDRESS>:63942/hSmqlJVi0EQ=/
The Flutter DevTools debugger and profiler on sdk gphone64 x86 64 is available at: http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:63942/hSmqlJVi0EQ=/

https://user-images.githubusercontent.com/104219228/199630585-d099b5bb-cba0-4952-b002-4c8b531a22ea.mp4
I did and it's as if the code is ignored, it doesn't pass

Hi @abdoul-kader1, please try using the debugger to set a breakpoint at the point where the database call is made to see if that method is executed.
Also, please use screen-recording software on your laptop/desktop to capture the recordings, the recording from your phone camera is not very clear.
Also, it appears there may have been a miscommunication with my request for the flutter run logs. I meant provide the logs you get when you run the app and try to use it.
1 final thing, please make sure that the code in your repo is up to date so I can try running another test.
Thank you

I debugged with a breakpoint on the variable containing the connection to the database and in the log this variable has a null databaseurl I had to modify the "instance" method in order to have a non-null value but the result and the same step of adding data to firbase I send you a video in support with my updated github code given the heavy size of the video put them in my github project (video folder)
code source : https://github.com/abdoul-kader1/application-sms.git

I don't think the value being null has any effect on whether or not you're able to push the data into firebase.
I cloned your latest changes from scratch on a different laptop and the only changes I made were re-registering firebase so I could see the data in the console and everything worked just fine.
The rules I used for the firebase database are the test mode rules
{
  "rules": {
    ".read": "now <<PHONE_NUMBER>000",  // 2022-12-8
    ".write": "now <<PHONE_NUMBER>000",  // 2022-12-8
  }
}

At this point, the only thing that might be the issue seems that it might be your setup in the firebase console.
Can you manually insert data into the database through the firebase console?

recording
https://user-images.githubusercontent.com/88313112/200546544-808e86c5-971c-4ba5-8685-d949f4a54a0d.mp4

Manually I can insert data and also I have defined the rules in locked mode

I will change the rules of the database to see the result

I put the rules of the database in test mode but I still can't insert data from my computer but the addition you made in the video I saw them in the console I thought the problem came from my computer so I shared my code to a friend from Ivory Coast, he too could not write in the console I went to the stack overflow site and people were experiencing the same problem as me:

Hi @abdoul-kader1, can you share the link to StackOverflow where you saw people with the same issue as you?

https://stackoverflow.com/questions/71961332/cant-write-to-firebase-real-time-database

I'm not sure what the issue could be and since I cannot reproduce this, I'll label it for someone from the team to take a look.

Okay, it’s understood, let’s hope the problem is solved

Hello


How to read dynamic xml as string type with out specifying schema.

Since my xml files are dynamic and nested  from different  sources I am not able to specify schema, it automatically inferring the schema and changing my data.
Sample file

0001

After reading with out specifing schema

1 . // Data got changed

It treating as number and removing my prefixed zeros.  while processing strictly I should not change the data.
Please guide me is there is way How to read xml file with specifying Schema type and  should treat everything string type?

You can't read data of differing schemas together; they wouldn't make sense in a DataFrame. If you just mean that some fields are optional, you can specify a schema that marks those fields as optional. You can also parse different XML files with different schemas separately. The library does some basic schema inference already.


Add Channel Points Automatic Reward Redemption Add classes

The names and scheme comes from this: https://dev.twitch.tv/docs/eventsub/eventsub-reference/#channel-points-automatic-reward-redemption-add-event
I noticed this subcription doesnt exist in the eventsub of TwitchLib, so I am doing an attempt to add the automatic reward redemption models to core, which then can be used in TwitchLib.EventSub.Websocket.
As it is my first pull request inside of here; let me know if there are any words that should be changed or anything that I forgot to add to the models.

@AoshiW Let me know if it looks good?

Actually, can we target dev branch for this change instead of main?

Actually, can we target dev branch for this change instead of main?

Sure @swiftyspiffy , but I dont know how I can swap the target to the dev branch in a pull request. But I can try to mess around and see if I can do something about it.

Let me know if this was the correct way to swap the target. It should targeted the dev branch now.


Invalid Key Error.

Describe the bug
A clear and concise description of what the bug is.
I am trying to incorporate this awesome github action into my workflows. Following your steps and I can replicate steps 1 through 3.1 now problem.  Log 1.
However when I go to enact step 3.2. I receive error invalid key data
Log 2.
I am unsure what to do.
when I use my app private key generated in creating the GitHub app, it fails and when I use the same key as MY_GITHUB_TOKENit also fails. Log 3.
Thanks in advance.

Hey @adamdjbrett ! Try to remove org name from the repositories key:
- repositories: adamdjbrett/data-format-converter-action
+ repositories: data-format-converter-action

Not sure if that problem caused by this mistake but we can double check after the change. Also, if your PAT works and satisfies your needs then no need to use GitHub app. It is either 3.1 or 3.2.
You can find more information here: https://github.com/actions/create-github-app-token?tab=readme-ov-file#create-a-token-for-multiple-repositories-in-the-current-owners-installation

Update: I made the switch and now I get the following error. log.
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/data-format-converter-action/data-format-converter-action/actions/staging-tests'. Did you forget to run actions/checkout before running your local action?

I reverted the change.  and now I get a new error message:
Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app

log file
Below is a screenshot of my app settings are these correct?

Thats odd. Thank you for catching that. I have removed those lines of code. Apologies.
Here is my current error message log
Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app

UPDATE its working now after I removed
          owner: adamdjbrett
          repositories: adamdjbrett/data-format-converter-action

however now I cant find the yaml file that it is supposed to generate.

however now I cant find the yaml file that it is supposed to generate.

GitHub action does not generate file. Take a look at Outputs. It produces data itself that you can save to the file if you want/need.
${{ steps.<step-id>.outputs.output }} # data itself
echo '${{ steps.<step-id>.outputs.output }}' > result.yaml # saving to YAML file

thank you very much. I think I am getting closer. would you be so kind as to take a look at the github action file now did I set this up correctly?
The log is green but there is no new file in the repo.

It is better to use ' instead of " because JSON also has " inside:

- run: echo "${{ steps.xml2json.outputs.output }}" > result.json
+ run: echo '${{ steps.xml2json.outputs.output }}' > result.json

Workflow file itself looks good to me. To be sure that file was saved, just add the step below and you should see file content in the logs output. If you want to see this file in your repository after pipeline finished its work then you need to push it to the branch. There are many ways on how to do it (using GHA, using git, etc.), so up to you to decide.

- run: cat result.json

that worked! thank you so much for your help.


Loaded Scripts explorer: normal files are not shown in single folder workspace

testing #31327:

file hello.js in "test" folder; test opened in VS Code

Explorer shows "test" node without children:

This works fine in multi folder setup:

I accidentally introduced this bug because of an unexpected behaviour of asRelativePath. See #31553.

Just hit this during my testing too. 👍

@joaomoreno this is fixed in the latest Insiders. Did you try that one?

Not yet 👍


how can we cut down on multi-app noise?

I don't believe Bookkeeper introduced this problem, but I think the rendered YAML branches pattern can be inherently "noisy," particularly when configuration for multiple applications resides in one common repository.
I want to make some more observations and describe this problem in greater detail before suggesting a solution, but I also didn't want to lose track of this issue.

I'm closing this because our own dogfooding is showing us things aren't very noisy anymore.
We can re-open this if cases where things still get a little noisy become more apparent.


Fix travis build to check status of tests and benchmarks

I made a terrible mistake in #989, that allows travis builds to succeed, even if the tests and benchmarks fail.
The section after_success ignores the exit code of the executed scripts. [1] I changed those scripts to be executed in the section script.
Thanks to @pervazea for finding this and sorry to everyone for making this dump mistake :(
[1] https://docs.travis-ci.com/user/customizing-the-build/#Breaking-the-Build

Coverage increased (+0.02%) to 76.843% when pulling 56ad448433124ad41e8883999ecfc324743cf44b on tcm-marcel:fix/travis_failing_tests_ignored into 366bcf0d4addb3e21d345fe60895b82e5c9042c2 on cmu-db:master.

@pervazea I also added https://github.com/cmu-db/peloton/pull/1126/commits/56957bf1266387ad762030a960abd9a2e9b96599 which fixes the failing JDBC tests. Before the network refactor peloton ignored if a non-existing database was requested, but now the it fails. I changed it to use default_database.
Together with #1120, #1122 and #1125 it should fix all problems.

Nice. Thank you.

From: Marcel Kost<EMAIL_ADDRESS>Sent: Monday, February 5, 2018 8:08 PM
To: cmu-db/peloton
Cc: Pervaze Akhtar; Mention
Subject: Re: [cmu-db/peloton] Fix travis build to check status of tests and benchmarks (#1126)
@pervazeahttps://github.com/pervazea I also added 56957bfhttps://github.com/cmu-db/peloton/commit/56957bf1266387ad762030a960abd9a2e9b96599 which fixes the failing JDBC tests. Before the network refactor peloton ignored if a non-existing database was requested, but now the it fails. I changed it to use default_database.
Together with #1120https://github.com/cmu-db/peloton/pull/1120, #1122https://github.com/cmu-db/peloton/pull/1122 and #1125https://github.com/cmu-db/peloton/pull/1125 it should fix all problems.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/cmu-db/peloton/pull/1126#issuecomment-363275774, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhDfwNkSx0CFZVeWyOz4qVALcYkjWpcWks5tR6YVgaJpZM4R5_3f.


Bitcore (BTX) changed address prefixes in <IP_ADDRESS>.

PUBKEY_ADDRESS:   0 --> 5
SCRIPT_ADDRESS: 0 --> 125
See https://github.com/LIMXTEC/BitCore/commit/0ee70eb84f6b36ca2c69036e62c6c0f67312aa7a
old p2pkh address: 1LduV2rRQAcTW1BbaDxjR7r2UwnYdsWSUM
new p2pkh address: 2YeiSMkHXi15xJbreUxgsVfPNTZNmZRHHS

Thanks for this.
PUBKEY_ADDRESS is 3 not 5.
See https://github.com/LIMXTEC/BitCore/commit/0ee70eb84f6b36ca2c69036e62c6c0f67312aa7a#diff-64cbe1ad5465e13bc59ee8bb6f3de2e7R148
I'll include this change in the next release.


[Android] Calling unregister before register results in FCM token being null

When calling NotificationHub.unregister() and then calling NotificationHub.register afterwards, the FCM token is null and the following is outputted in logcat:
FCM Registration Token: null
NH Registration refreshing with token : null
When the app is reopened the registration is successful.

Duplicate of #34