[Bug]: NullPointerException when using Colima

Module
Dynalite
Testcontainers version
1.18.3
Using the latest Testcontainers version?
Yes
Host OS
macOS 13.4.1
Host Arch
ARM
Docker version
Docker version 24.0.5, build ced0996600
colima version 0.5.5

What happened?
java.lang.NullPointerException
	at org.testcontainers.utility.CommandLine.getSystemPath(CommandLine.java:70)

Relevant log output
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.testcontainers] to INFO
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [tc] to INFO
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.github.dockerjava] to WARN
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.github.dockerjava.zerodep.shaded.org.apache.hc.client5.http.wire] to OFF
11:21:45,582 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@230d013b - End of configuration.
11:21:45,583 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6e225c34 - Registering current configuration as safe fallback point

2023-08-11 11:21:45.628 Verbose logging enabled
11:21:45.891 [Test worker] INFO  org.eclipse.jetty.util.log - Logging initialized @1437ms to org.eclipse.jetty.util.log.Slf4jLog
2023-08-11 11:21:46.042 Verbose logging enabled
11:21:46.081 [Test worker] INFO  org.testcontainers.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
11:21:46.448 [Test worker] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first

java.lang.NullPointerException
	at org.testcontainers.utility.CommandLine.getSystemPath(CommandLine.java:70)

Additional Information
This issue doesn't happen when I run tests against the docker desktop.
Perhaps I should modify this file ~/.testcontainers.properties?

Hi, Did you check the docs?

Yep. Didn't help.

Hi, Did you check the docs?

Yep, didn't help.

Can you provide more information, please? Can you enable logs and share them? See https://java.testcontainers.org/features/container_logs/
Also, I think the value is export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock

Can you provide more information, please? Can you enable logs and share them? See https://java.testcontainers.org/features/container_logs/
Also, I think the value is export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock

The logs are in the issue. The test containers fail during the initialization. In order to reproduce this problem these steps are sufficient

Use Dynolite module
Install the latest version of Colima and Docker
Create the minimal test that uses the Dynolite module


[Sema] RuntimeMetadata: Attach source information to synthesized initializers

All the locations point to the attribute itself, expect to the custom arguments - they all have real locations.

@swift-ci please test

Thanks for working on this!


chore: increase x/oracle unit test coverage

Description

Add unit test to

x/oracle/keeper/grpc_query.go

helps: #661

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added appropriate labels to the PR
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #786 (d6f403d) into main (a176fb2) will increase coverage by 0.37%.
The diff coverage is 11.45%.

@@            Coverage Diff             @@
##             main     #786      +/-   ##
==========================================
+ Coverage   48.03%   48.40%   +0.37%
==========================================
  Files          64       64
  Lines        9329     9426      +97
==========================================
+ Hits         4481     4563      +82
- Misses       4581     4612      +31
+ Partials      267      251      -16

Impacted Files
Coverage Δ

ante/fee.go
93.61% <ø> (ø)

ante/spam_prevention.go
61.76% <ø> (ø)

x/ibctransfer/keeper/keeper.go
77.92% <ø> (ø)

x/leverage/abci.go
0.00% <ø> (ø)

x/leverage/client/cli/proposal.go
72.72% <ø> (ø)

x/leverage/client/cli/query.go
0.00% <ø> (ø)

x/leverage/client/cli/tx.go
0.00% <ø> (ø)

x/leverage/client/tests/suite.go
100.00% <ø> (ø)

x/leverage/client/tests/util.go
87.69% <ø> (ø)

x/leverage/genesis.go
50.00% <ø> (ø)

... and 39 more


Blazor Support

[Blazor support]
Is there any news on Blazor Wasm support? I know that Microsoft is pushing a lot Blazor on the developer scene, so it strikes me that the Office team hasn't incorporated Blazor support for Add-ins yet.

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

