TSQLT install

how would we include tsqlt as part of this build?
I'm trying to get tsqlt unit test framework to work w/ a dotnet core build on a linux machine for devops pipelines such as github actions

troubleshooting

if I could do a dacpac of tsql then I could include that for the models but that doesn't appear to be supported. such as from https://github.com/GoEddie/AdventureworksCI/tree/v0.2/src/Test/References
I've been experimenting w/ https://github.com/lastlink/SQLCover/tree/f/tsql and trying to get tsql to work

<ItemGroup>
    <PreDeploy Include="..\..\..\..\tSQLt_V1.0.5873.27393\SetClrEnabled-linux.sql" />
  </ItemGroup>
  <ItemGroup>
    <!-- <Content Include="..\..\..\..\tSQLt_V1.0.5873.27393\tSQLt.class.sql" /> -->
  </itemGroup>

when I just include it, the file itself raw doesn't work. I suppose I could initialize a database and then export a new version fo the scripts.

I've had a look at tSQLt since I have to admit I've never heard of it before. Looking through the docs it seems to rely on SQLCLR. When we started this project we made a deliberate choice to ignore SQLCLR initially since we weren't using it ourselves. That doesn't mean it can't be made to work, we just don't know what would be needed to make it work since we have no experience with it. If someone with a lot more experience with SQLCLR would be willing to help out here that would be awesome.
That being said, perhaps it would work if you wrap up the tSQLt.dacpac into a NuGet package (possibly using the NuGet Package Explorer) and make sure the .dacpac is inside the tools folder of the package you might be able to add that NuGet package as a PackageReference to your MSBuild.Sdk.SqlProj .csproj. That would essentially add the objects from tSQLt.dacpac to your model.
For the scripts from here I am wondering what error you're seeing when you try to include them in your project. Adding them as a PreDeploy script should work, but you might hit #23 if you have multiple separate pre-deployment scripts you want to run. You could try putting them all into a single file to see if that helps. Including them as Content is probably not going to work because they are probably not DDL scripts.

It would be great if we could reference this dacpac directly rather than having to use a nuget package. Also see #82. I'm trying to get each view/ table to work and this sdk is missing build in sql server tables such as those on the sys schema.

@lastlink It looks like you got tSQLt to work: https://github.com/GoEddie/SQLCover/pull/60 - can we close this now?

I built the tsqlt on a windows container (not using this Linux compatible build tool). Exported the deploy sql and then ran that to get tsql working on Linux agent. Would be still nice to use on this tool

@goeddie @ lastlink So this is a duplicate of #109 perhaps??

Someone cracked it: https://www.nuget.org/packages/dotnet-sqltest


presburger depends on hard constraint on itself

presburger-1.3 depended on by:

presburger-1.3 (==1.2). No maintainer. @yav

@yav Can you fix that? Test-suite for 1.3 depends on the library 1.2.

Should be fixed now (version 1.3.1). Sorry about that.

Thanks!


[HUDI-7232] [DOCS] Split FAQ into multiple pages

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Tested locally.  The links are fixed.


Manifest repo url is blocked by firefox

The repository url in the package.json contains a username, which causes problems in some browsers.
https://github.com/messageformat/Jed/blob/351c47d5c57c5c81e418414c53ca84075c518edb/package.json#L8
By opening this link in firefox the browser attempts to login to github with the SlexAxton username and shows the following error:

You are about to log in to the site “github.com” with the username “SlexAxton”, but the website does not require authentication. This may be an attempt to trick you.

The issue could be solved by changing the url to https://github.com/SlexAxton/Jed.git (or https://github.com/messageformat/Jed.git)


render methods should be passed context instead of buffer

Problem
Currently, there's no way for the render method to know additional contextual information that would be useful for widgets.
For example, frame count is currently unavailable to the render method. Additional features require more parameters to the method.
Solution
While WidgetRef and StatefulWidgetRef are unstable, I'd like to propose a Context instead of buffer.
 pub trait WidgetRef {
     fn render_ref(&self, area: Rect, ctx: &mut Context);
 }

Context can be defined like so:
pub struct Context {
    buffer: Buffer
}

We can even have Context have the similar methods as Buffer, and instead of
            buf.get_mut(area.left(), area.top())
                .set_symbol(border_top_left)
                .set_style(border_style);

widget authors would write the following instead:
            ctx.get_buf_mut(area.left(), area.top())
                .set_symbol(border_top_left)
                .set_style(border_style);

The main advantage of this is that we can add features to Context in the future without breaking backward compatibility.
For example, Context can contain a frame count.
The main motivation for this idea was having a Palette in Context. For example, if Context is defined as this:
pub struct Context {
    buffer: Buffer,
    frame_count: usize,
    palette: Palette,
}

Imagine a Palette that is defined like so:
struct Palette {
    base: Color,
    primary: Color,
    secondary: Color,
    overlay0: Color,
    overlay1: Color,
    overlay2: Color,
    subtext0: Color,
    subtext1: Color,
    surface0: Color,
    surface1: Color,
    surface2: Color,
    text: Color,
}

impl Palette {
    fn catppuccin() -> Self {
        Palette {
            base: Color::from_str("#eff1f5"),
            primary: Color::from_str("#04a5e5"),
            secondary: Color::from_str("#209fb5"),
            overlay0: Color::from_str("#9ca0b0"),
            overlay1: Color::from_str("#8c8fa1"),
            overlay2: Color::from_str("#7c7f93"),
            subtext0: Color::from_str("#6c6f85"),
            subtext1: Color::from_str("#5c5f77"),
            surface0: Color::from_str("#ccd0da"),
            surface1: Color::from_str("#bcc0cc"),
            surface2: Color::from_str("#acb0be"),
            text: Color::from_str("#4c4f69"),
        }
    }
}

Now, every widget's render_ref method can be passed a context that has palette information and we can make a Ratatui application styled automatically based on themes.
There's probably more use cases for a Context (other user preferences like light mode / dark mode?) that we could expand on in the future if this feature was enabled.
Thoughts?

The WidgetRef and StatefulWidgetRef methods as well as new methods are being discussed in this issue: https://github.com/ratatui-org/ratatui/issues/996
Themes are discussed in this issue: https://github.com/ratatui-org/ratatui/issues/799

A theme would be added to a widget before rendering like a border or character set is done. We shouldn’t mix render and widget configuration.
Otherwise it’s interesting to explore this idea.

I like the idea of adding a Context parameter to the render functions. I think it opens a lot of doors in terms of usability.
My only question is, how can we make it backwards compatible? I'm assuming it is not really possible to do it so. Maybe we can have a From<Buffer> implementation for Context for limiting the breaking change to only:
- render(area, buffer)
+ render(area, buffer.into())

Just throwing some ideas.

For the average Ratatui user this change won't be breaking. For example, this code will remain unchanged:
    frame.render_widget(
        Paragraph::new("Example of a paragraph that a user writes")
            .alignment(Alignment::Center),
        area,
    );

However, every Ratatui widget developer OR Ratatui user that implements the one of the widgets trait will have to update their code. Currently WidgetRef is unstable so I was proposing only changing that.
If we want to make a change to the Widget trait as well, it might be possible to use Into<Context> as a generic argument like so:
impl Widget for UserDefinedWidget<'_> {
    fn render<T>(self, area: Rect, buf: &mut T) where T: Into<Context> {
        // ...
    }
}

impl WidgetRef for UserDefinedWidget<'_> {
    fn render_ref<T>(&self, area: Rect, buf: &mut T) where T: Into<Context> {
        // ...
    }
}

If we did this, any widget developer will be able to write user_defined_widget.render(area, buffer) if From<Buffer> is implemented for Context but they'll probably still have to update their impl Widget for UserDefinedWidget to use the new generic function definition for the trait. I haven't looked into the impact surface of such a change.

Another reason a Context would be useful is during render we can set the cursor at a specific location. Currently with Buffer cursors are handled separately.
This will allow better interfaces for "focus". For example, bubbletea has text_input.focus() which can make the cursor visible and appear in a text field at the appropriate location.

This is definitely a good area to explore, but also one to do so conservatively. It would be easy to mistake the common elements that all apps need here.
I think it's worth trying a few different ideas outside of ratatui for this and seeing what works and enables the right use cases. The palette example makes me concerned as it implies a pretty big investment in making a design scheme (i.e. choosing the right pieces to palettize). I like that the buffer and frame count have a nicer place to live.
To be clear, I want to see something like this in Ratatui long term definitely, but not done in a hasty manner which drastically changes things without building up the narrative around it first.
It could be worth making this a discussion rather than an issue.

I agree that this shouldn’t be done in haste. I think frame count is probably the strongest motivation for this right now.

The cursor would do it for me.
And maybe some extra layers of buffers to render Hovers, Combobox and the like.


Unresponsive dashboard page card layout

I will fix cards layout for all screen size. Please asssign me this task.

Card layout is already good, @PrayanshParmar you don't need to change it

Okay, then if you need any other feature I can help please give me some more task


showing compacted version of changes?

So... when managing large projects, I find annoying the diff panel tree that shows all packages, even those that do not have changes... in that view in fact I want to focus on the modified packages and for example on pharo-core I have to scroll down always to see anything (I have like 300 packages, and sometimes a one-line change).
What do you think? It has sense?

In the git's gui tool I use out of Pharo it shows only folder/packages containing changes. I never found this weird. When we want to commit I think it would be cool to see only changed packages indeed. IMO if you let the possibility to see both versions, the "changed packages only" should be the default one.

yeah, let's do that

Stale. Please, reopen if this is still an issue with latest version (to be announced)


Page Navigation

Describe the bug
When navigating to a single lesson page the page scroll does not reset so you will end up in the middle of the page.
To Reproduce
Steps to reproduce the behavior:

Go to https://microsoft.github.io/Web-Dev-For-Beginners/#/?id=lessons
Click on the link of a singular lesson
Page opens on the current scroll offset

Expected behavior
The page should start at the top when you navigate to it
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MAC OSX
Browser chrome
Version 96.0.4664.55

