[FR] Add a flag in project:create for whether to install unit test framework

Feature Request
Add a --unittest or similar flag for the project:create command. When specified (perhaps with Y|N), this would automatically answer the corresponding unit test prompt when creating a new project. This would improve the potential for automation in the project instantiation workflow.
Potential Behavior

If --unittest or --unittest Y is provided, install the unit test framework when creating the project.
If --unittest N is provided, do not install the unit test framework when creating the project.
If --unittest is not provided, prompt as usual.

Hello, @GRUBES It would be a good addition! We have added this to our backlog. Thanks for the suggestion.


How to install migration tool from .zip?

Hello,
I found the instructions how to install vsts migration tool from Chocolatey, but how to do that using .zip file I just downloaded from github?

Thank you in advance!

Just unzip and run the exe.
WARNING: This tool is not designed for use by someone who is not comfortable in developemnt.

@MrHinsh Close?


Cast and crew images not displayed properly

Contact Details
No response
What happened?
They don't cover the circles completely and we end up having vertical bars on both sides
In which device are you seeing the problem on?
No response
Relevant code
No response
Code of Conduct

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

i can fix

yes


Only the first line of multiline Haskell errors is displayed

I'm still seeing this behavior with Vim 7.4, latest ghc-mod and syntastic.
I notice that syntastic sets -b to "" for the ghc-mod checker. As far as I can tell this is causing all the lines to become concatenated.
If I change the separator to "\n" then only the first line is displayed. Is syntastic unable to display multi-line error messages?

@expipiplus1 Please open a new issue.  Explain what you did, what you expected to happen, and what happened instead.  If you have a test file that can be used to reproduce the problem, post that too.

@expipiplus1, see #1700 for a related bug.


Array may continue powering the vehicle after BPS faults

When the BPS trips, there is a potential for the car to continue operation because of incoming array power. It is unclear which regulation this violates, but it probably violates one of them.
One solution would be:

Choose some message(s) that the BPS sends out regularly
When these message(s) are heard, reset some timer
When the timer fires (meaning too long has passed), switch off the array and motor contactors.

This may require some coordination with the BPS team.

This was addressed by a recent change in the power system that was addressed by the hardware team, with some minor changes to the controls software logic. There are more details on the OneNote.

This was addressed by a recent change in the power system that was addressed by the hardware team, with some minor changes to the controls software logic. There are more details on the OneNote.


Expand documentation

doc: Minor improvement in tensor product documentation
This PR adds names to the objects mentioned in the page intro so users can more easily navigate to the relevant definitions and theorems in the page body.

Thanks!
bors merge


security profiles: discussion

There is a nascent concept of security profiles that needs to be tackled. I think we should remove it from the spec as it is a little too ill-defined at the moment.
The big idea is that a system can have a collection of "high-level" security profile options that a user can apply to their container. For example:

Default security profile
Privileged security profile
Untrusted security profile

These profiles would map to low-level details like seccomp filters, selinux profiles, apparmor profiles, etc. The challenge for the spec is to ensure that we define the "merge" operation from the restrictions that an image defines for itself and what the policy it is going to run under defines.

Prior art, in Kubernetes this is the security context

For Windows this could be utilized to MAP between Windows Server Containers and Hyper-V Containers.

We discussed this in the face to face and concluded that it makes sense to handle this at a higher level. Higher level could create profiles that map to specific values in the spec. Different vendors can't agree on what their security levels actually translate to and hence better left up to higher levels.


Avoid saving unvalidated fields

If there are any assigned attributes that are invalid, they should not be saved without validation.
This change saves only the DeviseSecurityExtension fields to prevent things like this:
user.assign_attributes(email: "") # bad input
user.need_change_password! # would save whole model, bad input without validation

Also it looks like there was a recursive loop inside need_change_password which I removed: please check if this is correct unless I missed what that was supposed to do.

Any bug fixes should include tests to ensure the same issue doesn't crop up again.

Sorry I missed your comment here from April... If this is still relevant I can add tests and rebase.
About your anti-pattern note, I was not changing the existing implementation: I can change it to respond_to?(:ago) but I don't think that would be any clearer... do you have a better suggestion for this?


Sync with upstream

Sync main branches and resolve conflicts

/retest

@israel-hdez It started as just a merge but I did a rebase recently to fix the CI test which might be the cause. Do I need to revert it?

@hdefazio Try re-synching without reverting. Something like:
git merge ea2318c
Because ea2318c was the last commit you synced. If it does it cleanly, you may just push another PR with such merge to re-join the history. If there are conflicts... well... evaluate if it would be easier to fix the conflicts, or if you would prefer to revert.


[Navigation Reboot] Implement the navigation UP function

Tracking issue https://github.com/Expensify/App/issues/11768
Created a new branch navigation-refactor to which we will merge all the PRs of this refactor.
Implement the navigation UP function.
Bookmark in the doc
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01734c8f8ee1693f28
Upwork Job ID:<PHONE_NUMBER>369825280
Last Price Increase: 2023-03-12

Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Going to implement this

Job added to Upwork: https://www.upwork.com/jobs/~01734c8f8ee1693f28

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (Internal)

Not overdue, gonna be implementing this week.

Work will resume now once ECX is done

Unassigning CPlus for now, I will ask in the channel once the PR will be ready

Working on other PRs from the project so far, this will come next

Back from Easter, work continues

the main pr will be merged soon so this will be worked on shortly

Making this Daily as we are unblocked after removing the drawer navigation

Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
Feel free to drop a note in #expensify-open-source with any questions.

Work in progress

@staszekscp works on this, any update?

Hey, hopefully on Tuesday we'll post a PR with our implementation (on Monday there's a bank holiday in Poland), so we're close, :)

Thanks for the update, bank holiday in UK and Czechia too 🎉

Any updates here @staszekscp?

Bank holiday in 🇵🇱

PR hopefully gonna be merged this week

PR done, nothing to pay here


Command line task shows incomplete and out-of-order output from PsExec

We are using PsExec to run commands on a remote machines. Unfortunately, build task that invokes psexec shows incomplete and out-of-order output.
For example, this command line task prints the content of disk C on a remote machine. Task parameters:
Executable: c:\tools\psexec.exe
Arguments: -accepteula -u user_name -p password \<IP_ADDRESS> cmd /c dir c:\
Actual Build output contains only the first line from directory listing, and this line appears before the "connecting to":
Executing the following commandline. (workingFolder = C:\BuildAgents\1_work\yyy\xxx)
cmd /c c:\tools\psexec.exe -accepteula -u admin -p 1 \<IP_ADDRESS> cmd /c dir c:
Error message highlight pattern:
Warning message highlight pattern:
PsExec v2.11 - Execute processes remotely
Copyright (C) 2001-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
Volume in drive C has no label.
Connecting to <IP_ADDRESS>...
Starting PSEXESVC service on <IP_ADDRESS>...
Connecting with PsExec service on <IP_ADDRESS>...
Starting cmd on <IP_ADDRESS>...
cmd exited on <IP_ADDRESS> with error code 0.

When I ran this command from command prompt directly, I get the correct output:
PsExec v2.11 - Execute processes remotely
Copyright (C) 2001-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
Volume in drive C has no label.
Volume Serial Number is 1029-938E
Directory of c:\
12/21/2015  03:00 PM              Program Files
01/22/2016  03:19 PM              Program Files (x86)
11/18/2014  05:30 PM              Users
01/22/2016  02:16 PM              Windows
<...>
cmd exited on <IP_ADDRESS> with error code 0.

When started from the command prompt, PsExec shows connection progress in the same line of the console by overwriting it multiple times.  Maybe this breaks something in TFS build agent?
Build agent version: 1.89.1

Open an issue in the vso-agent-tasks repo
This repo is for the xplat linux and mac agent.  Good news is we're merging agents into a core CLR agent and someday it will be in this repo.