ID: 9c4ddde7-f1fd-44ba-fba1-0ae9d0131df7
Version Independent ID: d946ffe6-f29f-1563-b679-121090ba60a1
Content: Build your first Excel task pane add-in - Office Add-ins
Content Source: docs/quickstarts/excel-quickstart-jquery.md
Service: excel
Sub-service: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @bilalchraibi,
Have you looked at our sample, Create a Blazor Webassembly Excel add-in? I think that will help get you started using these technologies.
If the sample is missing something (or I've missed something in your issue), please reply here and we'll investigate.

Thank you @AlexJerabek for the quick reply and for pointing me to the right place!
Small feedback though, it will be nice to add it to the left panel and in the getting started section and not only in the sample section, similarly to the React, Vue and Angular tutorials.

Thanks @bilalchraibi! We'll definitely consider how to increase the visibility and discoverability of that sample.


Possibility of different word sizes

EVA (https://arxiv.org/pdf/1912.11951.pdf) makes optimisations about CoeffModulus and the fixed point scale (which takes part in the plaintext encoding/decoding phase through a multiplicative factor). It also adjusts the rescale factor.
I was wondering whether in certain situations this can reduce the arithmetic and also memory requirements of SEAL if a tool like EVA determines that a circuit can live with merely 32-bit integers, while still, for instance, maintaining 128-bit security. Furthermore, I am wondering about the possibility of supporting more levels by means of 128-bit integers (e.g. __int128 using Clang/GCC). As bootstrapping is still very slow for now, providing the option to use more levels despite the overhead may still be equitable.

Only the total bitcount of CoeffModulus affects security or the number of levels. SEAL uses the RNS-variant of CKKS, limits RNS prime numbers to be at most 60-bit, and uses 64-bit unsigned integer type to represent integers modulo those primes even if the prime is less than 32-bit.
Using a 32-bit unsigned integer type when an RNS prime is smaller than 32-bit does not affect security and can potentially lead to better performance. However, it will introduce too much work for an less significant improvement to performance.
Using a 128-bit unsigned integer type cannot provide more levels and is not generically supported by all platforms/compilers.

I see. So in theory, using a CoeffModulus which permits depth 60 evaluations is not disallowed by SEAL. I am guessing that the limitation on N=16 just comes from expectation of local workstation DRAM limitations?

So in theory, using a CoeffModulus which permits depth 60 evaluations is not disallowed by SEAL. I am guessing that the limitation on N=16 just comes from expectation of local workstation DRAM limitations?
poly_modulus_degree = 65536 should be about right for depth 60. It is not provided in the default parameters since HE standardization security whitepaper has not yet standardize security parameters for 65536 and above. It is not because of DRAM limitation though. However, it is considered safe to double the bitcount limit of coeff_modulus along with doubling poly_modulus_degree.

Is there a reason why I see the RNS prime bit sizes increasing in number for higher coeff modulus?
The number of RNS prime numbers affect performance. For larger security parameters, we choose larger prime number bit sizes to reduce the total number of RNS prime numbers.

Why should we want fewer levels?
We do use smaller and more prime numbers when it is necessary, for examples, in CKKS to provide more levels. In BFV, levels are not significantly affected by the choice of prime numbers.

Does this increase noise tolerance?
It does not affect noise growth in SEAL. However, choosing larger primes can result in less effective noise tolerance due to the use of a special prime which sacrifices at most 1 level in well-tuned codes compared to previous SEAL without a special prime.

Hi Wei Dai,
Actually, I see I've made a mistake originally, as it's the poly modulus that's 2^15, whereas the number of slots is 2^14.
Nevertheless, what you say is inconsistent with what I know. With twice the current max coeff mod, which uses about 15 levels, wouldn't that give me only about 30 levels? If I use a square activation, that's one level per activation, so I would need 60 levels, i.e. q~= 2^17 = 131072

Perhaps what you are suggesting is utilising 60 levels with 32-bit RNS primes (represented as 64-bit to avoid the complications of restructuring the entire library)?
I suppose with using 32-bits, one may also get less precision? That's because the the fixed-point scale is approximately the RNS prime sizes, are they not? It seems to me that using smaller RNS primes, say bitsize 20, will leave 12 bits of integer precision if using 32-bit uints and 44 bits if using 64-bit uints.
Is there anyone who is willing to discuss this with me? Perhaps email and or skype would be better?


Update CI and test GPU operator v1.5.2

thanks @ArangoGutierrez
I pushed this to all the release-* branches


How to configure the dataset?

Thanks for putting together this software. Can you provide some direction for how to create a dataset for train and test for image inpainting?
In the configuration file I see references to *.flist file. I assume this is a text list of images to use for testing. But I'm not sure how to create it and format it.
Thanks,
Jay

Hi, thanks for your attention.
We use the default division of these datasets for training and evaluation, and  *.flist just list their names for fast loading. I will update it soon.


7/15 Publish

Docs Build status updates of commit d4bd096:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/media/profiles/roger-pollini.jpg
:white_check_mark:Succeeded

rd/media/profiles/sharon-weaver.jpg
:white_check_mark:Succeeded

rd/roger-pollini.yml
:white_check_mark:Succeeded

rd/sharon-weaver.yml
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 14, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 16, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 18, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

rd/map.yml

Line 15, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 17, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 19, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Connecting to non-amazon "s3 compatible" storage

As a quick side note, really impressed how easy it was to install and compile the sdk.  I feel like it is rare for things to "just work" out of the box so very impressed on that front.
I've setup a small RiakCS cluster that I'm able to talk to via s3cmd on Ubuntu, as well as using python with boto on Windows.  However, I am not yet able to do that with the aws sdk.
The first question, should currently this be possible?
This is the code I've come up with from a few of the samples, based on the logs, I'm not doing something to override things correctly, as it's still trying to connect to s3.amazonaws.com
code.txt
aws_sdk_2016-08-18-11.txt
Any ideas, thanks !
-Aaron

Hi g3cko, the SDK should work in this scenario.
You should not be using proxyHost and proxyPort. These are for use of HTTP proxies like Burp Proxy.
Please use endpointOverride.

Appreciate the super quick response.  That gets me passed that.  I now get a
Send request failed: A security error occurred
in the log, which I will look into more on my end to see if I can figure out what I'm not doing/doing wrong.
Thanks !

You probably forgot to tell the sdk to use http instead of https. Try setting the scheme in the client configuration.
Sent from my iPhone

On Aug 18, 2016, at 1:28 PM, g3cko<EMAIL_ADDRESS>wrote:
Appreciate the super quick response. That gets me passed that. I now get a
Send request failed: A security error occurred
in the log, which I will look into more on my end to see if I can figure out what I'm not doing/doing wrong.
Thanks !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Again, spot on help - thank you.   Boto/s3cmd mostly "just worked" for me so I'm definitely missing the connecting dots on the inner workings here.
Definitely getting closer..  I think my next problem is it's trying to encrypt something, perhaps the key data?   I have encrypt = false" in my s3cmd config...
[WARN] 2016-08-18 14:42:00 AWSErrorMarshaller [45620] Encountered Unknown AWSError InvalidRequest The authorization mechanism you have provided (AWS4-HMAC-SHA256) is not supported.:

So maybe your storage isn't THAT s3 compatible. Unfortunately the C++ SDK
only supports SHA256 for the signing hash. Some of the older SDKs support
SHA1. Is there any possibility that you can upgrade the signer on your
storage engine?
On Thu, Aug 18, 2016 at 2:59 PM, g3cko<EMAIL_ADDRESS>wrote:

Again, spot on help - thank you. Boto/s3cmd mostly "just worked" for me so
I'm definitely missing the connecting dots on the inner workings here.
Definitely getting closer.. I think my next problem is it's trying to
encrypt something, perhaps the key data? I have encrypt = false" in my
s3cmd config...
[WARN] 2016-08-18 14:42:00 AWSErrorMarshaller [45620] Encountered Unknown
AWSError
InvalidRequest
The authorization mechanism you have provided (AWS4-HMAC-SHA256) is not
supported.:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/281#issuecomment-240870380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvpxTerIsMKOCAc2Ssf2SHQTEum9pV7ks5qhNW5gaJpZM4Jn2_Q
.

--
"The poet only asks to get his head into the heavens. It is the logician
who seeks to get the heavens into his head. And it is his head that splits"
--G. K. Chesterton-- "Orthodoxy"

For clarity, that's not an encryption thing. It's from the AWS Auth
signing. You can try not specifying any credentials at all and it won't add
those headers. Of course that would only work if you don't have
authentication needs.
On Thu, Aug 18, 2016 at 3:01 PM, Jonathan Henson <
<EMAIL_ADDRESS>wrote:

So maybe your storage isn't THAT s3 compatible. Unfortunately the C++ SDK
only supports SHA256 for the signing hash. Some of the older SDKs support
SHA1. Is there any possibility that you can upgrade the signer on your
storage engine?
On Thu, Aug 18, 2016 at 2:59 PM, g3cko<EMAIL_ADDRESS>wrote:

Again, spot on help - thank you. Boto/s3cmd mostly "just worked" for me
so I'm definitely missing the connecting dots on the inner workings here.
Definitely getting closer.. I think my next problem is it's trying to
encrypt something, perhaps the key data? I have encrypt = false" in my
s3cmd config...
[WARN] 2016-08-18 14:42:00 AWSErrorMarshaller [45620] Encountered Unknown
AWSError
InvalidRequest
The authorization mechanism you have provided (AWS4-HMAC-SHA256) is not
supported.:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/281#issuecomment-240870380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvpxTerIsMKOCAc2Ssf2SHQTEum9pV7ks5qhNW5gaJpZM4Jn2_Q
.

--
"The poet only asks to get his head into the heavens. It is the logician
who seeks to get the heavens into his head. And it is his head that splits"
--G. K. Chesterton-- "Orthodoxy"

--
"The poet only asks to get his head into the heavens. It is the logician
who seeks to get the heavens into his head. And it is his head that splits"
--G. K. Chesterton-- "Orthodoxy"

Ok, thanks for the further clarification.  That was my next thought, that it is related to the credentials.
Really appreciate the help, I'm not sure what all is exposed for options.  As an internal tool, I think we would be fine without the authentication, and for the longer term "external facing" stuff I think we would actually be using Amazon S3.

Fantastic, it looks like the storage (Riak CS) was using an older version of S3 authentication which was incompatible with the latest v4.
After updating the config, my sample now pushes data successfully without errors.

nice!
On Thu, Aug 18, 2016 at 4:23 PM, g3cko<EMAIL_ADDRESS>wrote:

Fantastic, it looks like the storage (Riak CS) was using an older version
of S3 authentication which was incompatible with the latest v4.
After updating the config, my sample now pushes data successfully without
errors.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-cpp/issues/281#issuecomment-240886343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvpxVXHYnRSD-rJbrc4CLA8Nav5E2wGks5qhOlXgaJpZM4Jn2_Q
.

--
"The poet only asks to get his head into the heavens. It is the logician
who seeks to get the heavens into his head. And it is his head that splits"
--G. K. Chesterton-- "Orthodoxy"

Closing now as this is covered the missing details that I needed to connect to Riak CS (2.1.1 on Ubuntu fwiw)


Excessive bundling size due to importing entire math.js library

See instructions here: https://mathjs.org/docs/custom_bundling.html#bundle-size
I did some testing and you can reduce the mathjs bundle contribution from ~500kb to ~80kb. By using the named exports, you can enable tree-shaking.
Before:
// math.ts
import { create, all } from "mathjs"

const math = create(all)
export const math;

// tholder.ts
import math from "../../math.ts"

meta.json

After:
//tholder.ts
import { fraction, sum, format } from "mathjs";

meta.json

You can upload the meta.json files to https://esbuild.github.io/analyze/ yourself to explore.
The meta.json files are generated by esbuild
npx esbuild --bundle src/index.ts --metafile=meta.json --outfile=out.js --platform=node --minify --analyze

Nice work!

Reopened because a PR for this was never submitted. Adding it now.


Support Infracost config files

The Infracost VSCode extension has multi-project support through native auto-detection. However, many users might have variables and settings supplied through an Infracost config file. We should allow users to supply config files through an extension setting or through parsing a common name/location.

Note for community
Please 👍 if you'd like to upvote this or receive updates.
Add a comment if you'd like to contribute.

@hugorut now that config files can also support template syntax, could the extension detect if the config file has template syntax and run infracost generate config and use the generated file?

can do

Hello all, we've added config file support as part of the 0.2.11 release. Please give it a whirl and let us know any bugs you find. 🙏 .


Adds testsuite

I wanted to do that for a long time.

Nice!


Can't edit anything

Issue Type: Bug
My friend and I want to do some pair programming. Previously this worked fine but since yesterday he only gets the file and nothing changes at my file if he writes something, same for me, if I write his file does not change.
His OS: MacOS 11 Big Sur
My OS: Ubuntu 20.04 with 5.8.0 Kernel
Extension version: 1.0.3784
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:44.518Z)
OS version: Linux x64 5.8.0-43-generic snap

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 3094)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
15.45GB (2.29GB free)

Process Argv
--force-user-env --no-sandbox --unity-launch --no-sandbox --crash-reporter-id c5c1b3f3-6602-49e0-a4b7-3afd0314e1c7

Screen Reader
no

VM
0%

DESKTOP_SESSION
gnome-xorg

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome-xorg

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627:30244334
pythonvspyt600cf:30251589

Hello, Do you mind grabbing logs for us? You can do this by running the command Live Share : Export Logs

Hey @MarkusSYT , I just tried and am not able to reproduce the issue on my end. Is it still happening for you? Could you try sharing a different project and seeing if it happens? Or joining the Live Share session from the same machine that started it (in a new VS Code window).
Thanks for your help!

Any chance you all were collaborating on a Python project?

yeah it was a Python Project
I will try to reproduce it on my machine and send you the Logs

Ok if I try it on my machine with two windows of VS Code it works with no issues at all

Ok I don't know why but the issue fixed itself. We tried it now to get some logs but it works again.

Thanks for the follow-up! There was an issue with the interaction between the Python extension and the Live Share extension that I think the Python folks resolved.


Missing "Kamchatka Standard Time" and "Mid-Atlantic Standard Time"

I just updated timezones from sources listed in readme of this package but I don't see "Kamchatka Standard Time" and "Mid-Atlantic Standard Time" listed there. If helpful, you can try to use it directly from forked branch
npm install alcedoatthis2/windows-iana#update-timezones-with-build


{Freeway-Bug}[Adaptive Card > Image Gallary.Json]: Images under cards are not accessible through the swipe gesture.

Test Environment:
Device: iPhone 11
iOS Version: 16.7.1
App Version: 1.0 (2.4.0-beta.<IP_ADDRESS>)
Screen Reader: Voice Over
Repro Steps:

Launch Adaptive Cards iOS application.
Home screen will appear.
Navigate to "V1.5" control and select it.
Navigate on "V1.5" screen and select "Scenarios" button.
'Scenario' screen will appear.
Navigate to "Image Gallary.json" control and double tap to activate it.
Perform right swipe and observe the issue.

Actual Result:
While navigating under the 'Image Gallery' card, Images under cards are not accessible through the swipe gesture.
Expected Result:
Images should be accessible through the swipe gesture when user navigates the images gallery.
Note:
Same issue is repro throughout the application for the images.
Observation:
This issue is working fine while navigating using keyboard.
User Experience:
It will impact the screen reader user as they will not be able to navigate to the images and also do not perform the desirable action what they want to do on the card.
WCAG Reference:
https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence
"Have feedback to share on Bugs ? Please help fill Trusted Tester Bug Feedback (office.com) “
https://github.com/microsoft/AdaptiveCards-Mobile/assets/95913748/52925ae8-09af-4a30-bce8-883a8a81d8e0

