[feature] multiple tables to one

feature description :
such as we have these tables that need to be synchronized.
mysql tables
a_0
a_1
b_0
b_1
c
doris tables
a
b
c
We can add two parameters to achieve this effect.
--including-tables="a_.*|b_.*|c"
--multi-to-one-origin="a_.*|b_.*"
--multi-to-one-target="a|b"
Implementation principle :
1.Create only one table
2.Multiple tables to one side output stream

Thank you for your advice, the code has been optimized, please check


Don't process messages after requesting close

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 95.012%

Files with Coverage Reduction
New Missed Lines
%

src/GraphQL.AspNetCore3/WebSockets/WebSocketConnection.cs
1
96.77%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
1671

Relevant Lines:
1711

💛  - Coveralls


CubeAttributesAnimator screen display is strange.

Description
Hi,
I use this library and choose CubeAttributesAnimator in my iOS app, but screen display is strange. When I implement photo gallery with full screen, I can only see half photo.
I think it seems to be caused by a bug of internal animation logics.
thanks :)
Environments
AnimatedCollectionViewLayout Version: 1.0.0
Xcode version: 11.1
Swift version: 5.1
Platform(s) running AnimatedCollectionViewLayout: iOS
macOS version running Xcode: 10.15.1
ScreenShots
Strange Finished Pagination:

Expected Collect State Finished Pagination:

Hey! Sorry for the late reply. I'll need more information to help you resolve this issue. Can you extract a sample out from your app that can reproduce this issue?
If it's too hard, do you mind sharing some of your code snippet? The most important parts are how you're adding images/texts to the UICollectionViewCell. And how the xib file look like if you're using IB.

@KelvinJin Thank you for reply. Code snippet is below.
Code Snippet
【Initialize CubeAttributesAnimator】
let layout = AnimatedCollectionViewLayout()
layout.animator = CubeAttributesAnimator()
layout.scrollDirection = .horizontal
collectionView.collectionViewLayout = layout

【UICollectionViewDelegateFlowLayout】
extension GalleryViewController: UICollectionViewDelegateFlowLayout {

    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
        return CGSize(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
    }

    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat {
        return 0
    }

    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat {
        return 0
    }

    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets {
        return .zero
    }
}

Repository
My sample repository is below. Now I use RotateInOutAttributesAnimator, but it occurs when it changes CubeAttributesAnimator.
https://github.com/fumiyasac/2nd_ios_ui_recipe_showcase/blob/master/03_PurchasePresentContents/PurchasePresentContents/PurchasePresentContents/ViewController/Gallery/GalleryViewController.swift

Hey @fumiyasac! Thanks for the repository. I was able to reproduce the issue. It's very strange that the demo works under iOS 13 but not your app. I'm not 100% sure but I think it's happening when UIKit reset the position of the content view but not the anchor point.
I've released a new version 1.0.1 and it should be available on CocoaPods. Can you please try that version and let me know if it works? Thanks!

@KelvinJin Thank you for new version 1.0.1. I tried new version, but it still not working when I used CubeAttributesAnimator. If you need, please refer to testing repository below.
(There are many Japanese comments in the code, so I am sorry that it is difficult to read.)
Testing Repository:
https://github.com/fumiyasac/2nd_ios_ui_recipe_showcase/commit/2c9236b53bb9ea9896074a71d194e00a05a6396a

@fumiyasac Hmm, I tested your app and it's working correctly for me on iOS 13. I tested on both a simulator and a device. Can you double check you cleaned the cache?
Check the following Gif. (I compressed it so it looks colourless)

@KelvinJin Thanks! I tried to execute cache clear $ rm -rf /Users/MyMacBookPro/Library/Developer/Xcode/DerivedData/, it works collect.
Thank you for handling it quickly!!

Good to know! Thanks for submitting and helping with the diagnosis! I'll close the issue.

I am facing with same problem   below ios 14. With 1.0.1 version it works below 14 but dont work with iOS 14
AnimatedCollectionViewLayout Version: 1.1.0
Xcode version: 12.2
Swift version: 5
Platform(s) running AnimatedCollectionViewLayout: iOS
macOS version running Xcode: 11.0.1


Create location input field for search page

Needs to be able to intake any sort of location (zip code, city, state, address, browser gps location) and convert it into lat & long strings. Will post code snippets in here that will help this component later

`// function to get the current location of user, uses GPS if on a mobile device
function getCurrentPos() {
// location is stored as a lat & long var
function success(position) {
currentLatitude = position.coords.latitude;
curentLongitude = position.coords.longitude;
// returns object with lat & long vars
return { currentLatitude, currentLongitude };
}
function error() {
return 'Error: Geolocation server is down'
}
if (!navigator.geolocation) {
return 'Error: Geolocation is not supported by your browser'
} else {
navigator.geolocation.getCurrentPosition(success, error);
}
}`

The ability to search by address, zip code, etc will be done with the Google Geocoding API:
https://developers.google.com/maps/documentation/geocoding/start
We should also add the Google Place Autocomplete API to the input field, would be super intuitive:
https://developers.google.com/maps/documentation/places/web-service/autocomplete


When using binding, on enter key pressed I do not receive the actual input value

I have the following code:
<input<EMAIL_ADDRESS>onkeypress="@KeyPress" />
@functions {
    public string Value { get; set; }
    void KeyPress(UIKeyboardEventArgs e)
    {
        if (e.Key == "Enter")
        {
            Console.WriteLine(this.Value);
        }
    }
}

When I write some text in the input field (for example test1) and click enter I get empty text written on the console. When I add some more text (like test2) and again click enter I get just test1 (the previous value before the enter click) on the console:

I believe this is expected. The bind is handled using the onchange event, which isn't triggered until after onkeypress is fired.

@danroth27 How to get input value in the onkeyup event?  I can't get input value from UIKeyboardEventArgs event data.

@doggy8088 look here for general idea:
https://blazor.net/docs/javascript-interop.html#capture-references-to-elements
This example uses element.focus(). You have to create similar JS interoperability for element.value(). Of course you have to return string from this function. Look at example with prompt function in the same doc.

Is this by design or will it be changed in the future? It seems to be a common use case.
I have a searchbox, I press enter and now I need the new searchvalue.

It works using the onkeyup event. The bound value from the input is set.
your code should look like:
<input<EMAIL_ADDRESS>onkeyup="@KeyUp" />
@functions {
    public string Value { get; set; }
    void KeyUp(UIKeyboardEventArgs e)
    {
        if (e.Key == "Enter")
        {
            Console.WriteLine(this.Value);
        }
    }
}

It works using the onkeyup event. The bound value from the input is set.
your code should look like:
<input<EMAIL_ADDRESS>onkeyup="@KeyUp" />
@functions {
    public string Value { get; set; }
    void KeyUp(UIKeyboardEventArgs e)
    {
        if (e.Key == "Enter")
        {
            Console.WriteLine(this.Value);
        }
    }
}

Can confirm this works great!

Hello  @sven5  is your syntax the current one for server side blazor preview 8?
I would have thought  that this should work.
<input @bind="todo.Title" @onkeyup="AddTodoOnEnter" />

@code {
   private void AddTodoOnEnter( UIKeyboardEventArgs eventArgs)
   {
        if (eventArgs.Key == "13" )        // fire on enter
        {
            AddTodo();
        }
   }
}

But neither @onkeyup="AddTodoOnEnter"  nor @onkeyup="@AddTodoOnEnter" works. In firefox the DOM property for _blazorEvents_1: does not contain an onkeyup.


Disable timeout, so app stays open when screen turns off

https://dev.fitbit.com/blog/2018-10-05-announcing-fitbit-os-2.2/#app-timeout-api

Oooo! Good catch! I'll merge this and rebuild/republish the app soon. Thank you!


appengine

i am stuck trying to use chi router for an appengine app, but because it uses "context" package from the standard library it can not build ... anyother trick that forking the router and replace "context" by "golang.org/x/net/context" ... not very happy to be stuck by this delay and inconsistency between golang 1.7 and appengine standard environment ...

Perhaps you should look elsewhere if you're so unhappy?

this would have been solved by the 1.8 alias feature, which may come in 1.9.
I have thought about this, but this problem you speak of, isn't up to chi. Chi uses standard net/http which uses "context", and so we depend on the same "context" thats now part of the http.Request object.

:) this was not a comment about chi router, but about the fact that community version of golang (by google) and appengine version of the runtime (by google too ...) are tricky to make work together

well, let me know if you come up with something.. I agree this isn't ideal. I'm not sure even if I made a branch of chi that used "golang.org/x/net/context" it would help because of net/http's use of "context".

not sure neither ... wctx router seem to work on appengine but I wanted to stick with chi

well you can use https://github.com/pressly/chi/tree/v1 which is almost identical and is compatible with "golang.org/x/net/context"

https://github.com/GoogleCloudPlatform/google-cloud-go/issues/312

yes thank you Vojtech I have read that they are aware of the mess this fragmentation causes ... but still have not found my way around (appart from not using libraries that import /context and not /x/net/context ... )  net/http.Request.Context() is using a context.Context so even change all imports of /context to /x/net/context in chi and render does not work


Too many redirects error since version 6.13.0 (0.3.1 nuxt-comunity/redirect-module)

Version
nuxt-i18n: 6.13.10
nuxt: 2.14.3
nuxt-comunity/redirect-module: 0.3.1
Nuxt configuration
Mode:

[X] universal
[ ] spa

Redirect module config
redirect: [
    {
      from: "^(\\/[^\\?]*[^\\/])(\\?.*)?$",
      to: (from, req) => {
        return "$1/$2";
      }
    }
  ]