Sir i can solve this bug.
Can i solve this bug

If you want

I try my best

I saw your website i found that when we clink on the lesson we will redirect to the new page that's good but we are redirect to the middle pf the page that's the problem.
Am i right..

Hello
On Wed, 24 Nov 2021, 1:28 p.m. Arnavmishra219, @.***>
wrote:

I try my best
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Web-Dev-For-Beginners/issues/539#issuecomment-977601427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUBNPTEXMBSDTTXM4VQ54WLUNSHYPANCNFSM5IQ6DOFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Yes
Sent from Yahoo Mail for iPhone
On Wednesday, November 24, 2021, 2:28 AM, Arnavmishra219 @.***> wrote:
Sir i can solve this bug.
Can i solve this bug
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

i think there was an error in your html file

So can you give me any reward for solving this bug....
On Wed 24 Nov, 2021, 2:18 PM DaMoochie8trillion, @.***>
wrote:

Yes
Sent from Yahoo Mail for iPhone
On Wednesday, November 24, 2021, 2:28 AM, Arnavmishra219 @.***>
wrote:
Sir i can solve this bug.
Can i solve this bug
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Web-Dev-For-Beginners/issues/539#issuecomment-977659654,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTT4BNDN2RWRFZL7ANJDS3UNSRGXANCNFSM5IQ6DOFQ
.

hi, maintainer here. Please don't add a lot of comments here, but rather organize your thoughts on the bug and explain how you'd like to fix it, then post a PR referencing the bug, if it exists. I recommend checking the Docsify documentation to see if it's explained there. There are no bug bounties on this repo, but I will close issues if they become a focus of spam.

this was quickly fixed via a quick search of the Docsify documentation: auto2top: true


System.IO.PathTooLongException

Hi, I'm getting this error extracting my asset bundles

Import: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.PathHelper.GetFullPathName()
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at uTinyRipper.AssetExporters.YAMLAssetExporter.Export(IExportContainer container, Object asset, String path, Action3 callback)    at uTinyRipper.AssetExporters.YAMLAssetExporter.Export(IExportContainer container, Object asset, String path)    at uTinyRipper.AssetExporters.AssetExportCollection.ExportInner(ProjectAssetContainer container, String filePath)    at uTinyRipper.AssetExporters.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath)    at uTinyRipper.AssetExporters.ProjectExporter.Export(String path, FileCollection fileCollection, IEnumerable1 assets)
at uTinyRipperGUI.MainWindow.ExportFiles(Object data)

I've already enabled the longpath registry tweak in my settings.

Hey there, one of mafaca's suggestions in #116 was to try extracting your assets to the root folder of your drive to shorten the directory path you're working with. It wasn't mentioned in the original thread, but if extracting to a shorter directory still has issues, it may be worth also shortening the directory of the files you're importing into UR (a wild guess based on the fact that the error mentions [Import]: System.IO...)
There was another approach suggested in #125 which eventually lead to manually building the project directly, but I'm not clear on the specific instructions written in there.

Fixed in the last build.


Update createBIDS_anat_Full_T1w_json.m

Bug on line 51: changed anant to anat

Thanks for catching this!

This seems ready to be merged. @dorahermes can you merge? If not, do you know who can?

@all-contributors please add @pvdemael for bug


On change couplings chord show associated files in bold when hovering a line between files

On the change couplings chord, it would be helpful if  - when hovering a line between files - the associated files are shown in bold so that I can easily spot them.

This is implemented. You can click on an edge or vertex to keep the highlighting.


Change CI to run on branch with PRs

Codecov Report

Merging #92 (0e4feea) into main (e652c19) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #92   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines          818       818
=========================================
  Hits           818       818

Continue to review full report at Codecov.

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


DEPRECATION: lookup was called on a Registry.

After upgrading ember-cli
DEBUG: -------------------------------
ember.debug.js:4888DEBUG: Ember                       : 1.12.0
ember.debug.js:4888DEBUG: Ember Data                  : 1.0.0-beta.17
ember.debug.js:4888DEBUG: jQuery                      : 1.11.3
ember.debug.js:4888DEBUG: Ember Simple Auth           : 0.8.0-beta.2
ember.debug.js:4888DEBUG: Ember Simple Auth OAuth 2.0 : 0.8.0-beta.2
ember.debug.js:4888DEBUG: -------------------------------
ember.debug.js:4954
DEPRECATION: `lookup` was called on a Registry. The `initializer` API no longer receives a container, and you should use an `instanceInitializer` to look up objects from the container. See http://emberjs.com/guides/deprecations#toc_deprecate-access-to-instances-in-initializers for more details.

see simplabs/ember-simple-auth#517


propose: Split handler concerns

Proposed Changes for Code Refactoring
In order to improve the testing process, it is necessary to introduce abstractions. This has led to the need for transferring responsibilities from objects that were initially located in the handler to both the service and repository components.
Handler:

Separation of Concerns: It is recommended to categorize the files within the handler directory based on their distinct responsibilities. This would result in retaining only handler/response.go and potentially handler/request.go.
Function Accessibility: Export the functions sendSuccess and sendError to make them accessible for usage in the repository component.

Database:

Repository Directory: Introduce a new directory named repository to house files related to the database.
Configuration Management: Relocate the database configuration file into the repository directory.
Instance Management: Move the instantiations currently present in handler/handler.go and config.go into the file repository/database.go.
Struct Organization: Organize the database operations within a struct to streamline data management.
Direct Initialization: Instantiate the database directly within the main function.

These suggested changes aim to enhance the modularity, maintainability, and organization of the codebase, aligning it more effectively with best practices.

Added a branch with a preview from changes proposed: refactor/handler


Include attendance data for all previous years in profile page, flex scales for outliers

Addresses https://github.com/studentinsights/studentinsights/issues/290.
This updates the student profile page to include attendance events from previous years in:

the summary section up top
the attendance, tardy and absence detail charts
in the full case history details

It also:

updates the scale functions for projecting values onto the y-axis, so that the full range of data is always shown and the y-scale is compressed if necessary
splits the absences and tardy charts on the details page so they can use independent y-scales

No major changes in query performance, response is still in the 100s of ms:

Showing more data from previous years
Before, with no data for previous years:

After, with context about previous years and with absences and tardies split:

(same result on full case history, not shown here for simplicity since it contains student data that needs to be scrubbed)
Showing effects of flexible y-axis scales:
Before, the count of absences overflowed the y scale:

After, the scale flexes and pushes the threshold down to show the full range:

More about y-scale functions
For students that are outliers and have more events than a typical student, the full range of values will be shown and the y-scale will be compressed.  In practice, this means any student who takes up the full visual range of the chart should stick out to users, although students who are extreme outliers will appear visually similar to students who have large values and are at risk.  Concretely, the sparkline for "discipline incidents" will look similar visually for a student with 10 incidents and a student with 50 incidents.  The dotted line for the warning threshold, and the actual number still cue the users as to the actual magnitude.

@kevinrobinson Fantastic! 🌴  🏇  🌴


[Bug]: Can't use the configs defined in a submodule.

Description
When using configurations in the ballerina config model, we are defining types that correspond to the configs in the toml file. I have encountered the following issue with configuration usage.
Steps to Reproduce

Create a new ballerina app and create two modules named mymodule.
Create the Config.toml file in the root of the project.[myconfig]
port = 8005

In the myconfig file, define a config type as below.public type ServerConfig record {
    int port;
};

public configurable ServerConfig myconfig = {
    port: 8081
};

in the main.bal file use the config initialized in the mymodule as below.public function main() {
    io:print(mymodule:myconfig.port);
}

Start with bal run and it will show the following error.Running executable

error: [Config.toml:(11:1,12:12)] unused configuration value 'myconfig'
error: [Config.toml:(12:1,12:12)] unused configuration value 'myconfig.port'

Affected Version(s)
Ballerina 2201.5.0 (Swan Lake Update 5)
Language specification 2022R4
Update Tool 1.3.14
OS, DB, other environment details and versions
Linux
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Since myconfig.bal is just another file in the same module, you don't have to use mymodule: to access the myconfig variable.
import ballerina/io;

public function main() {
    io:print(myconfig.port);
}

To move this to a different module, you need to add the module with
bal add myconfig

This will add the module in modules/myconfig. Once you move the config code to that module, you'll have to update the main.bal file to import the module.
import mymodule.myconfig;

import ballerina/io;

public function main() {
    io:print(myconfig:myconfig.port);
}

Note that you'll also have to update the Config.toml file.
[mymodule.myconfig]
myconfig.port = 8005

Also see https://ballerina.io/learn/organize-ballerina-code/


[bug report] the theme color download drop-down generated online, and the color value is not replaced

Element UI version
2.15.7
OS/Browsers version
win10
Vue version
2.6.14
Reproduction Link
https://codepen.io/fengbindev/pen/vYJPyZM
Steps to reproduce
修改颜色值下载
What is Expected?
颜色改变
What is actually happening?
没有改变

拖拽上传报错 Uncaught TypeError: this._drop is not a function
at Object.handleEvent (event.js:510)

fixed


Add section explaining community supported efforts

As we are adding in support for things like macOS which can't (yet) be officially supported, added a section in the README making clear that we want to allow community-support efforts like this to exist, but that these efforts don't imply or infer that Firebase will be officially providing documentation, technical support, etc. for these efforts.
Also demote the specific SDK sections by one level, making the README a bit more parseable.

Add instruction for accessing GitHub repo from pod file:
pod 'FirebaseDev', :git => 'https://github.com/firebase/firebase-ios-sdk.git'

Looks great! Thanks everyone!


Doesn't support .info domains

Please add support to .info domains, I tried to lookup "get.info", but nothing happens. It will be VERY cool, if node-whois will have parser too. Thx.

I've found a problem: there is two whois servers in servers.json, plus one of them don't work - "whois.nic.info". I've deleted it and left only:
"info": "whois.afilias.net"