Tested using latest version and works as expected. Attached evidence. Used swipe gesture for navigation.
https://github.com/microsoft/AdaptiveCards-Mobile/assets/130393016/c366f463-206e-4bea-b2c4-ba10f7b59779

As this issue is still repro and now tracking this issue with #175


Two references to 'utilties' instead of 'utilities'

runelite-plugin.properties#L1
runelite-plugin.properties#L5

Fixed. Sorry about delay... Sort of not a priority haha


Acrylic and other design elements from Win11

I am using Win11 Dev build and would love to see transparency and possibly some other design elements in VScode.
I found a issue, but it's closed and I don't understand why. I find this to be quite an important question. I understand that those who care about the interface have been using apple for a long time, but still.

I found a issue, but it's closed and I don't understand why.

See https://github.com/microsoft/vscode/pull/52707#issuecomment-519462107

I am going ahead and close this PR for the reasons outlined: We currently do not accept more features that are Electron specific. We have seen to many issues lately when updating to newer Electron versions and playing the catch-up game is very painful.

Ah, okay, I wasn't careful enough. Well, in any case, I think with the release of win11 the question is more relevant than ever.

Closing for the same reasons that others have already mentioned.


Update README.md: add YetAnotherOllamaManager

Hey, thank you for submitting this and contributing! Is this project still being worked on?
Closing this for now, but please feel free to reopen!


[iOS] Improve the experience when running on a locked device

Currently, this is what's happening when users are trying to run a Flutter app on a locked iOS device.
Launching lib/main.dart on Alex’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: XXXXXXXXXX
Running Xcode build...
Xcode build done.                                           76.9s
Installing and launching...
═══════════════════════════════════════════════════════════════════════════════════
Your device is locked. Unlock your device first before running.
═══════════════════════════════════════════════════════════════════════════════════
Could not run build/ios/iphoneos/Runner.app on XXXXXXXX-XXXXXXXXXXXXXXXXX.
Try launching Xcode and selecting "Product > Run" to fix the problem:
  open ios/Runner.xcworkspace

Error launching application on Alex’s iPhone.

This is correct behavior since we cannot run on a locked device, but it's especially hurt when the build processes take minutes.
Proposal
Maybe we can make a blocking action to wait for further steps from users, similar to Xcode:

Duplicate of #34817

Duplicate of #34817

@danagbemava-nc Thanks for the reference!


Add Discrete Color Bars

It would be useful if discrete color bars could be used (and easily created, if possible). For example, I wanted a discrete color table to visually identify possible ground contamination in tail radar sweeps. Obviously discrete color bars are desired in many other situations as well.
I used the following code to add a quick and dirty discrete color bar to the ARTview displays, though as implemented, it hard codes the color table, preventing it from being changed within the GUI.
cmapLevs = [-2,-0.5,0,0.5,2]
cmapCol = ['black','black','red','red','black','black']
velGrndCmap, normVelGrnd = matplotlib.colors.from_levels_and_colors(cmapLevs,cmapVelCol,extend='both')