Nuxt-i18n configuration
i18n: {
    parsePages: false,
    lazy: true,
    locales: [
      {
        territory: "US",
        name: "English",
        code: "en",
        iso: "en",
        file: "en.json"
      },
      {
        territory: "ES",
        name: "Español",
        code: "es",
        iso: "es",
        file: "es.json"
      }
    ],
    detectBrowserLanguage: false,
    vueI18n: {
      fallbackLocale: "en"
    },
    vuex: {
      syncLocale: true,
      syncMessages: true
    },
    defaultLocale: "en",
    langDir: "locales/",
    seo: false
}

Reproduction Link
Sandbox
Steps to reproduce
Go to path /foo (or any other page that not existing)
What is Expected?
404 erorr
What is actually happening?
I have a small question about nuxt-i18n and nuxt-redirect modules. I think that it's issue, but i am not sure. I have updated the sandbox for reproduce. If you will try to get access to path /foo (or any other page that not existing) with current version of nuxt-i18n package (6.13.10) it will Too many requests error. But with version of package 6.12.0 is it works fine. What's really happening: every non-existent standard language page now has an error Too many requests instead of 404, when we are using trailing slash at the end as default.

nuxt-i18n tries to be smarter itself about redirecting to the correct path.
Do you see any issues or wrong paths with redirect module disabled?

If you want to consistently have trailing slashes in your paths then you should consider setting Nuxt option router.trailingSlash: true and then letting Nuxt and nuxt-i18n handle redirection.
(Just that there are some know issues currently with trailingSlash but it might be good enough for you.)

Hi @rchl. Thanks for an explanation. It doesn't work with only router.trailingSlash, but works with router.trailingSlash and nuxtjs/redirect-module.


Create style guide

[ ] Sequence and HGVS expression formatting, incl. highlighted text
[ ] Review and reformat discussions
[ ] Syntax block

Changed the text formatting is worthwhile (IMO), but is also very involved. I'm going to reprioritize this effort below other content that is likely to be less controversial. Resume from existing branch when ready.

Related: #46

What do we do with parts of variant descriptions? E.g.,:
"a deletion of nucleotides r.6 to r.8 in the reference sequence NM_004006.2." Should that be reformatted to:
"a deletion of nucleotides r.6 to r.8 in the reference sequence NM_004006.2."?

It depends on the context.
When we're describing something that's typed or exchanged and subject to
parsing, I use monospace (``).
When the text is for a human, I drop the styling.
Since we're talking to a human in this sentence, I would probably prefer "a
deletion of nucleotides 6 to 8, inclusive, in the reference sequence
NM_004006.2".
-Reece
On Fri, Oct 20, 2023 at 5:10 AM Ivo Fokkema @.***>
wrote:

What do we do with parts of variant descriptions? E.g.,:
"a deletion of nucleotides r.6 to r.8 in the reference sequence
NM_004006.2." Should that be reformatted to:
"a deletion of nucleotides r.6 to r.8 in the reference sequence
NM_004006.2."?
—
Reply to this email directly, view it on GitHub
https://github.com/HGVSnomenclature/hgvs-nomenclature/issues/23#issuecomment-1772625625,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2XDPKXIPAMNVP3QBIEKDYAJS3ZAVCNFSM6AAAAAAV7R2IU2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSGYZDKNRSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


[bugfix] Rewrite task.help of a task being rewritten

In my case sometimes I have to rewrite a gulp task (because I use tasks from other library and then rewrite some of them) - but the help message stays the same, even if I want to hide it. This fixes it.
Test included.

change landed in v1.3.3. Thanks!


Ensure single-node cluster does not attempt to join

Single nodes in a single node cluster will attempt to join a cluster that doesn't exist. This adds a condition to check the active members size and complete the join immediately for single-member clusters.

:+1:


Ruins Rough Cut

[ ] create broad categories for managing ruins files
[x] identify 60 ruins to add
[x] edit/remove general ruins spawns
[ ] create palette for ruins categories

Suggested format: this update will cover the 3 base factions, so 20 human 20 dwarf 20 dragon, we can each take 10 of each category.
We should focus on splitting ruins into Small, Medium, Large categories with a tiered (5:3:2) or belled (3:5:2) representation ratio.

Postponed to a later release.


ERROR: Could not find a version that satisfies the requirement tensorflow ERROR: No matching distribution found for tensorflow

I'm trying to install the TensorFlow lib for 3 days now & tried everything, I'm using win10 64 bit and python 3.9.1 64 bit with up to date pip

and that what happened!!!
Can you please help!

@EmadElDinH TensorFlow has not supported Python3.9 yet.  See https://github.com/tensorflow/tensorflow/issues/44485. As a workaround, can you try to install Python3.8 or lower version?

actually this is what I'm doing right now ....
I'll check it & come back to you!
thanks!

@EmadElDinH,
TensorFlow v2.4 is compatible with Python 3.6 - 3.8. For, more information, please take a look at the tested build configurations.

Version
Python version
Compiler
Build tools
cuDNN
CUDA

tensorflow_gpu-2.4.0
3.6-3.8
MSVC 2019
Bazel 3.1.0
8.0
11.0

tensorflow_gpu-2.3.0
3.5-3.8
MSVC 2019
Bazel 3.1.0
7.6
10.1

tensorflow_gpu-2.2.0
3.5-3.8
MSVC 2019
Bazel 2.0.0
7.6
10.1

As mentioned by @WindQAQ, support for Python 3.9 is already being tracked in issue #44485.
Thanks!

Same issue on python 3.8
ster ↑35  pip install tensorflow                              1 ↵  3430  14:09:46
ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow

@evalsocket Please post output of python --version, python -m pip --version and python -m pip install -vvv tensorflow

These steps gave me a solution to the error.
In[3]: pip install --user virtualenv
In[3]: pip install wheel
In[1]: pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl
In[ ]: pip install tf-nightly

This:
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl gave me the response as well

These are not TF errors. You pip install is old and needs to be updated. Please file a bug on Pip repo if that is not the case as most likely the issue comes from there


Excessive use of memory - over 1GB of serialized state

On one of my Debian/Linux machines, with a Lagrange just compiled after a git pull :
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
stephane 20323  2.8 37.0 1215832 1146444 ?     Sl   17:01   0:06 lagrange
stephane  3292  2.7  6.8<PHONE_NUMBER>84 ?       Sl   08:36  13:57 /usr/lib/firefox-esr/firefox-esr -contentproc

It's a bit better on another Linux box, using Ubuntu.
% lagrange --version
Lagrange: A Beautiful Gemini Client
[the_Foundation] version: 1.0.0 cstd:201112
[the_Foundation] locale: fr_FR.utf8
SDL init failed: No available video device

% gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% uname -a
Linux XXXX 4.19.0-13-686-pae #1 SMP Debian 4.19.160-2 (2020-11-28) i686 GNU/Linux

The expected memory usage of Lagrange is around 60-80 MB, plus GPU textures if those is being used (total could be up to 200 MB).
Things that currently are unrestricted when it comes to memory:

The navigation history with full gemtext sources is kept in memory. It's limited to 50 pages, but those can be arbitrarily large.
Opened images are copied to raw RGBA textures, so they may use up plenty of memory especially if they are large. Images are not cached persistently, though.
Audio data is also kept in memory.

Some things to check:

What is your desktop resolution and Lagrange window size? This will affect UI buffering.
How large are the various files in ~/.config/lagrange? (E.g., an "ls -l" of the directory.)
CMAKE_BUILD_TYPE is Debug or Release?

The expected memory usage of Lagrange is around 60-80 MB, plus GPU textures if those is being used (total could be up to 200 MB).
Things that currently are unrestricted when it comes to memory:

The navigation history with full gemtext sources is kept in memory. It's limited to 50 pages, but those can be arbitrarily large.
Opened images are copied to raw RGBA textures, so they may use up plenty of memory especially if they are large. Images are not cached persistently, though.
Audio data is also kept in memory.

Some things to check:

What is your desktop resolution and Lagrange window size? This will affect UI buffering.
How large are the various files in ~/.config/lagrange? (E.g., an "ls -l" of the directory.)
CMAKE_BUILD_TYPE is Debug or Release?

Resolution: 1920x1080. I typically keep Lagrange between a third and a half of the screen.
I removed ~/.config/lagrange and, indeed, the memory usage is much lower now
I did not set CMAKE_BUILD_TYPE so it has the default value.

Otherwise, former content of ~/.config/lagrange:
~/.config % ls -lth lagrange.old
total 1.1G
-rw-r--r-- 1 stephane stephane 6.1K Jan  5 08:40 visited.txt
-rw-r--r-- 1 stephane stephane    8 Jan  4 22:15 idents.binary
-rw-r--r-- 1 stephane stephane    0 Jan  4 22:15 bookmarks.txt
-rw-r--r-- 1 stephane stephane  233 Jan  4 22:15 bindings.txt
-rw-r--r-- 1 stephane stephane  704 Jan  4 22:15 prefs.cfg
-rw-r--r-- 1 stephane stephane 1.1G Jan  4 22:15 state.binary
-rw-r--r-- 1 stephane stephane 2.0K Jan  2 20:36 trusted.txt
drwxr-xr-x 2 stephane stephane 4.0K Dec  7 13:22 idents

I assume the large state.binary is responsible. Lack of garbage collecting?

Resolution: 1920x1080. I typically keep Lagrange between a third and a half of the screen.
I removed ~/.config/lagrange and, indeed, the memory usage is much lower now
I did not set CMAKE_BUILD_TYPE so it has the default value.

