String autocomplete issue with dots

VSCode Version: Code - Insiders 1.6.0-insider (be5e8d5733c1c012d7e3a6c7e049b59d67c13978, 2016-09-26T06:05:01.421Z)
OS Version: Darwin x64 16.0.0

Steps to Reproduce:

Trying to change ../Error to ../../Error (by typing quickly ..) - it puts one dot and autocompletes with first intellisense word

.core should not be a suggestion in there.

core is one of my folders - I think that it just shouldn't autocomplete when pressing dots (in path)

Just an update - that this is an issue with strings in general (and has nothing to do with path)
Here I really wanted to type c.c.c.c.c.c.c.c.c.c.c.cstring:

PS. Thats in TS file
Thanks

@wallverb thank you for opening this issue.
I'm not seeing the same behavior. I created a blank .ts file and started typing. Can you share a minimal repo where you are seeing this behavior? Maybe there is something going on with your setup.

This is a mixture of issues.
var x: {
    a: {
        b: {
            c: 10;
        }
    }
}
x./*$*/

. is both a completion commit character and a completion prompt character.
So above, if you hit . twice it'll prompt completion and then it'll complete to x.a.
Recently TypeScript started giving you completions for paths. In a path, .. is a valid sequence to go up one level, however .. will prompt and immediately complete on the first entry you have. Clearly . shouldn't be a commit character here, so there needs to be some indicator for whether a completion entry should be committed on. That way editors could adjust their commit behavior (like with isNewIdentifierLocation).

@DanielRosenwasser thank you for your comments. Why am I not seeing this in my case?

You're not seeing the issue because you're dotting in an import specifier (the string in an import statement).

My example is a response to OP's comment

Just an update - that this is an issue with strings in general

It seems he was seeing the issue with strings in general. His animation shows the issue happening with a string in addition to the import statement.
I am also not seeing the issue in an import statement.

That seems related to a bug in the language service

yea - initially i thought it was related to path, but is more generally
here was my repro:
interface Test {
    aTest: string
}

const a : Test = {
    aTest: ''
}

I opened up https://github.com/Microsoft/TypeScript/issues/11232 for the other issue.

@wallverb thank you for the simple example. I was able to recreate.
@dbaeumer this is a good candidate to fix on our end, I believe.
See @DanielRosenwasser's comment to clarify the issue above.

Looks like I found a duplicate.

Is this a VSCode issue or a TypeScript issue? The duplicate refers to a TS issue.

@Seikho TS provides the JavaScript language service for VS Code, so the duplicate is valid despite the different repos. This issue would have been migrated to TS once we determined it needed to be fixed.


Storybook not showing example code

Description
When viewing the "Story" tab in the addons panel, no sample code is being displayed

Component(s) impacted
all storybook examples https://web-components.carbondesignsystem.com/
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon Web Components version
canary
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website

CodeSandbox example
https://web-components.carbondesignsystem.com/
Steps to reproduce the issue (if applicable)
visit a component story and view the "Story" tab in the addons panel
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@emyarod there has been an update to the documentation, but we need to do a release to publish them

@annawen1 oh I see, would that address both the blank "Docs" and "Story" tabs?

looks like https://github.com/carbon-design-system/carbon-web-components/pull/911 will resolve the issue with the "Docs" tab
updated the ticket to refer to the "Story" addon only!


Problem building Fabric Satellite

I am facing an issue when running fabric:
octo@kame-house:~> harbor build fabric
[+] Building 10.0s (12/14)                                                               docker:default
 => [fabric internal] load build definition from Dockerfile                                        0.0s
 => => transferring dockerfile: 592B                                                               0.0s
 => [fabric internal] load metadata for docker.io/pkgxdev/pkgx:latest                              0.9s
 => [fabric internal] load .dockerignore                                                           0.0s
 => => transferring context: 2B                                                                    0.0s
 => [fabric  1/10] FROM docker.io/pkgxdev/pkgx:latest@sha256:b8042d48820c079898d69e024b1d38711d8a  0.0s
 => [fabric internal] load build context                                                           0.0s
 => => transferring context: 36B                                                                   0.0s
 => CACHED [fabric  2/10] WORKDIR /app                                                             0.0s
 => CACHED [fabric  3/10] RUN pkgx install git pipx python ffmpeg                                  0.0s
 => CACHED [fabric  4/10] RUN python --version && pipx --version && ffmpeg -version                0.0s
 => CACHED [fabric  5/10] RUN git clone https://github.com/danielmiessler/fabric.git               0.0s
 => CACHED [fabric  6/10] RUN echo 'export LD_LIBRARY_PATH=$(find / -name "*.so" -exec dirname {}  0.0s
 => CACHED [fabric  7/10] WORKDIR /app/fabric                                                      0.0s
 => ERROR [fabric  8/10] RUN pipx install .                                                        8.9s
------
 > [fabric  8/10] RUN pipx install .:
1.882 creating virtual environment...
1.940 creating shared libraries...
6.072 upgrading shared libraries...
8.050 determining package name from '/app/fabric'...
8.651 ERROR: Directory '/app/fabric' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
8.652 Cannot determine package name from spec '/app/fabric'. Check package spec for
8.652 errors.
------
failed to solve: process "/bin/bash -c pipx install ." did not complete successfully: exit code: 1

Apparently the setup.py and project.toml files are missing from the /app/fabric directory. I have checked the original fabric repository, and also the files compose.x.fabric.ollama.yml , compose.fabric.yml and fabric/start_fabric.sh but I can't really spot anything.

Thanks for bringing this to my attention.
Indeed, fabric was updated and is now completely different compared to the version that was integrated with Harbor.
I've updated the integration in https://github.com/av/harbor/releases/tag/v0.1.30

No, thank you for developing this amazing tool!
Now, I could build fabric, but it gets stuck for me when using harbor fabric --setup
octo@kame-house:~/go> harbor fabric --setup
[+] Building 0.0s (0/0)                                                                                docker:default
[+] Building 0.0s (0/0)                                                                                docker:default

And stays like that forever. I have tried to see the logs of the container it creates, but there's no logs.

@SimonBlancoE , oh, sorry! I know exactly what it is, I missed --setup as one of the commands that should be exempt from TTY flag in docker.
I just pushed a hotfix, until it's released you can try it by upgrading to the latest, via:
harbor update --latest

I was just going to edit my latest message, I added the --setup command to the list and made it work.  xD

One more quirk, and a workaround:
1.- Although I could detect the ollama url and select llama3.1:latest in the fabric setup, if you try a command like cat $(h home)/harbor.sh | head -n 100 | h fabric -sp create_npc, the console will say model "llama3.1:8b" not found, try pulling it first.
I double-checked that both fabric and ollama were seeing the same models:
octo@kame-house:~/harbor> h fabric --listmodels
[+] Building 0.0s (0/0)                                                                                docker:default
[+] Building 0.0s (0/0)                                                                                docker:default

Available vendor models:

DryRun

	[1]	dry-run-model

Ollama

	[2]	llama3.1:latest

octo@kame-house:~/harbor> h ollama list
19:28:33 [INFO] Service ollama is running. Executing command...
NAME               ID              SIZE      MODIFIED
llama3.1:latest    42182419e950    4.7 GB    20 hours ago

2.- A workaround is to add  --model=llama3.1:latest to the h fabric command. In order for that to actually work, I needed to add the --model switch to the exempt list.

Yes! This is a known quirk in Ollama - its tags are not synonymous even if linked to the same sha under the hood, another way to address this would be harbor ollama pull llama3.1:latest. There's also a fabric specific setting you can adjust to change the used model:
# Get/set the model for the fabric to use
harbor fabric model

Nice, In any case I guess the main problem is sorted so I'm closing the issue. Thanks!

Nice, In any case I guess the main problem is sorted so I'm closing the issue. Thanks!

Awesome, thanks for taking action after noticing something doesn't work. At the current stage of the project, I might miss things like that easily. So, cheers, and hopefully see you around!


<EMAIL_ADDRESS>

Update to mapnik 3.3.x series and new VT simplification.

Not deleting this branch for a short bit while we update references.


Revert "increment umbrella chart minor version"

This reverts commit 22b90254455f277750ea450da0483318569de8cf.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Include the country in the address comparison

Currently, the address comparison in the backend order details does not include the countries of the billing and shipping addresses. However, since some customers change the country to get around certain country restrictions, it is important to compare the countries, too. This PR adds this check, by comparing the countryIds of the two addresses.
Because this fix is located in the ExtJS backend order app, I didn't include test cases.

Dear Contributor,
Thank you for your contribution to Shopware. We value your engagement.
Unfortunately we have to close all existing Pull Requests.
This is due to the new Shopware 5 Major Release and a restructuring of the branch names.
If your contribution is still relevant for Shopware 5, a new pull request is highly appreciated.
We are very sorry for this inconvenience.
Greetings from the Shopware Team.


Tailwind LSP support in Ruby files for Phlex Components

Check for existing issues

[X] Completed

Describe the feature
Similar to https://github.com/zed-industries/community/issues/2153 and https://github.com/zed-industries/community/issues/2057, Tailwind LSP auto-complete would be useful in Ruby (.rb) code for authoring Phlex components.
If applicable, add mockups / screenshots to help present your vision of the feature
I have this working in Sublime Text at https://gist.github.com/bradgessler/1907d07593918fb5d2f27911bccc75f4
Here's what it looks like in .rb files when decorating the class: attribute with a Tailwind class:

I agree this would be a kiler feature. One way to get there might be to support language server configuration so the community can build support for things like this. See https://github.com/zed-industries/community/issues/1968
I would be a lot more motivated to build a Phlex extension for ruby-lsp if I could configure Zed to use it.


Authentication using Github OAuth2 does not save field email