@Biomorphix If I recall right this was fixed recently by a contributor through a pull request #24
Can you please confirm if you are using the latest version?

@hjr265
Oh, it's my fault - my version is "2.1.3".

@Biomorphix No problem :)
Closing the issue.


Function types spdm_device_send_message_func and spdm_device_receive_message_func could receive opaque pointer.

The functions registered trough spdm_register_device_io_func may need extra information that is not available in spdm_context (therefore not easily obtainable).
Would it be the case to pass an opaque pointer to these function calls?
The opaque pointer could be registered in spdm_register_device_io_func along with the functions.

Agree. How about we use:
typedef return_status (*spdm_device_send_message_func)(
IN void *spdm_device_io_context, // new field.
IN void *spdm_context,
IN uintn message_size,
IN void *message,
IN uint64 timeout);

Sounds good to me.
An alternative would be to just store the pointer inside spdm_context, without modifying the function signature.
Not sure what is best.

It is also OK to store the pointer to spdm_context, then we need define a new API to get the context.

I prefer having the pointer inside spdm_context.

Approved. Will discuss later on actual implementation.


copyright notice on all files

Add a copyright notice on top of all files (see ReSUrfEMG library for example)

why do need this on each file? I think it's enough to have a centralized licence in the repo

We don't but in my opinion it looks better in the documentation to have this at the top of each module documentation, and it makes it much easier for people to give credit if they take a module. I have taken once half an entire module with a super permissive license, and because they had this kind of message at the top, I could mostly copy-paste and the attribution and license info was already there

PR #13


failing on ubuntu-24.04

Here's the failure log: https://github.com/iloveitaly/python-starter-template/actions/runs/12281012627/job/34268829894
This version will soon be the default: https://github.com/actions/runner-images/issues/10636
Looks like something with the tar caching is causing the issue:
tar: diverted by base-files to\: /bin.usr-is-merged: Cannot stat: No such file or directory

Thank you.  I updated the action to archive only existing files.
Hope it works.


How to use Key Value Store Agent?

Key Value Store Agent:
{
  "key": "{{ city }}",
  "value": "{{ weather }}",
  "variable": "weather"
}

The memory of Key Value Store Agent:
{
  "Tokyo": "cloudy"
}

Website Agent:
{
  "expected_update_period_in_days": "2",
  "url": "https://xkcd.com",
  "type": "html",
  "mode": "on_change",
  "extract": {
    "url": {
      "css": "#comic img",
      "value": "@src"
    }
  },
  "template": {
    "xyz": "{{ weather[Tokyo] }}"
  }
}

The Website Agent has been set to Control Target of Key Value Store Agent.
Website Agent dry run result:
[
  {
    "url": "//imgs.xkcd.com/comics/date_line.png",
    "xyz": ""
  }
]

However, the template "xyz": "{{ weather[Tokyo] }}" either "xyz": "{{ weather[city] }}" got nothing. What's the problem?