[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

@microsoft-github-policy-service agree

It should be displayed in Chinese. Maybe the character set set by your terminal does not support Chinese, try to change it to utf8?

I tried changing to UTF8, but the output was the same.

Sorry, I don't know what package I need to rely on to display Chinese in the terminal, because I always use it on the Chinese version of Windows, and it works very well. Maybe I need to specify a Chinese language package, but I don't know the exact name. Can you give me any help, thanks🙏🏻


Update locales.dart

Added hu language.

Oops, I've just realized I forgot to disable the Hungarian language in the latest release of Aves.
Normally I enable a new language in the app when the translation reaches 90% completion. When it does, i take care of integration in the app.
By the way, thanks for your contributions on weblate!

Hi! I crossed over 90% on weblate. In the next few days I want to reach 100%.

Thanks, that's great! I'll take a look to approve it (checking format, etc.) and take care of integrating it in the app.
Also, I'll add you as a super-user for Hungarian so you can approve and manage translations on weblate.

Nice, thanks again!
I'm taking a look now. One little thing I noticed: for plurals, like {count, plural, =1{1 column} other{{count} columns}}:

if there's no variation in Hungarian, you don't need to put all variants like {count, plural, =1{1 oszlop} other{{count} oszlop}}, you can simplify as {count, plural, other{{count} oszlop}}. I will fix them as I see them.
if there's actually some variations but the format is confusing, please let me know and I can explain further.

Another thing, I saw in your translations quoting with “option 1” (same as English) and „option 2”. The quotation marks for option 2 seem to be the proper ones in Hungarian, so I'll fix the others to be consistent.


Add registry errors for pull

Signed-off-by: TomSweeneyRedHat<EMAIL_ADDRESS>Buffs up the registry errors on pull.  Based on https://github.com/projectatomic/libpod/pull/84 by @baude.

LGTM
@rh-atomic-bot r+

Homu seems to be hosed, manually merging.


VectorField Improvements

Default colour drawn from colour palette (not defaulted to black).
Properly handles ArrowAnchor.Tip, ArrowAnchor.Tail (they were reversed)
Arrowhead in legend for vector fields (below):

I might return to do colourmaps, but I think this is good as-is.


Running on ESP32?

I'm experimenting with an ESP32 with OLED and BT, and was wondering if there would be a way to make this work on the ESP device? Could it be made lightweight enough?

I am interested in this as well.


Feedback from UIS team

Context
Thank you @quentinderoubaix for raising the points.
Proposal

[x] Jest is broken without manual changes (npm run test -w webapp fails)
Tracked via #1606
[ ] angular.json still includes karma / jasmine
[x] Playwright is broken without manual changes (npm run test:playwright or npm run test:playwright:sanity fail) Tracked via #1632
[x] .gitignore does not include the folder test-results of playwright
Tracked via #1632
[ ] #1654
[ ] No recommendation of the pipeline. No doc / setup for dependency / source code scanning (npm/yarn audit, CodeQL etc.)
[x] ESlint does not work after installing @o3r/eslint-config-otter as @angular-eslint/eslint-plugin-template is not installed
Could be related to #1661
[ ] ESlint has more errors after installing the missing dependencies…
Tracked via #1690

No recommendation of the pipeline. No doc / setup for dependency / source code scanning (npm/yarn audit, CodeQL etc.)

Is related to the feature #689 .


questions migrating from react-native-router

I with react-router i had a routing component made like so
<NativeRouter>
    <AndroidBackButton>
        <View style={{ flex: 1 }}>
            <Route exact path="/" component={DashBoard} />
            <Route exact path="/activity/:id" component={Activity} />
            <Route exact path="/detail/:type/:id" component={Detail} />
            ...
            </View>
    </AndroidBackButton>
</NativeRouter>

and i tried implementing RRN like so (is this correct ?)
<NativeRouter>
    <AndroidBackButton>
        <Navigation navBarStyle={{ backgroundColor: colors.lightBlue[500] }} titleStyle={{ color: 'white' }} backButtonStyle={{ color: 'white' }}>
            <Card exact path="/" component={DashBoard} title="Dashboard" />
            <Card exact path="/activity/:id" component={Activity} />
            <Card exact path="/detail/:type/:id" component={Detail} />
            ...
        </Navigation>
    </AndroidBackButton>
</NativeRouter>

in the first example the navbar is a plain view and so each component (Dashboard, Activity, Detail) has a NavBar components and controls things like title, color, buttons with props
I was wandering how could I maintain the same level of control, if possible, i had before

Hi @G3z! If I'm not mistaken: as you can see in <Navigation /> documentation, you don't need to wrap it in a <AndroidBackButton /> component or whatsoever.  As you can see in the Huge example, <Navigation /> just display the right <Card /> according on with route you're calling. Hope I could help you out :)

thank you! and for the second part: do you have any idea on what is the best pattern to manage the navbar from in inside my components ?

It can be interesting to handle these options in your 'parent' state, and then modify your navigation bar whenever this state changes imho.
I'm not 100% about it, but I think it could be something like this:
const NavBarModifier = (onPress) => (
  <TouchableWithoutFeedback onPress={onPress}>
    <View>
      <Text>Change navbar title !</Text>
    </View>
  </TouchableWithoutFeedback>
)

App extends Component {
  state = {
    title: 'Hello',
  }

  _onChangeTitle{
    this.setState(() => ({ title: 'world!' }))
  }

  render() {
    return (
      <Navigation
        navBarStyle={{ backgroundColor: 'purple' }}
        titleStyle={{ color: 'white' }}
      >
        <Card
          exact path="/feed"
          component={() => (
            <NavBarModifier
              onPress={() => this._onChangeTitle()}
            />
          )}
          title={this.state.title}
        />
      </Navigation>
    )
  }
}

To manage the nav bar from inside your components, you can do this :
class App extends Component {

  state = {
    fooTitle: 'Foo',
    barTitle: 'Bar',
  }

  setNavigationState = (key, value) => {
    this.setState({
      [key]: value,
    })
  }

  render() {
    return (
      <Navigation>
        <Card
          path="/foo"
          title={this.state.fooTitle}
          render={(ownProps) => (
            <Foo
              {...ownProps}
              setNavigationState={this.setNavigationState}
            />
          )}
        />
        <Card
          path="/bar"
          title={this.state.barTitle}
          render={() => (
            <Bar
              {...ownProps}
              setNavigationState={this.setNavigationState}
            />
          )}
        />
      </Navigation>
    )
  }

}

const Foo = (props) => (
  <TouchableHighlight
    onPress={() => props.setNavigationState('fooTitle', 'My new title')}
  >
    <Text>Change title</Text>
  </TouchableHighlight>
)

const Bar = (props) => (
  <TouchableHighlight
    onPress={() => props.setNavigationState('barTitle', 'My new title')}
  >
    <Text>Change title</Text>
  </TouchableHighlight>
)

You just need to use React state ! 🚀

Thanks !
I think it's worth making this an example in the documentation

PR are welcomed :)

I found some limitations with this method, I'll fix it soon.

Just push an example https://github.com/LeoLeBras/react-router-navigation/commit/653d41d9c4302e5714c00d05870c0c00a08d7d0e.
@G3z Yes the documentation should be updated. All PR's are welcomed.

I tried this apporach but it seems that the title prop in the Card component doesn't trigger an update in the actual title.
It works with title prop of Navigation component

I'm quite busy currently by myself with lots of other stuff. I'll investigate this next week.

This should be fixed in 1.0.0-rc.2

@LeoLeBras I'm following the pattern you laid out above, but it seems to have issues when you have multiple instances of a screen in the same stack.
Example:

Start at /home tab which has it's own <Navigation> component
Push to /home/profile/1234 and set the title to the username jane
Push again to another profile /home/profile/5678 and set the title to the username bob
Tap back arrow to go back to /home/profile/1234
Notice that the title is set to bob when it should be jane

I have a minimal repo that shows the issue here: https://github.com/zachrnolan/react-router-navigation-demo
This seems to be directly related to this issue, but let me know if you want me to create a new issue. Thanks!

@LeoLeBras Thanks for the reply! I'm happy to test the new version when it's ready. I have an app in production using Navigation Experimental and have been doing research on libraries to replace it. Your library is the best/easiest I've used so far, so I'm holding out for a v1 stable to start the replacement process.
Consider me in for any QA/feedback you need.

Great ! 😘


Clean up old documentation

There is no particular theme to these changes.
I just went through in a single pass and rearranged things that had
become somewhat stale..

@jakirkham any other comments?  OK to merge?  I figure we can add in the ADL link later if it's appropriate.  I suspect that there will be a few places where we should mention this.

Yep. Thanks @mrocklin.
Yeah the comments about Dask Cloud resources were just that.
That said, I think there is a lot of merit to improving the visibility of Dask Cloud resources. Possibly by having a page in the docs and/or even on the Dask landing page. If this is on the landing, this could be framed as Dask works easily with many cloud providers here are some basic examples on GCE, EC2, Azure, etc., which could be attractive to managers making decisions.

I second that - for example, being able to use dask to open files wherever without even using the task/scheduling facilities is pretty useful to a lot of people.

Currently our best page for this is here:
http://dask.pydata.org/en/latest/setup/cloud.html
Suggestions for improving content or visibility would be quite welcome
On Tue, Feb 27, 2018 at 5:51 PM, Martin Durant<EMAIL_ADDRESS>wrote:

I second that - for example, being able to use dask to open files wherever
without even using the task/scheduling facilities is pretty useful to a lot
of people.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/3222#issuecomment-369056072, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszHtbxhlt9auh_9dUygJcJ5FoebbFks5tZIcFgaJpZM4SVZK8
.


Add rds instances

This is a very large commit, sorry. The full details of the process has
been added to the README so I will just outline what has changed here.
When a new Beanstalk environment is created an RDS instace is also
created. The Beanstalk environment is given acess to this with a
VPC security group. A Beanstalk configuration template is also created
that contains the RDS connection information (in the form of an
SQLAlchemy URI). This is used when creating the Beanstalk environment.
The order of creation is very significant, it goes like this:

Create RDS security group
Create RDS instance
Wait for RDS instance to come up
Create configuration template with RDS connection details
Create Beanstalk environment
Wait for Beanstal environment security group
Allow access to RDS instance security group from Beanstalk
environment security group.

We need to wait for the RDS instance to come up so that we can get the
endpoint it lives on to give to the Beanstalk environment. We need to
wait for Beanstalk security group in order to give it access to the RDS
instance. Note that there is a race condition; if the Beanstalk
environment runs the application startup scripts that do database
migration before we've updated the RDS security group it will fail.
Luckily the Beanstalk environment security group seems to be created
very early in the process.
The RDS instance and security group both have 'db-' prefixed to them.
This is because they must start with a letter and the app sha may start
with a number.

Closing as we're now working on an alternative approach to  AWS management.

I'm going to merge this given that it's actually what has been used to create the current infrastructure.


Plugin is now not compatible with KeePass (version 2.55)

After KeePass update to version 2.55 I got its report about plugin incompatibility:
`[Window Title]
KeePass
[Content]
The following plugin is incompatible with the current KeePass version:
C:\Program Files\KeePass Password Safe 2\Plugins\YetAnotherFaviconDownloader.plgx
Have a look at the plugin's website for an appropriate version.
[Expanded Information]
A generic error occurred in GDI+.
System.Drawing
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo si, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
at System.Resources.ResourceWriter.WriteValue(ResourceTypeCode typeCode, Object value, BinaryWriter writer, IFormatter objFormatter)
at System.Resources.ResourceWriter.Generate()
at KeePass.Plugins.PlgxPlugin.CompileEmbeddedRes(PlgxPluginInfo plgx)
at KeePass.Plugins.PlgxPlugin.Compile(String strTmpRoot, PlgxPluginInfo plgx, String strBuildPre, String strBuildPost)
at KeePass.Plugins.PlgxPlugin.ReadFile(BinaryReader br, PlgxPluginInfo plgx, IStatusLogger slStatus)
at KeePass.Plugins.PlgxPlugin.LoadPriv(String strFilePath, IStatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, TextWriter twLog)
at KeePass.Plugins.PlgxPlugin.Load(String strFilePath, IStatusLogger slStatus)
Void Save(System.IO.Stream, System.Drawing.Imaging.ImageCodecInfo, System.Drawing.Imaging.EncoderParameters)
[V] Details  [ОК]`
Please fix it ASAP.
P.S. With versions up to 2.54 all was ok.