thank you @stechma2 for the suggestion. The is an open issue (#126) to start using a new pyart functionality.
This is however one of those things that are super easy in text mode, but trick in GUI. We need to develop a concept on how to allow the user to select the colors. May be you can us with that.

Sorry for the duplicate issue - suppose I should have read back a ways further before posting.
Anyways, I will think about this and play with it as time allows and touch base with you all if anything comes to mind that hasn't already been suggested.

You don't need to be sorry. It is better to say something twice than to stay quiet.

I asked @stechma2 to post a couple of issues we discussed over email so that we had some better tracking. Nice thing here is that we can easily tie the issues together through the github markdown interface.

This was addressed in PR #142 . Is this okay to close?

I would say so. Haven't gotten a chance to play with the new version yet, but it certainly looks like it will do the trick!

Okay, great. I'm closing the issue for now as the discrete colorbar has been added. If you find problems or see an improvement, maybe you could open a new Issue for that?


exec output: read while the conn is open

we were naive...
...actually, I was
ws_client.run_forever(timeout=WEBSOCKET_CALL_TIMEOUT)
errors = ws_client.read_channel(ERROR_CHANNEL)
response += ws_client.read_all()

My original thinking was that once these 3 calls finish, our exec is
done and we get its output.
WRONG
This only waits for 30 seconds and then halts - so when a command takes
more than 30 seconds (hello npm) to finish, the stream of data is just
cut, no exception raised, nothing suspicious in the logs, and Tomas is
freaking out how come the tarball is not in the repo.
this commit implements:

read the data while the connection is open
tests: actually make sure that when we create a srpm from the
cockpit-podman checkout the file is in there

Resolves https://github.com/packit/packit-service/issues/917

Whee, many thanks @TomasTomecek ! So we really had two bugs here, first that webpack got OOM-killed, and second that it didn't even get to that point because it was cut off after 30s? That would well explain why your tests with https://github.com/cockpit-project/cockpit-podman/pull/649 did not work. When does that go to production?

Whee, many thanks @TomasTomecek ! So we really had two bugs here, first that webpack got OOM-killed, and second that it didn't even get to that point because it was cut off after 30s? That would well explain why your tests with https://github.com/cockpit-project/cockpit-podman/pull/649 did not work. When does that go to production?


Every restart of HA needs re-authentification of integration

Hello, thank you for good job. Could you tell me what i do wrong? When I restart of HA The Husqvarna Automower integration needs to re-authenticate with Husqvarna. Thank you for answer
Tomas

Hello,
can you paste, the config entries (in CONFIG_Directory/.storage/core.config_entries) before the restart here? it should look like that:
                "entry_id": "aa5762d5503e7071fd5b8e652ede8646",
                "version": 2,
                "domain": "husqvarna_automower",
                "title": "bb861923-6786-4f70-b930-1fc4a24107b9",
                "data": {
                    "token": {
                        "access_token": "eyJhb[]ik7fNC1og",
                        "scope": "iam:read",
                        "expires_in": 86399,
                        "refresh_token": "da197495-58c1-4299-a834-xxxxxxx",
                        "provider": "husqvarna",
                        "user_id": "5a93141e-55a7-479f-xxxx-8a63188c054f",
                        "token_type": "Bearer",
                        "expires_at":<PHONE_NUMBER>.2122638,
                        "status": 200

Please modify the access_token and the refresh_token in github, because of security reasons.
Add the following to your configuration.yaml:
logger:
  default: info
  logs:
    custom_components.husqvarna_automower: debug
    custom_components.husqvarna_automower.vacuum: debug
    custom_components.husqvarna_automower.config_flow: debug
    aioautomower: debug

The restart and paste the config entries, too.
And post the relevant logfiles.

Hello,
here is part of core.config_entries and debug.
Thank you.
Tomas
core.config_entries.txt
log.txt

Interesting...
Is the part of the core.config_entries before or after the reboot?
Did you renamed the title of the integration to "Sekacka" ? The title should actually be the API-Key. I think that caused the problem. Try not to rename it and test it again, please.
And I also don't understand, why there is the email address and the password stored in the config entry. Did you used version 2021.3.4 or earlier before?

The config file is before restart. My version of Home Assistant is 2021.5.4
I have try to not rename it :-) and after twou restarts of HA the integration still working. :-)
Thank you very much

With husqvarna_automower version 2021.5.2 you should now also be able to rename the integration


Symbolic links on Windows mounted filesystem fails

This is running build 14316.
Here is the command-line and the result.
root@localhost:/mnt/c/dmx# touch file
root@localhost:/mnt/c/dmx# ln -s file filelink
ln: failed to create symbolic link ‘filelink’: Operation not permitted

I can confirm that this has been fixed internally. I just tried this in our dev branch and the exact above commands are working in a /mnt/c directory. The fix is making its way to the flighting branch, sorry no firm ETA.
ben@BENHILL-VM7:/mnt/c/dmx$ touch file
ben@BENHILL-VM7:/mnt/c/dmx$ ln -s file filelink
ben@BENHILL-VM7:/mnt/c/dmx$ ll
total 12
drwxrwxrwx 2 root root 0 Apr 19 22:11 ./
drwxrwxrwx 2 root root 0 Apr 19 22:11 ../
-rwxrwxrwx 1 root root 0 Apr 19 22:11 file*
lrwxrwxrwx 1 root root 4 Apr 19 22:11 filelink -> file*
ben@BENHILL-VM7:/mnt/c/dmx$

Starting to consolidate bugs.  Tracking in #6.  Please go ahead and close this one out.

Closing this out, we'll be using #6 to track this.


Text wrapped into a view gets view's background color

Describe the bug
Having a semi transparent background color set to a view, the inner text block gets same background color applied

To Reproduce
<View style={{ backgroundColor: "rgba(255,255,255,0.3)" }}>
  <Text>Hello</Text>
</View>

Expected behavior
Inner blocks should not receive backgroundColor styles from parent blocks
Versions:

OS: Mac
Version 2.0.0
Node version v10.16.3

I'm a bit unclear how it is supposed to look? Could you provide a more complete code example?

@kusti8 # dev part should not have transparent white background


add draft

Rough Draft. Collecting feedback before opening publicly.
cc @deads2k @soltysh

This is a work in progress. Most of the sections under "Proposal" still need to be finished

Closing. This has been opened against the upstream community repo.


Versioned ClientLibs affecting Preview Package generation (e.g. SDL Translation Preview )

Required Information

[6.5 SP4 ] AEM Version, including Service Packs, Cumulative Fix Packs
[4.4.0, 4.7.0 ] ACS AEM Commons Version
[ yes ] Reproducible on Latest?

Expected Behavior

After extract of preview package user is able to preview HTML properly with all JS, Assets ...etc as later same is used by SDL Preview. Paths should be rendered in the way that allowing  to point to file locally in order for proper rendition even on local & 3rd party system

<link rel="stylesheet" href="../../../../var/designs/about-us_1/jquery-ui.css" type="text/css">
<link rel="stylesheet" href="../../../../var/designs/about-us_1/site.css" type="text/css">
<link rel="stylesheet" href="../../../../var/designs/about-us_1/clientlib-base.css" type="text/css">
<link rel="stylesheet" href="../../../../var/designs/about-us_1/default.css" type="text/css”>

Preview OK

Preview NOK

Actual Behavior

Preview package is generated incorrectly because paths to JS, CSS are relative file paths but the file paths are not pointing to file properly so local preview is impossible

<link rel="stylesheet" href="/etc.clientlibs/clientlibs/granite/jquery-ui.aeeab65fc7671696263825aac469a40d.css" type="text/css">
<link rel="stylesheet" href="/etc.clientlibs/core/wcm/components/search/v1/search/clientlibs/site.bc5eb8ab7795d16a0a599fbaef2adfe6.css" type="text/css">
<link rel="stylesheet" href="/etc.clientlibs/weretail/clientlibs/clientlib-base.8f235fd0c38c1c7f77b9d3b691838e68.css" type="text/css">
<link rel="stylesheet" href="/libs/foundation/clientlibs/jquery-ui/themes/default.d41d8cd98f00b204e9800998ecf8427e.css" type="text/css">

Steps to Reproduce

Install  AEM 6.5.x
Configure Versioned Client libs
Install SDL connector (enable preview feature)
Configure SDL connector / CloudService
Create Translation Project + configuration (method, provider, source & target languages)
Add Translation Job, set target language and add page for translation
Start Job
Once status is set as Translation In Progress please go to SDL Console and download preview package
Extract and open HTML
Links in HTMLs are wrong as preview doesn't work as expected
Note: once configuration of versioned client libs is removed preview package is generated properly and its possible to preview locally & on SDL side.

Links

@tlocwin Isn't this the same as #2330?

@kwin I was testing changes related #2338 from master and issue is still present.

Probably a different attribute needs to be used to disable the rewriting in https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/a9d8ead2840d7068bdd32f4bf0ddb920ebedf55e/bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java#L349.


Propagate BUILD_APT_MIRROR and consume in buil-deb

Passses down BUILD_APT_MIRROR to the docker env.
Ensures BUILD_APT_MIRROR is used when building debs, but only when the
consuming Dockerfile actually uses it, else it will cause the
build to fail (e.g. on Ubuntu builds we aren't using APT_MIRROR).

LGTM

LGTM


[Database Support] MySQL

If you want to see MySQL support in Azure Data Studio, click the thumbs up sign.
Note: Please keep comments to this issue focused on discussions of what you would like to see instead of +1 comments.

Seems support mysql 5.6+ is enough for us.

Would like to see mysql over ssh , mysql tcp/ip, mysql unix socket , these three way connect mysql

Product name is Azure Data Studio, not MSSQL Data Studio, so I would expect the ability to connect to and manage any database product that is supported on Azure, including MySQL. :)

I am wishing for this everyday, is there a feature branch that has been started for this support yet?

I wish they implement the MySql connector. I love to work with vscode, want to work with data studio too

With Azure database for MySQL I would imagine Azure Data Studio should be able to support T-SQL on MySQL. I am starting to look into moving from Google Cloud Platform to Microsoft Azure for WordPress hosting. Using Azure Data Studio and snippets would fit in nicely.

I would love this functionality. Bog standard 8.0 would be ideal. Even full support of 5.x would make me happy.

I'd appreciate support for MySQL/MariaDB - supported versions only.

Would be nice to get an update on the status of this, just to know if still being considered, if is approved and will be done at some point in the future, just to know what to expect, for know it seems like the support will not come any time soon :(

Please give us an update about the support from mysql. I badly require this support.

mysql support
we need
please.

Just here to reaffirm that basic query execution agains a MYSQL database would suffice... no auto completion needed or other fancy features...

Since this is a multiplatform SQL client, it should at least support MySQL. 5.5 is fine. 8 is a plus.

Joining the fray... any update on this?

Any plan or roadmap?

There's been a couple of demos from Microsoft where I've seen the extension, sure would be nice to see it released.

Any update about the availability of a MySQL connector in Azure Data Studio?
Thx for any feedback.
maik

There the missing piece of Azure Data Studio is MySQL Connector also some good IntelliSense for that :)

Would be superb to have MySQL support.
The only other alternative in MacOS is DataGrip and is slow as hell..

With Notebook support in Azure Data Studio, it would be very useful to be able to connect to Azure MySQL (Knowing Azure PostgreSQL already been supported in Azure Data Studio)
Azure Data Studio team can you please shed some light on whether this is considered so that we can see the end.
Thanks.

Its more than a year since this issue was opened.  Is support for localhost or azure hosted mysql connection still not supported?
Searched extensions and not seeing any hits.

Would appreciate if the devs could just shed some light if they care about such support or not. Just look at the emoji count of the first post. The community cares.

i'll have faith

Are there any updates on the progress?

No response from devs for don't know how long... 😶

We asked about that on Twitter but until now we only got a vague answer from the PM https://twitter.com/OneBitAhead/status/1307954947036717056

Fyi, as an interim alternative i'm using azure data studio supported jupyter notebook with python kernel and the standard issue mysql pypi package.  An overview can be found in this 10min walkthrough video and summarized in the following.

install azure data studio
azure data studio | file | new notebook
<notebook>.ipynb | manage packages | add new | mysql and mysql-connector
set db_host=<your_db_host>& set db_user=<your_db_user>& set db_pswd=<your_db_pswd&gt& set db_name=<your_db_name> . . . and for linux distro leave out set  or swap with export  for enabling across all processes
use following code in notebook code cell or spread across many cells if you want to intermix with markdown information

import mysql.connector as mysql;
db_host = os.environ.get('db_host'); db_user = os.environ.get('db_user'); db_pswd = os.environ.get('db_pswd'); db_name = os.environ.get('db_name')
db_conn = mysql.connect(host=db_host, user=db_user, passwd=db_pswd, database=db_name, use_pure = True)
db_conn # or print(db_conn)

db_tables = pd.read_sql_query('show tables from ' + db_name, db_conn)
db_tables # or print(db_tables)

tables = db_tables['Tables_in_' + db_name]
tables # or print(tables)
for table_name in tables:
	output = pd.read_sql_query('describe {}'.format(table_name), db_conn)
	print('describe ' + table_name)
	print(output, '\n')

Should be clear that the python pandas package call pd.read_sql_query('<mysql statements>', db_conn) is how you execute mysql commands and view output in notebook. For some use cases this azure data studio notebook approach may be preferred given you get the benefits of being able to insert nice markdown in between statements and have output for a given run captured in a nicely formatted way for sharing.

 Where is support for the most common free RDBMS?

I believe most want to use MariaDB ... please thumb up on MariaDB request here https://github.com/Microsoft/azuredatastudio/issues/4917

There's no good mysql/mariadb IDE, so support for mysql/mariadb in Azure Data Studio would be much appreciated!

They are probably doing it for business/political reasons. Just like Oracle refuses to make a provider for Entity Framework Core. They should add support for MySQL anyway, but, I can't fault them for not wanted to work with a company like Oracle. It is unfortunate that Oracle bought MySQL. Their .NET driver has sucked for years.

I just realized why not try looking for "MySql" extensions in the vscode editor where there two options with 4 & 4 start ratings and significant number of installs.  I installed the top installed one with over 500k installs and it works fine.
Why can't we just have one of these vscode "MySql" extensions that already work surfaced in the azure data studio extensions marketplace and be on our way?

I just realized why not try looking for "MySql" extensions in the vscode editor where there two options with 4 & 4 start ratings and significant number of installs.  I installed the top installed one with over 500k installs and it works fine.
Why can't we just have one of these vscode "MySql" extensions that already work surfaced in the azure data studio extensions marketplace and be on our way?

👍

Nothing changed in the mid of 2021, MySql is still most popular database and we desperately need Azure Data Studio to support it

They aren't doing it on purpose for business reasons. Just like Oracle has dragged their feet on releasing an Entity Framework Core driver for years.

I don't know what kind of driver ADS uses. One written in Typescript? PostgreSQL has a higher quality .NET driver than Oracle MySQL IMHO. Not sure if there is a similar issue with Typescript. Probably, Microsoft doesn't have the same bad blood/competitiveness with PostgreSQL that they do with Oracle.

Given we now have mariadb open source variant of mysql supporting that in ads would be more about embracing open source solutions than oracle specific ones.

Microsoft is a for profit corporation. The only thing that matters to them is if they make more money. If they don't think it will help them do that, then, they won't do it. Or, they will intentionally withhold the functionality, even if it exists, if they think it is against their business interests. It is obvious that that is what they are doing. They demoed support for this years ago and then apparently got cold feet. That's why you don't see a single response from Microsoft on this issue even though there are probably hundreds of people if not more asking for this.

@jemiller0 Heck, I mean it's not even that hard to add MySQL support. Why can't they just be a homie for once? 🙄

@jemiller0 Sure. Probably they forgot that they also sell MySql in their Azure Database Services. I guess everyone using this services are not considered customer apparently. 🙄

I check back here every once in awhile with hopes that I can start using Azure Data Studio for MySQL.
I figured I'd finally try to get my voice heard in hopes that it makes some difference (I know, I can be quite naïve sometimes).
I'm not convinced there are competitive/profit motives for it not getting implemented, but I can see why that's an easy conclusion to come to, because... well...
This is the number 1 voted feature request for the product here on github, and it has been for literally years now, and there has been no communication with the community on if/when it'll get implemented.
And I think what can add even more to the community's frustration is that we were teased pretty hard core over two years ago in this post:
https://cloudblogs.microsoft.com/sqlserver/2019/04/18/the-april-release-of-azure-data-studio-is-now-available/
Excerpt:

With the excitement for PostgreSQL support, this makes Azure Data Studio officially a multi-database tool. As a result, we’re curious to hear what other databases the community is looking for. Currently, we have the following tracking requests. If one of these databases listed interests you, please leave a thumbs up on the issue.

So that was over 2 years ago now, and that kind of tease is pretty low.
I remain optimistic, though, and will probably be back to this page in a couple months hoping for at least an indication of if/when I could expect this.
The silence is the worst part. If I could get a "Yeah, we're not getting to this for at least a couple years" or "Actually, we've dropped plans to do this, but that's not to say that could change in the future."
Just some expectation setting for the most requested feature that was teased to the community two years ago would be nice.

Just for my understanding, theoretically, it's possible to trigger a PR with MySQL support to ADS ?
I could even understand MS would not invest money on that, but that's the good side of open source, opening the code to the community, right ?

Heck yeah it's possible, but I don't know if they would accept it. If someone did make something like that they could just link it in a separate repo here in this issue.

Hi @sbehara1 I think like other people in the comments, we need to have the connection to different databases like MySQL, PostgreSQL, and Oracle. I really like to use ADS, and I don't want to have a lot of software to use my connection to the databases. Thank you very much for your effort here, and we really appreciate it if you can give us an update here.

This is a a good selling point for anyone to start to tinker with Azure products, those who's been on mysql and has been hosting their servers for years outside AWS, Azure or GCP... For a brief time after seeing the features of AzureDataStudio, I actually considered of moving my servers to Azure ... I just  need the VIM keys while doing SQL queries...

So I came here from the same April release link ( https://cloudblogs.microsoft.com/sqlserver/2019/04/18/the-april-release-of-azure-data-studio-is-now-available/ ) and installed it thinking it now has support for MySQL, just to notice it's just a feature request and that it hasn't moved for years. One begins to wonder where's the priorities, but it seems that it's made on purpose to make potential users of the tool move to MSSQL databases instead of other alternatives that sometimes we're forced to work with.
Sucks though, this just shows that it doesn't matter if an issue is the highest voted one, MS just won't listen as they say they do.

That's cloud in a nutshell. Designed to make corporations like Microsoft and Amazon more money, not to make things easier.

This issue will not be unnoticed to general users. This way Microsoft will collect more haters. Now I see their intention is to promote only Microsoft based product rather than contributing in opensource community and can't reply to this thread because they are ashamed to admit.

The point is... we're complaining about a free professional-grade tool that you've had absolutely no stake in developing.  It's like getting a free hamburger and then insulting the restaurant because they didn't give you cheese.  I find it baffling.

agreed
kakins @.***> schrieb am Mo., 18. Okt. 2021, 20:57:

The point is... we're complaining about a free professional-grade tool
that you've had absolutely no stake in developing. It's like getting a free
hamburger and then insulting the restaurant because they didn't give you
cheese. I find it baffling.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azuredatastudio/issues/4904#issuecomment-946069332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4O4EWVGE7WZIT6UNUPWSDUHRUZFANCNFSM4HEMNKUQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks for all the great feedback regarding this feature enhancement request.  The reason we haven't responded on this issue is there really isn't much to add beyond the feature is not actively being work on.  We are certainly well aware that this is the most requested enhancement for this product and we welcome engagement with this or other issues.  Please do be respectful of each other in the discussion.
We're starting a new workstream to improve support for OSS databases in ADS.  Though initially this will focus on taking the Postgres extension through GA (i.e. fixing bugs, improving compliance and filling any major feature gaps).  This could possibly extend to adding a MySQL extension but this hasn't been scoped out or approved yet.  Clearly the popularity of this issue is a great indicator that there is interest in this support.  We do have an internal MySQL extension that was put together as part of a couple intern projects a while back, but the quality wasn't at a state where it could be released.  In order to provide this support we need to first ensure there are resources available to deliver the feature at an acceptable quality bar which is why this internal project hasn't been made public.  Hope that helps provide a little context on where we're currently at with this request.

I say a little prayer! 🙏 🙏 🙏

@kburtram if the community opened a PR for this feature, given that it passes quality control, it would be accepted?

This ticket has been open since Apr, 2019. Shall we reply on the community instead of Microsoft to support MySQL? I don't think the product owner of Azure data studio has any intention on this. At least, this is totally not in high priority task list of azure data studio.

@Leonardo-Ferreira Azure Data Studio uses an extensibility model to support different data platforms.  It should be possible to build MySQL support with little or no updates to the Azure Data Studio core functionality.  We'd be happy to publish a community contributed extension that provides this support (and accept related updates needed to the core product, if applicable).

First of all, happy new year to everyone.
Any expected date for this issue to be resolved?
Thanks

If the legwork is already done with an extension version of this, but needs polish, I would really urge the team at Microsoft to try and make a case that this is something that needs to be prioritized.
VSCode has been hugely successful because of its extensibility and open architecture. It's a flat out phenomenal and powerful tool, and Azure Data Studio has the capacity to be the same level of great but it's current bottleneck is totally that it's only hanging out with SQL Server databases right now. You'd be hard pressed to find a data engineer or analyst that isn't working with MySQL at some point, and I know Microsofts initiatives want to push people into using the Azure services left and right but IMO this particular tool shouldn't be sucked into that crusade at all.

I'm afraid they cannot say anything about priority in order to be politically correct. As I understand, this team (Azure Data Studio team) is built for Azure instead of open source although azure is built based on open source.  In other words, all the IDE customized by this team is to serve the Azure services or Microsoft owned product like SQL Server. The target customers are Azure customer or Microsoft database customer instead of open source users. The goal of VS code team is different. It's really built for open source.
That's why Azure Data Studio doesn't support any open source database (postgresql or mysql). It's nothing about technical obstacle

The target customers are Azure customer or Microsoft database customer instead of open source users.

Maybe you have missed that nowadays both MySQL and PostgreSQL are available as Azure service which why supporting them also here would make sense.
https://azure.microsoft.com/en-us/services/mysql/
https://azure.microsoft.com/en-us/services/postgresql/

As someone who has to work in MSSQL, Postgresql and MySQL every day, having MySQL support in ADS is my personal dream.   I've been checking back here every few months for ... a long time now.    IntelliJ IDEA works in all 3 but the UX is not even close to on par with ADS.  Please ADS team, I'm begging you -- do it for the children! ;)
Cheers guys -- we know you're working your tails off and balancing priorities just like the rest of us.

I never missed anything.  Azure MySQL and PostgreSQL are NOT first tier citizen of Azure. That caused the priority to be very low.

As someone who daily works in all 3: MSSQL, MySQL, and PostgreSQL -- being able to use ADS as a one stop shop would be .... amazing.  I've been checking in here every couple of months with bated breath.

While looking for an alternative for this, I found https://www.beekeeperstudio.io/ - it's open source, pretty intuitive, and is working fairly well for me modulo a bug or two.

I never missed anything. Azure MySQL and PostgreSQL are NOT first tier citizen of Azure. That caused the priority to be very low.

Try Dbeaver, it Support Azure MySQL, Azure SQL, PostGreSQL ...

Dbeaver is not easy to use and it's Java based. It starts very slowly.  @datauduong

Exactly, I think that some are actually missing the point (and by some, I also mean Microsoft, or the ADS team, whatever) that, if people are requesting this feature, it's because obviously the existing alternatives just don't cut it (to say it pretty).
There's an extension for MySQL in ADS anyways, it isn't great, but it would be better to have something official, even more considering that MySQL is also an option in Azure, and the blog post that's been linked a thousand times here as well.

Let's stop begging the ADS team since I've been here for more than half year. Nothing happens. Let's start the community DIY process.
Looks we have 2 direction to go
A. create a extension to support MySQL just like what they did to support postgresql
B. customize the ADS to fully support MySQL (deep customization).
I'm not the expert of ADS coding. Can someone point me something to help determine the direction first. Then we figure out how to DIY by the community. It looks that it's easier to create an extension if we can implement every features via extension model. Any comments?

I'm going to follow azuredatastudio-postgresql. The repo is a bit old (3-4 years ago). The PMC of this repo is from Azure posgresql Team. He looks to be the team leader of Azure postgresql team. This worries me a bit. Hope there is not many secret api called via this extension.
@yualan Hi Alan, I'd like to check with you if any of your team member is working on MySQL extension or MySQL support in ADS. Friendly speaking, I don't wanna waste my time or the community time on something your team is working on. If you are not working on any of these, please confirm. Thank you!

It’s been 10 months since I last posted, but I’ve been following the conversation.
Can’t help but ask myself “If so many of us in the community want this feature and are even willing to develop it... why haven’t we?”
Obvious answer (at least to me): because we’re data professionals with expertise in things like SQL and Database Administration, not JavaScript/TypeScript.
Very different programming mindset, but we’re smart and capable folks. I’m sure many of us have fiddled with a variety of programming languages.
Also, if it does happen to be something Microsoft is working on, then we of course don't want to burn our time on it.
My mind drifts to wondering if Microsoft is waiting for the community to throw something together since so many individuals here have mentioned it.
Probably not, but I'm losing my optimism that it'll actually happen without the community doing it.
I can’t be the only one who has previously spent hours researching how to extend visual studio code/azure data studio, tried to get a development environment set up, poked around at things, and ultimately just felt lost and unsure how to approach it.
Many months ago I was starting down the path of simply trying to figure out how it’s been extended to connect to PostgreSQL, thinking if I could just mimic that implementation I could get at least something basic going for MySQL.
I also have a family and a job and couldn’t keep focus on it for long.
So if there's someone out there that has a decent understanding of appropriate steps to take to get the ball rolling, I bet there's a ton of people willing to keep it rolling.

@eilerth Thank you for raising your hand and mentioning the core issue here.
I'd like to check if anyone in this thread is willing to contribute. To kick off the project and create a new team on this, I created a telegram group: https://t.me/azuredatastudio.  If you are interested, please join us.
Hands we need

Developers who knows Javascript/Typescript well (VSCode plugin development)
Developers who knows how to setup and compile the whole codebase of VS Code
Product manager who knows mysql and mysql client very well
QA who are data analyst or DBA

This mysql extension looks to be a good candidate for mysql support on ADS.
https://marketplace.visualstudio.com/items?itemName=Oracle.mysql-shell-for-vs-code

Has there been any progress on this? I don't have any VSCode dev experience but I'm happy to help wherever I can. I am sick of mysqlworkbench

@ghood97 , no need to stick to mysqlworkbench. I've found both https://www.beekeeperstudio.io/ and https://dbgate.org/ to have a pretty slick "VS Code-like" experience, AND they're both open source.

@ghood97 , no need to stick to mysqlworkbench. I've found both https://www.beekeeperstudio.io/ and https://dbgate.org/ to have a pretty slick "VS Code-like" experience, AND they're both open source.

Amazing projects, thanks for sharing!

@ghood97 , no need to stick to mysqlworkbench. I've found both https://www.beekeeperstudio.io/ and https://dbgate.org/ to have a pretty slick "VS Code-like" experience, AND they're both open source.

Thanks. I'd give it a try. At least that DBGate one (because our multiplatform requirement).

@bbkane thanks for those suggestions. I started using dbGate today and I love it!

@bbkane yeah thanks!  I got pretty excited and explored them both.  dbgate seems the better between the 2 as beekeeper annoyingly only lets you easily access a single connection at a time -- both unfortunately choke pretty hard when trying to return the 33000 tables in one of my dbs.  It will not populate the list at all.   The only 3 IDE's i've worked with that will handle this volume of tables so far are ADS, IDEA, and dbeaver with dbeaver probably being the most effective (but man do I detest the dbeaver ui).
I might start using dbgate for a lot of tasks - I really appreciate all the filtering features it has that I've not yet seen in any other IDEs.

@ghood97 , no need to stick to mysqlworkbench. I've found both https://www.beekeeperstudio.io/ and https://dbgate.org/ to have a pretty slick "VS Code-like" experience, AND they're both open source.

Thanks a lot. No progress on mysql for Azure Data Studio for ~1 Year, so I'll uninstall it and switch to what you proposed.

Thanks folks for linking to Beekeeper Studio :heart:. Love that an app made by one person (me) can compete on some level with a Microsoft built product. My goal is to be the community favorite database management app.
@jroosameresco I'm the creator of Beekeeper Studio, would love to hear more about your use of 33k tables, we're about to do a project to optimize the app for large numbers of tables. Are you using MySQL, or another type of database (eg psql).
Some things I'd like to understand: What's the average number of columns per table? Are they partitioned in any way (eg by schema)?
Please feel free to email me at - matthew [at] beekeeperstudio [dot] io with bug annoyances or feature suggestions.
Thanks!

@ghood97 Beekeeper Studio is fully cross platform btw :-). Mac, Linux, Windows. Plus I provide a stripped-down FOSS community edition which is a very capable piece of software on it's own.

