Changing hosting environment from GitHub to Deploy without Git provider

Hi,
I am using amplify and having trouble with changing hosting environment.
Currently I am using GitHub to hosting, however, something that I want to do is change to Deploy without Git provider.
I already tried the CLI:
aws amplify update-app --app-id AMPLIFY_APP_ID --repository REPOSITORY_URL --access-token GITHUB_ACCESS_TOKEN
It doesn't work at all and I want to know is there any way to solve it.
Thanks in advance.

(source: https://www.cloudysave.com/aws/deploy-without-git-provider/)

Hi @lien-eckang currently its not possible to convert from a Git provider app to a manual deploy app or vice versa. We recommend creating a new Amplify app if you want a manually deployed app. Thank you!

Thanks hloriana for the reply,
However, do yo have any plan to implement the service in the future?


code-gen: ensure generated validator for T.number() acknowledge postgres max integer size.

PostgresError messagevalue "105131312312321" is out of range for type integer

The generated is integer check does not take the value (size) into account. This could break queries or other stuff.
current check:

Steps to reproduce;
 R.post("/foo", "bar")
    body({
        number: T.number()
    })

pass in value<PHONE_NUMBER>12321 (example) value.

What would be the expected outcome:
- 2,147,483,647 ->  2,147,483,647 signed integer
or - 2,147,483,647 -> 4,294,967,295 to account for both signed and unsigned ints?


Standard_Custom Http Timeout Setting Per Request Action: The HTTP Request action showing as Success

Describe the Bug with repro steps
1.Create a standard logic app
2.Create an empty stateless workflow
3.Add a request trigger and HTTP request action.
4.The request url to point to
(https://httptimeoutendpoint.azurewebsites.net:443/api/longresponse/triggers/manual/invoke?api-version=2020-05-01-preview&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=BiCOpndJgI4xnNMW0n1MkN0NgRPgcH0NIK-h8NStZrI)
5.Go to settings tab and set Request options to PT1S
6.Disable the Asynchronous pattern.
7.Save and run the workflow.
8.Expected Result: The HTTP Request action should be marked as failed.
Actual Result: The HTTP Request action showing as Success.
Note: Looks like changing the Request options to PT1S is not saving successfully even after showing the success saving message.
Workflow JSON
{
  "definition": {
    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
    "actions": {
      "HTTP": {
        "type": "Http",
        "runAfter": {}
      }
    },
    "contentVersion": "<IP_ADDRESS>",
    "outputs": {},
    "triggers": {
      "When_a_HTTP_request_is_received": {
        "type": "Request",
        "kind": "Http"
      }
    }
  },
  "connectionReferences": {},
  "parameters": {}
}

Screenshots or Videos

Browser
Edge
Additional context
Environmental Details:
URL: https://aka.ms/emastaging-flowsEurope
Version : 2.30410.1.3

Issue repro in latest artifact.

VS Code extension -    vscode-azurelogicapps-2.9.1.vsix
NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzcyMDcxNTQ1L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.19.1.nupkg
Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.19.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.19.1_any-any.zip

This is not an issue with correct timeout value and operationOptions. There is an issue with Http action settings where Asynchronous response is being shown instead of disable async pattern, so that is fixed by #2207 ,
Closing as failing http action for 1 second timeout is still working, please make sure your codeview ie workflow.json is correct before running the app.

Issue repro in the latest request:
Environment Details:
URL: https://aka.ms/emastaging-flowstip1
Version: 2.30508.1.2

Note: We are able to see Asynchronus pattern instead of Asynchronus response. This issue is resolved.

Issue repro in latest artifact.
1,VS Code extension – vscode-azurelogicapps-2.15.15.vsix
2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczMDA5ODA5L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.21.3.nupkg
3.Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
4.Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.21.3/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.21.3_any-any.zip
5.Resources vsix. vscode-azureresourcegroups-LA.vsix

Note: We are able to see Asynchronus pattern instead of Asynchronus response. This issue is resolved.

Issue repro in latest artifact.
1.VS Code extension: vscode-azurelogicapps-2.18.0.vsix
2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczNTE1ODYzL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.23.1.nupkg
3.Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
4.Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.23.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.23.1_any-any.zip

Issue repro in the latest request:
Environment Details:
URL: https://aka.ms/emastaging-flowstip1
Version: 2.30529.1.1


py: Improve test coverage

Codecov Report

Merging #328 (f5b57de) into main (1caf98c) will increase coverage by 0.57%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #328      +/-   ##
==========================================
+ Coverage   52.91%   53.48%   +0.57%
==========================================
  Files         129      130       +1
  Lines        3519     3543      +24
==========================================
+ Hits         1862     1895      +33
+ Misses       1657     1648       -9

Impacted Files
Coverage Δ

tests/py/api/test_handler.py
98.00% <ø> (-2.00%)
:arrow_down:

playground/control/connectors/docker/client.py
81.39% <100.00%> (+17.39%)
:arrow_up:

tests/py/api/handlers/test_network_handler.py
100.00% <100.00%> (ø)

tests/py/connectors/docker/test_client.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


https://deer.com

Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Basic Information

Version with issue:
Last known good version:
Platform:

Screenshots

Reproduction Link / Code

@dedene


Save As Optimised SVG Removes Text

When I Save As Optimised SVG the text is removed. I have provided some context to help the debugging process. Would appreciate your thoughts on what the problem is, if there is a solution and if not, when one will be tabled for.
Inkscape Version - 1.2.1 (9c6d41e410, 2022-07-14)
Windows 11 Home Edition
Scour Version
Scour SVG Output
Scour Options
If I compare the images they look like this.
Inkscape optimised image
Minified with Iconly SVG-Cleaner
Here is the broken code that is outputted.
 <text id="text" transform="matrix(1.0581 0 0 1.0581 1486.5 491.84)" fill="#0f172a"  font-family="Comfortaa" font-size="40px" stroke-width="0" style="shape-inside:url(#rect3496);white-space:pre" xml:space="preserve"/>
 <!--
This is the working code from SVG-Cleaner

  <text xml:space="preserve" transform="translate(1486.48 491.835) scale(1.05805)" style="font-size:40px;font-family:Comfortaa;-inkscape-font-specification:Comfortaa;white-space:pre;shape-inside:url(#a);fill:#0f172a;stroke:#0f172a;stroke-width:0;stroke-linecap:round;stroke-dasharray:none"><tspan x="-1341.772" y="-304.746"><tspan style="-inkscape-font-specification:'Comfortaa, @wght=700';font-variation-settings:'wght' 700">Shapes</tspan></tspan></text>
 -->

@Lauro235 Could you provide the input-file as SVG, or XML, or TXT ?

shape-inside is a CSS feature, not sure if it is also an official SVG-feature.
Minimal SVG (Input)
<?xml version="1.0" encoding="UTF-8"?>
<svg width="159.58" height="43.378" viewBox="0 0 159.58 43.378" xmlns="http://www.w3.org/2000/svg">
<defs >
 <path id="rect3496" d="m-1341.8-341.35h1368v157.55h-1368z"/>
</defs>
<text transform="matrix(1.058 0 0 1.058 1417 355.9)" x="-1341.77" y="-304.75" fill="#0f172a" font-family="Comfortaa" font-size="40px" stroke="#0f172a" stroke-linecap="round" stroke-width="0" style="shape-inside:url(#rect3496);white-space:pre" shape-inside="url(#rect3496)" xml:space="preserve"/>
</svg>

I assume the problem is the combination of shape-inside:url(#rect3496) with  transform="matrix(1.058 0 0 1.058 1417 355.9)"


Add jwks parsing

add jwks implementation to simple access to x5c to verify jwt:
auto decoded_jwt = jwt::decode(token);
auto jwks = jwt::parse_jwks(jwks_json_str);
if (jwks.has_x5c_id()) {
   auto issuer = decoded_jwt.get_issuer();
   auto x5c = jwks.get_x5c();
   if (jwks.get_key_id() == decoded_jwt.get_key_id()) {
      if (!x5c.empty() && !issuer.empty()) {
         auto verifier = jwt::verify()
            .allow_algorithm(jwt::algorithm::rs256(jwt::helper::convert_base64_der_to_pem(x5c), "", "", ""))
            .with_issuer(issuer)
            .leeway(60U);
         std::error_code err;
         verifier.verify(decoded_jwt, err);
         jwt::error::throw_if_error(err);
     }
}
   else {
      std::cerr << "Key ids are not matched" << std::endl;
   }
}

Wow! 🏆 super exciting to see this added, thank you so much for your contribution ❤
This would be a start towards #94 which I think a lot of people would benefit from!
There's a few key details missing in order for this to be merged

Test code

Something similar to this test
Feel free to add a new file

No base64 (required by the helper you are using)

You'll need to add a overload like this https://github.com/Thalhammer/jwt-cpp/blob/ca110ade5bf70920175bd6679c39e2c0f79239d7/include/jwt-cpp/jwt.h#L420-L421

Example

I think the code you wrote above is excellent, just stick it in the examples!

I very happy to see this PR get merged, let me know if you need more help! 🚀

@dtiukalov please consider https://github.com/dtiukalov/jwt-cpp/pull/1

This looks great! Basically this is exactly what I was looking for. A single nice c++ library to handle jwt auth including jwk handling.
Looking forward to trying it out when it is ready.

Looking forward to trying it out when it is ready.

Sadly it seems OP has stopped working on this, it would be greatly appreciated if you could pick up and work on this!
Lots of work has been done just needs a little push to get it over

Looking forward to trying it out when it is ready.

Sadly it seems OP has stopped working on this, it would be greatly appreciated if you could pick up and work on this!
Lots of work has been done just needs a little push to get it over

That is too bad.
I am not sure I will have the time in the near future nor possess the necessary skill. I will keep it in mind if I find some time.

@prince-chrismc what's left in this PR? maybe i can take a shot at this

It will probably also need a pretty significant update to the current version.

Does it make sense to start a new PR with OP's changes + @prince-chrismc 's suggestions to it, targetting the latest version? I think looking at the latest diff might help us see what's left


The default Encoder[Instant] instance fails for dates very far in the future

Description
The default Encoder[Instant] instance fails with a java.lang.ArithmeticException: long overflow error when trying to encode dates that are very far in the future.
The cause of the bug is that the default Encoder represents time values as Long millisecond timestamps, although Instant is capable of storing much larger values than what a Long can.
Example
import meteor.syntax._
import java.time.Instant

val t = Instant.ofEpochMilli(Long.MaxValue).plusMillis(1)
t.asAttributeValue // throws ArithmeticException

Possible solution
Changing Encoder[Instant] to represent values as ISO strings.
This would also have the added benefit of not truncating sub-millisecond values.
implicit val InstantCodec: Codec[Instant] =
  new Codec[Instant] {
    def read(av: AttributeValue): Either[DecoderError, Instant] =
      av.as[String].flatMap { str =>
        Either
          .catchNonFatal(Instant.parse(str))
          .left
          .map(err => DecoderError(err.getMessage(), err.getCause().some))
      }

    def write(a: Instant): AttributeValue = a.toString().asAttributeValue

  }

good point. However, this only happens for very very large value. By changing the default Codec, it potentially will break all existing data which has been written as Long. Personally I think if you are effected by this bug, you can provide your custom Codec instead of using the one provided by the lib. A proper fix would be provide a Codec that is compatible with both formats.

good point. However, this only happens for very very large value. By changing the default Codec, it potentially will break all existing data which has been written as Long. Personally I think if you are effected by this bug, you can provide your custom Codec instead of using the one provided by the lib. A proper fix would be provide a Codec that is compatible with both formats.


CHEF 16+ ohai packages on Windows does not include (x86) packages due to reg_key collection order

Description
Chef 16+ does not include (x86) packages in node['packages'] due to the order of registry keys queried.
Chef Version
Chef 16/17+
Platform Version
Windows (all versions)
Replication Case
ohai packages on cli when a (x86) program is installed. it will failed to be included.
Purposed fix:
PR: https://github.com/chef/ohai/pull/1669
Move
collect_programs_from_registry_key(Win32::Registry::HKEY_CURRENT_USER, 'Software\Microsoft\Windows\CurrentVersion\Uninstall')

After
collect_programs_from_registry_key(Win32::Registry::HKEY_LOCAL_MACHINE, 'Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall')

Problem is Win32::Registry::HKEY_CURRENT_USER, 'Software\Microsoft\Windows\CurrentVersion\Uninstall does not exist on all systems, and ohai registry collection stops when this registry tree fails.

If there's anything we need to ship here still it can get backported to the 16-stable branch in ohai.


Octicons render different icons on iOS vs. Android

I'm on the latest react-native-vector-icons. I noticed that the Octicons I am using render differently on iOS and android. Consider the following example:
import OcticonIcon from 'react-native-vector-icons/dist/Octicons';

<OcticonIcon
  ...
  name="sign-out"
  ...
/>

Result on iOS (correct):

Result on Android (incorrect):

I tried with a few other icon names and had the same result - the iOS icon rendered as expected, the android used some other random icon. Seems like the key/value pairs are messed up on Android for this font family.

@joncursi There was an icon removed in Octicons 6.0.0 [1] that caused a re-indexing of key/values in the font file itself.
You can see that it have been correctly reflected in react-native-vector-icons in this commit: https://github.com/machour/react-native-vector-icons/commit/261691eb9952a30e355df68608c6e5a8b9522977?diff=split (ellipses is gone).
I think that you're bundling the correct TTF file in iOS, but an outdated one in Android.
Running react-native run-android should bundle the new TTF file and fix your problem :)
[1] - https://github.com/primer/octicons/blob/master/CHANGELOG.md#600

@machour is right, glyph keys are out of date with the font file. Please use the gradle integration to avoid this in the future.

@oblador I tried to use the gradle integration in order to hand pick the bundled TTF files, but I need to use react-native link for other libraries and thus all TTF files gets bundled anyway.
Do you have a workaround for this?

@machour I'd suggest to use react-native link nameofnewpackage instead of trying to link all dependencies all over again.

Just an FYI for future people that arrive here - after I used the gradle method, I was getting crossed boxes on Android. I then ran react-native link react-native-vector-icons and was fully up and running.
@oblador When a new version of this library is released, do we need to run react-native link react-native-vector-icons after installing the new version into node_modules? Or was the link command only required to be run once (during initial integration with the user-land project)?

Un-linking and linking again did not resolve this issue for my project.


Icon Update with new color system

Color system was updated.

@dnsos Question to arrow breadcrumb:
resized the arrow icon in the breadcrumbs to 15x15 pxl within 21x21px (artwork area), but appears to big on the live version
Could you look at this? Do you need to change the styles in SAAS, or should I still change the arrow size?


FileCharacteristics to (nullable) stuct

Fixes https://github.com/NLog/NLog/issues/1330

Current coverage is 75.11%

Merging #1334 into master will decrease coverage by -0.06% as of bb74a56

@@            master   #1334   diff @@
======================================
  Files          267     267
  Stmts        15524   15536    +12
  Branches      1632    1635     +3
  Methods          0       0
======================================
  Hit          11670   11670
- Partial        383     386     +3
- Missed        3471    3480     +9

Review entire Coverage Diff as of bb74a56

Uncovered Suggestions

+0.09% via ...gingConfiguration.cs#374...387
+0.09% via ...gingConfiguration.cs#340...353
+0.08% via ...argets/FileTarget.cs#1724...1736
See 7 more...

Powered by Codecov. Updated on successful CI builds.

Needs performance tests.
.
Size 20 bytes?  Larger than recommended 16.
See https://msdn.microsoft.com/en-us/library/ms229017(v=vs.110).aspx

I have also looked into this in my pooling branch, and have made a pooled object instead, so that we do not recreate that object every single time.
It is not a gret deal it matteers according to my test, but every bit counts.
Even a struct as suggested above would be better, since it gets allocated on the stack and removed immediately.

So in summary this PR is probably a good change?

@bjornbouetsmith Would you mind to share some statistics from your performance tests (time before and after change)?

There arent really any interesting statistics to share.
In the current version, we allocate one FileCharacteristics per LogEventInfo * Number of targets that need to receive the LogEventInfo.
When they are pooled, we just grab them from the pool. and put them back when done.
Thats a trade off, we get less GC and lose a tiny bit of performance, since new is fast, its only when we have to GC it turns into a problem.
So for low traffic logging, its not really a problem. Each FileCharacteristics hold two datetimes (16 bytes) + the size of the filename, which can be big if you are logging in a deep nested folder + object overhead, which is around 8 bytes as far as I remember.
So for each log entry we are allocating at least 24+size of filename, which is not a lot, but it adds up on a high traffic logging.
the problem is not the allocation as such, but that its a class that gets allocated on the heap, which can impact GC. If it were a struct, it would be allocated on the stack and should not impact GC as much, if at all.
So I am all for changing it into a struct as a good start.
Of course it would mean that it has to be copied across methods, but since it only contains two other structs and on pointer it should not matter much.

About this PR, I'm unsure if this is an improvement.  Copying 20 bytes instead of 4-8 (reference) (probably multiple times) could impact much in terms of performance. Also the reference is kept short, so in terms of memory the improvement is small.
Still need to test it, but there is a chance I won't merge this one.

Copying 20 bytes instead of 4-8 (reference) + more then advice = no merge


Improve French and Chinese localization for figures

This PR changes the French figure separator from [ : ] to [. -- ] as it is more common;^1[^3] and the Chinese figure separator to an em space.[^4]
I also remove some languages from the list of translation. This does not change any behavior because they already used the default [: ] separator. As mentioned in https://github.com/typst/typst/pull/2540#issuecomment-1787751837, I should not have added those translations in the first place in #2390.
[^3]: I asked some people at ENS Rennes and they agreed.
[^4]: https://github.com/typst/typst/pull/2542#issuecomment-1790685258

The difference used to be that fr-CH uses a thin no-break space instead of a no-break space.^1 Now all variantes of french use an en dash.
About the canonical separator for Chinese, it seems to ba a large space (not sure which one, though).^2^4

Wait, so English was an exception? Is period used by default (for unlisted languages)? It doesn’t say in the diff.

I'm not sure I understand what you mean. English uses a colon, French uses an en dash, Chinese seems to use a space. I don't know about other languages, so until we update them, they will use a colon, as English is the default language in Typst (there is a | _ before the match arm for English).

First of all, merge main into your branch, because my PR merged after your PR was created. In your PR you are removing ˋRUSSIANˋ and since default is using colon, it will effectively make my PR useless and revert Russian back to colon. This is my main concern right now. If default was ˋ.ˋ, then I wouldn't have any issues with that.

Honestly I never notice the separater before. I take a look at thu thesis (LaTeX thesis template of top 1 university in China) and books in my hand. I think it is a quad space.

Thank you.

From what I have seen, and what people told me, "Fig. n. – Légende." seems to be the most common way to caption figures in French (see my original comment). Do you have examples of papers using a colon?

It is most common you're correct, I just meant that if you fully spell it out the, you'd need the colon with spaces around it

So if I understand what you mean, we should either change the "Figure" text to "Fig." and use the French separator proposed by this PR, or keep the separator that is currently on main and "Figure" as the text?

This is an interesting concept. I think 100% of all figures that I've seen in Russian documents use the short form of the supplement. Although it has nothing to do with the previous comments "directly", the idea of making some supplements use the short form (for some languages) is good. We can either just change the default full form to short one or add a "short" boolean. In the second case we would have to store 2 version of supplement for languages that do have short and full forms. This should also affect the default supplement for the ref function. I don't know yet were exactly to put the boolean option.

Mmh... You are right, maybe we should change some translations to use the abbreviated version when it is more common. My only (minor) fear is that is makes it feel a bit inconsistent (some languages use an abbreviation, others don't). But in the end, the default should be what is most common for a given language.
Not sure changing this is within the scope of this PR, though.

Not sure changing this is within the scope of this PR, though.

Correct. I was just talking over a small idea, since it is related to this PR.

To summarize, before merging this, we need to decide whether French should use "Figure n : légende" or "Fig. n – légende" (or even "Fig. n. – légende"). The former is more consistent with other languages in Typst, while the latter is more common.

After thinking about it, I believe the default should be whatever is most common for each language. I thus changed the default "Figure" text to "Fig." for French.
I will let @Andrew15-5 make their own PR for Russian translations.

Changed the title and the description of the PR as the focus shifted toward improving French translations

Is this ready to be merged then?

This PR should now be ready to merge

Thanks!


FixedPollingStrategy blocks if remote source is unavailable

Hi,
Currently, when you try to instantiate a PollingDynamicConfig, using the FixedPollingStrategy, the execution stucks on the following while(true) condition if the remote source is unavailable:
https://github.com/Netflix/archaius/blob/3a56eb807cf1465212e5d65603a54b24dbeea8a4/archaius2-core/src/main/java/com/netflix/archaius/config/polling/FixedPollingStrategy.java#L44-L72
The problem is that if you are using Guice to provide the property source, it will block Guice from resolving this dependency.
My suggestion is to remove the while(true) and let the scheduler handle the attempts to read from the remote source.
What do you guys think ?

I don't think the issue is specific to Guice or a remote service. Any Exception thrown from the reader's call() method will result in an indefinite loop.
https://github.com/Netflix/archaius/blob/3a56eb807cf1465212e5d65603a54b24dbeea8a4/archaius2-core/src/main/java/com/netflix/archaius/config/PollingDynamicConfig.java#L82
I agree that even the first attempt to perform the update should be done with the ScheduledExecutorService.

The first attempt to perform the update should be done with the ScheduledExecutorService results in race conditions in reading values immediately after creating the config instance.
One solution could be to just get rid of the infinite loop block and do a best-attempt reading for the first time and then defer the rest of the calls to the reader to the ScheduledExecutorService.
I have the fix ready for this in my local workspace but don't have permissions to raise a CR or push to a remote branch. Can someone help with that?

https://github.com/Netflix/archaius/compare/2.x...siddheshshirsat:Issue548#diff-ab5b04cb7b29555aa4347f61a943e55eR46

Nice catch! :+1:  I wish I looked here before production incident...

Thank you.
On Sat, Jul 25, 2020, 13:08 Равиль Гиниятуллин<EMAIL_ADDRESS>wrote:

Nice catch! 👍 I wish I looked here before production incident...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/archaius/issues/548#issuecomment-663900798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRG4BFZURSR3DY4DW4XPMDR5M3U3ANCNFSM4E6OUFZA
.

Won't fix.
Although this issue was reported against v1, v2 has equivalent behavior and this is a design choice. We believe that allowing an application to come up without being able to receive remote config overrides has the potential of causing even worse issues, because any config that is only read at boot time would be silently set to the "non-overridden" value, causing hard-to-debug problems from an inconsistent fleet.


Resource Exhausted and Initialization Errors on gpu

Hello,
I have been facing a resource exhausted error on my gpu for a couple of days and can't seem to figure out how to fix it.
So, i have been training custom made conv net on a kaggle dataset for facial recognition with the 53% accuracy..it currently has four convolutional + maxpooling layers followed by 2 fully connected layers
My convolutional layers currently have a stride of (2,2) but since that results in loss of information i wanted to reduce the strides to (1,1). This is a snippet of the various error i'm facing
Training on the data
InternalError                             Traceback (most recent call last)
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1021     try:
-> 1022       return fn(*args)
1023     except errors.OpError as e:
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
1003                                  feed_dict, fetch_list, target_list,
-> 1004                                  status, run_metadata)
1005
/home/carnd/anaconda3/envs/dl/lib/python3.5/contextlib.py in exit(self, type, value, traceback)
65             try:
---> 66                 next(self.gen)
67             except StopIteration:
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py in raise_exception_on_not_ok_status()
468           compat.as_text(pywrap_tensorflow.TF_Message(status)),
--> 469           pywrap_tensorflow.TF_GetCode(status))
470   finally:
InternalError: Dst tensor is not initialized.
[[Node: zeros_28 = Constdtype=DT_FLOAT, value=Tensor<type: float shape: [2304,1152] values: [0 0 0]...>, _device="/job:localhost/replica:0/task:0/gpu:0"]]
During handling of the above exception, another exception occurred:
InternalError                             Traceback (most recent call last)
 in ()
2 print("Training on the data")
3 with tf.Session() as sess:
----> 4     sess.run(tf.global_variables_initializer())
5
6     for epoch in range(epochs):
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
765     try:
766       result = self._run(None, fetches, feed_dict, options_ptr,
--> 767                          run_metadata_ptr)
768       if run_metadata:
769         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
963     if final_fetches or final_targets:
964       results = self._do_run(handle, final_targets, final_fetches,
--> 965                              feed_dict_string, options, run_metadata)
966     else:
967       results = []
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1013     if handle is None:
1014       return self._do_call(_run_fn, self._session, feed_dict, fetch_list,
-> 1015                            target_list, options, run_metadata)
1016     else:
1017       return self._do_call(_prun_fn, self._session, handle, feed_dict,
/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1033         except KeyError:
1034           pass
-> 1035       raise type(e)(node_def, op, message)
1036
1037   def _extend_graph(self):
InternalError: Dst tensor is not initialized.
[[Node: zeros_28 = Constdtype=DT_FLOAT, value=Tensor<type: float shape: [2304,1152] values: [0 0 0]...>, _device="/job:localhost/replica:0/task:0/gpu:0"]]
Caused by op 'zeros_28', defined at:
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/main.py", line 3, in
app.launch_new_instance()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelapp.py", line 474, in start
ioloop.IOLoop.instance().start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/ioloop.py", line 177, in start
super(ZMQIOLoop, self).start()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/ioloop.py", line 887, in start
handler_func(fd_obj, events)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 440, in _handle_events
self._handle_recv()
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 472, in _handle_recv
self._run_callback(callback, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/zmq/eventloop/zmqstream.py", line 414, in _run_callback
callback(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tornado/stack_context.py", line 275, in null_wrapper
return fn(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 276, in dispatcher
return self.dispatch_shell(stream, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 228, in dispatch_shell
handler(stream, idents, msg)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/kernelbase.py", line 390, in execute_request
user_expressions, allow_stdin)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/ipkernel.py", line 196, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/ipykernel/zmqshell.py", line 501, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2717, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2821, in run_ast_nodes
if self.run_code(code, result):
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 47, in
optimizer = tf.train.AdamOptimizer().minimize(cost)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 298, in minimize
name=name)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 412, in apply_gradients
self._create_slots(var_list)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/training/adam.py", line 119, in _create_slots
self._zeros_slot(v, "m", self._name)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/training/optimizer.py", line 656, in _zeros_slot
named_slots[var] = slot_creator.create_zeros_slot(var, op_name)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/training/slot_creator.py", line 121, in create_zeros_slot
val = array_ops.zeros(primary.get_shape().as_list(), dtype=dtype)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/ops/array_ops.py", line 1370, in zeros
output = constant(zero, shape=shape, dtype=dtype, name=name)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/constant_op.py", line 169, in constant
attrs={"value": tensor_value, "dtype": dtype_value}, name=name).outputs[0]
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2395, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1264, in init
self._traceback = _extract_stack()
InternalError (see above for traceback): Dst tensor is not initialized.
[[Node: zeros_28 = Constdtype=DT_FLOAT, value=Tensor<type: float shape: [2304,1152] values: [0 0 0]...>, _device="/job:localhost/replica:0/task:0/gpu:0"]]
The error faced in the previous training run of the network was a resource exhausted error which i have commented on in another issue
https://github.com/tensorflow/tensorflow/issues/9400#issuecomment-296718808
I am using  a g2.2x large ec2 instance on aws amazon with a 32gb storage volume
Here is a link to the original unbroken code
https://github.com/vijpandaturtle/facial-expressions
And here is the dataset of 48x48 pixel images(around 35000 images)
https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge
Thanks

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!
Also, try smaller batch size.


Bug 1993916: Visual feedback on OBC deletion

Adds a "hoverMessage" field for "Kebab" component, allowing
passing a message to display when the kebab button is disabled (during
deletion) when the user hovers over it.
Signed-off-by: Pranshu Srivastava<EMAIL_ADDRESS>

/cc @bipuladh @GowthamShanmugam PTAL, thanks.

/cc @GowthamShanmugam @bipuladh Can we merge this?

/test odf-console-e2e-aws

/cherry-pick release-4.11
/cherry-pick release-4.11-compatibility

Rebasing.

Rebased.

I'll send a PR.


Black Box Unit Tests Do Not Ensure Resources Are Cleaned Up Between Tests

Unit tests should utilize a SetUp and TearDown approach to ensure each test runs in an expected and known configuration.
The TearDown function needs to ensure that all test objects and resources have been deallocated and cleanup.

Imported from trac issue 174.  Created by sstrege on 2016-08-08T15:44:40, last modified: 2019-08-14T14:11:46


Adds some features on SSH/script plugin and fixing some issues

fddc3ff  feat: ssh: Add no_trap_injection and output_delimiters parameters. 16 hours ago [Romain Beuque]
1bc3c0b  fix: ssh: changing script to be optional 17 hours ago [Romain Beuque]
07eb4a7  fix: script plugin should return metadata in a map[string]string to have consistent keys 17 hours ago [Romain Beuque]
b0a5362  fix: notify pluggin panic when backend declared in template while no backends declared in utask-cfg 17 hours ago [Romain Beuque]
7c4a01c  chore: rewrote error messages when failed to load templates (added more information on which failed) 17 hours ago [Romain Beuque]

CDS Report test#341.0 ✘

Stage 1

Test ✘

CDS Report test#342.0 ✘

Stage 1

Test ✘


Report errors back to app

This PR

replaces the value parameters in most callbacks with a Result object that contains a value or an error
fixes #52

Should be merged after #56

Also needs a change log update :-)


Windows intel processor

Is there an installer for intel processors? When I was on a win 7notebook with a intel processor it gave the download file of keybase_setup_AMD64.msi. When running it it gives the error the this package will not work on this processor. Is there a seperate build for intel? I did install it on another  notebook with an intel chip.

There is no separate build, but you most likely have a 32-bit version of Windows installed.

Yes the issue is 32-bit. It is an old system. The file name with the AMD name and the error message threw me off. Is the a description of system requirements on the keybase.io website?

32-bit not supported


No response headers when body is empty and status code is not 200

If an Ajax request is made and the response has:

status code != 200 (e.g. == 404), and
empty body
Then the request headers in javascript are empty and the status code is 0.

If the body contains something (e.g. a single character) or the status code is 200, then things work as they should.
To reproduce:
# routes:
match '/test' => 'test#test'

# test_controller.rb:
class TestController < ActionController::Base
  def test
    if params[:status]
      response.status = params[:status]
      render text: params[:content] || ''
    else
      render :inline => <<-EHTML

      EHTML
    end
  end
end

# spec:
visit '/test'
page.should have_content '200|Connection:'
page.should have_content '403|Connection:'
page.should have_content '404|Connection:'

The test fails with:
 Failure/Error: page.should have_content '404|Connection:'
   expected there to be content "404|Connection:" in "200|Connection: close X-Request-Id: 4a8610c53c3814aea253cc67718ce4e9 X-UA-Compatible: IE=Edge,chrome=1 X-Runtime: 0.028846 Server: thin 1.3.1 codename Triple Espresso Content-Type: text/html; charset=utf-8 Cache-Control: no-cache 0|403|Connection: close X-Request-Id: 01fe49609c2395c25acf87d50817aaad X-UA-Compatible: IE=Edge,chrome=1 X-Runtime: 0.002853 Server: thin 1.3.1 codename Triple Espresso Content-Type: text/html; charset=utf-8 Cache-Control: no-cache"

Response will vary, but notice the "0|" which indicated a status code of 0 (instead of 404) and no headers whatsoever.
The text shows correctly in Chrome, Firefox and Safari.
Using capybara-webkit (0.12.1) on OS X

Still happening with * capybara-webkit (1.7.1)
Resolved with
render json: { blacklisted: true }, status: :unprocessable_entity

instead of
head :unprocessable_entity

in my controller

@delphaber is there a minimal test case you could put together to reproduce the issue?

@jferris this is a demo that I just prepared with latest version of suspenders and angular. See the README.md for more information. I hope this could help!

I managed to put together a failing test in d6c72bcd33fb9be77940eebe3b5149cb1fba13a1 that reproduces the issue.
I'm not sure if this is an issue in QtWebKit or related to how we handle requests.

I love this; we're running into the same problem but with redirects. Would be great to get this resolved.

Still affected with Capybara 2.17.0, but I'm not using capybara-webkit. Is this a Capybara issue?

@mdesantis It's an issue with whatever driver you are using.  If you're not using capybara-webkit then I'm guessing Poltergeist since PhantomJS (used by poltergeist) is built on the same era of QtWebkit as capybara-webkit builds against.


split npm/bun jobbs

This PR splits npm/bun CI jobs and added timeline job to get the workflow run summary

@samchon
Sorry your commit was gone


Download failed

I have a question. Are all songs are required to have 0.aff, 1.aff, 2.aff? Because I was unlock my april fools song by making a map for it. So, 6 songs in one pack and I already unlock one but when I tried to download it, it still gives me download icon. How to fix this?

Yes. If one song needs to be downloaded, it should have chart files of all difficulties, except for the free pack's songs.

Is it count if I just copy the same file and just rename it to 0.aff and 1.aff?

Is it count if I just copy the same file and just rename it to 0.aff and 1.aff? And both folders or song database folder only?

Of course, any proper aff files can work. Put them on the servers' folders.
https://github.com/Lost-MSth/Arcaea-server/wiki/Q&A#why-not-success-in-downloading-songs-or-charts-为什么歌曲或谱面下载失败

Btw, what songlist in the song database folder does?

Provide the server with some information to limit the file range, or it may cause some bugs.
https://github.com/Lost-MSth/Arcaea-server/issues/60#issuecomment-1190837277

Provide the server with some information to limit the file range, or it may cause some bugs.
#60 (comment)

Ah okay, thanks for helping me!


Roll engine 5aff31194809..45e61a6ff777 (10 commits)

https://github.com/flutter/engine/compare/5aff31194809...45e61a6ff777
git log 5aff31194809..45e61a6ff777 --first-parent --oneline
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from cTw2C... to K1wwe... (flutter/engine#16984)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 74055566bd14..54de2fa48d85 (3 commits) (flutter/engine#16983)
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from J6ct_... to 95geB... (flutter/engine#16982)
2020-03-06<EMAIL_ADDRESS>[web] Fixes IE11 crash due to missing canvas ellipse support and font polyfill failure (flutter/engine#16965)
2020-03-06<EMAIL_ADDRESS>Fix issue viewdidload call while init FlutterViewController (flutter/engine#16672)
2020-03-06<EMAIL_ADDRESS>[fuchsia] fix broken flows when under high load (flutter/engine#16834)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 93a2a6b8badb..74055566bd14 (2 commits) (flutter/engine#16981)
2020-03-06<EMAIL_ADDRESS>Roll src/third_party/skia 012f8497802e..93a2a6b8badb (4 commits) (flutter/engine#16974)
2020-03-06<EMAIL_ADDRESS>fix shadows and mask filter blurs (flutter/engine#16963)
2020-03-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from cXgMr... to cTw2C... (flutter/engine#16970)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Gold has detected one or more untriaged digests on patchset 10.
Please triage them at https://flutter-gold.skia.org/search?issue=52143.

Commit queue failed; closing this roll.


[stable/mongodb-replicaset] feat: replicaset member config

What this PR does / why we need it:
This PR allows [stable/mongodb-replicaset] users to modify the configuration of each replica set member. Now users can create hidden secondaries, arbiters, manipulate voting, and much more.
Special notes for your reviewer:
I've tested this, with and without the new config option. It works both ways, and works as expected with the new functionality.
I pulled some of the logic out of the bash script and put it into a mongo shell script to make the logic a bit easier to work with.
Templating the mongo shell script feels odd to me, but since mongo shell can not access environment values it's the best I could think of.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

Thanks for this
/assign
/assign @unguiculus

@steven-sheehy I'm going to have to let this marinate for a week or two with holiday travel coming up.
While it's marinating, I would like to add the re-configure case (maybe in another PR?). Is there a good way to prevent users from unwittingly re-configuring and causing a re-election?

Is there a good way to prevent users from unwittingly re-configuring and causing a re-election?

Not really. Any change to the configmap will trigger a rolling update of the cluster due to its checksum changing. But I would think that's what you'd want to do if the user changed the priority, votes, etc. Users should be testing their changes in a non-production environment first.


Vue3 check-plugins-build issues

Description
Several issues also related to @rancher/components are preventing Extension checks to pass:
https://github.com/cnotv/dashboard/actions/runs/10389937499/job/28769190056
TBD:

if keep it as Epic
list of issues
pipeline to be inspected (master or enable push on current working branch?)

@rancher/components issues fixed on branch https://github.com/rancher/dashboard/tree/vue3-depth-first with

https://github.com/rancher/dashboard/commit/b9fe874d360f7f95bc7679b84c0eb48a9a8c8901
https://github.com/rancher/dashboard/commit/eb13e75011028107bcbbfec5c29e28438d8cf61f

Fixed the whole pipeline at current state with:

https://github.com/cnotv/dashboard/commit/e672893a3496d01065cbe514a33b4aab5d1d369b
https://github.com/cnotv/dashboard/commit/b544e8c67d09679ff020840b8c3ecc263179c19d


Better error messages from database (PostgreSQL)

Problem
When attempting to insert data into a table where a trigger generates an error, only a portion of the exception is displayed
Actually, it isn't really the same message, but it MAY share some internal code that the Prisma client uses to generate its own errors.
Additional context
This is the error I got from the node:
PrismaClientKnownRequestError:
Invalid `this.prisma.tarefa.create()` invocation in
/home/renato/projetos/appcivico/smae/backend/src/pp/tarefa/tarefa.service.ts:30:53

  27
  28
  29 const numero = dto.numero;
→ 30 const tarefa = await this.prisma.tarefa.create(
The column `new` does not exist in the current database.
    at Kr.handleRequestError (/home/renato/projetos/appcivico/smae/backend/node_modules/@prisma/client/src/runtime/RequestHandler.ts:211:13)
    at Kr.handleAndLogRequestError (/home/renato/projetos/appcivico/smae/backend/node_modules/@prisma/client/src/runtime/RequestHandler.ts:173:12)
    at Kr.request (/home/renato/projetos/appcivico/smae/backend/node_modules/@prisma/client/src/runtime/RequestHandler.ts:163:12)
    at PrismaService._request (/home/renato/projetos/appcivico/smae/backend/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1036:14)
    at /home/renato/projetos/appcivico/smae/backend/src/pp/tarefa/tarefa.service.ts:30:28
    at Proxy._transactionWithCallback (/home/renato/projetos/appcivico/smae/backend/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:928:18)
    at TarefaService.create (/home/renato/projetos/appcivico/smae/backend/src/pp/tarefa/tarefa.service.ts:26:25)
    at TarefaController.create (/home/renato/projetos/appcivico/smae/backend/src/pp/tarefa/tarefa.controller.ts:32:16) {
  code: 'P2022',
  clientVersion: '4.10.1',
  meta: { column: 'new' },
  batchRequestIdx: undefined
}

And here is the error I got when running the statement via PSQL:
ERROR:  record "new" has no field "tarefa_pai"
CONTEXT:  SQL statement "SELECT NEW.tarefa_pai IS NULL"
PL/pgSQL function f_trg_pp_tarefa_esticar_datas_do_pai() line 12 at IF

Testes on 4.9.0 and 4.10.1
If any help is need to how reproduce this error, I'm available to help, but it's just a simple trigger with a invalid column name (no type checking the the functions :sweat_smile: )

Can you please help us reproduce this by giving the SQL for such a simple trigger? Anything that saves us some time is welcome. Thanks.

sure:
based on the https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-postgres I created this repo:
https://github.com/renatocron/prisma-issue-18026
but the main files are:
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Person {
    id                  Int                 @id @default(autoincrement())
    email               String              @unique

    parent_id Int?
}

migration:
-- CreateTable
CREATE TABLE "Person" (
    "id" SERIAL NOT NULL,
    "email" TEXT NOT NULL,
    "parent_id" INTEGER,

    CONSTRAINT "Person_pkey" PRIMARY KEY ("id")
);

-- CreateIndex
CREATE UNIQUE INDEX "Person_email_key" ON "Person"("email");

CREATE OR REPLACE FUNCTION f_trg_xpto() RETURNS trigger AS $emp_stamp$
DECLARE
BEGIN

    -- should be "parent_id", for example
    IF NEW.parent IS NULL THEN
        -- perform ...
    END IF;

    RETURN NEW;
END;
$emp_stamp$ LANGUAGE plpgsql;

CREATE TRIGGER trg_foo_insert AFTER INSERT ON "Person"
    FOR EACH ROW
    EXECUTE FUNCTION f_trg_xpto();

main.ts:
import { PrismaClient } from '@prisma/client'

const prisma = new PrismaClient()

async function main() {

    await prisma.person.create({
        data: {
            email: 'hey'
        }
    })
}

main()
    .then(async () => {
        await prisma.$disconnect()
    })
    .catch(async (e) => {
        console.error(e)
        await prisma.$disconnect()
        process.exit(1)
    })

output:
PrismaClientKnownRequestError:
Invalid `prisma.person.create()` invocation in
/tmp/hello-prisma/index.ts:7:25

  4
  5 async function main() {
  6
→ 7     await prisma.person.create(
The column `new` does not exist in the current database.
    at Kr.handleRequestError (/tmp/hello-prisma/node_modules/@prisma/client/src/runtime/RequestHandler.ts:211:13)
    at Kr.handleAndLogRequestError (/tmp/hello-prisma/node_modules/@prisma/client/src/runtime/RequestHandler.ts:173:12)
    at Kr.request (/tmp/hello-prisma/node_modules/@prisma/client/src/runtime/RequestHandler.ts:163:12)
    at async t._request (/tmp/hello-prisma/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:1036:14) {
  code: 'P2022',
  clientVersion: '4.10.1',
  meta: { column: 'new' },
  batchRequestIdx: undefined
}

+1 and related, we have a custom exception message that comes from our trigger that we'd like access to. Here's an example of the response we get when triggering it:
Invalid `prisma.appointment.delete()` invocation: Error occurred during query execution: ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(PostgresError { code: "P0001", message: "Cannot delete an appointment in the past", severity: "ERROR", detail: None, column: None, hint: None }), transient: false })```

What I want is for the message `Cannot delete an appointment in the past` to be surfaced through the instance of `PrismaClientUnknownRequestError`.


Slider moving from text field input ?

Hi,
Is there a way for moving the slider after typing some value in a text field input ?

@vldy how would you do this for example for a normal <input type="text">?
The solution is the same :)
There are plenty examples how you can do this e.g. and it really doesn't have something to do with the rangeslider.js itself.

http://andreruffert.github.io/rangeslider.js/#js-example-change-value
http://codepen.io/andreruffert/pen/vOVygB


WIP proposal of main

I'm trying to implement a __main__.py to see where this can lead. It's somehow related to https://github.com/algoo/preview-generator/issues/88 as I'd like a way to check for dependencies beforehand.
Current state of the PR:
Mandatory preview:
$ python -m preview_generator ~/Downloads/Facture.pdf
/home/mdk/Downloads/Facture.pdf → ./244c4e99efa9d1ec01005f2560d67260-256x256.jpeg

Checking dependencies:
$ python -m preview_generator --check-dependencies
Builder DocumentPreviewBuilderScribus is missing a dependency: this builder requires scribus to be available

Tell me if it's something we'd like to see, should I continue exploring this path?

hello @JulienPalard. First I'd like to thank you for your proposal. We talked a bit with @inkhey and @buxx (the two other developers working on preview-generator on a regular base) but we didn't make our feedback... :-s
Your proposal is interesting, you can continue we'll include your work in the upstream.
The command for checking dependencies is a good idea to require less dependencies if features not used. Let's continue your work this way.

I think we can already merge this step. It does not fix https://github.com/algoo/preview-generator/issues/88 but let's call it a step?
I did not rebased or cleaned my history, so please squash this. If you really don't like squashing, please let me clean the history before merging, just tell me.
Here what we have now:
$ preview --check-dependencies
✓ OnePagePreviewBuilder
✓ ImagePreviewBuilder
✓ ImagePreviewBuilderWand 0.5.3
✓ ImagePreviewBuilderPillow 6.0.0
✓ ImagePreviewBuilderIMConvert Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
✓ ImagePreviewBuilderInkscape Inkscape 0.92.4 (5da689c313, 2019-01-14)
✓ ZipPreviewBuilder
✓ DocumentPreviewBuilder
✗ DocumentPreviewBuilderScribus is missing a dependency:  this builder requires scribus to be available
✓ OfficePreviewBuilderLibreoffice LibreOffice <IP_ADDRESS> 10(Build:2)
✓ PlainTextPreviewBuilder LibreOffice <IP_ADDRESS> 10(Build:2)
✓ PdfPreviewBuilderPyPDF2

Plus the bonus:
preview *.pdf

Oh wah, c'est le repo d'algoo ? J'avais même pas remarqué ! Salut !

"Last" modification to hide builder having no dependencies, like OnePagePreviewBuilder
$ preview --check-dependencies
✓ ImagePreviewBuilderWand 0.5.3
✓ ImagePreviewBuilderPillow 6.0.0
✓ ImagePreviewBuilderIMConvert Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
✓ ImagePreviewBuilderInkscape Inkscape 0.92.4 (5da689c313, 2019-01-14)
✗ DocumentPreviewBuilderScribus is missing a dependency:  this builder requires scribus to be available
✓ OfficePreviewBuilderLibreoffice LibreOffice <IP_ADDRESS> 10(Build:2)
✓ PlainTextPreviewBuilder LibreOffice <IP_ADDRESS> 10(Build:2)

"Last" modification: add path of found executables and libraries, it can help debugging:
$ preview --check-dependencies
✓ ImagePreviewBuilderWand wand 0.5.3 from /home/mdk/.venvs/3.7/lib/python3.7/site-packages/wand
✓ ImagePreviewBuilderPillow PIL 6.0.0 from /home/mdk/.venvs/3.7/lib/python3.7/site-packages/PIL
✓ ImagePreviewBuilderIMConvert Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org from /usr/bin/convert
✓ ImagePreviewBuilderInkscape inkscape Inkscape 0.92.4 (5da689c313, 2019-01-14) from /usr/bin/inkscape
✗ DocumentPreviewBuilderScribus is missing a dependency:  this builder requires scribus to be available
✓ OfficePreviewBuilderLibreoffice libreoffice LibreOffice <IP_ADDRESS> 10(Build:2) from /usr/bin/libreoffice
✓ PlainTextPreviewBuilder libreoffice LibreOffice <IP_ADDRESS> 10(Build:2) from /usr/bin/libreoffice

I cleaned the git log, so you can merge if you want, I'll call it a day:
$ preview --check-dependencies
✓ ImagePreviewBuilderWand wand 0.5.3 from /home/mdk/.venvs/3.7/lib/python3.7/site-packages/wand
✓ ImagePreviewBuilderPillow PIL 6.0.0 from /home/mdk/.venvs/3.7/lib/python3.7/site-packages/PIL
✓ ImagePreviewBuilderIMConvert Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org from /usr/bin/convert
✓ ImagePreviewBuilderInkscape inkscape Inkscape 0.92.4 (5da689c313, 2019-01-14) from /usr/bin/inkscape
✓ DocumentPreviewBuilderScribus Scribus Version 1.4.8 from /usr/bin/scribus
✓ OfficePreviewBuilderLibreoffice LibreOffice <IP_ADDRESS> 10(Build:2) from /usr/bin/libreoffice
✓ PlainTextPreviewBuilder LibreOffice <IP_ADDRESS> 10(Build:2) from /usr/bin/libreoffice

Maybe we have to resolve https://github.com/algoo/preview-generator/issues/98 before merging though, I'm not a fan of this logger.exception in a common path.

Hello Julien,
I just merged 00848318e4e878ccdb251ee0db86b69953ab1c30 so there is a little conflict on preview_generator/utils.py.
We back soon about the rest of merge request, thanks for your work !

Whoops sorry we both resolved the conflict at the same time, I rebased on top of develop while you were merging develop in main :]


DefaultTabController throw exception after tab insertion

Steps to reproduce
Click to add buton, new tab was created. But when click to newly created tab, an exception occured.
The code is the same with #94504
Expected results
No exceptions
Actual results
An exception is thrown (see the logs)
Code sample copied from #94504
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final List<Widget> _tabs = [];

  @override
  void initState() {
    super.initState();
    List.generate(3, (index) => _addTab());
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("Default Tab Controller"),
      ),
      body: DefaultTabController(
        length: _tabs.length,
        child: TabBar(tabs: _tabs),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => _addTab(),
        child: const Icon(Icons.add),
      ),
    );
  }

  void _addTab() {
    setState(() {
      _tabs.add(Text("Tab ${_tabs.length}", style: const TextStyle(color: Colors.black)));
    });
  }
}

Screenshots or Video
No response
Logs
Logs
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying listeners for AnimationController:
setState() called after dispose(): _AnimatedState#1e728(lifecycle state: defunct, not mounted)

This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.

The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3       throw_
packages/flutter/src/widgets/framework.dart 1167:9                                <fn>
packages/flutter/src/widgets/framework.dart 1201:14                               setState
packages/flutter/src/widgets/transitions.dart 129:5                               [_handleChange]
packages/flutter/src/animation/listener_helpers.dart 161:11                       notifyListeners
packages/flutter/src/animation/animation_controller.dart 865:5                    [_tick]
packages/flutter/src/scheduler/ticker.dart 258:12                                 [_tick]
packages/flutter/src/scheduler/binding.dart 1386:7                                [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1233:11                               <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:7           forEach
packages/flutter/src/scheduler/binding.dart 1231:16                               handleBeginFrame
packages/flutter/src/scheduler/binding.dart 1148:5                                [_handleBeginFrame]
lib/_engine/engine/platform_dispatcher.dart 1361:5                                invoke1
lib/_engine/engine/platform_dispatcher.dart 237:5                                 invokeOnBeginFrame
lib/_engine/engine/initialization.dart 176:36                                     <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 550:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 555:39  dcall
The AnimationController notifying listeners was: AnimationController#f67da(▶ 2.995)

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3447], locale en-US)
    • Flutter version 3.19.6 on channel stable at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (10 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✗] Android toolchain - develop for Android devices
    • Android SDK at C:\Users\misa\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[✓] VS Code (version 1.88.1)
    • VS Code at C:\Users\misa\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3447]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 124.0.6367.91
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 123.0.2420.97

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

+1

Hi @chutuananh2k, what device(s) are you seeing this issue on? I just tested on macOS, web and android and I can't seem to reproduce the issue.

Hi @chutuananh2k, click on Floating add button and then click on different tabs, you will be able to re-produce the bug.

This has been fixed on the beta & master channels. See the recordings below. Closing this as fixed.
Thank you

beta & master
stable

flutter doctor -v
[!] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (12 days ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (4 available)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 124.0.6367.91

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel beta, 3.22.0-0.3.pre, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.22.0-0.3.pre on channel beta at /Users/nexus/dev/sdks/flutter_beta
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter_beta. Consider adding /Users/nexus/dev/sdks/flutter_beta/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter_beta. Consider adding /Users/nexus/dev/sdks/flutter_beta/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 87b652410d (6 days ago), 2024-04-23 21:41:18 -0500
    • Engine revision b4bfd45986
    • Dart version 3.4.0 (build 3.4.0-282.3.beta)
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (5 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 124.0.6367.91

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.22.0-18.0.pre.66, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.22.0-18.0.pre.66 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2da8633fca (4 hours ago), 2024-04-29 22:19:22 -0400
    • Engine revision c519e9dd18
    • Dart version 3.5.0 (build 3.5.0-109.0.dev)
    • DevTools version 2.35.0-dev.16

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (4 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 124.0.6367.91
    ! Error: Browsing on the local area network for Dean’s iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!


Error when trying to build or run on iOS

When doing "ionic run ios":
Caught exception:
 TypeError: Cannot read property 'slice' of undefined
    at Object.run (/Users/Markus/.npm-packages/lib/node_modules/ionic/lib/ionic/run.js:44:32)
    at Promise.apply (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1078:26)
    at Promise.promise.promiseDispatch (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:741:41)
    at /Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1304:14
    at flush (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:108:17)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)

And when "ionic build ios"
Caught exception:
 TypeError: Cannot read property 'slice' of undefined
    at Object.run (/Users/Markus/.npm-packages/lib/node_modules/ionic/lib/ionic/build.js:29:32)
    at Promise.apply (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1078:26)
    at Promise.promise.promiseDispatch (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:741:41)
    at /Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:1304:14
    at flush (/Users/Markus/.npm-packages/lib/node_modules/ionic/node_modules/q/q.js:108:17)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)

Tried using sudo, with the same result.
Thanks in advance,
Markus

Yup, getting the exact same error. Something broke in the latest version I guess

Hello, i have same problem when running "ionic platform"
OS : Windows 10
ionic-cli : v2.0.0-beta.26
cordova-cli : v6.2.0

Hello, thanks for opening an issue with us! Very sorry you ran into this issue! It is fixed in the release of the ionic-cli we did this morning, so you just need to update your ionic cli by running npm install -g ionic@beta and the issue will be gone (: Thanks for using Ionic!


Error first callbacks

I just saw that your mentioned adding in error handling in the #4.
I am currently working a pull request adding error first callbacks. Do you have any preferences for the error returned?

Mm no, maybe just the classic function(err,res)

Yeah, that's what i meant. Would you prefer instances of Error or plain objects with a message and such?

Instances of Error should be fine


restart replica/deployed replica

Added the ability to use restart replica/deployed replica as actions.

thnx


Re-grouping and clean-up of translation files

Translation is difficult enough
I was working with a couple of friends on the dutch translation. However, we noticed that the languages files have grown organic over time. Which makes comparing the translations very difficult. As keywords are appended, missing, duplicate or misspelled.
Proposal
I'd like to build a script that sorts the keywords in a deterministic way. Such that all the language files can be kept easily in the same order.
Questions

This breaks comments in the translation files. As sorting happens per line. Does this matter? Or can we add comment at the end of each line?
Where should I put the script?
Last but not least, is this oke with you guys?

Wanna have the bug fixed quickly?
Visit Issue hunt...

Translations are done at po editor not in this repo. You know that right?

https://poeditor.com/join/project/2oWfdaZQZj

No, I could not find this in the contribution documentation. Where in the documentation can I find more about this?

Translations are done at po editor not in this repo. You know that right?

@axel1200: This information not present in the contribution guide here. Where is this documented?

Changed to doc / wiki issue.

This is not an issue related to this repo. You can make such a wiki article if you wish to.

I have no access to the contribution guide nor is it for this client in particular

https://github.com/FAForever/downlords-faf-client/wiki/Translations


test: added tests

some of these are smart, some are more simple. But better than nothing I guess.

@deshraj waiting for your review, since you are driving adding tests feature.


Issue details and highlithing missing in VS2022 for .razor and .cshtml files

This issue has been moved from a ticket on Developer Community.

If an issue is reported for a .razor or .cshtml file. The squiggly line does not appear for the location inside VS, nor do the reported issue details show up on hover over.

Original Comments
Feedback Bot on 9/3/2023, 07:15 PM:
(private comment, text removed)
Feedback Bot on 9/4/2023, 03:14 AM:
(private comment, text removed)
Wenwen Fan [MSFT] on 9/18/2023, 07:36 PM:
(private comment, text removed)
Čaba Šagi on 9/19/2023, 08:06 AM:
(private comment, text removed)
Wenwen Fan [MSFT] on 9/18/2023, 07:42 PM:
(private comment, text removed)
Wenwen Fan [MSFT] on 9/19/2023, 06:40 PM:
(private comment, text removed)

Original Solutions
(no solutions)

https://github.com/csaba-sagi-sonarsource/VSRepro has a repro. Clicking error list takes to correct page but the squiggle is missing. This is specifically for analyzers

I don't think 3rd party analyzers on the generated code is a generally supported scenario. Certainly code fixes won't work at all.
Also, I'm not surprised line mappings don't work, as they are not very sophisticated without the Razor compiler moving to enhanced line pragmas. I would expect that if a diagnostic is reported on the unmapped location, it probably has a better chance of working, as we will correctly map it to the .razor file, and we have more source mapping information than the Roslyn APIs can see. I don't think Roslyn's internal analyzers generally call GetMappedSpan() when creating diagnostics.
Certainly in the example repo, just reporting the diagnostic on identifierName.GetLocation() has us correctly mapping that location to the right spot in the Razor file.
FYI @csaba-sagi-sonarsource

@davidwengier
You can find more information about why we do the mapping ourselves here. In this comment you will also have a reproducer that will show you how it misbehaves if we don't do the mapping ourselves.

I'm not sure I follow. You've pointed to a comment as the reason for using the mapped location, because otherwise "without the mapping, the reported location will point to the generated file." but I'm suggesting that's exactly what you should be doing: reporting diagnostics for the generated file.

@davidwengier,
Yes, that behaviour would be good inside visual studio, since there is some sort of "background magic" where the diagnostic is mapped back to the razor file even though the issue was reported on the generated file.
However, we also have a separate product that is not part of Visual Studio. How we transfer the reported issue from the Roslyn analysis to our product is through the SARIF report I mentioned in the comment. If we don't do the mapping and report on the generated file, the SARIF report will have the location from the generated file, and we will not show the correct locations in our product.

Ahh thanks for that clarification, that's the bit I missed.

Not sure where this is falling down, but can think of two possibilities:

If Roslyn is returning these to us when we request diagnostics for the .g.cs file, then we need some extension to the LSP diagnostic types, as they only support a Range, with no document information. Essentially, when asking for diagnostics on a .g.cs file, we expect to only get them. If we get already mapped locations, we'll try to map them, and that would fail which would cause this behaviour.
If Roslyn isn't returning these to us, then we'd have to make a request to Roslyn for diagnostics on the .razor file itself, which we don't do.

Either way we need to design a solution properly if we want to support this scenario.

If Roslyn isn't returning these to us, then we'd have to make a request to Roslyn for diagnostics on the .razor file itself, which we don't do.

Some Sunday night speculation after driving 5 hours in the rain:
In my head this is what I thought was happening. Roslyn supports reporting diagnostics on misc files, but I'm guessing it's not tested for misc files that have an LSP editor + backing server. In all honesty, the best solution might be to let the editor handle this. The diagnostic itself in the error window is out of our control, and afaik any extension can add to it. We don't own drawing squiggles, we just report diagnostics with a range. It looks like the range is correct on this diagnostic because you can click on the error list and navigate correctly.  I think this is backed by the below comment:

Yes, that behaviour would be good inside visual studio, since there is some sort of "background magic" where the diagnostic is mapped back to the razor file even though the issue was reported on the generated file.

If we do want to support analyzers mapping correctly from .g.cs files to Razor, that's a different topic. It sounds like that's being worked around manually right now.
TLDR: The current bug is a bug on the editor (I think, haven't tested) and anything more is a feature request style issue. Then we consider what  https://github.com/dotnet/razor/issues/9308#issuecomment-1731104150 covers

This is fixed by Roslyn in https://github.com/dotnet/roslyn/pull/71454 and will ship in 17.9
The recommended way of reporting errors in analyzers is to use the generated .g.cs file.


Collapsible Treeview: Initial Visualisation

Collapsible Treeview: Initial Visualisation

Updated Logic to support more node types and support nested modules.
Initial Collapsible Tree using d3js
Unit tests

Previous PR: Initial Collapsible Treeview Implementation
Terms

THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF THE TERMS OF THE CCLA DATED 2017-11-07 WITH FINOS/LINUX FOUNDATION (FORMERLY THE SYMPHONY SOFTWARE FOUNDATION CCLA).
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

Screenshot using LCR Example:

Screenshot using Rentals Example:

That is so cool!!!
On Mon, Dec 23, 2024, 19:35 carolinetew @.***> wrote:

Screenshot using LCR Example:
image.png (view on web)
https://github.com/user-attachments/assets/abfae108-a8d6-4200-839b-4706c2d144c2
Screenshot using Rentals Example:
image.png (view on web)
https://github.com/user-attachments/assets/396d14a8-3816-4d87-a1ec-c691bdf3d518
—
Reply to this email directly, view it on GitHub
https://github.com/finos/morphir-elm/pull/1215#issuecomment-2560473711,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA7SPMAIWDLN3KJPZGXNFD2HCT3VAVCNFSM6AAAAABUD3SI2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGQ3TGNZRGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


xxx.d.ts files aren't being excluded

Bug Report

TSLint version: 5.4.1
TypeScript version: 2.3.4
Running TSLint via: (pick one) CLI

TypeScript code being linted
Linting Alsatian using npm run review-code which runs tslint:
$ tslint './**/*.ts' --exclude './**/*.d.ts' --exclude './test/**/*.ts' --exclude './node_modules/**/*.ts'

ERROR: cli/alsatian-cli-options.d.ts[3, 14]: The class property 'fileGlobs' must be marked either 'private', 'public', or 'protected'
ERROR: cli/alsatian-cli-options.d.ts[5, 14]: The class property 'timeout' must be marked either 'private', 'public', or 'protected'
ERROR: cli/alsatian-cli-options.d.ts[7, 14]: The class property 'tap' must be marked either 'private', 'public', or 'protected'
ERROR: cli/alsatian-cli-options.d.ts[9, 14]: The class property 'versionRequested' must be marked either 'private', 'public', or 'protected'
ERROR: cli/alsatian-cli-options.d.ts[11, 14]: The class property 'helpRequested' must be marked either 'priv

with tslint.json configuration:
$ cat tslint.json
{
  "extends": "tslint:recommended",
  "rules": {
     "array-type": [true, "generic"],
     "arrow-parens": false,
     "max-classes-per-file": false,
     "one-line": [ true, "check-open-brace", "check-whitespace"],
     "trailing-comma": false,
     "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
     "ordered-imports": false,
     "object-literal-sort-keys": false
  },
  "jsRules": {
  },
  "rulesDirectory": [
  ]
}

Actual behavior
Errors are reported from *.d.ts files when using 5.4.1 but no errors are reported in 5.3.2:
Expected behavior
Should pass with 5.4.1

Here is the error I created on Alastain.

duplicate of https://github.com/palantir/tslint/issues/2855


That's not how regex is

Your README is full of examples of [1,2,3], but character classes do not use commas.  So either you really want to match commas, or your README needs to be remedied. :smiley:
(should be just [123])

I was going to make a pull request for this but the project requires signing a CLA to contribute? No thanks.

@natebird What is your concern with the CLA?

Nice, thanks for fixing that!

@colinta Welcome ;)


feat: Add Debug Mode

Pull Request
Description
This change updates the debug environment variable from DEBUG to INPUT_DEBUG across the project. The modification affects the VSCode launch configuration, the Justfile, and the custom logging utility. Additionally, the README has been updated to include the DEBUG input parameter in the documentation.
In the pyproject.toml file, the empty description field has been removed.
These changes improve consistency in environment variable naming and provide clearer documentation for users of the GitHub Action.
fixes #159

#160  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 14, 1:24 PM EDT: A user merged this pull request with Graphite.


[HOSTED] Generated Issue: ParserException

Please fill out the details below.
Summary:
Steps to reproduce:
Additional Details
Jikan Parser Version: v2.8.1@75c3fd2230133b01175b95ec5397aa66d60ba1f8
PHP: 7.3.5-1+ubuntu18.04.1+deb.sury.org+1
Redis: Connected
Exception: Jikan\Exception\ParserException
Code: 0
Message: Failed to parse 'https://myanimelist.net/people.php?q=a'
Trace: /var/www/jikan-rest/vendor/jikan-me/jikan/src/Exception/ParserException.php on line 24
Request: GET /v3/search/people?q=a&limit=3

Your query has to have a minimum of 3 letters.
See here:

NOTE: MyAnimeList only processes queries with a minimum of 3 letters

If you visit https://myanimelist.net/people.php?q=a (the link from the error message), you'll see the same error:

There were some probrems:
Must have at least 3 byte characters to search

In addition to above, it's not a parser issue as the error message states Failed to parse 'https://myanimelist.net/people.php?q=a'.
Will have the API return Bad Request (HTTP 400) instead. Leaving the issue open until that patch is added.

Added BadResponseException if query is present and query size is < 3


Add fortran support

Hi I don't seem to know how to include gfortran in the travis.yaml file. However the tests pass locally.

@ryanmjacobs
I'm very interested in this. Actually this utility can be compilation-cache platform. We could also add D or Go support.
Or could we introduce plugin support?

However the project seems to be dead...

Sorry, I’ve been very busy lately. I’ll get back to you tomorrow
On Fri, Jun 22, 2018 at 2:46 AM Alejandro Gallo<EMAIL_ADDRESS>wrote:

However the project seems to be dead...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ryanmjacobs/c/pull/36#issuecomment-399387325, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEDeeS_DVlKnHkrIn1t1Qe3VrmHczWwPks5t_LzwgaJpZM4OYA88
.