After login using /auth/github, Feathers redirect to / successfully. New user document created, but missing the field email.
How to reproduce :

Create new feathers app using feathers generate app
Create authentication using feathers generate authentication
Choose Auth Provider : Github & Service : Mongoose

Node : 7.8.0
Yarn : 0.24.5
OSX Sierra 10.12.5

It will only save githubId since many oAuth providers won't give you the email address by default. You can customize what is being saved with your own verifier as documented here.

I have created new file : CustomVerifier
import oauth2, { Verifier } from 'feathers-authentication-oauth2';

class CustomVerifier extends Verifier {
  verify(req, accessToken, refreshToken, profile, done) {
    done(null, user, payload);
  }
}

export default CustomVerifier;

And an error occurs :
/Users/hedikasmanto/Workspace/sample-feathers/node_modules/feathers-authentication-oauth2/lib/index.js:106
      var verifier = new Verifier(app, oauth2Settings);
                     ^

TypeError: Verifier is not a constructor

How are you providing the verifier to the oAuth plugin?

Thanks for your reply.
I have followed the documentation. And here is the authentication.js file.
Please correct me if I am wrong
const authentication = require('feathers-authentication');
const jwt = require('feathers-authentication-jwt');
const local = require('feathers-authentication-local');
const oauth2 = require('feathers-authentication-oauth2');
const GoogleStrategy = require('passport-google-oauth20');
const GithubStrategy = require('passport-github');
const CustomVerifier = require('./custom-verifier');

module.exports = function () {
  const app = this;
  const config = app.get('authentication');

  // Set up authentication with the secret
  app.configure(authentication(config));
  app.configure(jwt());
  app.configure(local(config.local));

  app.configure(oauth2(Object.assign({
    name: 'google',
    Strategy: GoogleStrategy
  }, config.google)));

  app.configure(oauth2(Object.assign({
    name: 'github',
    Strategy: GithubStrategy,
    Verifier:CustomVerifier
  }, config.github)));

function customizeGithubProfile() {
  return function(hook) {
    console.log('Customizing Github Profile');
    // If there is a github field they signed up or
    // signed in with github so let's pull the email. If
    console.dir(hook.data);

    if (hook.data.github) {
      hook.data.email = hook.data.github.email;
    }

    // If you want to do something whenever any OAuth
    // provider authentication occurs you can do this.
    if (hook.params.oauth) {
      // do something for all OAuth providers
    }

    return Promise.resolve(hook);
  };
}

  // The `authentication` service is used to create a JWT.
  // The before `create` hook registers strategies that can be used
  // to create a new valid JWT (e.g. local or oauth2)
  app.service('authentication').hooks({
    before: {
    create: [customizeGithubProfile()],
    update: [customizeGithubProfile()]
      /*
      create: [
        authentication.hooks.authenticate(config.strategies)
      ],
      remove: [
        authentication.hooks.authenticate('jwt')
      ]
      */
    }
  });
};

@hedikasmanto I think that the customizeGithubProfile should go on the users hooks and not in the authentication
app.service('users').hooks({
  before: {
    create: [customizeGithubProfile()],
    update: [customizeGithubProfile()]
  }
});

hey @hedikasmanto I've had the same problem now and I realized it's a simple ES5 & ES6 usage mistake  😅
if you will use as follows:
const CustomVerifier = require('./custom-verifier');

then you should export the module in CustomVerifier.js as follows
module.exports = CustomVerifier;

Additionally some oAuth providers require the email to be requested in the scope. I'm going to close this since it is provider specific and not a general issue with the authentication module.


Ignore more build directories

Discovered that I could use "cmake.buildDirectory": "${workspaceFolder}/build.${buildKit}", in VS Code to keep around multiple build dirs. That creates build.__unspec__ and build.32blit though, so needed to extend the gitignore.
(Probably something like build.Visual Studio [version] [platform] on Windows...)

Thank you!


Some IO Changes

Save function should now be included in GUI. Example and Identity2 can't be saved however.
On startup, Matrixonator will find and load in all saved matrices from file and displays them.
Fixed IO to detect OS and modify path separators accordingly making it properly cross platform. No idea why the hell Linux let you use Windows Path separators for directories until now...

Very nice changes! Really like the "load all on startup" feature.


Decrease coverage thresholds for assets-controllers

The test suite for this package is failing intermittently, likely due to indeterminism that is present in some of the tests. Reduce these numbers until we are able to track down what's happening.

I believe https://github.com/MetaMask/controllers/pull/1002 already includes this change. we may be able to close this PR depending on how quickly that gets merged.

Cool. Closing then 👍🏻


Accessibility pdf

Just found an errant . I missed first time. All good now. Will merge once circle.ci has done its thing.


Exception when running flutter linux desktop app

This is the output i get when i try to run a newly created linux desktop app:

$ flutter run
Launching lib/main.dart on Linux in debug mode...
CMake Error at CMakeLists.txt:21 (target_compile_features):
target_compile_features no known features for CXX compiler
"Clang"
version 6.0.0.
Call Stack (most recent call first):
CMakeLists.txt:44 (apply_standard_settings)
Building Linux application...
Exception: Unable to generate build files

I am running Pop_OS 20.04 and installed flutter (1.23.0-18.0.pre) via snap

flutter doctor output:

[✓] Flutter (Channel dev, 1.23.0-18.0.pre, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.50.1)
[✓] Connected device (1 available)

Hello @malown ,
Could you please post the output of flutter run -v
Thank you!