In Website Agent:
  "template": {
    "xyz": "{% assign city = 'Tokyo' %}{{ weather[city] }}"

Also got nothing.

Also failed in JavaScript Agent.
Agent.receive = function() {
  var events = this.incomingEvents();
  for(var i = 0; i < events.length; i++) {
    var a = 'Tokyo';
    this.log(this.kvs.weather[a]);
  }
}

And the log:
[00:00:00] INFO -- : Dry Run started
[00:00:00] ERROR -- : JavaScript error: TypeError: Cannot read properties of undefined (reading 'Tokyo')
[00:00:00] INFO -- : Dry Run finished

The Key Value Store Agent has been set to the controller of JavaScript Agent.
Unable to reproduce the results here. Maybe our version is different from yours? @knu

The problem is about Dry run, there is no output anyway. It seems that it is not connected to dry run?
In the generated event, the data was successfully obtained.

Sorry to see this message so late. Problem partially solved, still hoping to be able to call variables of Key Value Store Agent in such as Website Agent and JavaScript Agent, not just when generating an event. Thank you guys very much for your efforts!


home assistant no manifest.json file found custom_components/none/manifest.json

When I try to update from 2.2.10 to 2.2.12 I get this:  home assistant no manifest.json file found custom_components/none/manifest.json
Any ideas how to get past this?
Thanks!

What Integration are you trying to install? This integration is only at V1.0.4?

Got it. The Integration you are running has been deprecated, and has been replaced by this new Integration. You have to uninstall SmartWeather from the Integrations page, and then go to HACS and search for WeatherFlow. This will then install this new integration, which gives you the same data, but is a more modern Integration.
Please note, that most of the sensors have gotten new names, so there will be some work on your Ui and in automations.

When I follow these steps below after installing V1.0.4 from HACS:
Go to Configuration and Integrations
Click the + ADD INTEGRATION button in the lower right corner.
Search for WeatherFlow and click the integration.
(The search results for Weatherflow show "Weatherflow - Local" - clicking on that
I get this error:  This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.
I am doing this all from HA and not a browser.
Any ideas?  Thanks!

Start by making sure that you completely removed the old integration. It was called SmartWeather - it has to be removed both from the Integration page and from HACS. Then restart Home Assistant.
The back on the Integrations page, do a hard refresh of your browser to ensure the cash is cleared. Then click the + ADD INTEGRATION button and search for WeatherFlow Weather. This can only be configured through the UI, so it should work.
If this does not work, let me know what version of Home Assistant you are using.

Assuming this is now fixed. Else please reopen with new information.


Supports research into the identification of spatio-temporal trends and their causes

Objective of JCDP development, therefore closed


pre-push and pre-commit git hooks are handled differently when errors occur

Does this issue occur when all extensions are disabled?: Yes

Version: 1.76.2 (user setup)
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No
Issue:
pre-commit and pre-push git hooks are not handled consistently when errors occur.
pre-commit:

pre-push:

Steps to Reproduce:

Create a fresh directory
git init
Create pre-commit and pre-push files in the git hooks directory with the following contents:#!/bin/sh

echo "Failure message"
exit 1

Try to commit from VSCode Source Control Tab
Error message says "Git: Failure message"
Disable the pre-commit hook
Make a successful commit
Configure a remote and attempt to run git push
Error message says "Can't push refs to remote.  Try running "Pull" first to integrate your changes"

pre-commit seems to use the first line of output in the error dialog, whereas pre-push uses the last one.  It'd be nice if these were consistent.  Furthermore, it seems that I just can't control the dialog message for pre-push failures, it's always the same.

hey guys, do you know how could I write commit-msg so vscode could catch the error message correctly?


Feature/fixes dx29 dx30 dx33 dx34

JIRA Ticket fixes

DX-29: MenuWallet needs to accurately reflect ether price
--> in progress, dealing w/contract issues
DX-30: change wording "available balance" to your current balance in the receiving tokens
--> done
DX-33: consider submission button changing to another wording
--> done (up to changes though)
DX-34: Disallow getting to Submit Sell Order (last screen) if no sell amount entered
--> done (may need more functionality such as letting user know why they cannot move forward)

@Velenir can you quickly take a look at my buttonCTA changes? Cheers!


v2.0.0-alpha.8 v-if bug

Vue.js version
v2.0.0-alpha.8
Reproduction Link

https://jsbin.com/dajovivoye/1/edit?html,js,output
Steps to reproduce

new Vue
assign data

What is Expected?
What is actually happening?
A tag with v-if will also has style attribute

Duplicate of #3176

It's not the same as #3176 . The second div has v-if command, the third div has a style attribute, after value of isShow is changed, the second div will copy the inline style of the third div. and #3176 is about space in template.

It's fixed by the same fix.


Teku replies to malformed RANDOM PACKETS

Description
Teku doesn't properly validate RANDOM PACKET before replying with WHOAREYOU.  Per the discv5 protocol a RANDOM_PACKET is sent to initiate a handshake and the receiving node replies with WHOAREYOU.  The RANDOM_PACKET should have the following layout:

tag -> 32 bytes
auth-tag -> 12 bytes (RLP format)
random_data -> 44+ bytes

There are two issues

Teku will reply to undersized RANDOM PACKETS.

The Discv5 rationale document specifically mentions that the RANDOM PACKET size should be > WHOAREYOU to ensure that an attack using the RANDOM PACKET format will require more bandwidth for the attacker.  Teku will reply to RANDOM PACKETS as small as 46 bytes - in other words, the random_data field does not seem to be required in this implementation.  88 bytes + 2 bytes for RLP length prefix should be the minimum acceptable size.

Teku does not properly validate the RLP in the auth-tag field.

According to the RLP specification, this field should be prepended with 8c followed by 12 bytes.  I opened a related issue in the web3j repo alluding to this problem here.
The following is screenshot showing Teku's reply to a malformed RANDOM PACKET that is undersized AND has invalid RLP encoding:
Invalid RANDOM PACKET:

Teku's WHOAREYOU response:

Steps to Reproduce
You can recreate the issue by using this command to send a malformed message to Teku:
> hping3 -d 46 --fast --udp -p [PORT] [IP]

fyi, it sounds like there needs to be a discv5 spec change to address the issue with implementations responding to undersized RPs.  See this discussion:
https://github.com/sigp/lighthouse/issues/1568#issuecomment-683414834

@jrhea

According to the RLP specification, this field should be prepended with 8c followed by 12 bytes. I opened a related issue in the web3j repo alluding to this problem here.

I believe this should be validated on discovery packet parsing level:

that RLP returned a list with a single byte string
that single single byte string is of length 12

From pure RPL perspective almost any input is legit. I commented here: https://github.com/web3j/web3j/issues/1252#issuecomment-685881038

I believe this should be validated on discovery packet parsing level:

Agreed - you have to look for 8c at the discovery level because the auth_tag is 12 bytes which is specific to the discovery domain.  x8C - x80 = xC = 12
Anyways, i should have been more specific when explaining the issue (the web3j issue is sort of a separate topic).

From pure RPL perspective almost any input is legit. I commented here: web3j/web3j#1252 (comment)

i'll reply to your comments on the web3j library after i remember why i chose those specific examples


thumbnail proportion problem

Hi,
In #2443, it seems that thumbnails keep proportions.
Then , why mine do not ?

Thank's

Unless you changed thumbnail mode to PreserveRatioNoFill, it shouldn't. Closing as old issue.


dotnet-outdated reports updates to packages that aren't referenced

While doing some manual updates this morning while dependabot doesn't work with .NET 9 projects, I noticed that dotnet-outdated was suggesting NuGet package upgrades being available for packages that aren't referenced in the code.
Cloning https://github.com/martincostello/alexa-london-travel/commit/60669004b6f264576832eeec441485bc1bc8a1f3 and running the tool gives the following output:
❯ dotnet outdated
» LondonTravel.Skill.NativeAotTests
  [net9.0]
  Microsoft.CodeCoverage.MSBuild             17.12.4 -> 17.12.5
  Microsoft.Testing.Extensions.CodeCoverage  17.12.4 -> 17.12.5

Version color legend:
<red>   : Major version update or pre-release version. Possible breaking changes.
<yellow>: Minor version update. Backwards-compatible features added.
<green> : Patch version update. Backwards-compatible bug fixes.

You can upgrade packages to the latest version by passing the -u or -u:prompt option.
Elapsed: 00:00:04.7314640

My guess is that they're somehow ending up in the mix via this MSTest SDK in global.json.
The tool shouldn't suggest these updates as there are no entries present in the code with which to update. Running the tool with the --upgrade flag, the tool attempts to update them, but then does nothing despite reporting a successful upgrade.
❯ dotnet outdated --upgrade
» LondonTravel.Skill.NativeAotTests
  [net9.0]
  Microsoft.CodeCoverage.MSBuild             17.12.4 -> 17.12.5
  Microsoft.Testing.Extensions.CodeCoverage  17.12.4 -> 17.12.5

Version color legend:
<red>   : Major version update or pre-release version. Possible breaking changes.
<yellow>: Minor version update. Backwards-compatible features added.
<green> : Patch version update. Backwards-compatible bug fixes.

Upgrading package Microsoft.CodeCoverage.MSBuild...
Project LondonTravel.Skill.NativeAotTests [net9.0] upgraded successfully

Upgrading package Microsoft.Testing.Extensions.CodeCoverage...
Project LondonTravel.Skill.NativeAotTests [net9.0] upgraded successfully

Elapsed: 00:00:08.8673814

alexa-london-travel on  main via .NET v9.0.100-rc.1.24452.12 took 9s
❯ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

alexa-london-travel on  main via .NET v9.0.100-rc.1.24452.12
❯ dotnet outdated
» LondonTravel.Skill.NativeAotTests
  [net9.0]
  Microsoft.CodeCoverage.MSBuild             17.12.4 -> 17.12.5
  Microsoft.Testing.Extensions.CodeCoverage  17.12.4 -> 17.12.5

Version color legend:
<red>   : Major version update or pre-release version. Possible breaking changes.
<yellow>: Minor version update. Backwards-compatible features added.
<green> : Patch version update. Backwards-compatible bug fixes.

You can upgrade packages to the latest version by passing the -u or -u:prompt option.
Elapsed: 00:00:04.6061742

This is breaking behaviour in the case of users using --fail-on-updates as there is no upgrade to perform to make the tool find no updates to make.

Might be related to/dupe of #589 and NuGet/Home#13809.


feat: fixed data tags, description preset for Go, add goIncludeComments and goIncludeTags flags

Description
Anyway, I've managed to fix the Golang generator: I added comments from descriptions, enabled them in the Go helper, fixed the data tags by adding "required", added a flag to include comments in Go, and included the description preset in modelina-cli. I'm not sure why, but modelina-cli refused to accept the file parameter from the command line (even after packing it into a tarball), so I had to add an optional -i flag to specify the input path.
Related Issue
[FEATURE] Golang generator should include comments from parameter descriptions #2116
Checklist

[ ] The code follows the project's coding standards and is properly linted (npm run lint): yes, but two prettier issues are in conflict with default vscode ts formatter, so I left as is.
[ ] Tests have been added or updated to cover the changes: not yet
[ ] Documentation has been updated to reflect the changes: yes
[ ] All tests pass successfully locally.(npm run test): not yet

Additional Notes
I haven't been able to build the CLI correctly yet: it can't use the modelina library directly from the source (or via npm link). Therefore, I had to run npm run build:prod for modelina, copy its lib folder to the modelina-cli node_modules directory (after the initial npm install), and only then was I able to build modelina-cli and run it. Any advice on how to do this correctly would be appreciated. For now, I'll create a PR just for you to take a look.

Remember to add the new feature to the Go documentation https://github.com/TertiumOrganum1/modelina/blob/next/docs/languages/Go.md you can just use this as guideline: https://github.com/TertiumOrganum1/modelina/blob/next/docs/languages/TypeScript.md#rendering-comments-from-description-and-example-fields
We also need a single test ensuring that the preset works as expected, just take the one from TypeScript and change it to use Go 🙂 https://github.com/TertiumOrganum1/modelina/blob/next/test/generators/typescript/preset/DescriptionPreset.spec.ts

Sorry, I don't want it wants from me. What it mean by duplication? Take a look and go examples - the have the same index.spec.ts! But my test is duplicated?
Could you please explain what does it want or even fix it? Or should I just delete my tests?

/rtm

Looks like you might be missing to export the preset ✌
What do you mean?
in go/presets/index.ts: export * from './DescriptionPreset';
in go/presets/DescriptionPreset.ts: export const GO_DESCRIPTION_PRESET: GoPreset = . . .
And on my PC modelina works as expected.
As far as I can see everything done similar to typescript generator.

/ptal @jonaslagoni  Hi, please advise what to do with my PR here. It didn't pass tests as modelina-cli uses modelina as npm package, but I've fixed both. Locally it all works but not in your CI. So should we split it into two PRs? If fix to modelina will be merged, how long should we wait to make PR to modelina-cli? Or maybe there is a way to disable some checks on this particular PR? How do you make changes in modelina&cli anyways? npm dependency makes them impossible

@jonaslagoni Hi, please advise what to do with my PR here. It didn't pass tests as modelina-cli uses modelina as npm package, but I've fixed both. Locally it all works but not in your CI. So should we split it into two PRs? If fix to modelina will be merged, how long should we wait to make PR to modelina-cli? Or maybe there is a way to disable some checks on this particular PR? How do you make changes in modelina&cli anyways? npm dependency makes them impossible

Yea, you right, completely forgot about that...
Split it up and as soon as it's released we can merge the CLI changes 🙂


Gender to Flow

In light of the discussion around #943, this implements a structural rename of Working IR's Gender to Flow. I'm attempting to maintain backwards compatibility by deprecating anything gender-related that's public and providing implicit conversions where appropriate.
In summary, the following are the new names, which are assumedly more descriptive on what is going on. Nonetheless, I'm happy to bikeshed:

gender        -> flow
MALE          -> SourceFlow
FEMALE        -> SinkFlow
BIGENDER      -> DuplexFlow
UNKNOWNGENDER -> UnknownFlow

Fixes #943.

ping @azidar

Updated deprecation messages and added deprecated ResolveGenders methods. A cursory glance seems that adding a deprecated copy method is complicated. I'm punting on that here, but can dig into it if you think otherwise.

I don't think there's anything we can do about copy, so I think we're good to go!


resources, stdlib: Adding 'suite' category to gem5

Change-Id: I4a3231db4ab367c6e25bd97a67b92c2499330246

The above tests will not run properly as workload changes are not merged yet, we are waiting for the workload changes to get merged first.

TODO: Rebase all commits into one commit before merging

TODO: Rebase all commits into one commit before merging

Has been done :)

I made an error while trying to sync the new develop branch with my working branch, I will try to fix it in the morning.


chore(deps): upgrade elliptic

Codecov Report

Merging #347 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #347   +/-   ##
========================================
  Coverage    98.18%   98.18%
========================================
  Files           12       12
  Lines          497      497
  Branches       141      141
========================================
  Hits           488      488
  Misses           5        5
  Partials         4        4

Continue to review full report at Codecov.

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

Not directly related to this but worthy some research. Elliptic depends on BN.js 4.4, which doesn't have updated @types/bn.js yet. We tried to upgrade BN for Neuron but lack of new @types/bn.js has stopped me. Is there any way to get or generate a new copy of BN types? (I even wanted to upgrade to BN 5)

We can submit a PR to the DefinitelyTypes to update the type definition.

Not directly related to this but worthy some research. Elliptic depends on BN.js 4.4, which doesn't have updated @types/bn.js yet. We tried to upgrade BN for Neuron but lack of new @types/bn.js has stopped me. Is there any way to get or generate a new copy of BN types? (I even wanted to upgrade to BN 5)

If only the type definition is required, simply copy the current version and put it in the types directory and update the outdated interface.

Not directly related to this but worthy some research. Elliptic depends on BN.js 4.4, which doesn't have updated @types/bn.js yet. We tried to upgrade BN for Neuron but lack of new @types/bn.js has stopped me. Is there any way to get or generate a new copy of BN types? (I even wanted to upgrade to BN 5)

If only the type definition is required, simply copy the current version and put it in the types directory and update the outdated interface.

Looks good enough. Looking at @types issues I don't think a PR would get merged very soon.


NBG ERP Solution files

Hello,
As per our latest communication via e-mail, please note that we have created a folder in the certified-connectors folder, including the necessary files for the custom connector(apiDefinition.swagger.json,apiProperties.json, a Readme.md  file). You may review these files so as to proceed later with the next steps (Upload from local files to ISV Studio). If there is anything else that you need from our side let us know.
Thank you,
National Bank of Greece Team

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[ ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@NBGpartners may I ask you please to sign our CLA? Just comment with the below command.
@microsoft-github-policy-service agree company="your company"

Thank you so much again.


config question

Hi Jamie, thanks for this plugin its going to be really useful for me! I wanted to know how to use the configuration xml file listed in the README? Is it specified in the pom somehow or does it need a particular name or extension? I know nothing about making .deb files, sorry!

sorry I didn't realise that it was the expanded version of the configuration for the plugin in the pom file! my bad

No problem at all. If you have any further questions, just shout :)


Drive Redirection naming convention has changed.

Using the RC4 release from November, if you use drive redirection with the following syntax: /drive:Temp,/home/user/Temp  then the remote drive would show up as "Temp on COMPUTERNAME". As of the current release from master, it now shows up as:
_home_user_Temp on COMPUTERNAME. I don't have time to bisect this right now but I wanted to let the developers know that something has changed since then. I use a variety of Linux distros to connect to Windows 8/10/2012 VMs, all with the same result.

Update: I have an Ubuntu 16.04.6 LTS client that still exhibits the correct behavior with the latest master, so something has changed on the client side of Linux, i.e., Ubuntu 18.04 and Debian 10 Wayland.

@user-72632 are you sure you´re testing on master? with 02a65840e8016762afbdcadf18303d641ec1c15d it is working as expected.
Which version did you test with?

This one has me confused. I used the latest master on three different Linux distros: Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Debian 10 Buster/Wayland. The only one that shows the correct drive redirection format is 16.04. Both 18 and Buster show the "_home_user_Temp on COMPUTERNAME". I really don't know what to say other than maybe a package I am compiling with has changed somewhere. Without really knowing the correct dependencies (I think the ones from the WiKi are old), I can't be sure where to look. I have not found an easy way to parse the dependencies out of the nightly build configuration. Feel free to close this if you are seeing the correct format; I just thought I would bring it up in case anyone else has seen this as well.

@user-72632 ok, strange. This is not dependent on libraries but core functionality.
Do you use self compiled versions, our nightlies or distro packages?
The distro versions might be a bit older.

I use both the nightlies and my self-compiled versions. I attached the latest buildconfig from the Ubuntu 16.04 (self compile) that works and the Debian Buster (self compile) that does not. HTH
buildconfig.txt

Ok, both to the same target server with the same commandline?
(Need to find the diff)

You mind checking if there is a folder that has the same name as the name for the drive in your workingdirectory? (Maybe some misdetection...)

Here is my command line that I use to connect in all situations and to the same target:
$FBIN/xfreerdp /f /drive:home,/home/$user "/printer:MFC-8910DW,Brother MFC-8910DW Printer"
/network:auto /gfx +gfx-progressive +old-license /d:BCS /sec:nla /cert-ignore
-themes -wallpaper +clipboard /u:$user /p:$pass /v:$IP /log-level:info >> $LOG 2>&1
I have done the following testing with these results: In ALL situations, when the following command line is used:  /drive:home,/home/$user  the result is everything looks fine on ALL distros. That is, the redirected drive shows up as: "home on COMPUTERNAME". In ALL distros, when the command line such as this: /drive:Temp,/home/$user/Temp  is used, then ALL distros report the problematic format with underscores. I checked for duplicate names and also renamed the "Templates" directory to make sure there was no clash.
So it would appear the standard /home/user syntax shows correctly and whenever you append a nther level directory, it shows the underscores.

You did start from /hom/user? Does /drive:xxx,/home/$user/Temp work?

 On my machines username is $USER

Ok, got it.
If both parameters are valid paths (Temp is a valid path in your working directory /home/user, /home/user/Temp is the absolute path then the what is the name what is the path algorithm takes the first match.

I just tried your commit with my self-compile and it did not work for me. I also found out something I never new about the /drive syntax. That is, I always thought that you needed to have both the  and the  in the /drive syntax to form a correct mapping on the command line. I did not realize that you can just put the  and it would also work correctly. I just tried this with master and nightly and it works using just:
/drive:Temp shows correctly as "Temp on COMPUTERNAME". Just for fun I also tried /drive:/home/user/Temp which resulted in the same incorrect format with underscores. Here is another strange case, if you just use a different  other than the real relative name then it also works. For example, I used on master, /drive:mytemp,/home/user/Temp  and it works correctly by showing "mytemp on COMPUTERNAME". So, it looks like the path algo does not like when the  component of the command line has the same name as the last part in the actual . I like just using only the relative name such as /drive:Temp on the command line as long as it exists. Again, I tried all this with both master and the latest nightly without your commit integrated to check this out on the existing implementation.

@user-72632 yes, need that to allow the relaxed handling from rdp files. The syntax with _ is for all cases a full path is also used for the name.

OK, I just compiled your akallabeth:drive_prefer_absolute_path  branch and it does work as expected.  Don't know why my self-compile did not work the first time unless I picked up too early of a fix. Thanks for your help on this.  Is it considered improper form to use just the name on the /drive command line or should I continue to use the full name and path syntax?


why can't overcoat auto map json key to properties?

I can design the model exactly as the json response, e.g.
@implementation DMDoctor

+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    return @{
//             @"consultScope": @"consultScope",
//             @"expertAcademicTitle": @"expertAcademicTitle",
//             @"expertFeature": @"expertFeature",
//             @"expertId": @"expertId",
//             @"expertName": @"expertName",
//             @"expertPhoto": @"expertPhoto",
//             @"expertSex": @"expertSex",
//             @"expertTechnicalTitle": @"expertTechnicalTitle",
//             @"expertWeight": @"expertWeight",
//             @"hospDeptId": @"hospDeptId",
//             @"hospDeptName": @"hospDeptName"
             };
}

see, all exactly the same . but I test by comment all fields, and all keys not being set.
if overcoat can act like , the work could be more easier (auto pair json key and class property), thus we only need to map some special keys but not always all the keys.
besides, if this is designed for developer can manually choose which keys are mapped, you can provide another map to exclude them.
is it a good idea?

Would this be a safety/security concern though? Could it execute arbitrary code?  Certainly it would need to exclude known reserved keywords like "description" to avoid crashes if the JSON payload has those keys.
I'd be inclined to keep an array of exact string matches
Sent from my iPhone.

On Apr 20, 2016, at 10:59 AM, walker<EMAIL_ADDRESS>wrote:
I can design the model exactly as the json response, e.g.
`
@implementation DMDoctor
(NSDictionary *)JSONKeyPathsByPropertyKey { return @{ // @"consultScope": @"consultScope", // @"expertAcademicTitle": @"expertAcademicTitle", // @"expertFeature": @"expertFeature", // @"expertId": @"expertId", // @"expertName": @"expertName", // @"expertPhoto": @"expertPhoto", // @"expertSex": @"expertSex", // @"expertTechnicalTitle": @"expertTechnicalTitle", // @"expertWeight": @"expertWeight", // @"hospDeptId": @"hospDeptId", // @"hospDeptName": @"hospDeptName" }; } `
see, all exactly the same . but I test by comment all fields, and all keys not being set.
if overcoat can act like , the work could be more easier (auto pair json key and class property), thus we only need to map some special keys but not always all the keys.
besides, if this is designed for developer can manually choose which keys are mapped, you can provide another map to exclude them.
is it a good idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

yes, and I found it's the mantle thing... not should be done by overcoat


library not found for -lPods-Appname

I'm getting this error when trying to build the project in xcode, it appears that i library is missing but I dont know how to  fix this issue - screenshot
http://i.imgur.com/ohz1cmb.png
Expected Behaviour
Project builds successfully

Actual Behaviour
Project fails to build

Reproduce Scenario (including but not limited to)
cordova plugin add phonegap-plugin-push
ionic build ios
open in xcode

Steps to Reproduce
Osx Xcode 8.1 build

Cordova CLI version and cordova platform version
cordova --version                                    6.5.0
cordova platform version android                     4.3.1

Plugin version
cordova plugin version | grep phonegap-plugin-push   1.9.2

Logs taken while reproducing problem
ld: library not found for -lPods-Appname
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@markeh did you open the project or the workspace? You should open the workspace which includes the project for your app and the cocoapods project.

@macdonst exactly what the problem was, sorry for the hassle. thanks

@markeh no problem, happy it's sorted.

fwiw, this just happened to me aswell. I feel like it should be in the installation doc, no? Chances are most cordova devs are newbies with cocoapods.

I am getting same issue. i tried with workspace trick but didn't work for me.
Phonegap version  6.5.0
phonegap platform version ios 4.3.1


Fix openstack check instantiation in tests

What does this PR do?
Tests have been broken since - https://github.com/DataDog/integrations-core/commit/5ba0031992255f7e9ef133cbb47975ace2cf3d24
This fixes that by properly passing the full instances list into the class instantiation
Motivation
Fixes CI
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
[ ] If PR adds a configuration option, it has been added to the configuration file.

Additional Notes
Anything else we should know when reviewing?

Good catch! Thanks


feat(engine): make new payload canonical action

Description
Builds on top of https://github.com/paradigmxyz/reth/pull/8041.
Introduces MakeNewPayloadCanonical action which is triggered when new payload is valid and current FCU head.

hive run https://github.com/paradigmxyz/reth/actions/runs/8921583725


[DIR-1201] add route details page

Description

Added a detail page for the routes
Added e2e test to that routes page

minor changes in the route list

the methods will be cropped if there are more than two
columns are swaped to be consistent with the details page

Before
After

Some components of the routes list, are also use by the routes details page, therefore I moved them one folder up

Checklist

[x] Documentation updated if required
[x] Test coverage is appropriate

Checklist Internal

[x] Linear issue linked (e.g. [DIR-XXXX] pull request title)
[x] Has the PR been labeled

Thanks for your suggestions @julia-zielke. I fixed the typos and also changed the icon to the square-chevron-right*. This is much better now!
*I was also thinking about the square-gantt-chart but it would require an update of the icon package which has some small breaking changes.


Update 2022-06-28.md in Japanese version (new).

@anajsana
I re-created the PR.
Could you please check this?

Awesome! Thanks!


Brooklyn location configurer

Defines a implementation of the Abstract Compute type specified in tosca-normative-types.  Additionally, defines a brooklyn.nodes.SoftwareProcess type that Brooklyn Catalog items are derived from.

Looks good. Please review comments and merge as you see fit.

Thanks @sjcorbett, comments addressed and merging


Add TRANS_SPRING interpolation option to tweens

Thanks for all the help! I hope everything is now in order.
my proposal: https://github.com/godotengine/godot-proposals/issues/4212
my other attempt at a pull request: https://github.com/godotengine/godot/pull/58999
Production edit: Closes https://github.com/godotengine/godot-proposals/issues/4212

You used your master branch again... You will likely have issues again when you start making changes after the review or need to rebase.
And with that, please use a more descriptive commit message, e.g. what I changed the title to.

github misleading us once again?

Yes...


Made a few fields public that were missing it.

Updated these fields- needed to be public so that they could be used elsewhere.

Good work, thanks for the contributions!


if you would like to provide a docker version？

Hello，
Prof.Steve, It seems that the firedrake has some problems with installing the environment.
I wonder if your group would like to provide a docker version that includes simulation software？
best,
aoming

Dear Aoming,
We are currently doing a large refactoring to land a new version before APS. The new version will fix the issues :)
Best,
Ludger