I have dropped KeePass for KeePassXC (because of my Yubikey), so I really don't know if it actually continues to work or not.
However, I downloaded KeePass v2.55 (portable)  and did a test here with the latest version of the plugin, it compiled and opened normally.

Looking at your call stack is really weird that something like that is happening.
This version was released on 2023-10-12 and no one commented on this issue.
Are you sure it's not something specific to your installation? Try a clean install using the portable version.

I had installed it at another computer and it works.
The only difference with problem computer is that the problem computer is under Windows 7. But the KeePass itself is working, so... 🤷

My KeePass 2.56 works with YAFD 1.2.5 correct.


Seeing incredibly bad performance on .NET Core 3.1

Describe the bug
The HexEditor control causes very high refresh times in my .NET Core 3.1 app, with up to 500ms for a single refresh increasing with time.
To Reproduce
Steps to reproduce the behavior:

Create a new .NET Core 3.1 WPF application
Include WpfHexaEditor in your project
Create the following XAML window:

<Window x:Class="namespace:TestApp.TestWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:TestApp"
        xmlns:wpfHexaEditor="clr-namespace:WpfHexaEditor;assembly=WPFHexaEditor"
        mc:Ignorable="d">
    <Grid>
        <StackPanel Margin="5,5,5,5">
            <wpfHexaEditor:HexEditor x:Name="Editor"/>
        </StackPanel>
    </Grid>
</Window>

Use the following constructor for the window:

			public TestWindow()
        {
            InitializeComponent();

            var stream = new MemoryStream(new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09 });
            MessageHexEditor.Stream = stream;
        }

Observe that the app is very slow, and will progressively get slower with the log showing output like this:

REFRESH TIME: 375 ms
REFRESH TIME: 411 ms
REFRESH TIME: 396 ms
REFRESH TIME: 381 ms
REFRESH TIME: 419 ms

Expected behavior
The app should be fast.
Screenshots
When adding a hex edit control, the app is slow and will become unusable.

Desktop (please complete the following information):

OS: Windows 10 1909
Framework: .NET Core 3.1
Package Version: 2.0.2

Is this an issue with my usage of the control?
Is .NET Core 3.1 not supported yet?
This issue also occurs on .NET Core 3.0 and in Debug and Release builds.

I will check this tomorrow :)
Thank for submitting this issue

I will check this tomorrow :)
Normally the refresh time is 4-9ms
Thank for submitting this issue

Hi @goaaats
Hi have made some test over netcore3.1 and my refresh time is like 👍
REFRESH TIME: 8 ms
REFRESH TIME: 8 ms
REFRESH TIME: 17 ms
REFRESH TIME: 8 ms
REFRESH TIME: 8 ms
REFRESH TIME: 8 ms
What is your configuration ? Do you have tested with framework 4.7 ? (for comparaison)

Can confirm, I added this into a relatively raw application (only one grid and that control next to it) and I my application hangs for about 1+ seconds when I resize or load the file (450kb binary file). Scrolling the view is also quite laggy.
Running on Core 3.1 as well.

😬😬 I will check soon. Thank you 😊

To help you a little further, I noticed the following things:

It takes a very long time to maximize a window with this control
When resizing manually by cursor there's different states where it performs better or worse (seems like it's always an "address chunk" where it becomes more laggy wheras when the next becomes visible it renders a little smoother whereas it performed worst when the text representation on the right and the scrollbar was fully visible)

If I got time I might do a profiling session with Visual Studio to analyze the rendering.


aws | Debian 10/11 [hvm] (64-bit aarch64/Arm) | Unknown processor architecture

Hi there, we have a cloud project arm64/aarch64 based
We can't use x86 arch. We must use new arm. we tried this script to force install correctly driver for arm, but php return "Unknown processor architecture."
the script:
    sudo curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
    sudo printf "deb [arch=arm64,amd64] https://packages.microsoft.com/debian/10/prod buster main" | sudo tee /etc/apt/sources.list.d/mssql-release.list

    sudo apt update -y && sudo apt upgrade -y
    sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17

    # optional: for bcp and sqlcmd
    sudo ACCEPT_EULA=Y apt-get install -y mssql-tools
    echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
    source ~/.bashrc

    # optional: for unixODBC development headers
    sudo apt-get install -y unixodbc-dev

    # optional: kerberos library for debian-slim distributions
    sudo apt-get install -y libgssapi-krb5-2

    # install php 8 ext
    sudo pecl config-set php_ini /etc/php/8.0/fpm/php.ini
    sudo pecl install sqlsrv
    sudo pecl install pdo_sqlsrv

    sudo printf "; priority=20\nextension=sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/sqlsrv.ini
    sudo printf "; priority=30\nextension=pdo_sqlsrv.so\n" | sudo tee /etc/php/8.0/mods-available/pdo_sqlsrv.ini

    sudo phpenmod -v 8.0 sqlsrv pdo_sqlsrv

php try script:
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$serverName = "serverName\\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);

if( $conn ) {
     echo "Connection established.
";
}else{
     echo "Connection could not be established.
";
     die( print_r( sqlsrv_errors(), true));
}
?>

So we try to install in Debian 11, we can't see repo in guide, but in repo.list we can find:
#Debian 11
curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list

# in source file
deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/debian/11/prod bullseye main

So, important to know processor type to test => aarch64 on aws instances

Not work on new installation, see below:

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

uname -mrs

Linux 5.10.0-8-cloud-arm64 aarch64

lscpu

Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       ARM
Model:                           1
Model name:                      Neoverse-N1
Stepping:                        r3p1
BogoMIPS:                        243.75
L1d cache:                       128 KiB
L1i cache:                       128 KiB
L2 cache:                        2 MiB
L3 cache:                        32 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs

** x86_64 Not work on new installation**, see below:

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

uname -mrs

Linux 4.19.0-17-cloud-amd64 x86_64

lscpu

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       46 bits physical, 48 bits virtual
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  2
Core(s) per socket:  1
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
Stepping:            7
CPU MHz:             2499.998
BogoMIPS:            4999.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            36608K
NUMA node0 CPU(s):   0,1
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke

hi @MwSpaceLLC we do not support Linux non-x86 platforms.

Thanks @yitam for your response, I wanted to know if you have a future release plan as we are building an arm64 cloud and have recently released the Apple M1 update.

Hi @MwSpaceLLC, the latest release of Microsoft ODBC Driver 17.8 now supports Apple M1, but the demand for Linux non-x86 platform is not high as of today.

Thanks @yitam, I fully understand that without a high demand Microsoft cannot release a version for arm64, but I wanted to inform you that this platform is in use right now throughout the Amazon cloud.
So any person could choose this type of car your driver will not work.
Linux machines on the arm64 processor go considerably faster, like the M1 processor, because they are technologies (deriving from mobile) made especially for multitasking, so inevitably sooner or later users will start installing their web platforms on arm64. Our little Cloud will exclusively have the arm64e M1 processor.
So we will have a problem for all versions of Linux our customers will not be able to install Microsoft SQL Driver. (https://weeblify.com/en)
Having said that in our installations we have told users that the driver does not work and they will be sent on this page to request support. (see installation sh: https://bash.weeblify.net/hosting)

Thanks @MwSpaceLLC for the info. I will mark this as a feature request for the management's awareness.

Thanks @MwSpaceLLC for the info. I will mark this as a feature request for the management's awareness.

AWS supports and recommends arm64, this is a blocking issue for us to move to arm64 ec2 instance

Can we +1 this somewhere?

Hi @MwSpaceLLC, the latest release of Microsoft ODBC Driver 17.8 now supports Apple M1, but the demand for Linux non-x86 platform is not high as of today.

I'd like to run php code with sqlsrv driver on my arm64 machines... so my +1
Linux on arm64 platform is very high demanded! Maybe Linux on arm64 platform as server runing php workload is what is not high demanded ... till now! So, please, take the arm64  platform into account
Thank you very much in advance

Has anyone tried the latest driver from 9/2022 ?
https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15
i still get error:
"Fatal error: Uncaught PDOException: SQLSTATE[01000]: [unixODBC][Driver Manager]Can't open lib '/opt/microsoft/msodbcsql18/lib64/libmsodbcsql-18.1.so.1.1' : file not found in /app/config/bootstrap.php:45"

ODBC Driver does not currently support Alpine ARM (https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/system-requirements?view=sql-server-ver16).
For PHP Driver code to support Linux ARM has been added, but haven't been tested yet.

ODBC Driver does not currently support Alpine ARM (https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/system-requirements?view=sql-server-ver16).
For PHP Driver code to support Linux ARM has been added, but haven't been tested yet.

@v-makouz For PHP Driver for ARM, do we have a rough timeline when it can be tested and released to public ?

So I can see that  Arm support is out
The ARM64 architecture on Red Hat 8, 9, Debian 11, and Ubuntu 20.04, 22.04 are supported starting with version 18.1.
But wouldn't it be realistic to get the .so file built for Alpine as well? Where does one push to get this done?

But wouldn't it be realistic to get the .so file built for Alpine as well? Where does one push to get this done?

@danijelk
Sure. It's not that it's impossible. We just have to prioritize resources. Adding new platforms for testing/validation comes with one-time and ongoing maintenance costs. Debian, Ubuntu, and RH have large user bases. Alpine ARM64 support is already in the MS ODBC Driver backlog, but it doesn't have a timeline. I hear your vote for Alpine, though, and it's noted.
Regards,
David

Thanks for quick reply @David-Engel at least I know I'm at the right place. If there is anything we/my team/ can do to help in any way open-source wise and maintaining the builds let us know.

So I can see that Arm support is out The ARM64 architecture on Red Hat 8, 9, Debian 11, and Ubuntu 20.04, 22.04 are supported starting with version 18.1.
But wouldn't it be realistic to get the .so file built for Alpine as well? Where does one push to get this done?

Thanks for mentioning this. I came across this post trying to get mssql support for php on arm64 ununtu 20.04 and because of your post I looked up 18.1 and it does include arm64 support. I found it here
https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16&tabs=ubuntu18-install%2Calpine17-install%2Cdebian8-install%2Credhat7-13-install%2Crhel7-offline
I followed the steps for ubuntu, but they also have some for Alpine (which it sounds like someone was interested in above)

So I can see that Arm support is out The ARM64 architecture on Red Hat 8, 9, Debian 11, and Ubuntu 20.04, 22.04 are supported starting with version 18.1.
But wouldn't it be realistic to get the .so file built for Alpine as well? Where does one push to get this done?

Thanks for mentioning this. I came across this post trying to get mssql support for php on arm64 ubuntu 20.04 and because of your post I looked up 18.1 and it does include arm64 support. I found it here https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16&tabs=ubuntu18-install%2Calpine17-install%2Cdebian8-install%2Credhat7-13-install%2Crhel7-offline
I followed the steps for ubuntu, but they also have some instructions for Alpine and debian

Sadly no arm for alpine yet.
version 18.1

New distributions supported.
Ubuntu 22.04, Red Hat 9. ARM64 Linux platforms: Debian 11, RedHat 8 and 9, Ubuntu 20.04, 22.04

Just to answer my own question regarding moving the extension from debian/ubuntu onto alpine, sadly as Alpine uses musl libc instead of glibc it won't run - even with libc6-compat package installed.

ldd libmsodbcsql-18.2.so.1.1
        /lib/ld-musl-aarch64.so.1 (0xffffb7b38000)
        libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffffb7b38000)
        libodbcinst.so.2 => /usr/lib/libodbcinst.so.2 (0xffffb78f6000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xffffb7824000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xffffb77c3000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xffffb757f000)
        libm.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffb7b38000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xffffb754e000)
        libpthread.so.0 => /lib/ld-musl-aarch64.so.1 (0xffffb7b38000)
        libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffb7b38000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xffffb750d000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xffffb74ec000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xffffb74cb000)
        libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0xffffb74aa000)