Finally, the support for MySQL in Azure Data Studio is here, it is now available in the ADS Insider's extension gallery:

you can open issues/feature requests at: https://github.com/microsoft/azuredatastudio-mysql, you can also download the visx directly from here.
It should be available in the ADS stable build pretty soon.

NO. F***ING. WAY.
I'm screaming

That's perfect. I install in macOS Monterey and all good. I need to install PostgreSQL@14 too because without this don't function.

@alanrenmsft do you foresee this extension being surfaced in the visual studio code marketplace as well?  is there something about surfacing it in azure data studio experience that makes it irrelevant for the vscode experience?

@myusrn this extension won't be available in vscode, it is based on the connection provider/query provider/dashboard features that are only available in ADS.
you can try to install the vsix directly on the ADS stable build, If I remember correctly, there were some changes in ADS core made after the current stable release.

ADS has the same keyboard shortcuts settings: https://code.visualstudio.com/docs/getstarted/keybindings
and here are the key bindings you mentioned:

if there are selected text, then the selected text will be executed.

cannot see it, Im on mac

I enabled Preview Features in settings but also do not see the MySQL extension. I guess I need to actually install the Insiders version from build?

I enabled Preview Features in settings but also do not see the MySQL extension. I guess I need to actually install the Insiders version from build?