thx!

Hi Aoming,
Can I ask what issues you are currently having? I know Ludger has some things in the works, but I do want to clarify that as of last week I have built a new version of firedrake and successfully installed HydroGym using pip. The tutorials aren't working since the data files were generated under the old version of firedrake checkpointing (I just found this out yesterday), but if you go to the test files and run pytest test_cyl.py, for example, all test should pass. You should be able to interact with the solver or environment accordingly (different tests in our suite interact with HydroGym at different levels) if you want to familiarize yourself with the API.

Hi Aoming,
Can I ask what issues you are currently having? I know Ludger has some things in the works, but I do want to clarify that as of last week I have built a new version of firedrake and successfully installed HydroGym using pip. The tutorials aren't working since the data files were generated under the old version of firedrake checkpointing (I just found this out yesterday), but if you go to the test folder and run pytest test_cyl.py, for example, all test should pass. You should be able to interact with the solver or environment accordingly (different tests in our suite interact with HydroGym at different levels) if you want to familiarize yourself with the API.

Hello Sam,
Yes, I encounter an error when I install Firedfrake in the accordingDOCS:"python3 firedrake-install --venv-name=path/to/venv". And it shows that
{" File "/cluster/home/xuzhiqin_10/lam/hydrogym/third_party/firedrake/scripts/firedrake-install", line 1675, in
check_call(["apt-get", "--version"])
File "/cluster/home/xuzhiqin_10/lam/hydrogym/third_party/firedrake/scripts/firedrake-install", line 653, in check_call
log.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())
File "/cluster/home/xuzhiqin_10/lam/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/cluster/home/xuzhiqin_10/lam/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/cluster/home/xuzhiqin_10/lam/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/cluster/home/xuzhiqin_10/lam/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'apt-get'}. And I add sudo to exec it. It shows {that my account is not in the sudoers file.  This incident will be reported. } Do you know how to fix？
Best，
AOMING