Error relocating libmsodbcsql-18.2.so.1.1: __strcat_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __fdelt_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __snprintf_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __memmove_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __strncpy_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __memset_chk: symbol not found
Error relocating libmsodbcsql-18.2.so.1.1: __read_chk: symbol not found

Issue can be closed I believe.
18.18 out now which has support for arm64 for Alpine ❤🔥 thanks for that

Alpine ARM64 support is now in msodbfsql18_18.3:
https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac?view=sql-server-ver16#1831-july-2023


Added Queen Margaret University, Edinburgh

NB: E-mail is on the bare domain, but website only response on www.qmu.ac.uk

@predakanga First stage of verification passed, official domain is qmu.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@predakanga Thank you for your patience while waiting for a review and processing your request. Pull request merged.


jsdoc: compact inline types

It would be nice if
  const foo = (
    /**
     * @type{Commit}
     */ currentCommmit,
  ) => true;

would instead be
  const foo = (/** @type{Commit} */ currentCommmit) => true;

Oops, that's jsdocUseInlineCommentForASingleTagBlock: true


zmath: Fix orthographic functions; add Z [-1, 1] variants

Both orthographicOffCenter() functions were mistakenly defined as column-major and didn't work, so I transposed them to row-major.
Added OpenGL variants of all orthographic functions that work with Z [-1, 1].

I've tested and verified all 8 orthographic functions locally and they seem to behave as expected. Let me know if you want me to provide anything.

Thanks!


[CI] Use Debian-based node image for publish

No need to worry about figuring out how to get Node 16+ on Debian if I do this.

https://cirrus-ci.com/task/5068698810056704

Exception: don't know if clang v14.0.6 is supported. this shouldn't happen.

I probably need to update the scraping code again. clang seems to like updating their website a lot.

bors r+


Unexpected end of JSON input

Getting the following errors after calling npm start
[ERR!] os   : Windows_NT 6.1.7601
[ERR!] argv : "C:\Program Files\nodejs\node.exe" "C:\Users\a4510\AppData\Roaming\npm\node_modules\tsd\build\cli.js" "install"
[ERR!] node : v6.4.0
[ERR!] tsd  : 0.6.5
[ERR!] Error: Unexpected end of JSON input
[ERR!] CODE : undefined
[ERR!] Unexpected end of JSON input
[ERR!] If you need help, you may report this error at:
https://github.com/DefinitelyTyped/tsd/issues
[ERR!] .tsdrc could not be retrieved
ts-react-slingshot-master.zip

@karldoyledev, I think the problem is I need to update the project to use the typings package instead of tsd. tsd has been deprecated,  https://github.com/DefinitelyTyped/tsd/issues/269 . The error probably occurs when prestart runs as it calls tsd install.
I should be able to knock that off this weekend.

@karldoyledev, I've upgraded from tsd to typings which fixes the issue, but the actual issue was tsd was not installed as a dev dependency. I'll set up CI at some point, but this fork was really me just rushing to see if I could get it running with TS. I plan at some point to clean this project up a lot at some point, just haven't had time.

Sorry for the delay, yup up and running like  a charm.
Hope to get into this a good bit , very surprised at the lack of starter
kits for react including typescript. So hope to get going a bit better with
this.
Much appreciated Nick.
don't be suprised if you see another email with questions about its
internal workings :)
Many thanks again.
On Tue, Sep 6, 2016 at 2:11 AM, Nick Taylor<EMAIL_ADDRESS>wrote:

@karldoyledev https://github.com/karldoyledev, I've upgraded from tsd
to typings which fixes the issue, but the actual issue was tsd was not
installed as a dev dependency. I'll set up CI at some point, but this fork
was really me just rushing to see if I could get it running with TS. I plan
at some point to clean this project up a lot at some point, just haven't
had time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typescriptcrew/ts-react-slingshot/issues/10#issuecomment-244827990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQRqlHfpM87WtqDeY40xpk37U4mp3Jz3ks5qnL2wgaJpZM4JzOT0
.

@karldoyledev np. Glad all is good for you now. Grab latest. I've typed pretty much most of the project now.


proto-build: migrate to neoeinstein-prost/tonic

The old buf plugin we were using is now 404.
Closes #427
NOTE: running into an error with the tonic plugin:
Fixed by downgrading to older versions of the plugin.

The following is context about the previous error with v0.3.0 of neoeinstein-tonic:
$ buf generate -v --template buf.sdk.gen.yaml --include-imports -o /tmp/tmp-protobuf/cosmos-sdk ../cosmos-sdk-go/proto
Failure: plugin buf.build/community/neoeinstein-tonic:v0.3.0: tendermint.abci.rs: does not exist

Possibly related to:

https://github.com/neoeinstein/protoc-gen-prost/issues/59
https://github.com/neoeinstein/protoc-gen-prost/issues/61
https://github.com/neoeinstein/protoc-gen-prost/issues/68


Update example to match current standard

I was trying to use the example, and it didn't seem like it fit what the new packages looked like.
Thanks!

Did you just run the yo hubot:script generator and copy the files in? This repository predates the generator quite a bit.

Nope, I completely missed the fact that there was a yeoman generator! I had looked at a recently updated project and modified the files to look accordingly. Sorry about that.
Instead of updating the code, would it be more advantageous to just put something on the README that says to use yo hubot:script.

@tarebyte I just did that in https://github.com/hubot-scripts/hubot-example/pull/10 . Thanks for putting this together, and good luck in your hubot scripting adventures!

Thanks @technicalpickles!


Rework handling of Django commands

Hi @eadwinCode.
Could you please review the patch I've submitted? I noticed that some Django commands were missing while using the CLI via manage.py (such as python manage.py shell). I'm unsure if this change could have any unintended consequences or if you're interested in integrating it into your codebase. I've included a couple of very simple tests, both which pass.
If you have any feedback, please let me know.

@paolodina Thanks for the refactoring. I had no idea that get_commands existed. LOL. About the test-coverage I will add some test later on. But what you have here is good. Good work friend

@eadwinCode thanks!


Fix infinite connection attempt

The connectTCP function was returning correctly even though the connection attempt had failed.

Seems like the change in log.d slipped in. Not sure if that workaround is safe to remove now (DMD 2.065).

The writeln in core.d? Yes I'll remove that. It took me hours to find why I coudn't run my application with /SUBSYSTEM:WINDOWS, turns out writeln is going to throw an invalid descriptor exception in std.stdio and Throwable.toString refuses to attach a stack trace to it

Okay, I suspected that when reading this... it's been a while since I last tested a /SUBSYSTEM:WINDOWS app (using console during development). Can you check if write() instead of write("") also fixes the issue? The idea is just to access anything from std.stdio to cause it to get initialized.

Yes I can try that, the error came from LockingTextWriter actually

I've tried now and even with the write(""); I don't get an error for pure GUI applications. On which OS exactly did you have the error? Do you still get it now with the write call?

Or maybe this was fixed in Phobos in the meantime?

I got it with 2.068 on windows, using /SUBSYSTEM:WINDOWS in the lflags. I got around it by removing this enforcement: https://github.com/D-Programming-Language/phobos/blob/d9f44820953e33315712b08a7cf3fd5c49b3064b/std/stdio.d#L2377
And using if (fp !is null) here: https://github.com/D-Programming-Language/phobos/blob/d9f44820953e33315712b08a7cf3fd5c49b3064b/std/stdio.d#L197

I just can't reproduce it at all (Using DMD 2.068/32-bit)... hm.. did you maybe use the VisualC++ runtime instead of the DigitalMars one (COFF)?

I just can't reproduce it at all (Using DMD 2.068/32-bit)... hm.. did you maybe use the VisualC++ runtime instead of the DigitalMars one (COFF)?

AH yes, I'm building with COFF on x86_64

Okay, I'll try with that then.

My application is a combined installer/service/launcher, it first evaluates if it has admin rights - if not it elevates, then it checks if the webserver is on - if not it checks if the service is installed - if not it installs a service otherwise runs it, then it launches a browser. I might release it once I have the launchd Mac version running, there's a new objective-c wrapper which is not currently merged here:  http://diveframework.com/