You need to install the insiders version of Azure Data studio (linked right above your comment) then download the vsix from here: https://github.com/microsoft/azuredatastudio-mysql
Then go into the extensions pane in Azure Data Studio and select install from vsix in this menu:

So after installing the extension from the extensions tab, it downloaded resources but then did fail to start. I didn't think to get the error before restarting.
Next, I downloaded azuredatastudio-mysql-0.2.1-osx.vsix from https://github.com/Microsoft/azuredatastudio-mysql/releases. After installing, I got this error:
[Error - 2:18:42 PM] Starting client failed
Launching server using command /Users/ircraziesttaxi/.azuredatastudio-insiders/extensions/microsoft.azuredatastudio-mysql-0.2.1/out/ossdbtoolsservice/OSX/v1.6.0-mysql/mysqltoolsservice/ossdbtoolsservice_main failed.

Next I tried azuredatastudio-mysql-0.2.1.vsix, which just did what installing the extension from the extensions tab did (I'm assuming it's the same output as when I did that):
Downloading https://github.com/microsoft/pgtoolsservice/releases/download/v1.6.0-mysql/mysqltoolsservice-osx.tar.gz
(101391 KB)....................Done!
Installing MySQL Tools Service to /Users/jared/.azuredatastudio-insiders/extensions/microsoft.azuredatastudio-mysql-0.2.1/out/ossdbtoolsservice/OSX/v1.6.0-mysql

Followed by a toast saying "Failed to start MySQL tools service". (Before, that output was followed by an error message, but this time it was just the toast, no error in output.)
After restarting, I see this output:
[Error - 2:26:24 PM] Connection to server got closed. Server will not be restarted.
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /Users/ircraziesttaxi/.azuredatastudio-insiders/extensions/microsoft.azuredatastudio-mysql-0.2.1/out/ossdbtoolsservice/OSX/v1.6.0-mysql/mysqltoolsservice/ossdbtoolsservice_main
  Reason: image not found

I'm not sure what else I need to install. For what it's worth, I'm on a Macbook with an Apple chip, not Intel. Could that be the issue? Can this extension be run with an M1 chip?

open terminal & try
sudo chmod +x /Users/ircraziesttaxi/.azuredatastudio-insiders/extensions/microsoft.azuredatastudio-mysql-0.2.1/out/ossdbtoolsservice/OSX/v1.6.0-mysql/mysqltoolsservice/ossdbtoolsservice_main

FYI folks asking for help:

you can open issues/feature requests at: https://github.com/microsoft/azuredatastudio-mysql, you can also download the visx directly from here.

edit: i see you're on windows.

I'm on MacOS Big Sur. I did try your chmod command and it resulted in the same error. It sounds like it might be a chip issue. :/ I guess I'll stay tuned for updates on that.
Thanks for the help, all. Looking forward to being able to ditch DBeaver!

@IRCraziestTaxi I had the same issue at first. What I did to fix it was I uninstalled ADS and deleted all of the files (some of the extension files hung around after uninstalling ADS) and then reinstalled and it worked fine. Unfortunately, I don't know where those extension files sit on MacOS but on windows it was in my AppData folder. Hope this helps.

Well, this has been an adventure.
I found this SO answer about gettext not being found, so I followed the instructions in that answer and installed gettext and re-linked it.
For some reason, homebrew didn't link it to a /usr/local/opt path like I thought it was supposed to... so after some fumbling around (because I don't know what I'm doing - hopefully I didn't set up any problems for myself later by making a bunch of phony links) I managed to get ADS able to see the lib it wanted by doing this:
ln -s /opt/homebrew/Cellar/gettext/0.21/lib /usr/local/opt/gettext/lib

After that, the error is no longer that the lib can't be found, but that it is unusable...
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /Users/ircraziesttaxi/.azuredatastudio-insiders/extensions/microsoft.azuredatastudio-mysql-0.2.1/out/ossdbtoolsservice/OSX/v1.6.0-mysql/mysqltoolsservice/ossdbtoolsservice_main
  Reason: no suitable image found.  Did find:
	/usr/local/opt/gettext/lib/libintl.8.dylib: mach-o, but wrong architecture
	/usr/local/opt/gettext/lib/libintl.8.dylib: stat() failed with errno=1
	/opt/homebrew/Cellar/gettext/0.21/lib/libintl.8.dylib: mach-o, but wrong architecture
[Error - 3:52:32 PM] Connection to server got closed. Server will not be restarted.

Currently trying to google my way around that error, although I'm not optimistic given that it's an arch mismatch issue.

@yahorsi try installing PostgreSQL@14 (brew install PostgreSQL@14)

@nrogachev why? I need it for mysql

@yahorsi this is a architecture issue please see https://github.com/microsoft/azuredatastudio-mysql/issues/76

@yahorsi the guy above posted and it also helped me to get it running. I'm on Intel chip though,