day), but if you go to the test folder and run pytest test_cyl.py, for example, all test should pass. You should be able to interact with the solver or environment accordingly (diff

rootdir: /cluster/home/xuzhiqin_10/lam/hydrogym/test
collected 0 items / 1 error
====================================================================================== ERRORS =======================================================================================
___________________________________________________________________________ ERROR collecting test_cyl.py ____________________________________________________________________________
ImportError while importing test module '/cluster/home/xuzhiqin_10/lam/hydrogym/test/test_cyl.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../miniconda3/envs/myenv/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_cyl.py:3: in
import firedrake as fd
E   ModuleNotFoundError: No module named 'firedrake'

Hi Prof，
I choose other computer，but it shows thatCreating firedrake venv in '/liangaoming/hydrogym/third_party/firedrake/scripts/path/to/venv'.
Traceback (most recent call last):
File "firedrake-install", line 1714, in
run_pip(["install", "-U", "setuptools==59.2.0"])  # Unpin this when numpy will build with latest setuptools
File "firedrake-install", line 956, in run_pip
check_call(pip + args)
File "firedrake-install", line 653, in check_call
log.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/liangaoming/hydrogym/third_party/firedrake/scripts/path/to/venv/bin/python', '-m', 'pip', 'install', '-U', 'setuptools==59.2.0']' returned non-zero exit status 2.

update：
Eigen tarball hash valid
Depending on your platform, PETSc may take an hour or more to build!
Installing pip dependencies for loopy
Installing pip dependencies for petsc4py
No dependencies found. Skipping.
Installing pip dependencies for ufl
No dependencies found. Skipping.
Installing pip dependencies for fiat
No dependencies found. Skipping.
Installing pip dependencies for FInAT
Traceback (most recent call last):
File "/liangaoming/hydrogym/third_party/firedrake/scripts/firedrake-install", line 1864, in
pip_requirements(p, compiler_env)
File "/liangaoming/hydrogym/third_party/firedrake/scripts/firedrake-install", line 991, in pip_requirements
run_pip_install_wrap(reqs, parallel_compiler_env)
File "/liangaoming/hydrogym/third_party/firedrake/scripts/firedrake-install", line 984, in run_pip_install_wrap
run_pip_install([req])
File "/liangaoming/hydrogym/third_party/firedrake/scripts/firedrake-install", line 965, in run_pip_install
check_call(pipinstall + pipargs)
File "/liangaoming/hydrogym/third_party/firedrake/scripts/firedrake-install", line 653, in check_call
log.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())
File "/root/liangaoming/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/root/liangaoming/miniconda3/envs/myenv/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/liangaoming/hydrogym/third_party/firedrake/scripts/venv/bin/python', '-m', 'pip', 'install', '--no-build-isolation', '--no-binary', 'mpi4py,randomgen,islpy,numpy', '-vvv', 'numpy>=1.16']' returned non-zero exit status 2.
Do you know how to fix？
Aoming

Ah okay, if I read this correctly you're trying to install firedrake from a python binary file that was generated using miniconda. Firedrake is not compatible with conda environments at all. You can see the "System anti-requirements" sections of their installation guide for more details. They recommend removing conda from your system, but if you are actively using conda environments (which I think is a fair and very common practice nowadays) you should be able to download a docker image of firedrake that will be separate from your system. I haven't tested this in a while, but if you successfully build the docker image, you should be able to pip install hydrogym in that image.
We recognize that this is a quite large hurdle to begin using firedrake/HydroGym, and perhaps another option could be to create a new user on your desktop that you use only for firedrake. I haven't tried this before, but myself and my collaborators don't see any reason why this wouldn't work so long as you don't install conda on that user. If you choose to go down this route, I recommend installing firedrake with Python3.10 since firedrake will install for python 3.8-3.11, but Hydrogym requires 3.10 in it's current state.
If you do keep trying let me know how it goes! We hope to lower the barrier to entry soon with our next major update!
Best,
Sam