Using File f; f.close(); as a dummy operation instead of write(""); fixed it. Can you rebase and remove the change here?
So your application would be useful as a generic management tool for server style applications? Sounds like it could be useful for things like vibelog or similar, too, at least for GUI-affine users. I didn't know about the Dive framework, it sounds great to have. But I was really waiting for someone to finally merge https://github.com/D-Programming-Language/dmd/pull/4321

I didn't know about the Dive framework, it sounds great to have. But I was really waiting for someone to finally merge D-Programming-Language/dmd#4321

Well, the dive framework was developed in association with the objective C attributes in that pull.

So your application would be useful as a generic management tool for server style applications? Sounds like it could be useful for things like vibelog or similar, too, at least for GUI-affine users.

It's really just a new branch of desktop applications. At least anything you'd do with Qt will be do-able with vibe.d, with the help of javascript user interfaces. Why learn Qml or embed a browser in a Window when you can interface with a client-side server?
It would seem to have a promising future to me at the very least. Everyone knows javascript, so there's no learning curve, so instantly you've destroyed the "learning curve" argument against D.

Using File f; f.close(); as a dummy operation instead of write(""); fixed it. Can you rebase and remove the change here?

yep

Thanks!

Hmm, can you remove the processTimers in TCPConnection.waitForData? It is called from within a fiber and I got a few errors on my fork with it

Done.


add Reminder, ReminderList, ReminderCommand

TO DO:

[ ] Add test cases for InteractionCommand to update ReminderList, Reminder, ReminderList
[ ] Add support for adding reminders from the interactions in initialData

I agree that there should only be one instance of ReminderList. But instead of making it a singleton, I think it would be better to make it a part of Model, similar to addressBook and userPrefs.


HDDS-11749. Extract moveToTrash implementation to client code

What changes were proposed in this pull request?
External client fails to find moveToTrash API while doing trash operation for a key, as this exist only in OzoneManager service code.
moveToTrash needs to be present in client jar, so that external client can use it.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11749
How was this patch tested?
Verified in the cluster
Before fix:
Perform delete and use OzoneTrashPolicy
 hdfs dfs -Dfs.trash.classname=org.apache.hadoop.fs.ozone.TrashPolicyOzone -rm ofs://om/vol1/bucket1/key1

  24/11/20 06:40:12 DEBUG fs.FsShell: Error
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.ozone.TrashPolicyOzone not found
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2734)
	at org.apache.hadoop.fs.TrashPolicy.getInstance(TrashPolicy.java:145)
	at org.apache.hadoop.fs.Trash.<init>(Trash.java:58)
	at org.apache.hadoop.fs.Trash.moveToAppropriateTrash(Trash.java:95)
	at org.apache.hadoop.fs.shell.Delete$Rm.moveToTrash(Delete.java:153)
	at org.apache.hadoop.fs.shell.Delete$Rm.processPath(Delete.java:118)
	at org.apache.hadoop.fs.shell.Command.processPathInternal(Command.java:371)
	at org.apache.hadoop.fs.shell.Command.processPaths(Command.java:334)
	at org.apache.hadoop.fs.shell.Command.processPathArgument(Command.java:307)
	at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:289)
	at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:273)
	at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:120)
	at org.apache.hadoop.fs.shell.Command.run(Command.java:180)
	at org.apache.hadoop.fs.FsShell.run(FsShell.java:328)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:81)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:95)
	at org.apache.hadoop.fs.FsShell.main(FsShell.java:391)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.ozone.TrashPolicyOzone not found
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2702)
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2726)
	... 16 more
Caused by: java.lang.ClassNotFoundException: Class org.apache.hadoop.fs.ozone.TrashPolicyOzone not found
	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2606)
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2700)
	... 17 more
-rm: Fatal internal error

After fix:
24/11/20 08:15:37 INFO ozone.TrashPolicyOzone: Moved: 'ofs://om/vol1/bucket1/key1' to trash at: ofs://om/vol11/bucket1/.Trash/systest/Current/key1

How was this patch tested?
Verified in the cluster

Please provide more details, like commands executed and sample output.

Thanks @ashishkumar50 for updating the patch, LGTM.

FYI, I previously filed https://issues.apache.org/jira/browse/HADOOP-19217 that ties in TrashPolicy to the FileSystem implementation. I think if it's implemented, we don't need to override the trash implementation using -Dfs.trash.classname=org.apache.hadoop.fs.ozone.TrashPolicyOzone.

Thanks @ashishkumar50 for the patch, @ChenSammi, @ivandika3, @sadanand48 for the review.


Set select bar color

Hi!
It's possible to set select bar color?

Not currently. The library used MaterialPaletteHelper#getComplementaryColor to generate a complementary color from the current palette, to create one that uses color that automatically fits well with the non selected columns.


Blob Storage SDK hits timeout issue periodically, no indication as to why

Reported by @Garfinkel. @Garfinkel if you could share more details of the script you used, that would be helpful.
I ran a Python script which uploads a ~30-50mb GZIP file to Azure Blob Storage through the Python SDK (v 12.3.1) using Python 3.7.5 and 3.7.7. The error I receive indicates a timeout issue with no indication why other than "server response error".
We should better indicate when issues are transient / potentially an Azure issue as opposed to a user issue.
Region = us east
... 1_CallAPI.venv\lib\site-packages\azure\core\pipeline\transport_requests_basic.py", line 284, in send
raise error

azure.core.exceptions.ServiceResponseError: ('Connection aborted.', timeout('The write operation timed out'))

Hi @Petermarcu
It could because of the max_single_put_size, sometime the first put blob request cannot finish within the specified/default timeout value, set max_single_put_size to a smaller value could be a workaround to fix the problem. We will investigate offline and see how we should modify the SDK.

Note I filed this on behalf of @Garfinkel

Hi @Garfinkel
Is you problem resolved?

We have this same issue, weird part is that it only happens on certain occasions.

Getting the same issue when we have max_concurrency set within the upload_blob() method.

Hi, I have the same bug.
Versions:
Python 3.6.9
azure-storage-blob 12.6.0
File:
Type: json
Size: 50508312
Upload parameters:
max_single_put_size is set to<PHONE_NUMBER>
timeout is set to 600
Error:
azure.core.exceptions.ServiceResponseError: ('Connection aborted.', timeout('The write operation timed out',))
The code runs fine with other file, but smaller files.

I am also getting a similar issue. I did notice that this issue seem to occur for certain file sizes and upload speeds, though I am not saying that they are definitely correlated.
For example, when uploading a 48MB mkv video file with around 8400Kbps upload speed leads me to this issue's error:
azure.core.exceptions.ServiceResponseError: ('Connection aborted.', timeout('The write operation timed out'))
As @xiafu-msft has suggested, changing max_single_put_size to a lower number, in my case being 10*1024*1024, did help for this particular speed and file size, but not for slower speeds. For example, uploading a 37MB mkv video with 1000Kbps upload speed. Decreasing the value of the max_single_put_size parameter further, even down to 500KB, did not help in this case.
Directly uploading via an http request (requests package) using a SAS blob url with similar header parameters as the one used within BlobClient's request {"x-ms-blob-type": "BlockBlob","x-ms-version": "2020-02-10","Content-Type": "application/octet-stream"} works without an issue for all uploads.
Versions:
Python 3.8.0
azure-storage-blob 12.6.0
Error:
azure.core.exceptions.ServiceResponseError: ('Connection aborted.', timeout('The write operation timed out',))

I'm currently using the following workaround, maybe that's helloing someone.

Upload first a dummy to file to the specific blob with 0 Byte (simple empty file)
Upload the real file

We have this issue only on the laptop of one of our colleagues, while the exact same code works on 4 other laptops.

Same issue here: azure.core.exceptions.ServiceResponseError: ('Connection aborted.', timeout('The write operation timed out'))
I'm dealing with big video files. For small files, upload works well, but I'm getting this timeout for bigger files (anything above ~15MB).

Hi @amirbnnsr @hellothisisMatt @PeterZechel @eladg
We tried hard to get a write operation timeout error (we tried account in a far region, and make the max_single_put_size=60010241024, also tried to set max_single_put_size to a small value and use max_concurrency=60 to upload a big blob) while we were not able to get the error...
Can any of you try to turn on logging by copy paste this block of code https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/storage/azure-storage-blob/README.md#logging
After you turn on logging, you will get x-ms-request-id and we can search service log based on that. Sorry about the inconvenience and really appreciated for your help!

Hi @amirbnnsr @hellothisisMatt @PeterZechel @eladg
We tried hard to get a write operation timeout error (we tried account in a far region, and make the max_single_put_size=60010241024, also tried to set max_single_put_size to a small value and use max_concurrency=60 to upload a big blob) while we were not able to get the error...
Can any of you try to turn on logging by copy paste this block of code https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/storage/azure-storage-blob/README.md#logging
After you turn on logging, you will get x-ms-request-id and we can search service log based on that. Sorry about the inconvenience and really appreciated for your help!

In my case, creating BlobServiceClient with this setting helped:
{
      "max_single_put_size": 4*1024*1024, # split to 4MB chunks`
      "max_single_get_size": 4*1024*1024, # split to 4MB chunks
 }

@xiafu-msft , will try to provide logs if/when I see this issue again

In my case, creating BlobServiceClient with this setting helped:
{
      "max_single_put_size": 4*1024*1024, # split to 4MB chunks`
      "max_single_get_size": 4*1024*1024, # split to 4MB chunks
 }

@xiafu-msft , will try to provide logs if/when I see this issue again

@xiafu-msft Attached are two log files with the request header information. I have omitted Request URL and Request body from the logs.
upload_bug_logs_1000Kbps_15MB.txt are logs from uploading a 15MB video file with 1000Kbps upload speed.
upload_bug_logs_8000Kbps_52MB.txtare logs from uploading a 52MB video file with 8200Kbps upload speed.
The default value for the max_single_put_size parameter was used.
Thank you for looking into this.
upload_bug_logs_1000Kbps_15MB.txt
upload_bug_logs_8200Kbps_52MB.txt