$ flutter run -v
[  +83 ms] executing: [/home/malown/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +29 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 37ebe3d82a9d5faeda7d3c1a6ad193030210a2cc
[        ] executing: [/home/malown/snap/flutter/common/flutter/] git tag --points-at HEAD
[   +9 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.23.0-18.0.pre
[   +7 ms] executing: [/home/malown/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic
@{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/home/malown/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +35 ms] executing: [/home/malown/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +36 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] executing: /home/malown/Android/Sdk/platform-tools/adb devices -l
[  +39 ms] List of devices attached
[   +4 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +160 ms] Generating
/media/INTERN2/Projekte/geometrysolver/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistr
ant.java
[  +62 ms] Starting incremental build...
[   +3 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +7 ms] complete
[   +3 ms] Launching lib/main.dart on Linux in debug mode...
[   +4 ms] /home/malown/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/malown/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapsho
t --sdk-root
/home/malown/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tools.WENXLU/flutter_tool.SLPYSF/app.dill --packages .packages -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/01094840f26094a3fe371d8be6b9cb48.cache.dill.track.dill --flutter-widget-cache
[  +15 ms] Building Linux application...
[  +11 ms] <- compile package:geometrysolver/main.dart
[   +1 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
/media/INTERN2/Projekte/geometrysolver/linux
[  +36 ms] CMake Error at CMakeLists.txt:21 (target_compile_features):
[   +2 ms]   target_compile_features no known features for CXX compiler
[        ]   "Clang"
[        ]   version 6.0.0.
[        ] Call Stack (most recent call first):
[        ]   CMakeLists.txt:44 (apply_standard_settings)
[        ] -- Configuring incomplete, errors occurred!
[        ] See also "/media/INTERN2/Projekte/geometrysolver/build/linux/debug/CMakeFiles/CMakeOutput.log".
[        ] See also "/media/INTERN2/Projekte/geometrysolver/build/linux/debug/CMakeFiles/CMakeError.log".
[   +9 ms] Building Linux application... (completed in 0.1s)
[+6297 ms] Exception: Unable to generate build files
[   +1 ms] "flutter run" took 6,740ms.
[   +4 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:618:7)

#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:1005:18)
#3      _rootRunUnary (dart:async/zone.dart:1198:47)
#4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1198:47)
#13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#18     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#19     _rootRun (dart:async/zone.dart:1190:13)
#20     _CustomZone.run (dart:async/zone.dart:1093:19)
#21     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#22     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
#23     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
[ +254 ms] ensureAnalyticsSent: 252ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[  +11 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

hI @malown
Based on your logs, clang seems to be 6.0.0
[ +36 ms] CMake Error at CMakeLists.txt:21 (target_compile_features):
[ +2 ms] target_compile_features no known features for CXX compiler
[ ] "Clang"
[ ] version 6.0.0.
[ ] Call Stack (most recent call first):
[ ] CMakeLists.txt:44 (apply_standard_settings)
[ ] -- Configuring incomplete, errors occurred!
[ ] See also "//linux/debug/CMakeFiles/CMakeOutput.log".
[ ] See also "/*************/build/linux/debug/CMakeFiles/CMakeError.log".

Please check https://ubuntu.pkgs.org/20.04/ubuntu-universe-i386/clang-10_10.0.0-4ubuntu1_i386.deb.html
Can you please provide your flutter doctor -v with verbose
Thank you

Please check https://ubuntu.pkgs.org/20.04/ubuntu-universe-i386/clang-10_10.0.0-4ubuntu1_i386.deb.html
Can you please provide your flutter doctor -v with verbose

It looks like the snap package comes with it's own clang

$ flutter -v doctor
Downloading android-arm-profile/linux-x64 tools...                  1.3s
Downloading android-arm-release/linux-x64 tools...                  0.8s
Downloading android-arm64-profile/linux-x64 tools...                0.5s
Downloading android-arm64-release/linux-x64 tools...                0.5s
Downloading android-x64-profile/linux-x64 tools...                  0.6s
Downloading android-x64-release/linux-x64 tools...                  0.5s
[✓] Flutter (Channel dev, 1.23.0-18.0.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.23.0-18.0.pre at /home/malown/snap/flutter/common/flutter
• Framework revision 37ebe3d82a (6 days ago), 2020-10-13 10:52:23 -0700
• Engine revision<PHONE_NUMBER>
• Dart version 2.11.0 (build 2.11.0-213.0.dev)
[!] Android toolchain - develop for Android devices
• Android SDK at /usr/lib/android-sdk
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
✗ No valid Android SDK platforms found in /usr/lib/android-sdk/platforms. Directory was empty.
• Try re-installing or updating your Android SDK,
  visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
  instructions.

[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
instructions).
[✓] VS Code (version 1.50.1)
• VS Code at /usr/share/code
• Flutter extension version 3.15.0
[✓] Connected device (1 available)
• Linux (desktop) • linux • linux-x64 • Linux
! Doctor found issues in 2 categories.

Hi @malown
For Flutter on snap related issues, please file an issue on their dedicated Github repository
As this isn't an issue with a standard git clone installation
Closing. If you disagree, please write in the comments and I will reopen it.
Thank you


GL_RED is not a valid internalFormat in OpenGL 2.1

These lines assume that GL2 supports GL_RED, which is actually only in core since GL3.0 (and GL_EXT_texture_rg in GLES land).
GL_LUMINANCE is available since GL2.1, but disappears in OpenGL 4 (which should be covered by the GL3 cases).
https://github.com/memononen/nanovg/blob/e70a78e42e781bc73393afe47a62e6c049197a0b/src/nanovg_gl.h#L757-L763
First case should be for GLES2 and GL2. #else case will only with GL3
https://github.com/memononen/nanovg/blob/e70a78e42e781bc73393afe47a62e6c049197a0b/src/nanovg_gl.h#L849-L853
Same here, second case doesn't consider GL2.

Good catch! Would you mind making a PR?


Set up: Email and google/github social login

Add next auth configs for setting those up

Add normal email flow
Add GitHub login
Add Google login

Implementation Details:

Fill this after the task is done

Acceptance test:

User should be able to login with all three accounts

For now only GitHub is done
Email and google social login are yet to be done!


lava bucket glitch with tank

Was playing FTB unstable 1.10.2 on curse launcher when i clicked on a tank with a empty bucket It gave me a stack of 1000 lava buckets.
1.Make tinkers construct smeltery
2.place two full lava tanks underneath seared tank
3.set bottom tank to push up to middle tank
4.set middle tank to push up to seared tank
5.click with 1 empty bucket

See #3507


Trigger Snappi Test CI after Snappi ixnetwork

resolves https://github.com/open-traffic-generator/snappi-ixnetwork/issues/495

@ASHNA-AGGARWAL-KEYSIGHT make sure the CI is fully ran


Added editor.fullScreenOnStart functionality to Config file.

I don't exactly know why the commits for fixing #196 are listed here, but the changes in index.tsx and Config.ts enable fullscreen startup

That's great that you're getting your feet wet in the typescript world :) Overall the change looks good, I just had some minor comments. It looks like the build is failing as well - seems like a missing comma / lint issue in Config.ts. Thanks for the PR!

@extropy: I fetched upstream and merged in (glad to finally learn how git actually works). In the 'compare' section of the future PR, it doesn't show the diff of  the copy-paste-redo-undo menu, but the commits are still listed.... I'm assuming I have to rebase but I've no clue what or how that works

@bert88sta - great, the diff looks good now! As long as the 'compare' section looks good then we're set. You could potentially 'rebase', which lets you pick and choose commits to be applied on top of master, to get rid of those old ones - but I'll do a squash merge here, which will combine all the commits into a single commit and bring into master. Git can be pretty intense, especially at first :)
Thanks for the contribution!


Uar 1352 remove pages reachability

JIRA link
https://companieshouse.atlassian.net/browse/UAR-1352
Change description
Transfer the is remove flag in session to  the start of the remove journey, while keeping the creation of the overseas entity where it is in the presenter controller as is the case for the update journey on the date page as these respective pages follow the page where the entity id is add d in each journey.
Work checklist

[x] Tests added where applicable
[ ] UI changes meet accessibility criteria

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

Looks good as a PoC. You could make it a draft PR as I don't think it's ready to merge yet @mattch1 . We need to discuss as a team.
When I get time I'm going to check out the branch locally and see how it runs.

A different solution has been found so will close this draft.


Start DreamBooth problem: NameError: name 'INSTANCE_DIR' is not defined

Every time I start the training in dreambooth this error happen

You missed the session and instance images cell


Add an option to add custom name for event.

I'm submitting a...

[x] New feature request
[ ] Enhancement to existing code
[ ] Bug report

Do you plan to work on this yourself?
Yes
If yes, what coding language will it be written in?
HTML, and javascript
Expected behavior
I was thinking of adding an input label in script, so that name of event for which the score is maintained, can be customized. Currently, it is by default showing UEFA league. With this feature, it can be customized.

@Ayush7614 Will this issue/PR will be counted for Hacktoberfest 2022 ?
Anyways, I'll be happy to work on this feature addition.


Extension issue

Issue Type: Bug
Extension Name: php-intellisense
Extension Version: 1.0.11
OS Version: Windows_NT x64 10.0.18362
VS Code version: 1.71.0

:warning: We have written the needed data into your clipboard. Please paste! :warning:

There is no provided data. Please state the PHP version and output of Output / PHP Language Server.


[Bug Report] Certain UI elements don't function with Botplay enabled

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
I don't know if it's x86 or x86_64, but I know for a fact it's a windows build, plus at the time of writing it's currently the only build of 1.5.1 available from the releases page.
What version of the game are you using? Look in the bottom left corner of the main menu.
1.5.1 Stable
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Enable Botplay and load any song.
Please describe your issue. Provide extensive detail and images if possible.
Enabling Botplay makes p1's strumline stay static instead of lighting up when notes hit (intended behavior can be seen on p2's side with light cpu strums enabled), as well as prevents note rankings (i.e. the SICK!!, GOOD!, BAD, SHIT popups that appear based on note accuracy) from appearing.
https://youtu.be/AWAgwKQfnVA

Hi - Note ranking disable is purposeful. BF with static notes is a bug.

Hi - Note ranking disable is purposeful. BF with static notes is a bug.

Wasn't a bug before CPU strums lighted up as well, guess there's that to "fix" now too.

#893


Respond to Contact Form Responses

This issue is automatically opened and closed through Zapier.
When this issue is open, there are contact form responses that I have yet to respond to. When I have responded to all contact form responses, this issue is closed.

This issue is obsolete - Zapier sends me emails instead of opening/closing this issue now.


Fetch stream should return Event wrapper objects

So you get the version, the id, and potentially header information

Closed by https://github.com/JasperFx/marten/pull/304


"Burdea" is listed in the drop-down menu

Description:
"Burdea" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Burdea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Burdea, Argeș (Căldăraru)".


with fbcunn, cutorch.test() only works with Titan X?

After installing fbcunn, I notice many tests in cutorch.test() fail on my machine. For instance, functions like fill(), zeros() all fail with error messages like:
install/share/lua/5.1/cutorch/test.lua:602: cuda runtime error (8) : invalid device function at torch/extra/cutorch/lib/THC/THCTensorMath.cu:318
I notice this problem with Titan and K40... For a different machine with Titan X, the same installation works fine and passes all tests.

@jiajunwu I run into the same issue; may I ask how did you resolve it? Thanks!

I ended up reinstalling torch on a machine with Titan X (before it was installed on a machine with only Titan), and it works fine for all GPUs.


base64 is invalid

Running atob on capture returns an error DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

Sorry, I was taking everything incl the content type

@skuzzymiglet i just had this issue today, but couldn't remedie the situation.
How much of data:image/jpeg;base64,/9j/4AAQSk... did you slice?
I tried removing data:, image/jpeg; and base64, with no luck.

I realized that the returned value is actually a dataUri that happens to be base64 encoded. Once I knew that, I was able to convert to Blob.
Perhaps the READ.ME could be updated to:
Methods

name
param
notes

capture
void
Capture the current image through the webcam as base64 encoded dataUri


removed axios, disabled negative cost in newslot, proper yelp api calls…

removed axios requests
disabled negative costs in new activity
proper yelp api calls only when activity created
warning toast and corrected success toast
specified selected date on new activity
snackbar timings changed
TODO (Rohit): allow negative costs in edit cost after andre implements

Added some error handling behavior. Good call on the text shadow; just changed it a bit to be less harsh.
Give it another review if you'd like


Automatic upgrade of infrastructure stack

Rancher Versions:
Server: v1.5.0
rancher/metadata from v0.8.11 to v0.9.1
rancher/network-manager from v0.5.3 to v0.6.6
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Launch rancher-server:v1.5.1
Create a new host
After some mins (~30mins) the infrastructure stack, network-services more specifically, are automatically upgraded.
Note that the setting upgrade.manager defaults to false and was not changed.

@brunograz were you upgrading from a previous version of Rancher? If so what version? At any rate, we had to automatically upgrade those services in the 1.5.0 release because of a refactoring that made backwards compatibility not possible. We mentioned it in the release notes under the Important - Upgrade section. I suspect this  is at the root of what you observed.

@cjellick I was not upgrading from a previous version. Just launched rancher-server v1.5.0 and noticed the  upgrade of network-services stack.
As you pointed out, this is mentioned in the release notes and is expected to happen.
Many thanks.


EventHub: moved VNet, IpFilter rules and Kafka from 2018-preview to 2017 API Version

approved PR  for 2018-preview API Version : https://github.com/Azure/azure-rest-api-specs/pull/3294
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[X] The title of the PR is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[X] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[X] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[X] I have read the contribution guidelines.
[X] My spec meets the review criteria:

[X] The spec conforms to the Swagger 2.0 specification.
[X] The spec follows the guidelines described in the Swagger checklist document.
[X] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-go

@v-Ajnava could you create a commit of original files copied into this version before changes from the new version were introduced

@dsgouda , we are moving the VNetRule, IPFilterRule and EnablleKafka from 2018-preview to 2017 API version. For 2018-Preview version the only .Net SDK was published with Version 2.8.0-preview. When publishing the new SDK for 2017 (stable) the current PR, we will bump the Major version which will be - 3.0.0


Video coding session failure if video already exists

Rare instance encountered where cp_rename fails when copying coded video to session directory and a FileExistsError is thrown unhandled.
Solution:

Wrap this function call in a try-except block and warn user that video did not save properly.

Closed with #21


 I'm experiencing segfaults and internal errors ("Internal error: _some garbage characters_".) when using --watch flag.  I'm running windows 7x64. File is saved with utf-8 encoding. I've tried rebuilding binary, crated a new project with fresh dependencies with the same results. I'm installing Visual studio right now, I've got .pdb files set up and I'll try to do the same steps as this user. I will update in this thread status of my investigation.

This is what I get so far. I need to build node-sass in release mode to get ctx contents, is that correct?

Ok, I've build in debug mode. Now this is interesting:

ctx in text form
-   ctx 0x0000000002d604c0 {type=SASS_CONTEXT_FILE (1) output_string=0x0000000000000000 <NULL> source_map_string=...} Sass_Context *
+   Sass_Options  {source_map_embed=false source_map_contents=false source_map_file_urls=false ...} Sass_Options
    type  SASS_CONTEXT_FILE (1) Sass_Input_Style
-   output_string 0x0000000000000000 <NULL> char *
      <Unable to read memory> char
-   source_map_string 0x0000000000000000 <NULL> char *
      <Unable to read memory> char
    error_status  3 int
-   error_json  0x0000000000000000 <NULL> char *
      <Unable to read memory> char
-   error_text  0x0000000002563fc0 "ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ" char *
      -35 'Ý' char
-   error_message 0x0000000002c2af40 "Internal Error: ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ\n" char *
      73 'I'  char
-   error_file  0x0000000000000000 <NULL> char *
      <Unable to read memory> char
    error_line<PHONE_NUMBER>3709551615  unsigned __int64
    error_column<PHONE_NUMBER>3709551615  unsigned __int64
-   error_src 0x0000000000000000 <NULL> const char *
      <Unable to read memory> const char
-   included_files  0x0000000000000000 {???}  char * *
      <Unable to read memory> char *

Alright, after learning some cpp I've found where the error comes from:
https://github.com/sass/libsass/blob/4f74571d78d738ea5489d588550a26c81a45164b/src/sass_context.cpp#L141
So it's a bug in libsass, however node-sass should not cause segfaults when sass_context_get_error_json returns empty value.

Thank you for your analysis! Could this have the same immediate cause like #2040 - libsass unable to produce working JSON on error involving encoding problems?

I thought so, but it's not the case, because sometimes to trigger the error I have to change and save the file a few times (which is PITA in debugging it as I don't know if it's time to step into function or let it go further). Currently I'm dug in libsass, and I see really strange things:

Ok, my last findings, I can't dig deeper without knowledge of C++ magic.
First, I was catching std::runtime_error, and got this:

Then I got to Sass::handle_error:

Here's the full e content:
-   e {...} stdext::exception & {std::runtime_error}
-   [std::runtime_error]  {...} std::runtime_error
-   std::exception  {_Data={_What=0x000000000266b860 "ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ" ...} }  std::exception
-   __vfptr 0x000007fed92a4208 {binding.node!void(* std::runtime_error::`vftable'[4])()} {0x000007fed8f32830 {binding.node!std::runtime_error::`scalar deleting destructor'(unsigned int)}, ...}  void * *
    [0] 0x000007fed8f32830 {binding.node!std::runtime_error::`scalar deleting destructor'(unsigned int)}  void *
    [1] 0x000007fed8f356c0 {binding.node!stdext::exception::what(void)} void *
-   _Data {_What=0x000000000266b860 "ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ" ...} __std_exception_data
-   _What 0x000000000266b860 "ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ" const char *
      -35 'Ý' const char
    _DoFree true (204)  bool

Something transforms std::runtime_error? I do not understand what is happening anymore, so I'll just leave this to better programmers.

std::runtime_error is a result of unhandled C++ exception. Great job!

This is probably fixed in 4.8.0


N queens

Description
this is the problem that will help to understand the concept of the backtracking.
The N-Queens puzzle is a classic problem in computer science and mathematics. In this puzzle, the goal is to place N chess queens on an N×N chessboard in such a way that no two queens threaten each other.
DSA Problem
51. N-Queens

Kindly assign me this issue @iamdestinychild


Question on composer

Excuse being a newbie, I have used Pico in the past and would like to try Baun. I have read about lots of cms's using composer but have never had to use it myself. I don't think Pico required it? I am on a shared server (lunarpages) and I believe I don't have access to SSH. Am I out of luck then for using Baun?

Composer is basically the go to package manager for PHP libraries these days. It's great for development but not so great for people like yourself on shared servers or without SSH access. You're right that Pico didn't require it.
To be honest setting up a VPS these days is relatively simple and cheap (see https://www.digitalocean.com). I hope to maybe launch some kind of "Baun installation service" in the future, but for the moment you might just have to wait.

As of v1.2.0 Baun now comes with an auto-installer in an attempt to help those without SSH access to their server. See the new install instructions.


python38Packages.google-cloud-container: 2.3.1 -> 2.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.google-cloud-container is: "Google Container Engine API client library"
meta.homepage for python38Packages.google-cloud-container is: "https://github.com/googleapis/python-container"
meta.changelog for python38Packages.google-cloud-container is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0/bin/fixup_container_v1_keywords.py passed the binary check.

/nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0/bin/fixup_container_v1beta1_keywords.py passed the binary check.

/nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0/bin/.fixup_container_v1_keywords.py-wrapped passed the binary check.

/nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0/bin/.fixup_container_v1beta1_keywords.py-wrapped passed the binary check.

4 of 4 passed binary check by having a zero exit code.

0 of 4 passed binary check by having the new version present in output.

found 2.4.0 with grep in /nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0

found 2.4.0 in filename of file in /nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0

directory tree listing: https://gist.github.com/ce963c2e0229f6c95c021a86b921cddc

du listing: https://gist.github.com/ad5d193fa112af9398c0d1197aed46bd

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.google-cloud-container
python39Packages.google-cloud-container

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.google-cloud-container https://github.com/r-ryantm/nixpkgs/archive/992a0fa5631ddc93ecb2a1f98ae55bb9a3a894ba.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0
ls -la /nix/store/xgjdild8qmzgzbxgp1hfldi0gc5ngn4a-python3.8-google-cloud-container-2.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

python39Packages.google-cloud-container

1 package built:

python38Packages.google-cloud-container

Maintainer pings
cc @SuperSandro2000 for testing.

Result of nixpkgs-review pr 117756 at 992a0fa5 run on x86_64-linux 1

1 package marked as broken and skipped:

python39Packages.google-cloud-container

1 package built successfully:

python38Packages.google-cloud-container


rainbow_icon_screen service shows wrong icon

I'm calling the service as follows and it is showing the first icon that I have configured (ha) and not the calendar one:
service: esphome.pixel_clock_rainbow_icon_screen
data:
  default_font: false
  icon_name: calendar
  text: test
  lifetime: 1
  screen_time: 1

However icon_screen service works correctly:
service: esphome.pixel_clock_icon_screen
data:
  default_font: false
  icon_name: calendar
  text: test
  lifetime: 1
  screen_time: 1
  r: 200
  g: 200
  b: 200

My icons:
  icons:
    - id: ha
      lameid: 7956
    - id: tempc
      lameid: 2422
    - id: plug
      lameid: 403
    - id: humidity
      lameid: 51764
    - id: co2
      lameid: 30662
    - id: calendar
      lameid: 12345

Hi, thanx for this perfect issue-entry!! Most people don't provide enough information for me to investigate.
I take a look at this issue!

fixed in "develop"


Add #[payable] annotation to ABI methods

Description
The lack of this annotation implies the method is non-payable. When calling an ABI method that is non-payable, the compiler must emit an error if the amount of coins to forward is not guaranteed to be zero.
The compiler also emits an error if the method signature and the method implementation have different #[payable] annotations.
Assumptions
Currently, the analysis of non-zero coins is very simple and only checks if the special coins: contract call parameter is the zero u64 literal directly or can be reached through a chain of variable/constant definitions.
Tests

[x] Must fail when scripts call non-payable methods with non-zero coins as a literal
[x] Must fail when scripts call non-payable methods with non-zero coins as a constant
[x] Must fail when scripts call non-payable methods with non-zero coins as a variable definition
[x] Must fail when contracts call non-payable methods with non-zero coins
[x] Must fail when there is an extra #[payable] annotation in method implementation (not mentioned in its signature)
[x] Must fail when the #[payable] annotation in method implementation is missing (but mentioned in its signature)

close #1608
TODOs

[x] Fix #[payable] annotations for the standard library
[x] Fix the empty parens issue for formatting attributes: #3451
[x] Parser should allow us write annotations like so: #[storage(read, write), payable]: #3452
[x] Refactor #[payable] annotations in this PR in the style above
[x] Add more complex formatter unit tests with payable
[x] As pointed out by @mohammadfawaz, the SDK can bypass payable annotations and one option would be to add function attributes to the JSON ABI schema and process it in the SDK (see these issues: https://github.com/FuelLabs/fuel-specs/issues/446 and https://github.com/FuelLabs/fuels-rs/issues/742)
[x] Bump fuels-rs's version

@otrho Thank you

Thanks everyone for the very helpful feedback!


Some Feeds not Read

I use a service out there to translate my Steam Achievements into an RSS feed.  However when I ask the bird to turn this into an account online, the bird can't find anything.  I'm not really all that interested in getting this feed uplifted into Mastodon, however I will say that the feed is valid, however I suspect the server is blocking the bird from reading the RSS feed.   I thought I'd bring it up.  Here is a link to the feed that is clearly a feed, but the bird is blind to.
Feed:  https://truesteamachievements.com/friendfeedrss.aspx?gamerid=90878

Thanks for bringing this up! Something in the network between the birb and your server is blocking the request. This is what I'm seeing in the log:
2024-01-09 22:40:24.577 INFO <logic/feed_follower.go:425> Retrieving site information: https://truesteamachievements.com/friendfeedrss.aspx?
2024-01-09 22:40:24.612 WARN <logic/feed_follower.go:191> Failed to get site: request for https://truesteamachievements.com/friendfeedrss.as
Hope that helps.

If you find something specific in the birb's request that could change to prevent them from getting rejected, please let me know! For now I'm marking it as not-an-issue.


Proxy support

Is it possible to build in support for proxy usage?
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("<IP_ADDRESS>", 8080));
conn = new URL(urlString).openConnection(proxy);
Changes needed for this:

update authenticators with a second constructor which accepts a Proxy parameter
add some new factory methods to AnalyticsClient to offer support for a Proxy parameter
add new instance methods to AnalyticsClient to offer support for a Proxy parameter

Good idea, it would be useful for debugging. Let's finish the #1 and then we can add the proxy support.

Do you have tim e to add the proxy support or should i make a PR for it? As we'll need it for a project asap if possible

Could you take a look on the committed in the referenced branch? With this approach you can do something like this:
AnalyticsClient client = AnalyticsClient.authenticateWithSecret("my-username", "my-password", "api2.omniture.com").withProxy("<IP_ADDRESS>", 8080);

Looks good but the authenticators should also get proxy support then. Otherwise you cannot run the whole library over a proxy.

I missed that. Let me fix it...

How about now? I used builders to avoid passing to many parameters to one method.

Looks good except for the fact that in the build() we do not check if the mandatory properties are filled for the corresponding type. This can be checked in the constructor of the authenticator or in the build method but it's harder to maintain if more auth method will be added. Maybe you could make a builder for each type of authenticator?

I was thinking about this. User has to invoke one of the authenticateWith* methods, otherwise he'll get an IllegalStateException. Therefore, the only way to call AnalayticsClient#build() with authenticator chosen, but without required properties set is to pass null to the authenticateWith* method. In this case he'll probably get NPE somewhere from the authenticator - it's the same behaviour as in the current master.
I can add nullcheck to the AuthenticatorBuilder setters, so the feedback will be immediate - WDYT?

Well all mandatory properties should be nonnull for each authenticator. It's always better to throw an exception with an explanation then a nullpointer with a stacktrace in my opinion

Added null checks to the setter methods.

Merged.


Updating latest proto file from Dapr runtime.

Description
Dapr runtime has now feature to support multi state stores support. Due to that state APIs are changed. We need to update the proto files in java SDK from dapr repo.
Issue reference
Closes #133
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

PR #199 is taking care of this along with the code changes to support the multi-state store APIs.


Support MP3 audio on native targets

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I would like to be able to play .mp3 files on native targets. As I understand it, this was not originally supported in OpenFL/Lime because the MP3 format was under patent at the time, and there were legal concerns about including a native MP3 playback library. Now, I believe that the MP3 patents are expired, and it should not cause legal issues to include a library.
Describe the solution you'd like
A clear and concise description of what you want to happen.
MP3 support on native targets should use the standard Sound API, like how it already works on other targets where MP3 support is provided by the target.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
The best alternative would be to convert the .mp3 files to another format. Unfortunately, my project involves using MP3s supplied by users. It is not feasible to ask my users to do the conversion manually, or to make them wait the extra time my app would need to run an encoder automatically.

Yes, yes, yes! Thanks for bringing this up!

https://sourceforge.net/projects/lame/files/lame/3.100/
https://en.wikipedia.org/wiki/LAME#Patents_and_legal_issues

Related Lime issue: haxelime/lime#892

The basic MP3 decoding and encoding technology is patent-free in the European Union, all patents having expired there by 2012 at the latest. In the United States, the technology became substantially patent-free on 16 April 2017

Has there been any fix/implementation for this yet?
Because I would really need it for a game I'm working on.

@Flustix No, no one has worked on this yet. I investigated a bit myself, but I'm not very good at C/C++, so I got stuck.

Actually, I have built a reasonably fast codec purely in Haxe for decoding. It's currently in early/experimental stages and only layer III is supported for now. Let me know if you are interested in contributing code towards this improvement or sponsoring financially.
Thanks for your interest!

Has there been any fix/implementation for this yet? Because I would really need it for a game I'm working on.

I'd like to contribute but i have no idea how audio encoding works.
Still looking forward to it because i dont want my users to have to convert the audio files.


Test the updater service or remove it

https://github.com/flutter/flutter/commit/af3a10f4e4766ff03921935e6fd1e7709a83ed15#commitcomment-16074109
@mpcomplete thinks it may be dead.  We should be able to test things like this now.
No customers are actively using the updater service, so we could remove it.  However many have expressed great interest! :)
There is no huge rush on this.

Updater service isn't currently running. It's been broken as of the flutter/engine repository split.
The pub dart package updater needs to be built into a snapshot_blob.bin and included in the .flx package somehow. That's no longer happening.
Action plan:

Move updater code (dart package and java service) into its own repo, using the new service stuff. This repo should know how to build the dart package into a snapshot.bin.
Have this new snapshot.bin be included in flutter .flx packages.
Create a new mojo service that knows how to load a snapshot.bin in a separate process. (Replace update_service_android.cc).
Have the updater service call #3's service to load the updater snapshot.bin and run it.

Actually, scratch that action plan. Step 3 is hard because we won't have mojo initialized in the updater process.
Simpler plan:

Change flutter build to snapshot and include the updater package in all .flx's at a known location.
Change the engine to load the updater snapshot from that known location.

Investigated some more. Adding the updater dart package as a dependency increases the app's snapshot size by 500K. That seems like a lot. Not sure if it's worth pursuing this further until developers start asking for an updater.

I don't believe we are tree shaking snapshots yet. We may be able to get that smaller.
cc @a-siva @iposva-google

It seems we should still set it up to be tested or somehow exercised.  Otherwise it's just dead code.  If we aren't going to use it we can delete it and save the hash for later resurrection when customers ask.  It wouldn't be the first new feature in Flutter we stored that way. :)

I removed the UpdateService for now.


The names controller, action, area, and page are reserved keywords used by MVC's routing system.

Create an include (something like https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/includes/reservedRouting.md
With the info from https://github.com/dotnet/aspnetcore/wiki/MVC-Reserved-Keywords on routing. Be stronger, something like
These keywords should not be used  for link generations, as model bound parameters, or top level properties.
Add the include to the 3 routing docs, perhaps at the end.
related #18633
cc @serpent5

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

ID: 32374077-e02e-d6a6-1cea-05e58447b7cd
Version Independent ID: 86aeab13-1c25-9fc1-4e56-0390cb40c242
Content: Routing in ASP.NET Core
Content Source: aspnetcore/fundamentals/routing.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@dotnet-bot #22460


Enable separate timeout definition per query

In my app I have 2 kinds of queries:

Get a simple row by key in realtime for each request (timeout 50 ms)
Get all rows from a table (~10000 rows) every few hours in a background thread.

I need to specify a short timeout for the online query and a much longer timeout for the background query.  Both queries use the same connection pool (cluster).
I see that you can specify a timeout per query in the session.execute() method: http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Session.execute
I was thinking of adding a timeout() method to the AbstractQuerySet and BatchQuery which will pass the timeout to connection.execute which will pass that to session.execute().
Your thoughts?

@rustyrazorblade


feat: add support for reading OpenAPI error responses

Extend GraphQLError with OAS specific extensions
Read OAS extensions in ResponseError and make them available in a field
Add tests for OpenAPI error handling

Fixes #822
Error messages are now available as part of response.error, both in hooks and in client responses in the frontend. There are a few examples in the included tests:
// client
expect(result.error).toBeInstanceOf(ResponseError);
const error = result.error! as ResponseError;
expect(error.http?.statusCode).toBe(404); // read response status code
expect(error.http?.text).toBe(`noteID ${id} not found`); // read response body
expect(error.http?.headers?.['x-note-id']).toBe(id.toString()); // read response header

// hook
export default configureWunderGraphServer(() => ({
	hooks: {
		queries: {
			NoteByID: {
				postResolve: async ({ response }) => {
					const error = response.errors?.[0];
					console.log("HTTP status code", error?.extensions?.http?.status);
					console.log("HTTP response headers", error?.extensions?.http?.headers);
					console.log("HTTP response body", error?.extensions?.responseText);
				},
			},
		},
		mutations: {},
	},
}));

Motivation and Context
Reading error responses allows the upstream to send meaningful error messages and
response codes which make their way down to the client.

Marketing Changelog
OAS support in augmented with extended support for error handling over OAS data sources

Checklist

[x] run make test
[x] PR title must follow conventional-commit-standard
[x] tests and/or benchmarks are included
[x] documentation is changed or added
[x] commit message and code follows the Code of conduct

How will this work with multiple nested requests? One RPC Operation might map to N root requests and M nested requests. Will it be possible to understand the response status codes and headers for all of them and what field/resolve path they belong to?

How will this work with multiple nested requests? One RPC Operation might map to N root requests and M nested requests. Will it be possible to understand the response status codes and headers for all of them and what field/resolve path they belong to?

We return the extra information from the first error that has it. However, the caller can also iterate over ResponseError.errors and pass an specific one.


Docker / docker-compose doesn't expose web socket port

So your websocket functionality doesn't work when running with the container configs.

Figured this one out, it was something to do with not building for production (and not the docker config).  Thanks.


Almost everything is highlighted as a keyword

Component:

[ ] VSCode Extension
[X] VSCodium Extension
[ ] LSP (used with other editor)

Extension version: v0.6.2
LSP version: v0.6.2
OS version and name: openSUSE Tumbleweed

[X] I am on the latest stable version of the extension/LSP.
[X] I have searched the issues of this repo and believe that this is not a duplicate.

Issue

Almost everything seems to be mistakenly highlighted as a keyword since the v0.6.2 update.

Logs
(No relevant logs)

I've figured out and fixed the bug (see the highlight-fixes branch).
Unfortunately, while loading tablex.typ for testing, I encountered an unrelated highlighting bug that causes a panic, which you may or may not have also seen. I'm going to investigate that next.

That issue has been fixed, too. Highlighting in the new branch seems to be working as expected in my testing.

Thanks for the hard work! It's all right now 👍


extracted out of mainline: patch for #1465

origin: commit SHA-1: b7ed4407467fba164d87127ec5e31ef4d20e28d6

fix crash in click handler due to use of pathSegList property which is not available apparently in Chrome at least: now the code is cleaned up by using the internal getPathBox() function, where the code is corrected to cope with this issue by taking the coordinates straight off the calculated SVG box.

Notes See also: https://github.com/masayuki0812/c3/issues/1465 (#1465)

@GerHobbelt Mind addressing @danevans' comments? I'd like to eventually update things so that we totally pull out all the PathSegList code and remove the polyfill we presently have, such as this PR does. Thanks!


Fix auto merge conflict 8853 [skip ci]

fix automerge conflict at #8853
NOTE: this must be merged as create a merge commit

build


Show more information about nodes/actions in run options

Currently when selecting nodes in the run options / schedule options dialog, we only show the name of the node.
We should add the following information, probably in some kind of table:

[ ] File path
[ ] Action type (table, assertion, operation)

Resolved by this: https://github.com/dataform-co/dataform-co/pull/581


Jasmine Test case failing

Please help me with the below code . I am unable to resolve error and my Unit case is not running. Pasting code below. Your help is highly appreciated.
app.js
  var test = angular.module('testApp', [/**/ ]);

Controller file :
     'use strict';
     test.controller('memberCtrl', ['$rootScope', '$scope', 'lpbridgeSerivces', '$timeout',
    'uiGridConstants', '$log', '$filter', '$http', 'limitToFilter', 'alert', '$transition$', '$window',
    '$state',  'fileDownloadService','appEnvConfigService', '$uibModal',
     function($rootScope, $scope, lpbridgeSerivces, $timeout, uiGridConstants, $log, $filter,
     $http,
     limitToFilter, alert, $transition$, $window, $state, fileDownloadService,
     appEnvConfigService,
     $uibModal)

     {
      var home = this;
     home.mobDropDown = false;

Spec File
  describe('memberCtrl', function() {
  beforeEach(module('testApp'));

 var $controller,scope,home;
 beforeEach(inject(function(_$controller_,$rootScope){
 $controller = _$controller_;
 scope = $rootScope.$new();
 }));

 describe('testing controller', function() {
    it('memberCtrl is defined', function() {
    var home = $controller('memberCtrl', { $scope: scope});
    expect(home.mobDropDown).toBe(false);
     });
   });
});

ERROR:
     Chrome 73.0.3683 (Windows 7.0.0) memberCtrl testing controller memberCtrl is defined
    FAILED
    Error: [$injector:unpr] http://errors.angularjs.org/1.5.8/$injector/unpr?p0=APP_VERSIO
        at node_modules/angular/angular.min.js:6:412
        at node_modules/angular/angular.min.js:43:174
        at Object.d [as get] (node_modules/angular/angular.min.js:40:432)
        at node_modules/angular/angular.min.js:43:236
        at d (node_modules/angular/angular.min.js:40:432)
        at e (node_modules/angular/angular.min.js:41:158)
        at Object.invoke (node_modules/angular/angular.min.js:41:243)
        at node_modules/angular/angular.min.js:43:396
        at q (node_modules/angular/angular.min.js:7:355)
        at Object.cb [as injector] (node_modules/angular/angular.min.js:43:375)
    TypeError: $controller is not a function
        at <Jasmine>
        at UserContext.<anonymous> (test/spec/memberCtrl-spec.js:27:20)
        at <Jasmine>
   Chrome 73.0.3683 (Windows 7.0.0) ERROR
  {
   "message": "An error was thrown in afterAll\nUncaught Error: [$location:nobase] http://err
   "str": "An error was thrown in afterAll\nUncaught Error: [$location:nobase] http://errors.
  }
 Chrome 73.0.3683 (Windows 7.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.113 secs / 0.07 secs)

You have $window being declared but not injected. Alternativel you could use $provide to mock out $window.


[ISSUE] Experiment.from_json has wrong schema expectation for experiments.get_experiment response

Description
When I call a WorkspaceClient's experiment.get_experiment method with a valid experiement id, I get an Experiment whose fields are all None.
Reproduction
workspace_client = WorkspaceClient()
nm = f"/Users/[REDACTED]/experiment-dne-{uuid.uuid4()}"
response: CreateExperimentResponse = workspace_client.experiments.create_experiment(nm)
experiment: Experiment = workspace_client.experiments.get_experiment(
    response.experiment_id
)
assert response.experiment_id is not None
assert response.experiment_id == experiment.experiment_id
assert experiment.name == nm

Expected behavior
get_experiment should populate the Experiment with name, id, etc.
Debug Logs
DEBUG:databricks.sdk:Loaded from environment
DEBUG:databricks.sdk:Attempting to configure auth: pat
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): [REDACTED]:443
DEBUG:urllib3.connectionpool:https://[REDACTED]:443 "POST /api/2.0/mlflow/experiments/create HTTP/1.1" 200 None
DEBUG:databricks.sdk:POST /api/2.0/mlflow/experiments/create

{
"name": "/Users/[REDACTED]/experiment-dne-8b855113-1184-4489-a708-2d6de10a9db2"
}
< 200 OK
< {
<   "experiment_id": "3417601492711952"
< }
DEBUG:urllib3.connectionpool:https://[REDACTED]:443 "GET /api/2.0/mlflow/experiments/get?experiment_id=3417601492711952 HTTP/1.1" 200 None
DEBUG:databricks.sdk:GET /api/2.0/mlflow/experiments/get?experiment_id=3417601492711952
< 200 OK
< {
<   "experiment": {
<     "artifact_location": "dbfs:/databricks/mlflow-tracking/3417601492711952",
<     "creation_time":<PHONE_NUMBER>232,
<     "experiment_id": "3417601492711952",
<     "last_update_time":<PHONE_NUMBER>232,
<     "lifecycle_stage": "active",
<     "name": "/Users/[REDACTED]/experiment-dne-8b855113-1184-4489-a708-2d6de10a9db2",
<     "tags": [
<       {
<         "key": "mlflow.ownerId",
<         "value": "REDACTED"
<       },
<       "... (4 additional elements)"
<     ]
<   }
< }
Traceback (most recent call last):
File "/Users/cannamm/repositories/[REDACTED]/bin/scratches/scratch.py", line 31, in
assert response.experiment_id == experiment.experiment_id
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Other Information

OS: macOS
Version: mlflow=2.5.0, databricks-sdk=0.2.1

Additional context
I believe this is a simple issue with Experiment.from_dict. You can see here that it expects the attributes like name etc to be in the top level of the dict, but in fact they come back nested one layer down under the key `'experiment', see my debug logs above.

Thanks for reporting, we're investigating the issue. Indeed related to our specification of the API surface.


Store visited choices in already_read_event history

This would make it pretty easy to differentiate already visited choices from not already visited ones.

This has been implemented.


Bugfix: Port four 3.4 PRs relating to Scheduler to devel

Port of these PRs from 3.4 to devel:
https://github.com/arangodb/arangodb/pull/6829
https://github.com/arangodb/arangodb/pull/6878
https://github.com/arangodb/arangodb/pull/6928
https://github.com/arangodb/arangodb/pull/6910  (jsteeman's Medium priority PR)

This has been replaced by merged branch bugfix/mv-scheduler-3.4-2


[py2py3] Check unittests from Slice 19 in py3

Intro
We need to make sure that the work done in the migration slices
is py3 compatible. In particular, we should make sure that the
unittests that are involved in each slice do not fail.
The schedule for this validation / bug-fixing campaign is kept at #10422
Details
This issue is about checking that the unittests from Slice 19,
issue #10143 and PR #10348, do not fail.
A non-exhaustive list of the ut that need to pass is
<empty>

In PR #10348 we modernized
src/python/WMCore/WMRuntime/TaskSpace.py
src/python/WMQuality/Emulators/EmulatedUnitTestCase.py
src/python/WMComponent/AgentStatusWatcher/DrainStatusPoller.py
src/python/WMComponent/AgentStatusWatcher/ResourceControlUpdater.py
src/python/WMComponent/AnalyticsDataCollector/AnalyticsPoller.py
src/python/WMComponent/ArchiveDataReporter/ArchiveDataPoller.py
src/python/WMComponent/DBS3Buffer/DBSUploadPoller.py
src/python/WMComponent/ErrorHandler/ErrorHandlerPoller.py
src/python/WMComponent/JobAccountant/JobAccountantPoller.py
src/python/WMComponent/JobArchiver/JobArchiverPoller.py
src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py
src/python/WMComponent/JobTracker/JobTrackerPoller.py
src/python/WMComponent/JobUpdater/JobUpdaterPoller.py

that have no related unittests.
The unittest in test/python/WMComponent_t/AgentStatusWatcher_t will be the topic for next slice.
Sine there is not very much that we can do here at the moment, I close this issue with this comment.
FYI @amaltaro


911 Operator: Hint Machine doesn't detect the process is closed / killed

HintMachine version: 1.2.0-rc1
Game: 911 Operator
Game / Emulator version: Steam
Bug description
Easy repro: Launch game. Connect with Hint Machine. Alt-F4 game. Probably happening because the game connector is not using BinaryTarget (which automatically check for process presence) and is not doing explicit checks either, while wrapping the RAM reading in try/catch

Fixed in 03eacb9


Add an RFC for arbitrary Memory shapes.

Rendered

Would it also be made possible to specify granularity of the WritePort with arbitrary shape ?

Would it also be made possible to specify granularity of the WritePort with arbitrary shape ?

I think this should be possible iff the shape is an ArrayLayout.

Since we're talking about granularity for write enables and not width conversions, there's not really any need to enforce a uniform element shape, and I'm not sure it's worthwhile to try enforcing that the granularity aligns with natural subdivisions of a shape-castable either. We'd end up with a bunch of special casing for lib.data that's not necessarily even correct.
Consider something like a StructLayout({'a': 1, 'b': 7, 'c': 8, 'd': 16}). Depending on the application, it could make perfect sense to use this with granularity=8 even though some fields are packed together and some fields spans a multiple.

I feel that it's important to not blindly allow a case that results in arbitrarily torn writes. I would say that if you want granularity to be less than the full word, it has to be a Shape and not a shape-castable then. We can always relax this later, but not the other way around, and I think a conservative choice is wise here.

We have discussed this RFC on the 2024-01-22 weekly meeting. The disposition was to merge with the following changes

Memory.width is kept and becomes a read-only wrapper for Shape.cast(self.shape).width;
Memory.depth becomes read-only.

There was consensus that allowing granularity to be specified for lib.data.ArrayLayout shapes is desirable, but as Memory currently lives in hdl and not lib this is not possible at the moment.
@zyp Could you please create a tracking issue for this RFC and insert that and the starting date in the RFC text?


project files cleanup

making the project to build on linux (case sensitive file system), removing map+txt listing from git repository, etc..
(the produced NEX file is without any change, no [used] code change, one optimisation done is in file which is not even included and used)
edit JFYI: your project managed to uncover bug in sjasmplus 1.18.3, when error/warning messages report wrong filename (random memory instead of file), this will be fixed in next release, or if you can't wait, you can build the master branch from github, fix is already there. Thank you. :)

Now I have a new motherboard, committed updates from pull request to clean up stuff. Noted comment on sjasm bug too.

Thanks for the tidy up. Noted the comment on the assembler bug. Have just rebuilt my PC this week after the motherboard failed :)

BTW, after your "prior" commit and merge you ended up tracking eliteN.txt (assembly listing) again in the git repo.
If this is intentional, then ok (then remove it from .gitignore ?), otherwise I would suggest to delete it (it's 2MB file which can be produced by every build and keeps changing a lot, so I think it just puts unnecessary strain on the git and bloats the repo size.
Also right now there are many errors when I try to assembly the project, but from the quick check in the source, it looks like your WIP changes and I will check again later as you progress and if sjasmplus behaves... :)


Modified time of video

Hi, with this gui, the date of the videos I download are based on when I downloaded them. With yt-dlp, it uses the last modified time by default. I prefer having this for the date. I found out that I need to set "--mtime" in my conf file. I tried it, but it still uses the download date. A problem on my end or a bug? The other settings in my conf seem to work fine.
Thanks.

Thank you for using my GUI.
As I designed this GUI to bypass the merging action of yt-dlp (i.e., combining the video and audio streams), I have yt-dlp skip calling ffmpeg and instead call ffmpeg from the GUI for merging. This allows for more control, but it also means that the --mtime option will not work. However, I can modify the modification time of the file using my GUI to meet your needs, or you can let me know if you have any ideas for more flexible modification time control.

Thanks for the quick reply, I'm mostly just looking to have the date of my videos to be the uploaded date, I'm not actually sure if that is the modification time, but it's close enough, so an option to set the date would be great!

Hello, apologies for the lengthy message.
I have reviewed and verified data from several YouTube videos regarding the modification time which refers to the time when YouTube completes the conversion or modification of various video resolutions. I am not sure if there will be a significant difference between the modification time and the upload date. One of the videos I checked had a difference of over a month from the upload date. However, the data provided by YouTube includes an upload_date field, which only contains the year, month, and day, but it is enough for me to determine the time difference.
 If necessary, I can change the modification time of the file to 2023-03-08 00:00:00 as there is no time data in the information provided by YouTube. Alternatively, you can use the output template -o "%(upload_date)s - %(title)s which will directly add the upload date to the beginning of your file name.
Anyway, if there are no other issues, I think I can implement this feature in the next version.
Please feel free to share any thoughts or ideas you may have.

Hello,
I have released a new version that allows users to set either modification time or upload date. Due to significant changes in the new version, there may be some rough edges.
If you're interested, you can try it out and see how it works.


Add guards in server-side logger setters

These were somehow failing during corvair client tests.  The failure is at
require time when setColorize and setTimestamp are both set.  Maybe
loggers leaking between client/server tests?  Not sure why this just cropped
up now, but it's easy to guard against.

LGTM :+1:


rpi-config: Enable UART

This allows connecting a serial console to the serial pins of the
raspberry pi.
Signed-off-by: Jonatan Pålsson<EMAIL_ADDRESS>

I believe it is currently a default option in meta-raspberrypi, but I think the user should still verify the value of this parameter when wanting to enable UART.


Package not supported on M1 Macbook

I just wanted to install the package using "npm i playwright-with-fingerprints"
But i got this error:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"win32","arch":"ia32,x64"} (current: {"os":"darwin","arch":"arm64"})
npm ERR! notsup Valid OS:    win32
npm ERR! notsup Valid Arch:  ia32,x64
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: arm64

Only windows is supported


Fix Fn::Not, Fn::And, and Fn::Or

In issue https://github.com/MonsantoCo/cloudformation-template-generator/pull/57, our good friend @ddgenome changed Fn::Not, Fn::And, and Fn::Or to require a ConditionRef.  As I'm working to update our usage of the library to the new version, I'm now realizing this is not correct.  These functions can accept more than just a ConditionRef.  They can accept themselves, along with Fn::Equals, in addition to accepting a reference to a defined condition.  For example, a condition that checks if a given parameter is not blank would look like this:
````Fn::Not(Fn::Equals`(a = ParameterRef(serviceELBSubdomainNameParameter), b = StringToken("")))```
The only way to make that work in the new model is to define the equals as a intermediate condition, even if I don't ever plan to use it, and then define an additional condition for the Not.
Similarly, if you wanted to do a compound condition that nests Ands and Ors together, you'd have to define an intermediate condition for each component of that.
Of course the easiest "fix" is to back this out and go back to Token[String], but a better solution would be to come up with a type structure that allows the valid types of Fn::Not, Fn::And, Fn::Or, Fn::Equals, and ConditionRef.  I have to admit that I'm still not quite a master of the type system enough to see exactly how to do this, though I'm trying to figure it out.  @ddgenome or anyone else, if you have thoughts on this, please let me know.
I do believe the change to Fn::If is correct, however.  It does require a named condition.

It also looks like even with the intermediate condition workaround described above, this doesn't get serialized right here.
It serialized to:
"ServiceELBSubdomainNameIsDefined": {
      "Fn::Not": ["ServiceELBSubdomainNameIsNotDefined"]
    }

But should be:
"ServiceELBSubdomainNameIsDefined": {
      "Fn::Not": [{"Condition": "ServiceELBSubdomainNameIsNotDefined"}]
    }

At a previous job, I had designed the BNF Grammar, and then implemented it in Scala.
As I understand, Brian, the conditions can be nested. Simple example:
scala> (4 == 2) && (true || (1 == 1 || 5 == 44) )
res0: Boolean = false

Consequently, you need a recursive data structure given that conditionals can be nested.
I believe that it'd be useful to read the "Parser Combinator" section from the Stairway Book.

#63 only fixes this in the sense that it works again and adds unit tests for the cases that #57 broke.  Leaving this ticket open to add the type safety that #57 intended to add, but with the additional cases we need.  I need to move on for now.

Reopened for a future type safe solution -- PR #63 backs out the change and adds unit tests to cover the requirements.
I had attempted to introduce either a trait or a subtype of AmazonFunctionCall called "ConditionFunctionNestable" to mark the types that can be nested in these condition functions.  However, the whole Token and AmazonFunctionCall implicit chain broke.  I'm sure it's doable, but I didn't have time.

@bkrodgers My PR handles the tests you created with type safety for Fn::Not, Fn::And, and Fn::Or - are there other situations that we need to have support for?


The original source code of the datasets

Dear authors,
Thanks for your kindly sharing of thie repo. The shared datasets are all LLVM IR files (https://polybox.ethz.ch/index.php/s/..). Would you please share the corresponding original source code of the datasets? If you can provide the scripts about how to convert the source code into the LLVM IR, that would be highly appreciated.
Kind regards,

The dataset sources are publicly available source codes as listed here. To get the source code, simply browse to those projects and download the codes.
We compiled the files from the original dataset sources using the clang compiler and the following flags: -S -emit-llvm. Trying to compile source files individually from the original code is not always simple (proper include folders need to be added for each file), so sometimes (e.g., in the Linux kernel) we modified the Makefile or configuration to add those flags. For example:
$ clang -S -emit-llvm file.cpp -o file.ll

In order to augment the training dataset, we also compile each file under different permutations of the available compiler flags we tested (-O0...-O3, fast math, etc.).

Hi,
Can you share the original C codes for these files?

Unfortunately, I cannot share the source codes directly, as they need to be downloaded from the original sources due to licensing reasons. However, they should be straightforward to download from the project websites. Examples:

TensorFlow - https://github.com/tensorflow/tensorflow
AMD APP SDK - Not available through AMD but Googleable
BLAS - https://github.com/xianyi/OpenBLAS
Polybench GPU - http://www.cse.ohio-state.edu/~pouchet/software/polybench/download/polybench-gpu-1.0.tar.gz
Rodinia - http://lava.cs.virginia.edu/Rodinia/download.htm
SHOC - https://github.com/vetter/shoc
Linux Kernel - https://github.com/torvalds/linux
OpenCV - https://github.com/opencv/opencv


Add Portuguese translation

Portuguese (Portugal) translation

Still learning the github philosophy. Sorry for the try and error.


added url for questions

Issue: 32
Short description of what this resolves:

URL pattern for QuestionView

Thank you


Use DiagnosticsSource instead of middleware

Using middleware to track request is not necessary. Diagnostics Source was designed to allow tracking incoming requests without injecting middleware.

Hi @SergeyKanzhelev ,
We appreciate you taking time and providing us feedback. We would like to consider this approach in our future work. We welcome pull request and happy to review it.
Thanks,
Yogi

Using DiagnosticSource here would be a large improvement to two key areas of XRay:

Usage of DiagnosticSources for System.Net.Http would allow the easy capture of EVERY Http request leaving the application, without having to manually assign an HttpMessageHandler to any component. This would automatically cover most scenarios of HTTP outbound communication requiring the consumer to do nothing be call the middleware they already do for UseXRay. I have begun a POC with this method for a series of internal apps we will be rolling out. So far it is pretty straightforward and working well:

public class XRayHttpDiagnosticListener : IObserver<DiagnosticListener>, IDisposable
    {
        private const string HttpHandlerDiagnosticListenerKey = "HttpHandlerDiagnosticListener";
        private readonly List<IDisposable> _subscription = new List<IDisposable>();

        public XRayHttpDiagnosticListener()
        {
            _subscription.Add(DiagnosticListener.AllListeners.Subscribe(this));
        }

        [DiagnosticName("System.Net.Http.HttpRequestOut")]
        public void IsEnabled()
        {
            // MUST KEEP HERE to enable other diagnostics at the root level
        }

        [DiagnosticName("System.Net.Http.HttpRequestOut.Start")]
        public void OnHttpRequestOutStart(System.Net.Http.HttpRequestMessage request)
        {
            // process this request into xray
            // before we can process it, must ensure async local is in context
            if (AWSXRayRecorder.Instance.IsEntityPresent() && !request.RequestUri.ToString().Contains("amazonaws.com"))
            {
                RequestUtil.ProcessRequest(request);
            }
        }

        [DiagnosticName("System.Net.Http.HttpRequestOut.Stop")]
        public void OnHttpRequestOutStop(System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpResponseMessage response, TaskStatus requestTaskStatus)
        {
            // before we can process it, must ensure async local is in context
            if (AWSXRayRecorder.Instance.IsEntityPresent() && !request.RequestUri.ToString().Contains("amazonaws.com"))
            {
                if (response != null)
                {
                    // request did not throw an exception, so process the response
                    RequestUtil.ProcessResponse(response);
                }

                // always end the segment no matter what
                AWSXRayRecorder.Instance.EndSubsegment();
            }
        }

        [DiagnosticName("System.Net.Http.Exception")]
        public void OnHttpRequestOutException(Exception exception, System.Net.Http.HttpRequestMessage request)
        {
            if (exception != null && AWSXRayRecorder.Instance.IsEntityPresent() && !request.RequestUri.ToString().Contains("amazonaws.com"))
            {
                AWSXRayRecorder.Instance.AddException(exception);
            }
        }

        public void Dispose()
        {
            foreach (var sub in _subscription)
            {
                sub.Dispose();
            }
        }

        void IObserver<DiagnosticListener>.OnCompleted()
        {

        }

        void IObserver<DiagnosticListener>.OnError(Exception error)
        {

        }

        void IObserver<DiagnosticListener>.OnNext(DiagnosticListener value)
        {
            if (value.Name.Equals(HttpHandlerDiagnosticListenerKey))
            {
                _subscription.Add(value.SubscribeWithAdapter(this));
            }
        }
    }

DiagnosticSources can also be used to easily capture all SqlClient activity as well. No need to manually use a TraceableSqlCommand object, again just plugin with middleware, and capture all requests automatically. This is great has it is a simple solution to get XRay working with Dapper. That being said there is a bit more complexity to handle here regarding connection opening and closing, and command execution. Here is a start for something:

public class XRaySqlClientDiagnosticLogger : IObserver<DiagnosticListener>, IDisposable
    {
        private const string SqlClientDiagnosticListenerKey = "SqlClientDiagnosticListener";
        private readonly List<IDisposable> _subscription = new List<IDisposable>();

        public XRaySqlClientDiagnosticLogger()
        {
            _subscription.Add(DiagnosticListener.AllListeners.Subscribe(this));
        }

        [DiagnosticName("System.Data.SqlClient")]
        public void IsEnabled()
        {
            // MUST KEEP HERE to enable other diagnostics at the root level
        }

        [DiagnosticName("System.Data.SqlClient.WriteCommandBefore")]
        public void SqlClientWriteCommandBefore(Guid operationId, string operation, Guid connectionId, SqlCommand command)
        {
            var recorder = AWSXRayRecorder.Instance;
            if (recorder.IsEntityPresent() && command != null)
            {
                var connectionBuilder = new SqlConnectionStringBuilder(command.Connection.ConnectionString);
                connectionBuilder.Remove("Password");
                recorder.BeginSubsegment($"{ connectionBuilder.InitialCatalog }@{ connectionBuilder.DataSource }");
                recorder.SetNamespace("remote");
                recorder.AddMetadata("database_type", "sqlserver");
                recorder.AddMetadata("connection_string", connectionBuilder.ToString());
                recorder.AddMetadata("sql_user", connectionBuilder.UserID);
                recorder.AddMetadata("sql_query", command.CommandText);
            }
        }

        [DiagnosticName("System.Data.SqlClient.WriteCommandAfter")]
        public void SqlClientWriteCommandAfter(Guid operationId, string operation, Guid connectionId, SqlCommand command)
        {
            var recorder = AWSXRayRecorder.Instance;
            if (recorder.IsEntityPresent() && command != null)
            {
                AWSXRayRecorder.Instance.EndSubsegment();
            }
        }

        [DiagnosticName("System.Data.SqlClient.WriteCommandError")]
        public void SqlClientWriteCommandError(Guid operationId, string operation, Guid connectionId, SqlCommand command, Exception exception)
        {
            var recorder = AWSXRayRecorder.Instance;
            if (recorder.IsEntityPresent() && exception != null)
            {
                AWSXRayRecorder.Instance.AddException(exception);
            }
        }

        public void Dispose()
        {
            foreach (var sub in _subscription)
            {
                sub.Dispose();
            }
        }

        void IObserver<DiagnosticListener>.OnCompleted()
        {

        }

        void IObserver<DiagnosticListener>.OnError(Exception error)
        {

        }

        void IObserver<DiagnosticListener>.OnNext(DiagnosticListener value)
        {
            if (value.Name == SqlClientDiagnosticListenerKey)
            {
                _subscription.Add(value.SubscribeWithAdapter(this));
            }
        }
    }

Hope that helps (helped me a lot). I'd love to be able to put in a PR... will see if time allows me to spend some time putting something together!

Hi @travisgosselin ,
Thank you for presenting the approaches. I will take a look at it soon and also welcome you to submit PR.
Best,
Yogi


Tooltip in 'x' and mode doesn't always show all labels on the same X axis value

Expected Behavior
A tooltip must always show labels for all displayed chart datasets.
Current Behavior
Sometimes all labels don't get displayed in the tooltip.
Label callback doesn't get invoked for some chart datasets that visible on chart (blue and pink).

Possible Solution
The datasets may get filtered out for tooltip labels callback based on some unknown condition. This should be fixed to always invoke label callback for each of the chart dataset.
Steps to Reproduce

Set a tooltip mode to 'x' and intersect to false
Add a label callback to the tooltip callbacks to render the labels
Hover over the chart at different x points.
label callback sometimes doesn't get triggered for certain datasets at different x points so the labels don't get rendered to the tooltip

Context
User should be able to see all dataset labels hovering at any chart x.
Environment

Chart.js version: 2.9.20
Browser name and version: Chrome 84.0.4147.135 (Official Build) (64-bit)

Can you try with v3.0.0-beta?

@kurkle just checked, sorry there're too much of breaking changes to fix them all just to check

Ok, can you provided an interactive example?

I have this issue currently with an enterprise solution my dev team is building. I'll work on a reproduction and get back to you guys.

@kurkle here's a minimal repro on 2.9.3 with no tooltip configuration besides mode: "x": https://jsfiddle.net/fy8gnomz/
I'll try to upgrade this example to 3.0 later to see if it still repros.

@Speculative the hover mode is configured independently from the tooltip mode. See https://jsfiddle.net/2qt6dncz/

https://jsfiddle.net/kqofb5m2/5/  Im having a similar issue, seems to maybe be caused by the mixed bar and line series. I have both hover and tooltips mode set to x.


Fix artifact id for compression-int

For others that might get to wrong dependency to their maven project
Thank you

Thanks, copy-paste error ;)


Replace all string occurrences of 'Trump' with 'Drumpf'

Replace all string occurrences of 'Trump' with 'Drumpf'

There should definitely be a way to transpile TrumpScript into DrumpfScript.

Trump doesn't dwell in the past, it's Trump now and forever.


Add PW2IV sample

Adds an example that allows mapping a passphrase to an MD4 IV as described in Annex A of the standard.
The output format is suitable for direct use in the configuration files.

The latest commits also add optional certificate pinning for extra security.