Hi @nrogachev @yahorsi @IRCraziestTaxi @ghood97 @dsghi @vitorgga
Can you try out this VSIX in latest Azure Data Studio insider and check if this resolves the issues on MAC. (Both intel and arm based)
https://github.com/microsoft/azuredatastudio-mysql/releases/download/v0.2.2-alpha.1/azuredatastudio-mysql-0.2.2-alpha-1.vsix
This does not have dependency on installing postgresql@14.
It should work without postgresql installation also.

@rishky-msft It works! Thanks so much! I'm so glad to finally be able to ditch DBeaver!

for those on Apple Silicon, please try out the new Azure Data Studio Insiders build for Apple Silicon, details can be found here: https://github.com/microsoft/azuredatastudio/issues/16125#issuecomment-1274881795
@yahorsi

the extension is available for latest stable build now.

@myusrn the MySQL extension only works with ADS.


Hexadecimal Notation and Unsigned Integer Suffix

Don't think octal or scientific notation is needed.

Moved to GTAmodding/gta3script-specs#13


tooltip no longer working (atom-beta 1.9.0, osx, psc 0.9.2)

I can't make to tooltip to work.
I think I saw it working at some point on almost empty empty projects.
nothing is visible in the logs neither, as if hovering didn't trigger anything
btw, awesome project anyway, thanks a lot for this atom package. it's working great overall!!

@rvion after switching the compiler you'll most likely have to delete the output folder to clear any out-of-date build artifacts.