merge response headers in proxy (close #713)

Codecov Report

Merging #727 (c252fa3) into main (7d9f590) will increase coverage by 0.25%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##             main     #727      +/-   ##
==========================================
+ Coverage   80.38%   80.63%   +0.25%
==========================================
  Files          98       98
  Lines       10701    10707       +6
==========================================
+ Hits         8602     8634      +32
+ Misses       1609     1585      -24
+ Partials      490      488       -2

Impacted Files
Coverage Δ

pkg/filters/proxy/memorycache.go
92.68% <0.00%> (-3.52%)
:arrow_down:

pkg/filters/corsadaptor/corsadaptor.go
90.62% <100.00%> (+1.73%)
:arrow_up:

pkg/filters/proxy/pool.go
76.73% <100.00%> (+7.39%)
:arrow_up:

pkg/filters/validator/basicauth.go
77.41% <0.00%> (-1.39%)
:arrow_down:

pkg/cluster/cluster.go
59.57% <0.00%> (-0.53%)
:arrow_down:

pkg/filters/headerlookup/headerlookup.go
86.01% <0.00%> (+1.39%)
:arrow_up:

Continue to review full report at Codecov.

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


Error with Unit Test 7Zip.LZMA.7z

Hi!
I have a problem when run Test Unit::
public void SevenZipArchive_LZMA_Time_Attributes_PathRead()
{
ArchiveFileReadEx("7Zip.LZMA.7z");
}
It was failed..

Still works for me


use SWC configuration problems and solutions material

Many of the issues we encountered in Trondheim seem to have solutions
in this software carpentry page

I have tested the following steps in windows laptop. We can show them at the beginning of the workshop to check if python and Anaconda scrips - sphinx-quickstart, jupyter, etc are available in git bash.

open windows command prompt
type "where python” to check where python is installed

If you use Anaconda, usually it is : “C:\Users<username>\Anaconda2\python.exe"

Add python and anaconda scripts to your path
SETX PATH “%PATH%;C:\Users\<username>\Anaconda2\Scripts;C:\Users\<username>\Anaconda2”

Close the windows command prompt and open a new one.
Check python --version
If you open git bash, you will have python and anaconda scripts available to git bash.

Awesome doc! Can you please place submit it so that we have it on the website? No problem if it's too much work at this moment, in this case please signal this and somebody else will do it but this will help a lot. Thank you!

I believe this is solved in #36?

indeed solved in #36
closing issue


Fix check to evaluate if stateUpdaters should be added in AlgorithmUtil

Currently when there is an initial route that has jobs without any locations and the default AlgorithmUtil class is used, the computation of transport costs will fail as some locations are still null.
This happens as the current check only evaluates new jobs that should be added, but not the existing ones.
I've provided a reproducible example ( 7805a89 ) and a fix for this problem ( 09afd21 ).
Happy for any feedback.

Cool. Thanks a lot @quiqua. I will have a look at this asap.


[Bug]: Strange iptables using AWS Marketplace

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When creating an EC2 instant of Appsmith through AWS Marketplace Community Edition v1.9, everything seems to be O.K (Web page is available).
However, when I try to connect to the RDS database in the VPC, it is impossible to reach.
I connect in direct through SSH and I discovered strange iptables.
Indeed, here is iptables for classic EC2 instance :
[ec2-user@ip-172-17-2-47 ~]$ sudo ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9001
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::42a:55ff:fe75:49be  prefixlen 64  scopeid 0x20<link>
        ether 06:2a:55:75:49:be  txqueuelen 1000  (Ethernet)
        RX packets<PHONE_NUMBER>  bytes<PHONE_NUMBER>924 (2.1 TiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 762261517  bytes<PHONE_NUMBER>091 (2.0 TiB)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 88431  bytes 4934700 (4.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 88431  bytes 4934700 (4.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Meaning everythinbg go to the 'eth0' interface which is the elastic networ interface.
However with the AWS Marketplace AMI, I get tons of interface :
root@ip-172-17-2-6:~# sudo ifconfig
br-0072718fdf90: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::42:8fff:fee5:2838  prefixlen 64  scopeid 0x20<link>
        ether 02:42:8f:e5:28:38  txqueuelen 0  (Ethernet)
        RX packets 126  bytes 13219 (13.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 149  bytes 208564 (208.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        ether 02:42:33:6a:bb:ad  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9001
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::45a:9aff:fefb:fb41  prefixlen 64  scopeid 0x20<link>
        ether 06:5a:9a:fb:fb:41  txqueuelen 1000  (Ethernet)
        RX packets 1186  bytes 529545 (529.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 902  bytes 136010 (136.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 104  bytes 10930 (10.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 104  bytes 10930 (10.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth510b3eb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a0aa:23ff:fe90:f835  prefixlen 64  scopeid 0x20<link>
        ether a2:aa:23:90:f8:35  txqueuelen 0  (Ethernet)
        RX packets 126  bytes 14983 (14.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 161  bytes 209500 (209.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Problem is that requests to RDS (<IP_ADDRESS>) are resolved to interface docker0 which are sent to void.
I did something wrong while setting up the product ?
Steps To Reproduce

Got in AWS Marketplace
Launch t3.medium instance of Appsmith Community Edition (1.9.X)
During configuration, put the instance in an existing VPC / Subnet that already have its own routing tables
Create an RDS instance in your subnet
Connect in SSH to the Appsmith instance
Run apt update
Run apt install postgresql-client
Try to connect to the RDS instance using 'psql'
Resulst is :

root@ip-172-17-2-6:~# psql --host=XXX --dbname=YYY --username=UUU
psql: error: connection to server at "XXX" (<IP_ADDRESS>), port 5432 failed: No route to host
        Is the server running on that host and accepting TCP/IP connections?

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
v1.9.X

Hi @AntoineDuComptoirDesPharmacies
Looks like the CIDR range of the RDS instance clashes with the docker private network. Is it possible to launch rds instance on a different network and give it a shot

Hi @pratapaprasanna,
Thank your for your answer. Unfortunately our RDS instance is already running and used in our production infrastructure and changing its network seems too risky at the moment.
We could try to test this network change in our staging environment but I do not know when we gonna have the time to do this test.
Yours faithfully,
LCDP

Hi @AntoineDuComptoirDesPharmacies
can you try to create add network
$ docker network ls
NETWORK ID     NAME               DRIVER    SCOPE
f9e559c2fd5f   appsmith_default   bridge    local
432fbe4cf296   bridge             bridge    local
62a2aac15804   host               host      local
fc2b9b58fc90   none               null      local

cat docker-compose.yml
version: "3"

services:
  appsmith:
    image: index.docker.io/appsmith/appsmith-ee
    container_name: appsmith
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./stacks:/appsmith-stacks
    restart: unless-stopped
    networks:
      - <432fbe4cf296 --- bridge network>

or create a network with a different subnet and create docker container with that network


Cutecoin is always launching in "maximize screen" mode

I like it opened in a little window :-)

@vtexier this is for you haha :)

Personnaly, I prefer it to open in fullscreen, so may be we can have a vote on the ucoin forum ?
To avoid a fork of the project from @cgeek ;-)

Why not an options in preferences, "always start the window maximized" ?

Yes plz a preference!

Done in https://github.com/ucoin-io/cutecoin/commit/fd08616fedf1d271dad109acdc0118ef984242bf


package.json no longer includes files for plugin_test.js

On version 0.5.0 the package.json has been modified to include only specific files, from this list the plugin_test.js has been left out. Meaning it is no longer possible for users of the repo to construct their own unit tests utilising the plugin_test functionality.

Fixed in #129


Open Dropdown on Icon Click

I am using react-native-element-dropdown and would like to be able to open the dropdown when clicking on a custom icon (like a "three dots" menu icon).
Is there a built-in way or recommended approach to programmatically open the dropdown when clicking on an external trigger (like an icon), rather than relying on the dropdown field itself?

¿Really bro? @T-Pyat
Read the docs:
https://github.com/hoaphantn7604/react-native-element-dropdown?tab=readme-ov-file#method
"Method section" use a ref, and that's it.


load highlight js and css form local

fixes https://github.com/GrosSacASac/DOM99/issues/26
Thanks I'll have a look later

Looks good


Add link for az provider register

Can we add the link for the register command?
https://docs.microsoft.com/en-us/cli/azure/provider?view=azure-cli-latest#az-provider-register
And maybe the example for:
az provider register --namespace Microsoft.AzureActiveDirectory
But, I think just the link is enough. I can send a PR myself if that is ok.
Best,
R.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 588fc4d6-0c4d-297d-cfe1-8562728fdc4d
Version Independent ID: cf117c91-90fa-036b-9763-a3c16b398a33
Content: Tutorial - Create an Azure Active Directory B2C tenant
Content Source: articles/active-directory-b2c/tutorial-create-tenant.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@Escoto
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Escoto,
There is already a link to this document, which includes the steps for registering a resource provider via Azure CLI: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-providers-and-types?WT.mc_id=Portal-Microsoft_Azure_Support#register-resource-provider-1
I also made a PR to add the link that you suggested, but if you wanted to include it somewhere else feel free to make your own PR and add it in the comments, and I will close mine. https://github.com/MicrosoftDocs/azure-docs-pr/pull/208022


[CT-1260] [Bug] Could not set use_colors in profiles.yml as Jinja template

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Write config.use_colors on profiles.yml with Jinja template like "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}", then error occurred.
Other templates also could not be applied.
Expected Behavior
Enable to use as_bool on config.use_colors .
Steps To Reproduce
1.Write it on profiles.yml,
config:
  use_colors: "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}"

2.Call dbt debug
Relevant log output
07:18:56  Encountered an error:
"{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}" is not valid under any of the given schemas

Failed validating 'oneOf' in schema['properties']['use_colors']:
    {'oneOf': [{'type': 'boolean'}, {'type': 'null'}]}

On instance['use_colors']:
    "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}"
07:18:56  jsonschema.exceptions.ValidationError: "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}" is not valid under any of the given schemas

Failed validating 'oneOf' in schema['properties']['use_colors']:
    {'oneOf': [{'type': 'boolean'}, {'type': 'null'}]}

On instance['use_colors']:
    "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/xxxx/lib/python3.10/site-packages/dbt/main.py", line 129, in main
    results, succeeded = handle_and_check(args)
  File "/xxxx/lib/python3.10/site-packages/dbt/main.py", line 191, in handle_and_check
    task, res = run_from_args(parsed)
  File "/xxxx/lib/python3.10/site-packages/dbt/main.py", line 238, in run_from_args
    results = task.run()
  File "/xxxx/lib/python3.10/site-packages/dbt/task/debug.py", line 113, in run
    self.test_configuration()
  File "/xxxx/lib/python3.10/site-packages/dbt/task/debug.py", line 285, in test_configuration
    profile_status = self._load_profile()
  File "/xxxx/lib/python3.10/site-packages/dbt/task/debug.py", line 256, in _load_profile
    profile: Profile = Profile.render_from_args(self.args, renderer, profile_name)
  File "/xxxx/lib/python3.10/site-packages/dbt/config/profile.py", line 428, in render_from_args
    return cls.from_raw_profiles(
  File "/xxxx/lib/python3.10/site-packages/dbt/config/profile.py", line 394, in from_raw_profiles
    return cls.from_raw_profile_info(
  File "/xxxx/lib/python3.10/site-packages/dbt/config/profile.py", line 352, in from_raw_profile_info
    return cls.from_credentials(
  File "/xxxx/lib/python3.10/site-packages/dbt/config/profile.py", line 258, in from_credentials
    UserConfig.validate(user_config)
  File "/xxxx/lib/python3.10/site-packages/hologram/__init__.py", line 989, in validate
    raise ValidationError.create_from(error) from error
hologram.ValidationError: "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}" is not valid under any of the given schemas

Failed validating 'oneOf' in schema['properties']['use_colors']:
    {'oneOf': [{'type': 'boolean'}, {'type': 'null'}]}

On instance['use_colors']:
    "{{ env_var('SNOWFLAKE_USE_COLORS', 'True') | as_bool }}"

make: *** [debug] Error 2

Environment
% dbt debug
07:22:18  Running with dbt=1.2.1
dbt version: 1.2.1
python version: 3.10.4
os info: macOS-12.4-arm64-arm-64bit

Which database adapter are you using with dbt?
No response
Additional Context
No response

@sadahry Thanks for opening!
We don't support Jinja rendering within the config dictionary ("UserConfig") that can be defined in profiles.yml today.
As with all global configs, it is possible to set it via env var to override that setting, using the naming convention prefixed with DBT_:
$ DBT_USE_COLORS=1 dbt run

What's the motivation for making this conditional on another environment variable (SNOWFLAKE_USE_COLORS)?


small ligand solvation energy calculation:error:cannot compute statistical inefficiency

i have done ligand simulation in water and now wantto calculate solvation free energy , i used 31 lambdas states, i got this error by using alchemical_analysis.py.
Traceback (most recent call last):
File "/share/anaconda2/bin/alchemical_analysis.py", line 4, in
import('pkg_resources').run_script('alchemical-analysis==1.0.2.dev0', 'alchemical_analysis.py')
File "/share/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/init.py", line 724, in run_script
File "/share/anaconda2/lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/init.py", line 1649, in run_script
File "/share/anaconda2/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/EGG-INFO/scripts/alchemical_analysis.py", line 1226, in
main()
File "/share/anaconda2/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/EGG-INFO/scripts/alchemical_analysis.py", line 1197, in main
dhdl, N_k, u_kln = uncorrelate(sta=numpy.zeros(K, int), fin=nsnapshots, do_dhdl=True)
File "/share/anaconda2/lib/python2.7/site-packages/alchemical_analysis-1.0.2.dev0-py2.7.egg/EGG-INFO/scripts/alchemical_analysis.py", line 181, in uncorrelate
g[k] = pymbar.timeseries.statisticalInefficiency(dhdl_sum)
File "build/bdist.linux-x86_64/egg/pymbar/timeseries.py", line 178, in statisticalInefficiency
pymbar.utils.ParameterError: Sample covariance sigma_AB^2 = 0 -- cannot compute statistical inefficiency

Should have been fixed by #78, I think. Please verify you're using a version you just installed (i.e. in the last 20 days), or download and install the latest directly from source and confirm this persists?
Normally (prior to the fix) this issue arises only when you have a free energy difference which is identically zero between some (or all) of your lambda values, so in some sense the problem is with your data and not as much with the code, though the code OUGHT to handle this properly.
If you are using the latest version, can you provide a link to a Dropbox/Google Drive/etc. file with your data in it so we can troubleshoot?

no i am using the older one. i will install the new one and will try again. where can i fine the description about the modifications you made in the new version. i want to know the difference from the older version.
Thanks for your help

Hi Sanaa, since we don't have a version scheme implemented the changes would depend on when you first installed alchemical analysis. You can also view the commit log if you want to get into the details. In general, there have been some important fixes to primarily address this issue you are seeing and some issues with MBAR error totaling.

hi Nathan Limthanks for replyi just wanted to see what are the changes you made. i'll see commit log
Sana Saeed Khan,Teaching-Research AssistantChemoinformatics LabGraduate Student, MS bioinfoDepartment of BioinformaticsSoongsil University, Seoul, South Korea.
On Thursday, March 10, 2016 11:15 AM, Nathan Lim<EMAIL_ADDRESS>wrote:

Hi Sanaa, since we don't have a version scheme implemented the changes would depend on when you first installed alchemical analysis. You can also view the commit log if you want to get into the details. In general, there have been some important fixes to primarily address this issue you are seeing and some issues with MBAR error totaling.—
Reply to this email directly or view it on GitHub.

You should be able to get a fairly complete log of changes looking at the
list of closed pull requests here
https://github.com/MobleyLab/alchemical-analysis/pulls?q=is%3Apr+is%3Aclosed
You can also of course review detailed code changes associated with each.
Generally speaking, all of the changes have been bug fixes/extensions. I
don't think we've actually changed details of how anything works except how
decorrelation of correlated samples works in a very specific case.
Thanks.
On Wed, Mar 9, 2016 at 5:57 PM, Sana Saeed<EMAIL_ADDRESS>wrote:

no i am using the older one. i will install the new one and will try
again. where can i fine the description about the modifications you made in
the new version. i want to know the difference from the older version.
Thanks for your help
—
Reply to this email directly or view it on GitHub
https://github.com/MobleyLab/alchemical-analysis/issues/83#issuecomment-194617186
.

--
David Mobley
<EMAIL_ADDRESS>949-385-2436


i386 support

Is it possible to support 32-bit/x86 architecture? Would be awesome to use on my old eeePC netbook.

Node.js has dropped x86 support, so that's a no.

See - #14


List of calibration methods for next release

Here is my attempt to list all changes in calibration methods for review, following the same format for emulation methods.
@ozgesurer, @MattPlumlee may be best to address these.
To include/review:

[ ] calibrationmethods/mlbayes
[x] developsk/directbayes

To remove:

@ozgesurer Is mlbayes a method we should add for the release?  Thanks.

@mosesyhc No need to include mlbayes to the next release. Given that there is not interest for the development of that approach, I will keep a copy for my own records and then remove that branch from surmise soon.


[Docs] Custom Callback

Description
This PR adds docs for support of custom callback which was added in meshery release v0.5.39
Notes for Reviewers
Not quite sure if there are other places where this needs to be added :thinking:
Signed commits

[x] Yes, I signed my commits.

// @samirparhi-dev

🚀 Preview for commit febe080a796dde499ea013e1879e32d211e117e9 at: https://60fff4943a48f4de39842145--meshery-docs-preview.netlify.app


feat: vpc nat gw e2e

Support repeating the execution of e2e

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

E2E

Which issue(s) this PR fixes:
Fixes #(issue-number)
WHAT

🤖 Generated by Copilot at 3a8f80b
Simplify and fix the iptables-vpc-nat-gw test. Remove redundant cleanup code and correct a ginkgo message in test/e2e/iptables-vpc-nat-gw/e2e_test.go.

🤖 Generated by Copilot at 3a8f80b

Sing, O Muse, of the skillful refactorer
Who simplified the test of iptables-vpc-nat-gw
And removed the needless code that cluttered the script
Like the Augean stables that Heracles cleansed.

HOW

🤖 Generated by Copilot at 3a8f80b

Remove unnecessary code that disconnects nodes from docker network (link)
Fix typo in ginkgo message (link)
Remove redundant code that deletes configmap and network attachment definition for vpc nat gateway (link, link)

该pr 用于解决 该e2e 不能重复运行的问题

@zhangzujian would you please help review this?


Support Unity coroutine or asynchronization during execution

@ratkingsminion added stepping to the execution method to prevent long-time running in every frame:

Basically I added a parameter "stepping" to Run() and a method Continue(). ExecuteAssembly() now returns true if execution is done. This way I can call Continue() for only a certain amount per frame, or when the script calls a xyz.Break() function, etc

With https://github.com/wixette/isb/commit/ec9b7744e4ddf24a80204c8452930d03b776c5b3 , running program as a Unity coroutine is supported.
Canceling an execution when there are time-consuming operations, such as an infinite loop, is also supported.
See https://github.com/wixette/isb/blob/main/unity_integration_demo/Assets/Scripts/Program.cs for an example:
        // Runs the program in a Unity coroutine.
        Action<bool> doneCallback = (value) =>
        {
            if (!value)
            {
                ReportErrors(engine);
            }
            else if (engine.StackCount > 0)
            {
                string ret = engine.StackTop.ToDisplayString();
                PrintDebugInfo(ret);
            }
        };
        // Prevents the scripting engine to be stuck in an infinite loop.
        int maxInstructionsToExecute = 1000000;
        Func<int, bool> canContinueCallback =
            (counter) => counter >= maxInstructionsToExecute ? false : true;
        StartCoroutine(engine.RunAsCoroutine(doneCallback, canContinueCallback));

With the demo env set up by the above code, the following long (infinite yet) loop will be canceled during execution:
x = 0
for i = 1 to 100000
  x = x + 1
endfor
x


JMC cannot be opened on macOS 10.15.6

Trying to open version 7.1.1 or 8.0.0-SNAPSHOT gives the following error: "JDK Mission Control is damaged and can’t be opened. You should move it to the Trash". It cannot be used.

@florianmutter have you unpacked the tar.gz binary as documented here: https://adoptopenjdk.net/jmc.html ?


Wrong behavior of a constrained protocol type in the inheritance clause of a concrete type

Description
Cannot inherit from protocol type with generic argument
Steps to reproduce
protocol P<Q> {
  associatedtype Q
}

struct S: P<Int> { // Cannot inherit from protocol type with generic argument 'P<Int>
}

Expected behavior
meantime it should be equivalent to the second form
struct S: P {
  typealias Q = Int
}

Environment

Swift compiler version info: swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Xcode version info: Xcode 14.2 Build version 14C18
Deployment target: iOS 16.0

This was banned intentionally in #40714; most likely just not implemented yet.

I am getting this in Swift 5.7 inconsistently. I have two identifier types:
public struct CountryCode: Hashable {
  let rawValue: String
}

public struct RegionID: Hashable {
  let rawValue: Int
}

and am making to models that use them:
public struct Country: Identifiable<CountryCode> {
  public let id: CountryCode
}

public struct City: Identifiable<RegionID> {
  public let id: RegionID
}

In the Country case, I get the same error as the reporter, but in the City case I do not. If I remove the constraint on Country, City still compiles fine.


For the future:  I hope you won't do the same mistake Insomnia did today

The last update is forcing users to register for a cloud account.  Insomnia will lose a lot of their users.... some of them, like me will explore Bruno.

Postman started the shady moves, Insomnia followed. Thunderclient starts crippling its free plan for the end of September...
Long live Bruno!

Postman started the shady moves, Insomnia followed. Thunderclient starts crippling its free plan for the end of September...
Long live Bruno!

I know, but I also know that Insomnia guys need to monetize it. But I am sure that there was a better way to do this instead forcing everybody to register to cloud and move their projects there. I mean c'mon,  we can't move to cloud sensitive data like credentials, URL schemas and other...
Hope for the best !

I can understand the community's concern here. We would like to do things differently so that we don't keep repeating history in the API GUI clients ecosystem.
I have penned down some thoughts on Opensource, Sustainability, Privacy, Freedom and Incentives in this discussion thread
I look forward to hear your thoughts and perspectives.


run_par_test.sh fails address sanitizer run

Something in run_par_test.sh is failing on my address sanitizer run. I will take a look.

OK, this turns out to be a test issue with tst_parallel3.c, a test contributed by someone on the HDF5 team.
Our test was running tst_parallel3 on 16 processors. The test seemed to be written to handle this, but in fact memory errors would occur for more than 10. This was what our test picked up on.
I changed the test so that 16 processors work, and now this test passes the address sanitizer run. I will have a PR up shortly.

This was fixed and is now working fine for me. I will close the issue.