@xiafu-msft Attached are two log files with the request header information. I have omitted Request URL and Request body from the logs.
upload_bug_logs_1000Kbps_15MB.txt are logs from uploading a 15MB video file with 1000Kbps upload speed.
upload_bug_logs_8000Kbps_52MB.txtare logs from uploading a 52MB video file with 8200Kbps upload speed.
The default value for the max_single_put_size parameter was used.
Thank you for looking into this.
upload_bug_logs_1000Kbps_15MB.txt
upload_bug_logs_8200Kbps_52MB.txt

Hi @amirbnnsr
Thanks so much for the log! Could you also paste the response there, we need the response info to look up on our end

Hi @amirbnnsr
Thanks so much for the log! Could you also paste the response there, we need the response info to look up on our end

@xiafu-msft Unfortunately, there are no response because the timeout error happens when sending the request. The logs that I posted are actually everything that came out of azure.storage.blob

@xiafu-msft Unfortunately, there are no response because the timeout error happens when sending the request. The logs that I posted are actually everything that came out of azure.storage.blob

Hi @amirbnnsr
can you please send me your account name? Thanks!

Hi @amirbnnsr
can you please send me your account name? Thanks!

@xiafu-msft The account name is: aiirtest
I have not tried the read_timeout, I will give that a go.