Check autocomplete (probably this doesn't work also)
Check debug console on startup - is the psc-ide-server location/version looking correct
remove output & rebuild, then switch file or restart psc-ide-server (There's a menu option)

this is a fresh install :)
@nwolverson

Check autocomplete (probably this doesn't work also)

autocomplete is working, only hovering doesn't

Check debug console on startup - is the psc-ide-server location/version looking correct

it seems that everything is working

also,
➜  psc-test $ psc-ide-server --version
0.9.2
➜  psc-test $ psc-ide-client --version
0.9.2
➜  psc-test $ psc --version
0.9.2

remove output & rebuild, then switch file or restart psc-ide-server (There's a menu option)

I did so, but it doesn't fix my problem.
Also, all of my atom packages are up to date.
Could it be because of atom 1.9.0-beta0 ?

Tell me if I can help by giving more informations :)

Maybe worth trying switching file & back to the .purs file you're editing, to make it reregister that as active file / modules that are open etc.
I'll have to check against 1.9.0 & 0.9.2, but I feel like I may have seen this before temporarily. Will probably be implications of #86 too so if this isn't obvious it may have to wait for that. (Thanks for your feedback generally)

@nwolverson I have more informations.
I created a new project
cd $dev
mkdir xxxx
cd xxxx
pulp init

I killed the previous psc-ide
started atom-beta .
and.... magic: it works in the new project. 🍏
So I tried back the previous project, and no 🔴  the initial project still doesn't have tooltip working.
I nuked most folders (output, pulp cache, etc.) but it still doesn't work in the first project.

@nwolverson Ahah ! I found something that could help you understand why it's happening:
in https://github.com/nwolverson/atom-ide-purescript/issues/101, I reported a problem where I have 2 modules, but only one triggers type-checking uppon save, while the other doesnt.
I just noticed that the file that triggers re-typechecking has tooltips, while the other hasn't. I think this is related to the same root cause. At some point, atom-ide-purescript decided that some file was "not part of the app anymore".
Also, as mentionned above and in https://github.com/nwolverson/atom-ide-purescript/issues/101, restarting the ide-server doesn't change anything/

closing in favor of https://github.com/nwolverson/atom-ide-purescript/issues/101


pass full response object

Invoke-AtomicRedTeam is changing in this PR to pass the full $response object to the Write-ExecutionLog method and the $response object will now include the process ID and exit code.
Do you mind if we put a copy of Attire-ExecutionLogger.psm1 directly into the Invoke-AtomicRedTeam project so it is easier for people to use (no need to download and import separately) and also easier to keep its version in sync with the Invoke-AtomicRedTeam version?

@clr2of8 Sorry we missed this! We've had a few people out on leave for a while. Yes, this can be directly included so it's easier to use. The intended license for this project was MIT. We'll also review this PR shortly.

Thanks! Included these changes to some others and addressed in https://github.com/SecurityRiskAdvisors/invoke-atomic-attire-logger/pull/4#top


Multiple tables?

How can I search through multiple tables connected with foreign keys?

Hi @93gaurav93, You can't at the moment with Searchy. It's only meant to provide a very simple interface for searching. My suggestion is to return the ID's that you need from the search results and then do your eloquent stuff with that.

Would be nice to be able to search multiple tables. For instance get all the books or authors LIKE %jon%


updating inherited entity error

class Party{
guid id{get;set;}
datetime creationdate{get;set;}
}

class Organization:Party
{
string FullName{get;set;}
}

DBContext.Party.OfType<Organization>().where(o=>o.Id='1111').update(i=> new Organization
{
FullName = "newName";
});

when i try to run this update an error occured telling me that there is no column called FullName when i run profiler if ound the following script generated:
UPDATE [dbo].[Party] SET
[FullName] = @p__update__0,

What kind of inheritance do you use in your Database? I think the code has no way to know where to update records.


Rename solution/projects

Solution/projects first part of the name is waaay long. Consider renaming it to something like just Seed or StarterApp.
At the end, solution should look like Seed.sln. Projects like:
Seed.Api
Seed.Domain
...

Only proyects and sln, should the folders maintain the same name?

I think it should too, yes. Thanks @Dongata!


ACS always in powersave

Describe the bug
Something broke and acs is now always in powersave in both run and monitor
To Reproduce
Steps to reproduce the behavior:

Ran command 'sudo acs run' or acs moniotr -g
Specific condition regardless of situation
See error

Expected behavior
ACS in powersave regardless of circumstances
Screenshots

On Laptop
Version 0.1.7 latest main

heres a screenshot of acs running while building a program's source code

CPU frequency is at max, but governor is still powersave

What happens when charging?

Maybe you have the old version running on systemctl?

yea lemme check

also some cores disappear in monitor mode

and by some i mean 8 of them

Cool, that looks like the one

Right now it performances when charging

We gotta go back to the flowchart

i solved the problem!
so basically on all systems with SELinux, we need to either disable SELinux (not recommended), or create a new policy group to let acs through
ill create a pr to fix it in a bit

it seems like SELinux is enabled by default in RHEL, Fedora, CentOS, RockyLinux, QubesOS, Debian
Ubuntu and OpenSUSE have it installed but not enabled by default

Raw Audit Message for refrence
type=AVC msg=audit(1643839448.993:136): avc:  denied  { read open } for  pid=1054 comm="(acs)" path="/home/Zsz/.cargo/bin/acs" dev="nvme1n1p6" ino=2438319 scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

To allow access for now:
# ausearch -c '(acs)' --raw | audit2allow -M my-acs
# semodule -X 300 -i my-acs.pp

Yay! Thanks!!

Should we make a troubleshooting.md to add this to?

Added this to the wiki, feel free to revise https://github.com/JakeRoggenbuck/auto-clock-speed/wiki/Troubleshooting


Add s (single line) flag to js/ts regex

While not in the js/ts documentation, Chrome 64.0.3282.186 and Node 8.9.4 do support the s regex flag, as well as it being a suggested flag for regex101. I feel that these are popular enough to justify adding it to the styling for the js/ts extensions.
I have tested IE, Edge and Firefox, however none of them appear to support the s flag.
I originally made this as a PR for vscode and was directed to this one

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Titansmasher sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

In the test case for #346 (the one that is failing) if you replace the s character with a g,i,m,u or y then the same issue that was originally documented in #346 will occur.
for (let i = 0; i < b.length; i++) b[i] = Math.sin(TAU440 * t++^^/s * Math.sin(t++^^/s*.5))

to
for (let i = 0; i < b.length; i++) b[i] = Math.sin(TAU440 * t++^^/s * Math.sin(t++^^/g*.5))

I dont think this introduces a new issue, rather accidentally highlighted an existing one. I dont feel I have the knowledge to be able to fix that underlying issue, should I open up a bug report for that and submit the s flag as a suggestion instead?

Closing this in favor of 8610134


Increase limits of some component types

Increase some limits from 1_000 to 10_000 to handle bytecodealliance/wit-bindgen#1019

Good point, I'll leave that limit as-is. The validation limit per-definition for some of these is smaller as well.


TypeScript declaration

Hi and thank you for the package 👍
Would be great to publish the types as well in order to use the package in TypeScript as well.
WDYT?

@gfazioli Yes, that is a great idea!  If you have the capacity, we're definitely open to a PR.
Otherwise, will keep you posted on when we free up time to work on it.

@gfazioli TypeScript definitions have been added in release v1.09 (https://github.com/golmansax/thum.io-js/releases/tag/v1.0.9).
Give them a shot and let us know how it goes!


drive pull pulls all files again

I have run drive pull to download all the files. Even if I don't make any changes on the remote, when I run drive pull, everything is downloaded again as if the local directory is empty. I expect only the differences are pulled.
Please let me know what other details I need to provide. Thanks!

Hi! Have you tried using the option "--no-clobber" ? Also, to speed things up you could use "-ignore-checksum".
Hope this helps!

Thanks, Issam2204. I have run drive pull -no-clobber -ignore-checksum and still have the same issue. I got a long list of all my files (which already exist locally) and
Addition count 2454 src: 3.11GB
Proceed with the changes? [Y/n]:

Would the giant size be a problem?

Hello @shunzh thank you for reporting this and welcome to drive!
@Issam2204 thank you for helping out with solving this issue :) welcome to drive too!
As mentioned in the README, clashing file names within the same folder will trip you out since neither your file system can even handle it. I pushed up a change yesterday that aborts on duplicates until you can selectively choose which to change. Otherwise please provide your drive version, and no a giant size shouldn't be problem.

Hello @odeke-em ,
I am using the version 0.1.9. I installed using go. I don't think I have clashing file names in a same folder. Or maybe there are but I am not aware, but the pull command doesn't warn me anything..
Thanks!

Thank you very much, your issue was very valid, this is a bug that I introduced yesterday evening. That you'll see from here.
diff --git a/src/changes.go b/src/changes.go
index 09fe24e..8031644 100644
--- a/src/changes.go
+++ b/src/changes.go
@@ -98,7 +98,7 @@ func (g *Commands) resolveToLocalFile(relToRoot, fsPath string) (local *File, er
        }

        localinfo, statErr := os.Stat(fsPath)
-       if !os.IsNotExist(statErr) { <- This is where I put the bug :) if there is no err, no need to trip out
+       if statErr != nil && !os.IsNotExist(statErr) {
                err = statErr
                return
        }

My apologies. Please get the latest from master and your issue should be solved.
Thank you for the reporting this.

Great! I'm glad that I helped.
I got Everything is up-to-date. as expected.

Cheers and please don't hesitate to reach out in case of anything.


[staging] linuxHeaders: fix missing include in swab.h

This patch has not been upstreamed but is
being used by gentoo and alpine.
Fixes pkgsMusl.libbpf

Motivation for this change
https://bugs.gentoo.org/791364
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

cc musl stakeholders @alyssais @yu-re-ka @dtzWill
Should this be done conditionally instead, like some of our other musl patches?

I personally prefer this to be unconditional so other users will use it. Patch is tiny too, so don't expect any issues.

This seems to have been fixed upstream now, so I've opened #154632 to upgrade linuxHeaders to a version that has the fix.

https://github.com/NixOS/nixpkgs/pull/154632 did it better :)


[Bug] Faulty indentation in the webhook-certificate.yaml helm template

Documentation

[x] I acknowledge that I have read the relevant documentation.

Describe the bug
The indentation of secretAnnotations is faulty.
The object is only indented by 4 spaces, but should be indented by 6 spaces.
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: {{ include "mariadb-operator.fullname" . }}-webhook-cert
  # ...
spec:
  # ...

  secretTemplate:
    {{- with .Values.webhook.cert.secretLabels }}
    labels:
      {{- toYaml . | nindent 6 }}
    {{- end }}
    {{- with .Values.webhook.cert.secretAnnotations }}
    annotations:
-     {{- toYaml . | nindent 4 }}
+     {{- toYaml . | nindent 6 }}
    {{- end }}

  # ...

Thanks for bringing this up!
We definetly need to add more test cases for helm, and not just render the default values in the CI:
https://github.com/mariadb-operator/mariadb-operator/blob/main/.github/workflows/helm.yml
Would you mind raising a PR with this?

Just seen the new PR! Looking into it! 👀


PyQt, ui thread and game logic

Game logic runs in ui thread, which makes game unresponsive now and then. Animations are pain to control too. Move game logic to a separate thread and see if this helps.

also, animations seem to be causing problems and core dumps

2 threads, worker thread and UI thread. Everything else but drawing, animations and reading input should run in worker thread. Input creates an action and hands it over to worker thread to process. Worker thread raises events as appropriate and they're (somehow) processed by UI thread. If blocking animation is running, action is not passed to worker thread.


Changing the default behavior of flutter precache

Currently the behavior of flutter precache is:

Always precache Android and iOS artifacts (if on macOS).
Optionally precache additional platform artifacts if specified via flags, like --web or --macos.
Disable precache of artifacts if provided a --no-platform.

I would like to adjust the precache behavior so that it is:

Always precache Android and iOS artifacts (if on macOS) if no other platform flags were passed
If at least one platform flag is passed, only precache the provided flags.
Disable precache of artifacts if provided a --no-platform.

@zanderso @DanTup @devoncarew @csells

sgtm

Always precache Android and iOS artifacts (if on macOS) if no other platform flags were passed

If we're going to keep a no-flags version of precache, is there a reason not to have it download all enabled platforms that are relevant to your host? It seems like preserving the conceptual meaning ("Just give me all the things that I might need") rather than exact current behavior ("Give me all the things that happened to be stable when the command was created") is going to be a much better match for the likely user model for what the command does.

I would prefer only having a flags version. I'm concerned about precache downloading way more than a user will need (eventually). Especially in terms of larger artifacts like the flutter_runner and fuchsia SDK.
But precache is currently used by the IDE tools and the google3 roller and I don't want to break them in the meantime.
I would also consider deprecating and removing the old behavior gradually. But, I'm not too set on that.

But precache is currently used by the IDE tools and the google3 roller and I don't want to break them in the meantime.

But those could easily be changed to pass flags, so that adjusting the behavior of the non-flag version later wouldn't be a problem.

I would also consider deprecating and removing the old behavior gradually.

That sounds fine too. I just think we should have a plan of record that isn't to indefinitely leave a default behavior that is going to become increasingly confusing for users (exhibit a: Greg's bug above).

But precache is currently used by the IDE tools and the google3 roller and I don't want to break them in the meantime.

For IntelliJ at least, we're just using flutter precache after the initial sdk installation to ensure that the time to run flutter create is short and relatively predictable.

And FWIW, in VS Code we never use precache (I didn't really know about it until now :-))

For IntelliJ at least, we're just using flutter precache after the initial sdk installation to ensure that the time to run flutter create is short and relatively predictable.

This seems like an argument for it including all stable platforms for as long as it exists. Presumably when desktop is stable, we don't want flutter create to be fast and predictable for mobile and randomly slow for desktop

If we're moving towards a workflow that starts with zero platforms by default, it might be odd to spend time downloading artifacts a user is not particularly interested in.

Does flutter create really require any engine artifacts to be present?

No. We may need to download the "universal" artifacts shortly after though. For example, to identify that an iOS device is attached we need the libimobile device and friends

Gotcha, create wouldn't need the artifacts, but something the user might run soon after - like doctor - would.

In https://github.com/flutter/flutter/issues/71954 @timsneath proposed:

We should simplify the options from the current set of eight choices to two general usage patterns:

No flags set: cache artifacts for platforms that are enabled in flutter config
--all-platform flag: cache artifacts for all platforms

The usage pattern that I hear is that customers want to download everything they need while they have good connectivity, so that when they go offline or onto a metered connection they're not surprised by a missing dependency. That was what drove my recommendation above. I was surprised to discover that today's flutter precache doesn't download dependencies for the platforms that are enabled.

I believe the original issue here pre-dates our decision to make flutter config/features tied to platform support. With that decision made, I see no reason to remove/deprecate the platform flags and make it driven entirely by config like @timsneath suggestions.

I see no reason to remove/deprecate the platform flags and make it driven entirely by config like @timsneath suggestions.

I agree the platform flags for precache are useful either way. Also removing them would be a breaking change. It sounds like @timsneath is suggesting that we could remove some confusion by changing the logic here to be (isEnabled(feature) || boolArg(featureFlag)) instead of &&. Would that be a problem?

Fixed by https://github.com/flutter/flutter/pull/73733

Fixed by https://github.com/flutter/flutter/pull/73733


Full clang build for standard apps

Description
Now only uses clang for all steps of the build instead of the assembly of .S files being delegated to GCC.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[x] Other (for changes that might not fit in any category)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.76%. Comparing base (b23f770) to head (1cca23b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #793   +/-   ##
=======================================
  Coverage   35.76%   35.76%
=======================================
  Files          13       13
  Lines        1591     1591
=======================================
  Hits          569      569
  Misses       1022     1022

Flag
Coverage Δ

unittests
35.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

One point of attention is the branch instruction b from .S files is assembled differently

with GCC : b.n 2 bytes
with clang : b.w 4 bytes


Request for adding TinyPICO Nano board

Hi,
The TinyPICO Nano board is a ESP32 PICO D4 board from Unexpected Maker.
Photos, pinouts & details are here:
https://unexpectedmaker.com/shop.html#!/TinyPICO-Nano/p/578888860/category=154494282
Many thanks
Tony

The board is now available.


Support CREATE TABLE via SQL for infinite streams

Which issue does this PR close?
Closes #6251
Rationale for this change
N/A
What changes are included in this PR?

Refactor create external table parser to use parse_one_of_keywords
Add support for CREATE UNBOUNDED EXTERNAL TABLE ... statement

Are these changes tested?
Yes
Are there any user-facing changes?
No API change. Add more SQL functionality.

cc @ozankabak and @mustafasrepo

This PR is LGTM!. Thanks @aprimadi for this work.

Thank you for the review @mustafasrepo

@alamb is it supposed to merge automatically?


fix: controller_instance.check_permissions can not use django-orm

When you add django-orm operations in has_permission, the system will fail with this exception:
django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async.
For example:
    def has_permission(
        self, request: HttpRequest, controller: "ControllerBase"
    ) -> bool:
        user = request.user
        has_perm = True
        if hasattr(controller, "model"):
            model = controller.model
            app = model._meta.app_label
            has_perm = user.has_perm(f"{app}.view_{model.__name__}")
            if request.method in ("PATCH", "POST"):
                has_perm = user.has_perm(f"{app}.change_{model.__name__}")
        return bool(user and user.is_authenticated and user.is_active and has_perm)

This quick patch will provide a fix.

@eadwinCode Hi eadwinCode, first of all thanks for your great library, it is awesome.
We plan to heavily use the Permission class, but it is blocked by this issue.
If you could make the controller_instance.check_permissions() async, that is even better. But it might take some more time. So I guess this quick patch can at least get the Permission class works if there is any django-orm calls.
Appreciate if you can help review.
Best

@freemindcore, Thanks for working on this. I will review and drop my feedback if any.

@freemindcore, please run
make fmt && make lint

To fix the linting failing test
I will add pre-commit hook after now.

Thanks, done as advised.