Otherwise, former content of ~/.config/lagrange:
~/.config % ls -lth lagrange.old
total 1.1G
-rw-r--r-- 1 stephane stephane 6.1K Jan  5 08:40 visited.txt
-rw-r--r-- 1 stephane stephane    8 Jan  4 22:15 idents.binary
-rw-r--r-- 1 stephane stephane    0 Jan  4 22:15 bookmarks.txt
-rw-r--r-- 1 stephane stephane  233 Jan  4 22:15 bindings.txt
-rw-r--r-- 1 stephane stephane  704 Jan  4 22:15 prefs.cfg
-rw-r--r-- 1 stephane stephane 1.1G Jan  4 22:15 state.binary
-rw-r--r-- 1 stephane stephane 2.0K Jan  2 20:36 trusted.txt
drwxr-xr-x 2 stephane stephane 4.0K Dec  7 13:22 idents

I assume the large state.binary is responsible. Lack of garbage collecting?

I assume the large state.binary is responsible.

Yeah that's the culprit here. I'll add some diagnostics to "about:debug" to track what's going into state.binary and see what kind of limits are required here.
Did you have a large number of tabs open? Each tab has its own navigation history, so that may have contributed to the issue.

Resolution: 1920x1080. I typically keep Lagrange between a third and a half of the screen.

This rules out any issues with large view buffers.

CMAKE_BUILD_TYPE

I believe the default for a git checkout is Debug; you should check that. Although running a debug build will mostly affect performance and not memory use.

I assume the large state.binary is responsible.

Yeah that's the culprit here. I'll add some diagnostics to "about:debug" to track what's going into state.binary and see what kind of limits are required here.
Did you have a large number of tabs open? Each tab has its own navigation history, so that may have contributed to the issue.

Resolution: 1920x1080. I typically keep Lagrange between a third and a half of the screen.

This rules out any issues with large view buffers.

CMAKE_BUILD_TYPE

I believe the default for a git checkout is Debug; you should check that. Although running a debug build will mostly affect performance and not memory use.

I had typically three or four tabs open, not more.

I had typically three or four tabs open, not more.

I will add a preference for limiting the cache size.

I will add a preference for limiting the cache size.


Error on first execution of npm-start

Following the sample code listed on the launch event of Create React Native App.
Doing npm-start and immediately getting 'yarn' is not recognized as an internal or external command, operable program or batch file.
I know how to fix this of-course, but the question is it expected and is yarn a known dependency because I can't see it mentioned in the installation script ?
At the same time, the process continues but can't open the app with the QR code. It is just stuck :(

Can you paste the full error output please?

That is is the full error output. I then see the QR and that the dev server is running on some port but can't load it in the app on the phone.
I am running on Windows 10 with only Node installed.

Interesting. If you update react-native-scripts to at least 0.0.23, you can specify the REACT_NATIVE_PACKAGER_HOSTNAME to provide a specific IP address.
To answer your previous question: create-react-native-app defaults to yarn, but it is not a hard dependency. Earlier versions of the init script would print the "can't find yarn" message before continuing with npm, but that should no longer be the case as long as you update create-react-native-app itself.
Giving this a close since it sounds like the underlying issues have been resolved. If you run into more networking problems, please open issues for them!

Unfortunately updating the package to the latest version didn't help. Actually it made things worse.
I can't run the app at all now, I get a red screen after 5 mins on mobile phone with all kinds of errors.
Plus I still see the yarn packager problem.

I know this is not very helpful for diagnosing the problem, but the thing is I don't know what the problem is.
I have installed the latest version of create-react-native-app again. I still get the message about yarn again.
Trying to open the application with the mobile phone times out, it just doesn't work.
If there any info or logs I can provide to help diagnose this then please let me know and I will be happy to provide.

The message about yarn is an issue with upstream React Native, and will be resolved soon hopefully.
The timeouts sound like a networking issue, have you tried the steps in the user guide for troubleshooting that?

All right. I didn't know about that section :(
Thanks a lot for the help 👍
I will check it.

The mobile phone and the laptop are indeed on the same network.
Can't access the both HTTP URLs from the mobile phone though, although they are accessible from the browser on the machine itself.
Adding firewall rules for those two ports is not helping :)
Will try a few more things but I am running of out of ideas :(
Kind regards,

Hm, that sounds like you have a somewhat strange networking situation. Unfortunately I don't have time to troubleshoot individual networking setups. One thing you might try is installing XDE which uses network tunnels to attempt to solve this problem.

Finally I found the solution to my problem. I didn't even need to open the required ports on the Windows firewall.
The problem was probably that network discovery was turned off.
My solution was switching my network profile to private and then turning on network discovery and file & printer sharing on.
Thank you for the help and walking with me through debugging this problem.


If an absurd high ETH value is not sent in a cross chain function, it reverts with "LayerZero: not enough native for fees"

Hi,
First of all, lovely library, thanks for creating it!
I have been using it in the tests of a cross chain protocol. In this protocol there is a cross chain function and I can't send just 1 eth as per your example in _someCrossChainFunctionInYourContract(), otherwise I get the error trace below:

What is more funny is if I increase this value to 5 or even 25 eth it doesn't work (check the value field in UltraLightNodeV2::send)

But if I increase it to 50 eth the msg.value, the test case passes and everything operates normally (helper function of pigeon is called after).
After a few test runs, eventually this needs to increase again to 100 ETH even to pass. I find this behaviour absurd and wonder if you have any insight at what might be at play here?
The adapterParam for layer zero is being sent as an empty bytes for this test, just like your test example.
Thank you

It's normal if you are using a chain whose token is priced low, such as Polygon. If your target is ETH, which is usually more expensive to execute code on than a L2, you will need to pay enough so the ETH gas costs are covered.


"Aux" disallowed as path element component on Windows

Describe the bug
Apparently on Windows, you can't have files with the name aux.<anything>. See this page (search for "aux"): https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
I don't actually use Windows, but I'm trying to convert the aerogear/unifiedpush-operator project to use Go modules, and because it consumes packages from this project, the Go module tooling throws the following errors:
github.com/aerogear/unifiedpush-operator/cmd/manager imports
	github.com/enmasseproject/enmasse/pkg/apis/enmasse/v1beta1: unzip<EMAIL_ADDRESS>malformed file path "console/console-init/ui/src/hoc/Aux/Aux.js": "Aux" disallowed as path element component on Windows
github.com/aerogear/unifiedpush-operator/cmd/manager imports
	github.com/enmasseproject/enmasse/pkg/apis/user/v1beta1: unzip<EMAIL_ADDRESS>malformed file path "console/console-init/ui/src/hoc/Aux/Aux.js": "Aux" disallowed as path element component on Windows

There might be a way around this with the Go tooling, but I haven't found any yet. Even if there is, there are still a small percentage of people who use Microsoft Windows, so even if they try to clone this git repo they might hit issues.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/aerogear/unifiedpush-operator
cd unifiedpush-operator
go mod init
go mod tidy

See error

Additional context
https://github.com/golang/go/issues/29589

This file doesn't appear to exist any longer, so I'll close this. :slightly_smiling_face:


fix: fix horizontal scroll on windowed page

Task
https://phabricator.sirclo.com/T39139
Fix horizontal scroll showing on windowed page
Root Cause

If the page has a vertical scroll, it takes some space of the total 100vw width, creating an overflow horizontally
The left margin of the main layout section isn't the same as the sidebar's width

Solution

Change the width from a fixed width to auto width
Change the left margin value from 280px to 300px

Screenshot
Desktop

Mobile

Recording
https://user-images.githubusercontent.com/68508069/196075286-b1568db8-8c9c-47f4-a1b6-49721b277559.mp4

rapi banget btw PR nya HEHE

iya pr nya cantik bangettt :")


SPARQL (.rq) files aren't detected

Hi,
I have a repository in which I have two SPARQL queries, but this files isn't being detected in the languages graph.
Problem Description
It is strange because there is only one sh files and it is detected, but the two SPARQL files aren't detected. At the beginning I thought that maybe SPARQL wasn't admitted as language for the graph or it haven't been added, but I confirmed that it is well-configured checking languages.yml.
URL of the affected repository:
CanaryBot
Last modified on:
2018-02-02
Expected language:
SPARQL
Detected language:
I don't know if it is being confusing with Python or with Shell, but I think the main problem is that it isn't being detected.
Thanks in advance!
Iván

It expected that for your SPARQL files to be counted in the language stats as SPARQL is considered a data language and not a programming language by Linguist:
https://github.com/github/linguist/blob/812797b51da51356deeacfbe18b5a5990246918d/lib/linguist/languages.yml#L4076-L4077
... and Linguist doesn't include data languages in the stats by default.
You can however now change that by using the linguist-detectable override.

Oh, thank very much @lildude :), for the information and for the help to make it detectable.
I am going to close this issue because you have explained me why it happens with this kind of languages and how it can be "solved" if I want to make it detectable.
Regards,
Iván


[WIP] Support transpose as builtin function

What changes were proposed in this pull request?
Support transpose as builtin function
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?
Unit tests
Was this patch authored or co-authored using generative AI tooling?
No