I am also getting the timeout error while uploading files > 20 MB. It succeeds for smaller files.  I am using Python3.6 and  using the Azure Storage SDK (azure-storage-blob-12.7.1.  Here is my stack overflow link. Just following the MSDN sample is showing this problem.
https://stackoverflow.com/questions/66394270/how-to-upload-large-file-100mb-to-azure-blob-storage-using-python-sdk

In the most recent patch release (azure-storage-blob 12.8.1) we added retry on stream downloading the response body, hopefully that can mitigate this problem.
close this issue for now, if anyone meet this problem again feel free to comment on this issue.

Hi, I have a ticket (TrackingID#2111100050002885) open with Storage support for about half a year and we just came to some sort of data that my help this.
We have a solution that uses parallel processes to upload files to Blob storage. randomly when we push a lot of data to the blob we get a similar write timeouts. We set timeout value on upload_blob to 600, but it did not help 100%, it probably mitigated it.
On the last exchange we came to a conclusion that E2E latency was 20s on time of timeout. This is a lot less then 600 s.
We did not yet change max_single_put_size to try to find a sweet spot for it, but we use different sizes of files so adjusting it could not be that easy.
On the Storage side there were internal server errors Network timeout error for our client azsdk-python-storage-blob/12.9.0 Python.
If server tries to return Internal server error and can not get it to the client I suppose client throws this write timeout errors.


Data input/ Data output - delete issue

Please see the video.
When I keep on deleting the data inputs some times it doesn't delete and instead just the name get deleted.
Alex mentioned about this same issue for data outputs.
https://drive.google.com/file/d/1hdBH__GxB1PnACl_mRcFt40x6pMJgOqL/view?usp=sharing
Also after a certain time the Editor Save button get disabled as you can see in the video.
But if I refresh the model then all the data inputs are deleted from the model.

@calexh-sar yes, thanks, transferred.


Depth upscaling/interpolation issues on F200

Required Info

Camera Model
F200

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 14.04

Kernel Version (Linux Only)
3.19.0-49-generic

Build System
Makefile

I noticed that the f200 depth map at 640x480, has holes. Is there any patch or update that has the depth map from f200 filled.

You can attach screenshots to Github issues. I recommend visually explaining the issue by attaching a PNG or JPEG.

Looks normal to me. The 'grid' is opengl rendering artifacts.

It is not GL rendering defect, I dont understand why you closed it so hastily.
I loaded the depth image, then I marked all the places with actual zero in the depth image with a white. If it was a visualization issue this should not happen because I am writing it to file.

I can confirm this I have the same issue with my F200:

For comparison this is the registered depth image from an asus xtion (not running at the same time to avoid interference):

I suspect if they are going to look at it, but from what I understand the depth interpolation is not working correctly because in F200 we get both depth and rgb with the same resolution of 640x480 but their FOV are different. The alignment code has some issues with this.

@bpwiselybabu @richardw347 you are correct and @sgorsten will push a fix soon. Maybe in a few minutes! I didn't understand that you were talking about an interpolated image at first.

This should be fixed in 90f1b2684e6e815191caccda70c4ca17a61ceced.

Thank you!

Looks good, thanks for the really quick response :)


CodePush sourceMap is not mapped

Hello,
I'm using both Bugsnag and CodePush.
Today I've released new codepush update, ofc following your docs.
I've uploaded ios/android bundles and everything seems to be OK. Of course, they are visible in settings panel with proper bundle ids.
I've forced our users to update the app and I removed all events/issues from my bugsnag to be 100% sure that all events will be from new release.
However, bugsnag is not able to match stacktrace of new bugs with correct source/bundle.

Hi @jpacyfik
I can't see anything obviously wrong that would cause this from your description and screenshots.
Can you contact<EMAIL_ADDRESS>with a link to that error in your dashboard so I can try and identify the cause.
Thanks!


Request: Info on failed tests in global teardown

🚀 Feature Proposal
Have access to some kind of state that explains how your tests went in the global teardown function
Motivation
My case: I have some integration tests, and long story short, they don't always finish when they should. (Presumably a detached process somewhere that I lost access to). My current workaround is just to do a process.exit() in the global teardown. Unfortunately I have no way of knowing if I should exit 0 or not.
In general: It's sometimes nice to do different things in the teardown of jest based on how the tests went.
Example
// teardown.js
module.exports = (jestConfig, testRun) => {
    console.log(testRun.failedTests)
}

Pitch
I don't see a way of implementing this without changing the Jest core.

FWIW: Managed to fix this specific issue by finding and using the forceExit flag in jest.config

You can use a reporter for this, https://jestjs.io/docs/en/configuration#reporters-array-modulename-modulename-options


timeout error while doing roslaunch

I tried to build realsense camera from source on Ubuntu 16.04(kinetic). After doing everything, I connect the camera and run "roslaunch realsense_camera r200_nodelet_default.launch" It gives me a timeout error with a warning:
SUMMARY
PARAMETERS

/camera/driver/base_frame_id: camera_link
/camera/driver/camera_type: R200
/camera/driver/color_fps: 30
/camera/driver/color_frame_id: camera_rgb_frame
/camera/driver/color_optical_frame_id: camera_rgb_optica...
/camera/driver/depth_frame_id: camera_depth_frame
/camera/driver/depth_optical_frame_id: camera_depth_opti...
/camera/driver/fisheye_frame_id: camera_fisheye_frame
/camera/driver/fisheye_optical_frame_id: camera_fisheye_op...
/camera/driver/imu_frame_id: camera_imu_frame
/camera/driver/imu_optical_frame_id: camera_imu_optica...
/camera/driver/ir2_frame_id: camera_ir2_frame
/camera/driver/ir2_optical_frame_id: camera_ir2_optica...
/camera/driver/ir_frame_id: camera_ir_frame
/camera/driver/ir_optical_frame_id: camera_ir_optical...
/camera/driver/mode: manual
/camera/driver/serial_no:
/camera/driver/usb_port_id:
/rosdistro: kinetic
/rosversion: 1.12.7

NODES
/camera/
driver (nodelet/nodelet)
nodelet_manager (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [7902]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to cf77e09e-ad20-11e7-966d-48f8b380865b
process[rosout-1]: started with pid [7917]
started core service [/rosout]
process[camera/nodelet_manager-2]: started with pid [7934]
process[camera/driver-3]: started with pid [7935]
[ INFO] [1507574210.562657059]: Initializing nodelet with 4 worker threads.
[ INFO] [1507574210.992610837]: /camera/driver - Detected the following camera:
- Serial No:<PHONE_NUMBER>, USB Port ID: 2-1, Name: Intel RealSense R200, Camera FW: <IP_ADDRESS>
[ WARN] [1507574210.992785561]: /camera/driver - Detected unvalidated firmware:
-<PHONE_NUMBER>'s current camera firmware is <IP_ADDRESS>, Validated camera firmware is <IP_ADDRESS>
[ INFO] [1507574210.992981121]: /camera/driver - Connecting to camera with Serial No:<PHONE_NUMBER>, USB Port ID: 2-1
[ INFO] [1507574213.854753145]: /camera/driver - Setting static camera options
[ INFO] [1507574213.897164539]: /camera/driver - Enabling Depth in manual mode
[ INFO] [1507574213.898080782]: /camera/driver - Enabling Color in manual mode
[ INFO] [1507574213.898999063]: /camera/driver - Starting camera
[ INFO] [1507574213.933744261]: /camera/driver - Publishing camera transforms (/tf_static)
[ INFO] [1507574213.934727257]: /camera/driver - Setting dynamic camera options (r200_dc_preset=5)
[ INFO] [1507574214.769626115]: /camera/driver - Initializing Depth Control Preset to 5
[ INFO] [1507574217.980569925]: /camera/driver - Setting dynamic camera options
[ERROR] [1507574219.915329004]: /camera/driver - Error calling rs_wait_for_frames ( device:0xb5b660 ):
Timeout waiting for frames.
[camera/nodelet_manager-2] process has finished cleanly
log file: /home/upboard/.ros/log/cf77e09e-ad20-11e7-966d-48f8b380865b/camera-nodelet_manager-2*.log
[camera/driver-3] process has finished cleanly
log file: /home/upboard/.ros/log/cf77e09e-ad20-11e7-966d-48f8b380865b/camera-driver-3*.log
I am confused for a long time, I would be grateful if anyone answers.

Hello @guancongyi,
The timeout error is usually related to the USB port on the system that the camera is connected to. Try connecting the camera to other USB3 ports or use a powered USB 3 HUB. Also, test the camera on another system.
Regards,
Jesus
Intel Customer Support

[Please Ignore - RealSense system comment]

Close this issue for lack of activity. Please feel free to reopen if the issue is still relevant.


Add clean up commands to image script.

Not an issue that effects end users but I need to add package cleanup code to the image creation script to remove update packages in order to shrink the release images a bit more.

Commit 7742384ccc65f63bea034b4ceb114b9a890c9b27


feature/doom-palenight

New theme inspired by the vscode material palenight theme

Yes please

Hi @Brettm12345, I'm implementing a new multi-themes package using Doom themes core. Can I use your implementation of the Moonlight and Palenight themes? I'll give you full credit

Hi @Brettm12345, I'm implementing a new multi-themes package using Doom themes core. Can I use your implementation of the Moonlight and Palenight themes? I'll give you full credit

Of course. Go ahead

@Brettm12345 not anymore, now I'm a collaborator here so I'll be able to merge it here!

Given that there's a lot of conflicts, I just grabbed the themes (just grabbed Palenight for now but soon I'll add Moonlight) and committed them co-authoring the commit with you. Hope that's ok. Palenight looks exquisite by the way, good job.


ts2

could you also move some stuff to @types maybe the express related things and q

also please run general update to make sure latest Plywood is here (and that helper is not used)

gr 🎱


dynamic override of meetup time for decoded

Allow to do demo ceremonies with correctly displayed meetup time although we use next-phase and hold several ceremonyies per day
Idea:
If selected community == demo community (one out of a hardcoded set of N) on Rococo or Gesell
  Use RSS feed to supply the meetup time

It's ok to hand-edit the RSS server XML and host it on a hard-coded URL
https://validator.w3.org/feed/docs/rss2.html
Nice to have:

RSS feed should use labels and categories for filtering (by community, by type of participant and status (registered or not)...aso.
use the RSS feed also to specify demo communities cid dynamically after releasing the app. Leave test network definitions hardcoded to avoid using this feature on production environments which would mean centralization

Instead of an RSS feed, I just hosted a json file on GH pages:
https://encointer.github.io/feed/overrides.json
This way, we can specify which network and community has to override the meetup time display in the app.
And we can safely leave the hack in for demo purposes and just configure new demos with PRs to:
encointer/feed

Well, leaving it in still bears the risks of centralization.... so we'll think more about this. Maybe there should even be an onchain way for communities to deviate from protocol within limits....


RoPE-Mixed: Improvement over Axial for n-D

Hi @lucidrains,
These folks talk about improving axial-RoPE performance. Some comparisons to axial-RoPE look nice, but for some, I am not convinced. I wanted to get your thoughts on this. If it makes sense, can we integrate this into the repo?
https://arxiv.org/abs/2403.13298

@tasansal you may be interested in the more recent and advanced than RoPE-mixed method I linked at #26


cannot use lures

After running my server using this plugin, creature lures no longer function
gives me the error: invaders unable to reach lure
also enemies completely ignore me when i get near them or attack them
this works fine if I run the server on its own.

Pls submit an issue on their discorf its nothing to do with the plugin this is the only one having that kind of issue

so i figured it out if you change the map setting in WindowsGSM to something other than DedicatedServer beacons break
this is because of this line
string param =  $"ProjectWar_Start?{_serverData.ServerMap}?MaxPlayers={_serverData.ServerMaxPlayer}?udrs=steam -server -game -log -UserDir=\"{ServerPath.GetServersServerFiles(_serverData.ServerID)}\" {_serverData.ServerParam}";

the plugin uses what is placed in the GSM config
this could be resolved by hardcoding the plugin or educating on the ServerMap option requiring to be DedicatedServer

figured it out if you change the map setting in WindowsGSM to something other than DedicatedServer beacons break
this is because of this line

Yes i note to my README that you shouldnt change that parameter


Version 2.3 build issues

Also I cannot build v2.3 on Fedora 23 amd64 (gcc 5.3.1):
    Compiling unew.cc ...
g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++14  -I/home/mock/rpmbuild/BUILDROOT/ustl-2.3-1.fc23.denf.x86_64/usr/include -fPIC -MMD -MT "unew.s .o/unew.o" -o .o/unew.o -c unew.cc
unew.cc:20:1: error: expected '}' at end of input
 }
 ^
Makefile:50: recipe for target '.o/unew.o' failed
make: *** [.o/unew.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from sistream.h:7:0,
                 from ofstream.h:7,
                 from ofstream.cc:6:
mistream.h: In member function 'void ustl::ustl::istream::iread(T&)':
mistream.h:235:43: error: must #include <typeinfo> before using typeid
     if (!verify_remaining ("read", typeid(v).name(), sizeof(T)))
                                           ^
In file included from sistream.h:8:0,
                 from ofstream.h:7,
                 from ofstream.cc:6:
ustring.h: At global scope:
ustring.h:54:21: error: 'reverse_iterator' in namespace 'ustl' does not name a template type
     typedef ::ustl::reverse_iterator<iterator>  reverse_iterator;
                     ^
ustring.h:55:21: error: 'reverse_iterator' in namespace 'ustl' does not name a template type
     typedef ::ustl::reverse_iterator<const_iterator> const_reverse_iterator;
                     ^
ustring.h:83:12: error: invalid use of template-name 'ustl::ustl::reverse_iterator' without an argument list
     inline reverse_iterator rbegin (void)   { return reverse_iterator (end()); }
            ^
ustring.h:84:10: error: 'const_reverse_iterator' does not name a type

The unew.cc failure was fixed by commit e323d78fdcc4aeb2a81347b65577b791d4dedee0. That could also be the cause of the failure to find reverse_iterator. Please retry with the current branch.
These failures only occur when using --with-libstdc++ option to configure, enabling the use of both uSTL and libstdc++ together. This configuration is rarely tested and thus more buggy than the usual one. It would probably be best to eliminate it from future uSTL releases.

Looks like fixed now with the GCC version above (5.3.1).
I'm also going to check with other versions to be 100% sure.

With an older GCC (4.8.5, RHEL/CentOS 7) it throws:
echo "    Compiling memblock.cc ..."
    Compiling memblock.cc ...
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -Wall -Wextra -Woverloaded-virtual -Wpointer-arith -Wshadow -Wredundant-decls -Wcast-qual -std=c++11  -I/root/rpmbuild/BUILDROOT/ustl-2.4-1.el7.centos.x86_64/usr/include -fPIC -MMD -MT "memblock.s .o/memblock.o" -o .o/memblock.o -c memblock.cc
ustring.cc:16:32: error: redeclaration 'ustl::string::npos' differs in 'constexpr'
 const string::pos_type string::npos;
                                ^
In file included from ustring.cc:6:0:
ustring.h:58:37: error: from previous declaration 'ustl::string::npos'
     static constexpr const pos_type npos = INT_MAX; ///< Value that means the end of string.
                                     ^
ustring.cc:16:32: error: declaration of 'constexpr const pos_type ustl::string::npos' outside of class is not definition [-fpermissive]
 const string::pos_type string::npos;
                                ^
make: *** [.o/ustring.o] Error 1

Although it's not crucial since I can keep 2.2 - 2.3 in RHEL EPEL.
But if possible it would be good to get it fixed too..

Ok, fixed in 7c8e0111a8d6aa73ec37c9ad640b283da3d2244b.


Nginx ingress uses public ip while communicating with service

Describe your issue here
The Nginx ingress does not have a private IP from canal. And when it communicates with services, it uses the instance public IP instead of using the internal network for some reason.
kubectl get ingress
NAME           HOSTS             ADDRESS   PORTS   AGE
example-ingress   example.com             80      5m

I need to detect the nginx ingress range to whitelist it as a proxy for my webserver, so I can get the real remote IP.
I tried both the nginx ingress that comes with Rancher and with helm to enable --report-node-internal-ip-address=true:
helm upgrade --install ingress --namespace=ingress --set rbac.create=true,controller.kind=DaemonSet,controller.service.type=ClusterIP,controller.hostNetwork=true,controller.extraArgs.report-node-internal-ip-address=true stable/nginx-ingress

Service and ingress:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/ingress.class: nginx
    kubernetes.io/ingress.class: nginx
  name: app-ingress
  namespace: app
spec:
  rules:
  - host: example.com
    http:
      paths:
      - path: /
        backend:
          serviceName: app-service
          servicePort: 80

---
apiVersion: v1
kind: Service
metadata:
  name: app-service
  namespace: app
spec:
  selector:
    app: app
  type: ClusterIP
  ports:
  - name: http
    port: 80
    targetPort: 80
    protocol: TCP

The exact same setup works fine on a kubeadm setup.

Useful
Info

Versions
Rancher v2.1.1 UI: v2.1.4

Route
ingresses.index

Running ip route add <IP_ADDRESS>/8 dev tunl0 src <IP_ADDRESS> reported the correct internal IP to the pod. Using Calico here but it should also work for Canal. I wonder how this part is coded if I want to make a PR.

Seems like hostNetwork=true config is the reason for reporting the external IP of the node https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network
It is also noted that this is not the most secure setup. Is there a plan to add an overlay network to secure k8s setup?


Improve HELLOIMGUI_WIN32_NO_CONSOLE implementation

Version:<PHONE_NUMBER>e38c1e3b04fceeb30f02ec0b19f866
Platform: Win10 + MSVC + clang tool chain
File: hello_imgui_add_app.cmake
Current implantation manually adds link option for MINGW/non-MINGW target which is not necessary, it's also causing a bug for MSVC + clang tool chain as clang could not understand "/subsystem:WINDOWS".
The fix is very simple, CMake supports WIN32 flag in add_executable (https://cmake.org/cmake/help/v3.10/command/add_executable.html)
Just PREPAND the option to app_sources before add_executable.
BTW, it's also possible to APPEND HelloImGui_WinMain.cpp to app_sources before add_excutable so the entire fix could be very clean:
    #############################################################################
    # If windows, and if the user wants to, we can make this an app without console
    # and provide a WinMain entry point
    if (WIN32)
        if (HELLOIMGUI_WIN32_NO_CONSOLE)
            # Make this an app without console, and use HelloImGui_WinMain.cpp
            list(PREPEND app_sources WIN32)
        endif()
        if (HELLOIMGUI_WIN32_AUTO_WINMAIN)
            list(APPEND app_sources ${HELLOIMGUI_CMAKE_PATH}/HelloImGui_WinMain.cpp)
        endif()
    endif()

    if (ANDROID)
        add_library(${app_name} SHARED ${app_sources})
    else()
        add_executable(${app_name} ${app_sources})
    endif()

    hello_imgui_prepare_app(${app_name} ${assets_location})

Hello,
Thanks for your suggestion! Would you want to provided a PR for this, so that you are cited in the contributors?
Also, I guess you tried this modification with clang. Can you confirm this, and tell me if you had time to also test it with msvc and/or mingw?

sure, I will try all your suggestions

Hi again
I tried the MSVC and MSVC with Clang tool chain on Win10 VS Code, they are fine.
MSVC version:
[proc] Executing command: C:\usr\cli\cmake\bin\cmake.EXE --no-warn-unused-cli -Wno-dev -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SC:/repos/hello_imgui -Bc:/repos/hello_imgui/build/Debug -G "Visual Studio 17 2022" -T host=x64 -A x64
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
[cmake] -- The C compiler identification is MSVC 19.38.33130.0
[cmake] -- The CXX compiler identification is MSVC 19.38.33130.0

I would like to try Mingw, however I have no experience on that.
I encounter several new issues like cmake platform unknown issue, Makefile multiple target bug(caused by windows driver) , and finally stopped at opengl32 linking problem. I also realized there are many variants of mingw, making troubleshooting ever harder.
So, is it possible to simply testing the mingw result in your CI pipeline?
I have pushed change to my fork:
https://github.com/xuboying/hello_imgui/commit/5dce5cc9793628e97a7800b6e4d7feb333a5cd9e

You are right, testing on the multiple platform / compilers is one of the main difficult things in this project.

So, is it possible to simply testing the mingw result in your CI pipeline?

Yes, please submit a PR, and I'll run the pipeline on it. If it does not work on MingW, I'll diagnose it on my side. You did the test I could not do (i.e. with MSVC + clang).
Thanks!

Thanks!

The mingw pipeline passed. Many thanks for your contribution!


Fix issue #7.

To make things easier the close button now is basically an alias to the minimize button. The NodeMouseClick now actually unhides and unminimizes the window instead of creating a new form.
It is similar to this SO answer: https://stackoverflow.com/a/23789316 so it should work.

Nice fix :)

Thanks you! I use this program to try to prevent hearing loss and not for parental control, so often I need to set a higher limit, and due to my workflow I was running into this bug very frequently, so I decided to fix it ;)


Fixed expected parameter

Checklist

[ ]  A link to the issue/user story that the pull request relates to
[x]  How to recreate the problem without the fix
[x]  Design of the fix
[x]  How to prove that the fix works
[ ]  Automated tests that prove the fix keeps on working
[ ]  Documentation - any JSDoc, website, or Stackoverflow answers?

Issue/User story

When I try to use a remote docker and passing the link of it into the config file, like:
http://<IP_ADDRESS>:2375/all
Caliper is not able to fetch the stats data of all the docker containers.
I guess that a similar problem is present on the "else" of the same branch. line: 121 (NOT FIXED)
Steps to Reproduce

To recreate the bug just start hyperledger caliper passing the endpoint to the remote docker.

monitor:
type:

docker
docker:
name:
- http://<IP_ADDRESS>:2375/all
interval: 1;

The result of the execution, without the fix, will be to do not be able to fetch the containers stats.
Existing issues

[ ] Stack Overflow issues
[ ] GitHub Issues
[ ] Rocket Chat history

Design of the fix

In any case, the value inside filterName.remote[h].containers cannot exclude the '/'.
The value is coming from line: 49, the function url.parse is cutting the different parts of the url and "pathname" will include the slash.
Adding the slash will make it able to match the value contained inside filterName.remote[h].containers
Another possible solution could remove the slash in the beginning.
Validation of the fix

I tried by my self and with this little fix everything works fine.
Automated Tests

What documentation has been provided for this pull request

@GigaDev90 /all is more strict than all, if the condition is true for /all then it's also true for all. Are you sure this is what causes the problem?

I'm not sure about what you mean with strict. The function "Array.prototype.indexOf()" is working over index of an array:
Definition and Usage
The indexOf() method searches the array for the specified item, and returns its position.
The search will start at the specified position, or at the beginning if no start position is specified, and end the search at the end of the array.
Returns -1 if the item is not found.
https://www.w3schools.com/jsref/jsref_indexof_array.asp
So, it's not about matching the index of the string, instead is the index of the array.

@GigaDev90 My mistake, I thought containers was a string, but it is a string array. And url.parse leaves the leading / in the pathname, but the code tries to find it without /, all clear know :) Thanks for the fix 👍