**Logical plan before analysis:**
'Transpose ['year, 'sales], variable, 1
+- SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).course, true, false, true) AS course#4, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).year AS year#5, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).earnings AS earnings#6]
   +- ExternalRDD [obj#3]

**Logical plan after analysis:**
'Pivot List(variable#16), __pivot_column#17: string, [first(value#18) ignore nulls]
+- 'Unpivot List(__pivot_column#15), List(List(course#4), List(earnings#6)), variable, [value]
   +- 'Project [course#4, year#5, earnings#6, concat_ws(_, year#5, 'sales) AS __pivot_column#14]
      +- SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).course, true, false, true) AS course#4, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).year AS year#5, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).earnings AS earnings#6]
         +- ExternalRDD [obj#3]

Logical plan before analysis:
'Transpose [dotNET, Java], IntegerType
+- SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).course, true, false, true) AS course#4, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).year AS year#5, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).earnings AS earnings#6]
   +- ExternalRDD [obj#3]

Logical plan after analysis:
Project [key#16, __pivot_first(DISTINCT value) AS `first(DISTINCT value)`#26[0] AS dotNET#27, __pivot_first(DISTINCT value) AS `first(DISTINCT value)`#26[1] AS Java#28]
+- Aggregate [key#16], [key#16, pivotfirst(course#4, first(DISTINCT value)#20, dotNET, Java, 0, 0) AS __pivot_first(DISTINCT value) AS `first(DISTINCT value)`#26]
   +- !Aggregate [key#16, course#4], [key#16, course#4, first(distinct value#14, true) AS first(DISTINCT value)#20]
      +- Expand [[course#4, year, cast(year#5 as double)], [course#4, earnings, earnings#6]], [course#4, key#18, value#19]
         +- SerializeFromObject [staticinvoke(class org.apache.spark.unsafe.types.UTF8String, StringType, fromString, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).course, true, false, true) AS course#4, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).year AS year#5, knownnotnull(assertnotnull(input[0, org.apache.spark.sql.test.SQLTestData$CourseSales, true])).earnings AS earnings#6]
            +- ExternalRDD [obj#3]


Reading from STDIN does not seem to work

I'm trying to pipe data into module-deps but it fails:
$ cat robot.js | ./node_modules/.bin/module-deps -

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: path must be a string
    at /home/username/node_modules/module-deps/node_modules/browser-resolve/node_modules/resolve/lib/async.js:15:16
    at process._tickCallback (node.js:419:13)

Running module-deps with "robots.js" as input on the other hand works like a charm:
$ ./node_modules/.bin/module-deps robot.js
[
{"file":"/home/username/robot.js","id":"/home/username/robot.js","source":"module.exports = function (s) { return s.toUpperCase() + '!' };\n","deps":{},"entry":true}
]

I'm not sure how the output should look when you pipe though... How will it know the path to the entry point? Will it simply have {"file":"-","id":"-",...}
$ nodejs --version
v0.10.33
$ npm info module-deps | grep version:
  version: '3.6.4',

Weird. I see the option in cmd.js but the code looks like it never supported it. I don't think this is a feature worth supporting though. Do you need it for something?

I've run into an opportunity where this feature would be helpful. I have a non-node application that is processing a Javascript file through module-deps and I have the contents of the module in memory.
Probably very much an edge case.

@ornj I think the big blocker for me is figuring out how to support multiple input files, and how to name them. I'd rather not implement stdin support at all if it's going to be half-baked. Any ideas?

I haven't really looked into the source very much so my understanding is pretty shallow. Why do they need to be named? What if there is no file on disk?
Browserify reads from stdin, https://github.com/substack/node-browserify/issues/1201#issuecomment-90835972. Maybe some inspiration can be taken from that?

@ornj The file needs to be named because that's how modules are identified. browserify does read stdin and gives files a default name of $BASEDIR/_stream_0.js or what you specify in --file. The file doesn't have to exist, it's just a dummy identifier. I guess the same can be done here. Want to submit a PR?

I've started to take a look but I'm not a Node dev. I don't have a good environment for debugging Node command line scripts and I'm finding the whole process cumbersome. This doesn't seem like it would be too hard if I could figure out the appropriate place to parse the stream.
As far as supporting multiple files, I don't think that's really necessary. Using @jhthorsen example from above, you're concatenating files so in practice you're really only providing a single file.

@ornj I'll hopefully be merging #96 in the next few days – that'll fix piping to the CLI

:+1:

Have this issue and the pull request gone stale?

Seems to have gone stale.


feature request: custom type converters for typed databases/models

Right now, if we want to store, lets say DateTime in millis-since-epoch, there would be no other way as of manually converting it to a number before passing it to the model or did we miss something in the docs?

Closing this issue for now as i've found the ability to define custom ScalarConverter's while reading the codegen code. It is sadly not referenced in the documentation but it should be possible for the use-case i've described here (but not the one described in #565).


FFmpeg [Error 1]

The script returns "Invalid data found when processing input" and error 1 attempting to download.
Does it depend on how much time has passed since the video was privated?

I can't reproduce this issue. Can you give me an example?


Boolean attributes

According to the HTML5 spec:

The values "true" and "false" are not allowed on boolean attributes. To represent a false value, the attribute has to be omitted altogether.

https://www.w3.org/TR/html5/infrastructure.html#boolean-attributes

So, in order to make my code spec compatible, i'd do in this way in vue: <input :checked="checked ? '' : false">, do you think it is necessary to directly support boolean attributes in vue? @yyx990803
Solutions I can think of are these:

By another directive: v-add:selected="true" (not recommand)
By modifier: v-bind:selected.boolean="true" (recommand)
Auto: v-bind:selected="true", we need to mantain a boolean attribute list(see), and this may have compatibility problems.

Again, if you think it is necessary, let me handle this! :trollface:

What's the problem with <input :checked="checked">? Vue removes the attribute if checked is falsy.

Well, <input checked="true"> and <input checked="1">  are invalid in HTML(although they can work in most browsers), only <input checked> and <input checked="checked"> are valid.

Ok, I guess the modifier is the best way to go. Should be easy too.

What about the modifier name? .boolean is ok?

Yeah I think so.

By the way, could you email your email address? it would be more convenient talk in my native language.    XD

+1 😺

@rhyzx Thank you for posting your issues in English! :smile:

@posva wel ;)


Upgrade to h5py==3.0.0 causes Keras-related tests to fail

The most recent cron build failed across all OS jobs. The following tests are failing:
FAILED unit_testing/test_deepseg_gm.py::TestCore::test_segment_volume
FAILED unit_testing/test_deepseg_lesion.py::test_segment
FAILED unit_testing/test_deepseg_sc.py::test_deep_segmentation_spinalcord[params0]
FAILED unit_testing/test_deepseg_sc.py::test_deep_segmentation_spinalcord[params1]
FAILED unit_testing/test_qc_parallel.py::test_many_qc
FAILED unit_testing/test_sct_compute_mtsat.py::test_with_json_sidecar[input_params0]
FAILED unit_testing/test_sct_compute_mtsat.py::test_with_json_sidecar[input_params1]
FAILED unit_testing/test_straightening.py::test_straighten
FAILED unit_testing/cli/test_cli_sct_analyze_lesion.py::test_sct_analyze_lesion_backwards_compat[subprocess]
FAILED unit_testing/cli/test_cli_sct_deepseg_gm.py::test_sct_deepseg_gm_backwards_compat[subprocess]
FAILED unit_testing/cli/test_cli_sct_deepseg_lesion.py::test_sct_deepseg_lesion_backwards_compat[subprocess]
FAILED unit_testing/cli/test_cli_sct_deepseg_sc.py::test_sct_deepseg_sc_backwards_compat[subprocess]

The cron build from the night previous passes, so I imagine this is an upstream issue. I'm looking into this immediately, and will comment + update title when I have a better idea.

Diff between logs

Check Python executable.............................[OK]
  Using bundled python 3.6.12 |Anaconda, Inc.| (default, Sep  8 2020, 23:10:56)
[GCC 7.3.0] at /home/travis/build/neuropoly/spinalcordtoolbox/python/envs/venv_sct/bin/python
Check if data are installed.........................[OK]
Check if colored is installed.......................[OK] (1.4.2)
Check if dipy is installed..........................[OK] (1.2.0)
Check if futures is installed.......................[OK]
- Check if h5py is installed..........................[OK] (2.10.0)
+ Check if h5py is installed..........................[OK] (3.0.0)
Check if ivadomed (2.0.2) is installed..............[OK] (2.0.2)
Check if Keras (2.1.5) is installed.................[OK] (2.1.5)
Check if matplotlib is installed....................[OK] (3.3.2)
Check if nibabel is installed.......................[OK] (3.2.0)
Check if numpy is installed.........................[OK] (1.19.3)
- Check if pandas is installed........................[OK] (1.1.3)
+ Check if pandas is installed........................[OK] (1.1.4)
Check if psutil is installed........................[OK] (5.7.3)
Check if pyqt5 (5.11.3) is installed................[OK] (5.11.3)
Check if pytest is installed........................[OK] (6.1.2)
Check if pytest-cov is installed....................[OK] (__version__ = '2.10.1')
Check if raven is installed.........................[OK]
Check if requests is installed......................[OK] (2.24.0)
Check if requirements-parser is installed...........[OK] (0.2.0)
Check if scipy is installed.........................[OK] (1.5.3)
Check if scikit-image is installed..................[OK] (0.17.2)
Check if scikit-learn is installed..................[OK] (0.23.2)
Check if tensorflow (1.5.0) is installed............[OK] (1.5.0)
Check if torch (1.5.0+cpu) is installed.............[OK] (1.5.0+cpu)
Check if torchvision (0.6.0+cpu) is installed.......[OK] (0.6.0+cpu)
Check if xlwt is installed..........................[OK] (1.3.0)
Check if tqdm is installed..........................[OK] (4.51.0)
Check if transforms3d is installed..................[OK] (0.3.1)
Check if urllib3 is installed.......................[OK] (1.25.11)
Check if pytest_console_scripts is installed........[OK]
Check if pytest-xdist is installed..................[OK] (2.1.0)
Check if spinalcordtoolbox is installed.............[OK]
Check ANTs compatibility with OS ...................[OK]
Check PropSeg compatibility with OS ................[OK]
Check if DISPLAY variable is set....................[FAIL]

Based on (some) of the error messages, I'm willing to bet the update to h5py is the issue here:
f = <Closed HDF5 file>
layers = [<keras.engine.topology.InputLayer object at 0x7f0a5c569cf8>, <keras.layers.convolutional.Conv2D object at 0x7f0a5c569...tional.Conv2D object at 0x7f0a5c529d68>, <keras.layers.normalization.BatchNormalization object at 0x7f0a5c57ae10>, ...]
reshape = False
    def load_weights_from_hdf5_group(f, layers, reshape=False):
        """Implements topological (order-based) weight loading.

        # Arguments
            f: A pointer to a HDF5 group.
            layers: a list of target layers.
            reshape: Reshape weights to fit the layer when the correct number
                of values are present but the shape does not match.

        # Raises
            ValueError: in case of mismatch between provided layers
                and weights file.
        """
        if 'keras_version' in f.attrs:
>           original_keras_version = f.attrs['keras_version'].decode('utf8')
E           AttributeError: 'str' object has no attribute 'decode'

The remaining errors are FileNotFoundErrors for images in our testing data. But, I'll start looking into the h5py update for now to see if it's the sole cause or if there's something else.

Fixing h5py==2.10.0 appears to have isolated the issue, see #2988 and https://travis-ci.org/github/neuropoly/spinalcordtoolbox/builds/740412858
Digging deeper now...

Looks like we're not the only one to run into issues with the h5py upgrade. See: https://github.com/tensorflow/tensorflow/issues/44467
(The linked issue is from Tensorflow. As an aside, it's worth noting for context that we currently fix Keras==2.1.5. The most recent version of standalone Keras is 2.4.3. Keras has also since been integrated into tensorflow, see https://github.com/keras-team/keras#multi-backend-keras-and-tfkeras)

Multi-backend Keras has been discontinued. At this time, we recommend that Keras users who use multi-backend Keras with the TensorFlow backend switch to tf.keras in TensorFlow 2.0.
Keras 2.2.5 was the last release of Keras implementing the 2.2.* API. It was the last release to only support TensorFlow 1 (as well as Theano and CNTK).
The current release is Keras 2.4.0, which simply redirects to tf.keras.

I'd say our best bet is to fix h5py<3.0. See also https://github.com/apache/incubator-tvm/pull/6808.

Also encountered in the sister project ivadomed https://github.com/ivadomed/ivadomed/issues/499


Add package name to the protocol buffer definition

Add package name to the protocol buffer definition file to avoid the namespace conflict.
Use the unique package name longhorn.backingimagemanager.pkg.rpc.
Longhorn 3343
Signed-off-by: JenTing Hsiao<EMAIL_ADDRESS>

BTW, have you tested the backward compatibility?

BTW, have you tested the backward compatibility?

No, any idea on how to test it?

BTW, have you tested the backward compatibility?

No, any idea on how to test it?

I would recommend testing with the instance manager. If everything works fine with the new instance manager, then you don't need to worry about this.
You can try the following:

Launch Longhorn system with old instance manager image.
Create and attach some volumes.
Upgrade the system with the new instance manager image.
Apply some operations for the volumes.
Do live upgrade for the volumes then retry applying some operations.

BTW, have you tested the backward compatibility?

New longhorn manager is not backwards compatible with old backing image manager, as well as old instance manager, the controllers display the error messages
Error syncing Longhorn backing image manager longhorn-system/backing-image-manager-c00e-d5d8: BackingImageManagerController failed to sync longhorn-system/backing-image-manager-c00e-d5d8: failed to sync backing image manager pod: failed to get version: rpc error: code = Unimplemented desc = unknown service longhorn.backingimagemanager.pkg.rpc.BackingImageManagerService

error receiving next item in engine watch: rpc error: code = Unimplemented desc = unknown service longhorn.instancemanager.pkg.rpc.ProcessManagerService

It suddenly occurred to me that we can retain the old version instance manager gRPC client in the latest longhorn manager repo. Then we can fall back to using the old client when encountering this kind of error. It's ugly but may work.

It suddenly occurred to me that we can retain the old version instance manager gRPC client in the latest longhorn manager repo. Then we can fall back to using the old client when encountering this kind of error. It's ugly but may work.

I have an idea.
Since the current conflict is the VersionResponse message between instance-manager and backing-image-manager.
And, the major backward compatibility concern is the instance-manager only because the backing-image-manager will upgrade along with the longhorn-manager upgrade. Therefore, the solution now is we add the package name to the backing-image-manager only. Then, there would not have a message definition conflict between instance-manager and backing-image-manager anymore.

Yes. The backing image manager compatibility is not a blocker here.
But avoiding updating the instance manager is not a long-term solution... We still need to think about how we can fix it.
BTW, you need to bump up the version for backing image manager and its client (in longhorn manager).

But avoiding updating the instance manager is not a long-term solution... We still need to think about how we can fix it.

Right, but fallback is not an easy way to maintain code because the rpc.pb.go is an auto-generated code.
I'd prefer we do not update the instance manager at the moment, and for the future protocol buffer file, have a convention to always add a unique package name.

BTW, you need to bump up the version for backing image manager and its client (in longhorn manager).

I have a draft PR in the longhorn-manager already, will update the version for backing image manager and its client once this PR be merged, thank you.

In this PR, you need to update https://github.com/longhorn/backing-image-manager/blob/0103fcb66924708d0aa4ca3e64576711b3cced00/pkg/meta/version.go#L6-L7

I have an idea.
Since the current conflict is the VersionResponse message between instance-manager and backing-image-manager. And, the major backward compatibility concern is the instance-manager only because the backing-image-manager will upgrade along with the longhorn-manager upgrade. Therefore, the solution now is we add the package name to the backing-image-manager only. Then, there would not have a message definition conflict between instance-manager and backing-image-manager anymore.
I did a test and it's workable.

http://github.com/longhorn/longhorn-manager/blob/452ca6e313b7378c9bd4c3d35e1a66a6eadfbcde/controller/backing_image_controller.go#L298-L309


New PR to test SignCLA at 2017-11-08 08:37:29.125487403 -0800 PST m=+63.038113339

Body of PR

unsigned-fail-staging: test succeeded


Bazel test failure in TF  (Linking error )

Environment info
Operating System: Rhel:7.3 (ppc64le)
####################################################
I could able to build the TF (version 1.0.1) successfully  , however I am getting following error for the command , bazel test  -c opt //tensorflow/...
ERROR: /root/Sandip/Bazel/new/with_patches/tensorflow/tensorflow/compiler/xla/tests/BUILD:953:1: Linking of rule '//tensorflow/compiler/xla/tests:broadcast_simple_test_cpu_parallel' failed: gcc failed: error executing command /usr/bin/gcc -o bazel-out/local-opt/bin/tensorflow/compiler/xla/tests/broadcast_simple_test_cpu_parallel '-Wl,-rpath,$ORIGIN/../../../../_solib_ppc/' -Lbazel-out/local-opt/bin/_solib_ppc -pthread ... (remaining 9 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
/usr/bin/ld: bazel-out/local-opt/bin/tensorflow/compiler/xla/tests/broadcast_simple_test_cpu_parallel: hidden symbol `pthread_atfork' in /usr/lib64/libpthread_nonshared.a(pthread_atfork.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Target //tensorflow/compiler/xla/tests:broadcast_simple_test_cpu_parallel failed to build
Use --verbose_failures to see the command lines of failed build steps.
____Elapsed time: 4.953s, Critical Path: 4.18s
Any solution  ?

We do not have official support on RHEL.
You might have quicker response using Stackoverflow.


Nested tsconfig.json broken

I made a simple example https://github.com/steida/tsbug
The problem is whenever I add packages/api/tsconfig.json, both deploy and now dev will fail.

ERROR in ./packages/foo/index.ts
Module build failed (from /Users/steida/Library/Caches/co.zeit.now/dev/builders/node_modules/@zeit/ncc/dist/ncc/loaders/ts-loader.js):
Error: TypeScript emitted no output for /private/var/folders/11/7qzp98nx1g15w3nfv9nbd6r40000gp/T/co.zeit.now/dev/workPaths/c5n2as4t/packages/foo/index.ts.
    at makeSourceMapAndFinish (evalmachine.<anonymous>:1:2894210)
    at successLoader (evalmachine.<anonymous>:1:2893770)
    at Object.loader (evalmachine.<anonymous>:1:2892441)
 @ ./packages/api/index.ts 2:0-31 6:14-17

Sometimes it makes very strange errors like missing Node or Attr types.

I think we need a demo for Yarn workspaces with TypeScript.

Hello @steida, are you still experiencing this issue? If so, please provide a minimal reproducible example so that we can investigate further.

I am not using monorepo anymore because it's really hard to setup correctly.


TabBar - Dynamically set tabbar items with JS

I have an array of categories coming from the API and I want to show each category in a TabBar. So I need to map the items of TabBar to be set dynamically.
With JS it can be like this:
var tabItems = response.body.categories.map(function (category) {
              return {
                  label: category.name,
                  widget: {
                      "Category": {
                          "inputs": {
                              "category": category.name
                          }
                      }
                  }
              };
          });

tabbar.items = tabItems;

It has the label and widget defined including the inputs it need to pass the widget

@sharjeelyunus please fix the js, it has to be exactly like the yaml. Write the tabbar items array in yaml, open a yaml to json online editor and paste it there to get the js. That's the js to use. If we divert it from that, we will have lots of maintainability issues.

fixed, this will return an array of items like below
[{label: Pastries, widget: {Category: {inputs: {category: Pastries}}}}, {label: Cupcakes, widget: {Category: {inputs: {category: Cupcakes}}}}, {label: Brownies, widget: {Category: {inputs: {category: Brownies}}}}, {label: Lasagna, widget: {Category: {inputs: {category: Lasagna}}}}, {label: Pizza, widget: {Category: {inputs: {category: Pizza}}}}]

assigning to @hemish11 as I may not get time for this for a few days. @hemish11 when I run even the TabBar example from kitchen sink in debugger, I get flutter exceptions -

We need to fix the widget and then add the js capability. Adding js capability is easy, just change the set items in TabBarController as follows -
  set items(dynamic _) {
    if (_ == null) {
      _items.clear();
      return;
    }
    List? tempItems;
    if ( _ is YamlList ) {
      tempItems = Utils.convertYamlToDart(_);
    }
    if (tempItems is List) {
      for (Map item in tempItems) {
        _items.add(TabItem(
          Utils.getString(item['label'], fallback: ''),
          item['widget'] ??
              item['body'], // item['body'] for backward compatibility
          item['tabItem'],
          icon: Utils.getIcon(item['icon']),
        ));
      }
    }
  }

But please fix the bug first.

@hemish11 this is the issue with tabbar alignment exception - https://github.com/EnsembleUI/ensemble/issues/1162
Vinoth had a PR for it which is linked to the ticker


[FIX] Bug when adding a speaker

When you click on add the edit field opens in a random location (above, below or center)
https://github.com/user-attachments/assets/f32b9c9c-8982-4005-bf91-917f5d99f6f0

Nice catch 😄

Nice catch 😄

All credit to @fschein :D


Alert dialog closes before asynchronous form submission

Bug report
Current Behavior
When using <AlertDialog.Action> on form submission, the alert dialog is unmounted immediately instead of on setOpen(false). This results in the following warning in the console:
Form submission canceled because the form is not connected

Expected behavior
The alert dialog remains open until setOpen(false) runs after the promise resolves
Reproducible example
CodeSandbox Template
Additional context
The code in the reproducible example was derived from the documentation
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-alert-dialog
1.0.2

React
n/a
18.2.0

Browser
Chrome
107.0.5304.107

Assistive tech

Node
n/a

npm/yarn
npm
8.5.0

Operating System
Windows 10
21H1

Hi,
Sorry for the confusion, I must be missing something here. I based my reproducible example on the asynchronous form submission example in the documentation and I think I am doing that?
Thanks!

Ah yes sorry, the example is slightly wrong, we are aware of it (I'll fix it today).
It's missing event.preventDefault in onSubmit and also it should use your own submit button instead of Action to submit.

@benoitgrelard I was about to follow up here as well. I think the ergonomics of Action and Close is especially confusing in this use case since preventDefault inside onClick prevents the onSubmit handler.
@leemorrowdev  Here is a working example if it's useful: https://codesandbox.io/s/alert-dialog-form-submission-async-d0022g?file=/src/App.js

@andy-hook exactly, I'm going to update the examples today as it's a few people who have noted it's not working correctly 👍

https://github.com/radix-ui/website/pull/544


Pass custom headers to server for chunking success endpoint also

Usecase: Server needs some information ("userid" etc for logging purposes) as custom headers with each request.
Upload endpoint and others has an option to pass the information as custom headers which we want but not chunking success endpoint.

Any custom headers you set for the upload request will be sent with the chunking success request.


self.onContent is not a function

Hello Guys,
I was looking for an oncaught exception in my application and I found the following
{ err: [TypeError: self.onContent is not a function] }
Is this possible that it's because of the line 339
https://github.com/sylvinus/node-crawler/blob/master/lib/crawler.js#L339
Where it should be
return self._onContent(error, options);
instead of
return self.onContent(error, options);
Thanks in advance,
Anselme

@atrhacker yep, please just use my node-webcrawler instead, because the current author won't maintain crawler any more and didn't transfer the repo to any others, I have fixed several critical bugs and will continue to maintain it.

Please try new version.


Fix dependency to usb-device

Fixed the commit ID. The previous one does not exist...

Oops, probably messed it up while I was shuffling everything around yesterday. Thanks!


Error while putting a routing observer

Simply trying to put an observer, and seems that the documentation is outdated or it just won't work.
import 'package:get/get.dart';

class RoutingMiddleware extends GetMiddleware {
  static observer(Routing routing) {
    print(routing.previous);
  }
}

Gives error:

Just before someone says that I am not following the documentation or whatever, doing a simple:
import 'package:get/get.dart';

class RoutingMiddleware {
  static observer(Routing routing) {
    print(routing.previous);
  }
}

Without extending, gives the same problem...

Hello, Can you try this?
import 'package:get/get.dart';

class RoutingMiddleware extends GetMiddleware {
  static dynamic observer(Routing? routing) {
    print(routing.previous);
  }
}

Thank you. That did the trick. Still I believe this is poorly documented and you can't find accurate description for it nowhere.

Thank you

Glad i could help @pzehle, and if this issue is solved kindly close the issue 🙏🙂, they've got tooo many already, (helping out as much as i could)

Still I believe this is poorly documented and you can't find accurate description for it nowhere.

I don't disagree, but hey its on Github for a reason ey😉,

Fork 🍴
Edit ✏
Commit (couldn't find a suiting emoji 😅)
Submit a PR 🙂


SAP HANA Editor work with Parameters

I am having an issue working with parameters in HANA SQL Script. I can run the following simple query without problems in SAP HANA Studio:
DO
BEGIN

    DECLARE I INT = 1;

    IF :I = 1 THEN
      SELECT 2 FROM DUMMY;
    END IF;

END;

But when I am running this in dbeaver I am constantly getting the following error:
SQL Error [257] [HY000]: SAP DBTech JDBC: [257] (at 110): sql syntax error: line 8 col 9 (at pos 110)
SQL Error [257] [HY000]: SAP DBTech JDBC: [257] (at 110): sql syntax error: line 8 col 9 (at pos 110)
SQL Error [257] [HY000]: SAP DBTech JDBC: [257] (at 110): sql syntax error: line 8 col 9 (at pos 110)
SAP DBTech JDBC: [257] (at 110): sql syntax error: line 8 col 9 (at pos 110)
SAP DBTech JDBC: [257] (at 110): sql syntax error: line 8 col 9 (at pos 110)
At the beginning I always got a prompt for named parameters because of ':I' in my sql script. I changed that in the properties and now I am stucked at the error mentioned above.
Am I doing something wrong? How do you parse the query to the server?
Thank you

DBeaver doesn't support HANA-specific SQL syntax, it fails to parse blocks correctly. Thus query ends after END IF; statement.
Workaround: select all query and run it with CTRL+Enter.

Please test blocks processing in 5.1


Issue/5739 smaller operator creation

Adds new operate function for creating operators
Replaces all lift and wrappedLift helpers.
Fixes an issue with publishReplay et al, where an error thrown in the selector function was being thrown externally instead of send to the subscriber via an error notification.

Further size reduction.
57K -> 55K
57K -> 54K approximately

HA! While fixing the stuff @cartant pointed out, I updated onErrorResumeNext, retry and repeat, and knocked us down another 1K almost.


URLCanonicalizer.getCanonicalURL(String href, String context) why ref is not contained

URLCanonicalizer.getCanonicalURL(String href, String context) why ref is not contained
like link http://www.ss.com/aa/#/aasb

Would you be kind to write a test inside URLCanonicalizerTest and show use what would you expect ? Thank you!


Update sbt-scalafix, scalafix-core to 0.9.25

Updates

ch.epfl.scala:sbt-scalafix
ch.epfl.scala:scalafix-core

from 0.9.23 to 0.9.25.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala" } ]

labels: library-update, semver-patch

This was holding back Scala 2.13.4, so it would be nice to see this work.  Restarting the flake.

This was holding back Scala 2.13.4, so it would be nice to see this work.  Restarting the flake.

Uh, well, hmm.  Maybe the scalafix aren't running on main?  I didn't think this would work.  Let's try this on 0.21.

Uh, well, hmm.  Maybe the scalafix aren't running on main?  I didn't think this would work.  Let's try this on 0.21.

Superseded by #4212.

Superseded by #4212.


HELM-316: Document Grafana datasource expressions - Performance

Documentation for Glob Expressions in Performance datasource

JIRA (Issue Tracker): http://issues.opennms.org/browse/HELM-316
Continuous Integration: CircleCI

@Bonrob2 Comments on my suggestions?

@Bonrob2 Comments on my suggestions?

Good improvements. Particularly with the table of examples.

I've always used variables for multi-valued items, but that doesn't work for nested filters. Looking forward to using this!

I hope is up to the expectations :)


Release 1.3.1

Updates to Akka 1.3.5 and NLog 4.5.0

@Danthar Possible to have #33 included before you publish the nuget-package ?

@ Aaronontheweb & @Danthar Possible to have #33 included before you publish the nuget-package ?

@Aaronontheweb & @Danthar Possible to have #33 included before you publish the nuget-package ?

@snakefoot no, pushing to master == automagical release to nuget, So it would go into the next release

No nuget package has been published for 8 months on nuget
Sent from my Samsung device
-------- Original message --------
From: Arjen Smits<EMAIL_ADDRESS>Date: 03/05/2018 13:18 (GMT+01:00)
To: "AkkaNetContrib/Akka.Logger.NLog"<EMAIL_ADDRESS>Cc: Rolf Kristensen<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [AkkaNetContrib/Akka.Logger.NLog] Release 1.3.1 (#31)
@snakefoothttps://github.com/snakefoot no, pushing to master == automagical release to nuget, So it would go into the next release
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/AkkaNetContrib/Akka.Logger.NLog/pull/31#issuecomment-386262368, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK-fnDd21FJCHZ4iibTxY3S1S5ZGtWzqks5tuudygaJpZM4TGXPt.


Parameter naming in joint_limits.yaml

Hi,
when trying to test the Pilz Planner in ROS 2 with the UR, I noticed joint_limits.yaml in the ROS 2 driver specifies the limits with regard to a generic name (e.g. wrist_3, wrist_2 etc) instead of the actual joint name (e.g. wrist_3_joint, wrist_2_joint) in the urdf.
See ROS 1 and ROS 2
Is there any reason for changing this?
Since the Pilz motion planner checks if velocity limits (and acceleration limits) exist for each joint in a planning group, it does not correctly load the parameters (e.g. here).
I didn't encounter a problem somewhere else in MoveIt, so far, but theoretically it could appear in other parts as well?

This seems rather as an issue with wrong configuration of joint to plan for. You have to specify them somewhere with the suffix _joint. Please try to check this.
@livanov93, @urrsk do you think we should change names as they were in ROS1?

@destogl The thing is that links that have been compared are not from the same packages. The ROS1 version that @christianlandgraf  has referenced is from urXYZ_moveit_config package and the one ROS2 version referenced is in ur_description package.
If we take a look in ROS1 version of ur_description it is obvious it has the same form (without _joint suffix).
The ones from the description package are used for propagating parameters to robot_description via yaml file (the final steps can be seen here) and the other one is used as parameters in moveit planning (see example here).
I propose following action(s):

Add additional joint limits yaml file for moveit planning (e.g. here) in our moveit launch file and servo launch file.
In the ur_moveit_config/config add folder with multiple per robot type subfolders that will contain specific joint_limits.yaml file that will be used for planning

If we go immediately to change our ur_description joint limits yaml, we will have to change some of the core xacros in the same package which is  actually shared all over the ROS1 and ROS2 community at the moment.

In the past, people have limit the robot actually joint limits used for planning to help moveit. This might be the reason why the are named differently.
In addition, I can see that the angle limits for UR3's wrist 3 is set to ±2pi, though it is in reality unlimited.
https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/blob/main/ur_description/config/ur3e/joint_limits.yaml

In addition, I can see that the angle limits for UR3's wrist 3 is set to ±2pi, though it is in reality unlimited.

We should remove this. Though this could be useful for MoveIt to reduce planning space. Sometimes algorithms "get lost" on infinite joints.

I'd suggest to carefully consider whether to change these kinds of things.
Especially joint limits have been configured over time to reduce problems with motion planners (MoveIt being one of them).
Infinite limits (or continuous) joints can be nice, but infinite planning spaces typically do not result in better plans. Users targetting applications such as screwing or drilling would probably not control that action using the driver, making the need to 'unlimit' wrist 3 even less.
I would attribute the discrepancy between joint names to a simple mistake. In the early stages of the ROS 2 driver, things have been copied from upstream packages without much discussion. The .yaml file being discussed was not intended to be used as joint limits for MoveIt, but instead only as input for the respective .xacro files. The xacro:macro didn't use the full joint names as it didn't need to.
For context: https://github.com/ros-industrial/universal_robot/pull/516, https://github.com/ros-industrial/universal_robot/pull/513, https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/issues/198 and https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/pull/223.


HDFS-15173. Delete repeated configuration 'dfs.federation.router.metr…

HDFS-15173. Delete repeated configuration 'dfs.federation.router.metrics.enable'

HDFS-15173. Delete repeated configuration 'dfs.federation.router.metrics.enable'

Thank you ! @aajisaka

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
29m 20s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
21m 53s
trunk passed

+1 :green_heart:
compile
0m 30s
trunk passed

+1 :green_heart:
mvnsite
0m 33s
trunk passed

+1 :green_heart:
shadedclient
38m 36s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 29s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 30s
the patch passed

+1 :green_heart:
compile
0m 25s
the patch passed

+1 :green_heart:
javac
0m 25s
the patch passed

+1 :green_heart:
mvnsite
0m 29s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
15m 25s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 28s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
9m 39s
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 29s
The patch does not generate ASF License warnings.

98m 32s

Subsystem
Report/Notes

Docker
Client=19.03.6 Server=19.03.6 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1849/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1849

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient xml

uname
Linux 2d116fe4fa43 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 810783d

Default Java
1.8.0_242

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1849/1/testReport/

Max. process+thread count
3062 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1849/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Thanks @xiaoxiaopan118 and @ayushtkn


Use inside UITableViewCell

Hello, thanks for the great library!
I'm trying to use it inside UITableViewCell with all edges pinned to edges of cell, so tableviewcell should grow height with textview size change.
I've adopted self sizing textview, as described here
http://candycode.io/self-sizing-uitextview-in-a-uitableview-using-auto-layout-like-reminders-app/
While it works fine with regular UITextView, when I change it to GrowingTextView - I constantly receive following error with constraints  (it seems GrowingTextView tries to update height costraint before it should do so):
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
    "<NSLayoutConstraint:0x60000009da10 UILabel:0x7fa954e23b00'\U0421\U043e\U0445\U0440\U0430\U043d\U0438\U0442\U044c \U0432 \U0448\U0430\U0431\U043b\U043e\U043d\U044b'.height == 30   (active)>",
    "<NSLayoutConstraint:0x61000009f1d0 V:[UILabel:0x7fa954e23b00'\U0421\U043e\U0445\U0440\U0430\U043d\U0438\U0442\U044c \U0432 \U0448\U0430\U0431\U043b\U043e\U043d\U044b']-(7)-|   (active, names: '|':UITableViewCellContentView:0x7fa954e224c0 )>",
    "<NSLayoutConstraint:0x61000009e0a0 V:|-(7)-[UILabel:0x7fa954e23b00'\U0421\U043e\U0445\U0440\U0430\U043d\U0438\U0442\U044c \U0432 \U0448\U0430\U0431\U043b\U043e\U043d\U044b']   (active, names: '|':UITableViewCellContentView:0x7fa954e224c0 )>",
    "<NSLayoutConstraint:0x61800009afe0 'UIView-Encapsulated-Layout-Height' UITableViewCellContentView:0x7fa954e224c0.height == 43.5   (active)>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000009da10 UILabel:0x7fa954e23b00'Сохранить в шаблоны'.height == 30   (active)>

In my experience, this kind of conflict happened in between the view initializing and the frame is not yet finalized. According to your error message, you may try to lower the height constraint priority (set priority to 999) of the UILabel.

Hope you have fixed the problem. I am going to close the issue.

@SemenovAlexander I'm having this same issue. Did you ever get it to work?

I have the same problem. How do I get rid of the error?


Migrations command failing

I created a YAML file and generated the projects. API is running properly, but when I try to run the migrations command it is failing. Screenshot of the Powershell migration command output.

Steps to reproduce

Create a YAML file.
Generate project using craftsman.
Run the migration command. -  dotnet ef migrations add "InitialMigration" --project Infrastructure.Persistence --startup-project WebApi --output-dir Migrations
Including the YAML file.

SolutionName: TodoApi
DbContext:
 ContextName: TodoDbContext
 DatabaseName: TodoDb
 Provider: SqlServer
Entities:
- Name: TodoItem
  Properties:
  - Name: TodoId
    IsPrimaryKey: true
    Type: int
    CanFilter: true
    CanSort: true
  - Name: Name
    Type: string
    CanFilter: true
    CanSort: true
  - Name: IsCompleted
    Type: bool
    CanFilter: true
    CanSort: true
Environments:
  - EnvironmentName: Startup
    ConnectionString: "Data Source=.;Initial Catalog=TodoDb;Integrated Security=True;Encrypt=True;TrustServerCertificate=True;"
    ProfileName: Dev
SwaggerConfig:
  Title: Todo Api Service
  Description: API for managing todo items.
  ApiContact:
    Name: Anuraj
    Email<EMAIL_ADDRESS>    Url: https://dotnetthoughts.net

Exception and Stack Trace
Build started...
Build succeeded.
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.Migrations.IMigrator'. This is often because no database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.InfrastructureExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Design.DesignTimeServiceCollectionExtensions.<>c__DisplayClass1_0.<AddDbContextDesignTimeServices>b__7(IServiceProvider _)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.EnsureServices(IServiceProvider services)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType, String namespace)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType, String namespace)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Unable to resolve service for type 'Microsoft.EntityFrameworkCore.Migrations.IMigrator'. This is often because no database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

Further technical details
Craftsman version (dotnet tool list -g):  0.7.0

Hey @anuraj. Did you set the env variable in step 2? This worked for me:

ran a new:api command with the yaml above
set my env variable $Env:ASPNETCORE_ENVIRONMENT = "Dev"
ran the migration dotnet ef migrations add "InitialMigration" --project Infrastructure.Persistence --startup-project WebApi --output-dir Migrations

@pdevito3 Thank you 😃 it is worked.


Container start fails with insufficient memory on ubuntu:jammy

What are you trying to do?
Hi! Using the latest version of eclipse-temurin:8-jre (same as :8u332-b09-jre-jammy) as base image starting our (Spring Boot) applications fails. The root cause seems to be the upgrade from underlying ubuntu:focal to ubuntu:jammy.
Expected behaviour:
The application starts.
Observed behaviour:
The application start fails with following message:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/<redacted>.jar
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log

Downgrading to eclipse-temurin:8-jre-focal (same as :8u332-b09-jre-focal) solves the issue.
Any other comments:
Flyway has got the same issue with eclipse-temurin:11-jre: https://github.com/flyway/flyway/issues/3457 and solved it by downgrading/pinning to focal-based :<IP_ADDRESS>_1-jre: https://github.com/flyway/flyway-docker/pull/87.

@alexbde are you running in a Docker container?

docker version output from one of our Docker swarm worker nodes:
Client: Mirantis Container Runtime
 Version:           20.10.5
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        105e9a6
 Built:             Mon May 17 16:27:50 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Mirantis Container Runtime (this node is not a swarm manager - check license status on a manager node)
 Engine:
  Version:          20.10.5
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       1a7d997
  Built:            Mon May 17 16:25:14 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.4
  GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

@karianna okay, thank you very much!

Do reopen this if that doesn't work (but we've have ~5 reports of this over the past week, so I'm pretty sure :-)

FWIW (I'm not the OP!) my team was encountering a similar issue using 20.10.9 this week; upgrading to 20.10.17 seems to have made the issue disappear for us

Older versions of podman seem to suffer from the same issue, as you can read in the issue mentioned just above.
Upgrading to the latest version of podman fixed it.

Same for us in another context but the key info here is that we switched our Temurin based JDK eclipse-temurin:17.0.3_7-jre to a focal based image eclipse-temurin:17.0.3_7-jre-focal.
Side note: The Docker upgrade did not work for us, it had no effect.

Given that the symptom seems to be that too little memory is configured for some memory region, is it possible that any of you are using java's cgroup support to calculate memory limits based on docker's resource limits? I remember seeing a similar issue a while (1-2 years) back, when I configured a resource limit too small. We are not affected by this issue, but we are running on alpine-based images and we use explicit -Xmx values.

is it possible that any of you are using java's cgroup support to calculate memory limits

Yes - we are using this feature.

The upgrade worked for me. Thanks!

Neither the upgrade or an older base image worked, please reopen it


[2.5] Fix gke-operator charts

Sync 1.0.200 with 2.5.9 branch, move current 1.0.200 package to 1.0.300, bump gke-operator to latest for 1.0.300.

@cmurphy  Can you update the version in https://github.com/rancher/rancher/issues/33528 once this PR is merged?


Rename @effects to @_effects

@effects is too low a level, and not meant for general usage outside
the standard library. Therefore it deserves to be underscored like
other such attributes.

@jckarter I've been told this change doesn't need to go through SE.

LGTM, thanks!

@swift-ci Please test

@swift-ci Please test source compatibility

@jckarter Looks CoreStore is failing for tvOS and watchOS, this happens with the 4.2 compiler in the beta , so it doesn't look like my changes. Probably need to file an issue with that project to have them update something?


Map progress gone

Hey,
This is just feedback really, but the map progress that used to display at the top of the map page with each section and how far you were through was really handy because you could quickly see which sections you still needed to do and how far through the challenges you were on each section and overall.
In the new map layout you have to expand each section and scroll through to see which checkpoints are not ticked off, which is more time consuming and it is easy to miss the odd one.
It makes it harder to know how far you have progressed.

Sorry this is a duplicate of #6191 will post on there!


Feature/#1016 apply mapstruct for create checkout api

Resolved #1016 Update Create Checkout feature to use MapStruct

API Call test

API Response


Destination to service module

Dear @IObert Marius!
[feature request]
Could we have an additional / extended example that shows how to define a destination in the mta.yaml to a service module - say CAPM service module - for a managed app router? (assuming the service module is part of the same MTA as the destination content for the managed app router)
Thank you in advance.
Best regards,
Laszlo Kajan

Hi,
I like the idea but I'm afraid I don't know if I'll have time for this in the near future. Having said that, I'll mark the issue with the appropriate labels so that anyone can do a PR for this.
You might want to check out this tutorial in case you opened the issue because you want to see how this could look in action. In there, you'll learn about a neat way to set everything up.

I'll mark this issues as resolved as we just merged PR #28
Please reopen if you think this doesn't cover this issue.

Hello @laszloKajan ,
thanks a lot for your hint! From the first feeling this is nearly that what I wanted... I tried to adapt my mta.yml

added the route in xs-app.json to and try to invoke my destination

If I invoke the expected URL (UI5 invokation URL + /mailapi/test) I get an internal server error

Am I doing something wrong ? Is there any way to see the logs of the managed app router ? This should be a standard usecase .... invoking a service (hosted on CF & part of mta) from an SAPUi5 application. Would be great to have an example in this repo for that.

I have a similar problem

mta.yaml
ID: targetmngtui
_schema-version: 3.2.0
version: 0.0.1
build-parameters:
  before-all:
    - builder: custom
      commands:
        - npm install

modules:
  - name: targetmngtui-destination-service-content
    type: com.sap.application.content
    requires:
      - name: target-mngt-authentication
        parameters:
          service-key:
            name: target-mngt-authentication-key
      - name: targetmngtui_html_repo_host
        parameters:
          service-key:
            name: targetmngtui_html_repo_host-key
      - name: targetmngtui-destination-service
        parameters:
          content-target: true
    parameters:
      content:
        instance:
          destinations:
            - Name: target-mngt-api
              Authentication: OAuth2UserTokenExchange
              ServiceKeyName: target-mngt-api-key
              ServiceInstanceName: target-mngt-api
              sap.cloud.service: target-mngt-api
            - Name: targetmngtui_html_repo_host
              ServiceInstanceName: targetmngtui_html_repo_host
              ServiceKeyName: targetmngtui_html_repo_host-key
              sap.cloud.service: basic.service
            - Authentication: OAuth2UserTokenExchange
              Name: target-mngt-authentication
              ServiceInstanceName: target-mngt-authentication
              ServiceKeyName: target-mngt-authentication-key
              sap.cloud.service: basic.service
          existing_destinations_policy: update
    build-parameters:
      no-source: true
  - name: targetmngtui_ui_deployer
    type: com.sap.application.content
    path: .
    requires:
      - name: targetmngtui_html_repo_host
        parameters:
          content-target: true
    build-parameters:
      build-result: resources
      requires:
        - artifacts:
            - HTML5Module-content.zip
          name: HTML5Module
          target-path: resources/
  - name: HTML5Module
    type: html5
    path: HTML5Module
    build-parameters:
      builder: custom
      commands:
        - npm run build
      supported-platforms: []
  - name: uimodule
    type: html5
    path: uimodule
    build-parameters:
      builder: custom
      commands:
        - npm run build:uimodule --prefix ..
      supported-platforms: []
resources:
  - name: targetmngtui-destination-service
    type: org.cloudfoundry.managed-service
    parameters:
      service: destination
      service-name: targetmngtui-destination-service
      service-plan: lite
      config:
        HTML5Runtime_enabled: true
        version: 1.0.0
  - name: targetmngtui_html_repo_host
    type: org.cloudfoundry.managed-service
    parameters:
      service: html5-apps-repo
      service-plan: app-host
  - name: target-mngt-authentication
    type: org.cloudfoundry.existing-service
    parameters:
      service-name: target-mngt-authentication
  - name: target-mngt-api
    type: org.cloudfoundry.existing-service

xs-app.json
{
  "welcomeFile": "/index.html",
  "authenticationMethod": "route",
  "routes": [
    {
      "source": "^/target-mngt-api/(.*)",
      "target": "$1",
      "destination": "target-mngt-api",
      "scope": ["target-mngt-authentication!t22482.PartnerSales"],
      "authenticationType":"xsuaa"
    } ,
    {
      "source": "^/user-api(.*)",
      "target": "$1",
      "service": "sap-approuter-userapi"
    },
    {
      "source": "^(.*)",
      "target": "$1",
      "authenticationType": "xsuaa",
      "service": "html5-apps-repo-rt"
    }
  ]
}

Hi @luizcarlospedrosogomes,
I can't really see a problem with your code at a first glance, but I'd suggest to check this working example. I know it's a little different than your example because it creates a new instance level destination during deploy time rather than using an existing one, but I think you should give it a shot.
BR, Nico
PS: Please you syntax highlighting for the fenced code block next time 🙏🏻

Before opening the issue I followed exactly the example you gave me. Problem is, how close are the scenarios of the examples to the real ones? Will I always create an xsuaa service or will I use an existing application? Will I always create a static destination or will I create one in BTP and reuse the configuration? Finally, the examples help to get an idea but not to solve real world problems.
Thanks for the answer
I solved the problem by using another example repository and joining the information from this to the other.


add translator in navbar all pages

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #4058
Description
add translator in navbar all pages

Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/1258b7b9-8aae-496e-aa97-dfd54b680584
Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

please assign this pr under label level 3 and I have completed the navbar section , footer section and some pages are left

also chk all the pages footer , translate button is put there , which actually doesnt work . remove it .
u can work on this issue and raise a pr .

i already raise the pr please assign me
@abhi03ruchi

making directly pr can i gets these point @abhi03ruchi

making directly pr can i gets these point @abhi03ruchi
follow the rule . create issue and then raise pr .

So for this pr i can't get any point??

making directly pr can i gets these point @abhi03ruchi
follow the rule . create issue and then raise pr .

chk in leaderboard .

chk in leaderboard .

I checked but it's not updated my points

this maybe because updation doesnt happen in real time .
chk the page .
The leaderboard was last updated on: 10/28/2024, 12:09:31 PM No New PRs merged after 31th October 7:00p.m are countedMore details about badges.

Ok thanks 🙏

@abhi03ruchi
I have almost completed adding translator in your website but few are left in the navbar submenu part (i. e. 7 pages) can i get level 3 for this??