reading uvfits files (w/o unphase_to_drift) phases look weird

if you load a uvfits file into a UVData object and don't run unphase_to_drift the phases look weird: weird in that they don't look like they are phased to a particular time or point on the sky. @AaronParsons and I are just wondering if @bhazelton has any insight as to why that might be the case? In short, we want to make sure that this isn't because of an error in the way phasing is applied, or in some metadata variable..

^ UVFITS waterfall w/o unphase_to_drift

^UVFITS waterfall w/ unphase_to_drift

@nkern Sorry for the delayed response. The phasing (and unphasing) in pyuvdata is known not correct in detail, although it appears to make reasonable images of HERA data (see the Chris' and the ASU team's efforts). It is based on older aipy phasing code, although it may have been modified from that as well.
I'm not entirely sure what is going on in your plots, but I have been working on a complete revamp of the phasing & unphasing code. I believe that code is now correct and I have tested it against MWA files and get good matching (to a few cm in u, v, w coordinates).
That new code is available on the uvdata_time_array_fix branch and in PR #287 if you would like to experiment with it. One caveat is that unphasing data that were phased with the previous code version will not get the right answer. If that is something we want to support, I can probably add some backwards compatibility code to do that fairly easily.

@nkern The new phasing code has now been merged into master. Note that if you are working with files that were phased with the old code that you now want to unphase you should set the use_ant_pos keyword to true when you unphase.

We're closing this now, you can re-open it if there's still a problem.


Please add  'Save Chat As Markdown' feature.

I find some conversations very helpful and I'd like to keep them to study further. But it's almost impossible to save them or print them.
If I try to select it with my mouse (like a web page), code blocks won't be selected so it gets really tedious to save even a simple chat.
A simple 'save as markdown' would be fantastic.
Thanks in advance!

You can right click > Copy All to get the session as markdown. You can also run the command "Chat: Export Session" to export to JSON

Oh.. I feel so silly. Thank you so much @roblourens !!


Error al momento de subir datos en GBIF

It basically says that resource's EML is invalid and can't be parsed. Feel free to re-open this if this still happens and please provide log files


[bug]: insufficient local balance after trying to pay right after opening a channel

Background
In bitcoin-s we have a test suite for our lnd api client. In our tests we spin up 2 lnds, open a balanced channel between them, wait for both side to consider the channel active and then do some tests. In some of these tests we occasionally get an error insufficient local balance when trying to make a payment or probe. It appeared in our CI for probe, probe and pay and pay 0 amt invoice. It took me about 10 runs locally to reproduce so it seems rare and adding a 2 second sleep after the channel was open seemed to fix the issue for me.
Your environment

version of lnd0.16.0
which operating system (uname -a on *Nix) mac & linux
version of btcd, bitcoind, or other backend bitcoind
any other relevant environment details https://github.com/bitcoin-s/bitcoin-s/pull/5005

Does the CI wait until the channels are confirmed?

I'm running into the same issue. Opened a channel and could both send and receive. Some time later I couldn't anymore: I got insufficient local balance or no route found. Opened another channel to a well connected node but the issue remained. Restarting LND had no effect.


Allow access to setter mutations

When using the generateMutationSetters option, for each state property a mutation is generated, that sets the property.
Those setter mutations are only available inside of actions, not when using the module instance directly.
Do you think we should allow access from the outside? Or would you say that it is a much better practice to only do changes in the actions?

So you want to do something like:
@Module({ generateMutationSetters: true })
class MyModule extends VuexModule {
  foo = "bar";
}
const myModule = new MyModule({ store, name: "myModule" });
myModule.foo = "baz";

?
It would not be hard to implement, but I'm not sure whether it is against the design principles of vuex (flux) or not. Do you think it would be beneficial to allow?

Yes this is what I mean.
I‘m not completely sure this follows the flux principles, but there are two reasons which let me lean towards yes:

It is not the default setting, you have to enable generateMutationSetters.
Even though the syntax is different, it simply commits a mutation, which is perfectly fine in flux as I understand it.

Alright, I'll implement this. Although I think I'll keep it as an undocumented feature, as I'm still not sure whether this should be encouraged or not.


Plans?

I wanted to see what the plans are for the library?  I've written the following add-ons:

Middleware to auth any connection sending JWT in authorization header
After login signal hook to create JWT and store it in session
Template tag to output your JWT from your session

I wanted to see if any/all of those are of interest to you?  If so, I'll make a PR(or multiple if you want them split up). If not, no big deal, I'll make a different library.
Rational here, we often have projects where just a part of the site/application is JS heavy and the rest is more of a traditional Django app.  In that scenario, using the normal login and having a JWT that can be used from there is a great workflow.

@danielfarrell atm no active plans for anything else, but with people stepping up to help develop and maintain I'm up for anything. Would love to see pull requests for these things so we can discuss further. Thanks!

Would love to see these features. Any update @danielfarrell ?

Thanks for the reminder @jameswyse, I'll get that stuff split out into PRs for this.

The work I've done is in PR #16 if anyone is interested.

@jpadilla do you intend to maintain the project?
In the meantime, I created a fork on https://github.com/webstack/django-jwt-auth with many changes.


Fix target resolution for standalone frameworks

Due to issue with tested target resolution, no correct files are passed to further generation.
Issue described here.
This is proposed change to fix it.

I posted a similar PR: https://github.com/BarredEwe/Prefire/pull/56
Added what you suggested with Target search + fixed the bug where Target is not taken into account from prefire.yml

Great 🎉 , closing then :)