refactor json decorator

Description of change
Refactors the @json decorator so that the methods can be overridden by defining a class method, and remove some unnecessary overrides.
Links to any relevant issues
Closes #1473

Waiting for #1481

#1481 has been merged


e2e: test serving model after training

Now that we have the ability to run full training in e2e CI, make it
run the rest of the tests - serve the resulting model and run chat
against it to make sure it works.
Signed-off-by: Russell Bryant<EMAIL_ADDRESS>

E2E (NVIDIA A10G x1) workflow launched on this PR: View run

This one is running on a larger instance that will exercise the code path changed in this PR.

e2e workflow failed on this PR: View run, please investigate.

bug in test_serve, fixed in latest revision, I triggered this again


Http logging in dotnet 8 doesn't work without call AddHttpLogging

Based this issue on aspnetcore repository, HTTP logging without call AddHttpLogging method doesn't work and get exception.
I added this line to the doc

Internal previews

📄 File
🔗 Preview link

aspnetcore/fundamentals/http-logging/index.md
HTTP Logging in ASP.NET Core

Thanks for the fix, @naeemaei !


android take to long to switch tab

Current behaviour
the ripple effect take to long
Expected behaviour
shorter ripple time
Code sample
`<View style={{width: '100%', flex: 1}}>
<TabView
renderTabBar={this.renderTabBar}
navigationState={this.state}
renderScene={({route}) => {
switch (route.key) {
case 'all':
return this.renderTab('ALL');
case 'send':
return this.renderTab('SEND');
case 'receive':
return this.renderTab('RECEIVE');
case 'resource':
return this.renderTab('RESOURCE');
}
}}
onIndexChange={index => this.setState({index})}
initialLayout={{width: deviceWidth}}
swipeEnabled={false}
lazy={true}
>

renderTabBar = props =>
<TabBar
{...props}
activeColor={'black'}
inactiveColor={'grey'}
indicatorStyle={{
backgroundColor: "#5829DB',
marginLeft:18,
width: 20
}}
pressColor={'grey'}
style={{backgroundColor: 'white'}}
tabStyle={{width: 60}}
/>
`
Screenshots (if applicable)
https://www.youtube.com/watch?v=H55-V7FdwZ8
What have you tried
setting timingConfig
Your Environment

software
version

ios or android
android

react-native
0.59.2

react-native-tab-view
2.2.0

react-native-gesture-handler
1.1.0

react-native-reanimated
1.0.0

node
11.6.0

npm or yarn
1.15.2

it's probably https://github.com/react-native-community/react-native-tab-view/issues/720

can you provide some runnable code? have you followed the tips in https://github.com/react-native-community/react-native-tab-view#optimization-tips ? are you running in production mode or development mode?
also give the latest version a try and let me know if this still happens.

@satya164 I didn't reproduce in dummy project, with almost the same code. I tried to simplify that page to only contain the tabview, problem remains. also I did update react-native to 0.59.8 , and react-native-tab-view to 2.3.0.

you didn't answer any of my questions

@satya164
production mode and development mode both have this problem.
production mode do have normal ripple time most time, but tab change is after the animation and do have long ripple time once a while.
I still have long ripple time in development mode, while I cannot reproduce it in new project. I will look into it some other time.

@satya164  https://github.com/cani1see/TabViewExample
It was ok even in development mode, I rerun it today, the problem is back in  development mode, without any code modify.
production mode mostly ok, but sometimes do have the long ripple time.

i have same problem too

You haven't followed any instructions from the Optimization Tips section. You at least need to make sure your components extend PureComponent or implement a shouldComponentUpdate. I have already mentioned this link in my comment.


Adding Profile Section to User and integrating with ejs

I want to make a profile section for the logged users as in many websites like every website is having profile section for logged users.Ex:Chat-gpt.
can you assign this issue to me @SurajPratap10 .I'm in GSSOC'23

assigned @SasiVardhan247


[dart2js] Runtime error calling a closure

The following code causes a runtime error, not sure what the proper fix would be:
Code
import 'dart:js_interop';
import 'package:web/helpers.dart';

import 'web_utils.dart';

// According to the CSP3 spec a nonce must be a valid base64 string.
final _noncePattern = RegExp('^[\\w+/_-]+[=]{0,2}\$');

/// Returns CSP nonce, if set for any script tag.
String? _findNonce() {
  final elements = window.document.querySelectorAll('script');
  elements.forEach(
    (Node element) {
      final nonceValue = (element as HtmlElement).nonce;
      if (_noncePattern.hasMatch(nonceValue)) {
        return nonceValue;
      }
    }.toJS,
  );
  return null;
}

/// Creates a script that will run properly when strict CSP is enforced.
///
/// More specifically, the script has the correct `nonce` value set.
HTMLScriptElement _createScript() {
  final nonce = _findNonce();

  return nonce == null ? HTMLScriptElement() : HTMLScriptElement()
    ..setAttribute('nonce', nonce!);
}

/// Runs `window.$dartRunMain()` by injecting a script tag.
///
/// We do this so that we don't see user exceptions bubble up in our own error
/// handling zone.
void runMain() {
  final scriptElement = _createScript()..htmlFor = r'window.$dartRunMain();';
  (document.body as HTMLBodyElement).append(scriptElement.toJSBox);
  // External tear-offs are not allowed.
  // ignore: unnecessary_lambdas
  Future.microtask(() => scriptElement.remove());
}

Runtime error
NoSuchMethodError: method not found: 'call'
Receiver: Closure '_findNonce_closure'
Arguments: [Instance of 'HtmlElement', 0, Instance of 'NodeList']
NoSuchMethodError: method not found: 'call'
Receiver: Closure '_findNonce_closure'
Arguments: [Instance of 'HtmlElement', 0, Instance of 'NodeList']
    at Object.wrapException (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:1347:43)
    at _findNonce_closure.noSuchMethod$1 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:16081:15)
    at Object.noSuchMethod$1$ (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:543:42)
    at Object.Primitives_functionNoSuchMethod (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:1212:16)
    at Object.Primitives__generalApplyFunction (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:1268:18)
    at Object.Primitives_applyFunction (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:1244:16)
    at Object.Function_apply (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:5812:16)
    at _callDartFunctionFast (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:7962:16)
    at http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:7953:18
    at NodeList.forEach (<anonymous>)
    at Object._findNonce (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:9479:79)
    at Object.runMain (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:9484:19)
    at http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:24311:19
    at _wrapJsFunctionForAsync_closure.$protected (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:3906:15)
    at _wrapJsFunctionForAsync_closure.call$2 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:11730:12)
    at Object._asyncStartSync (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:3870:20)
    at main__closure4.$call$body$main__closure (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:24320:16)
    at main__closure4.call$1 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:24247:19)
    at StaticClosure._rootRunUnary (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:4289:16)
    at _CustomZone.runUnary$2$2 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:13125:39)
    at _CustomZone.runUnaryGuarded$1$2 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:13072:14)
    at _ControllerSubscription._sendData$1 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:12665:19)
    at _DelayedData.perform$1 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:12848:59)
    at _PendingEvents_schedule_closure.call$0 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:12907:14)
    at Object._microtaskLoop (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:4129:24)
    at StaticClosure._startMicrotaskLoop (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:4135:11)
    at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (http://<IP_ADDRESS>:56644/dwds/src/injected/client.js:11607:9)

Repro

clone the following PR: https://github.com/dart-lang/webdev/pull/2305
run dart run build_runner build in webdev/dwds directory
debug webdev/fixtures/_webdevSoundSmoke example in VSCode
open the chrome debugger when chrome starts, see the trace above in the console tab

CC @srujzs

Btw looks like there is a naming problem (call$1 vs call)- here is prototype generated by dart2js for the closure in question:
A._findNonce_closure.prototype = {
    call$1(element) {
      var nonceValue = A._asString(type$.JavaScriptObject._as(element).nonce),
        t1 = $.$get$_noncePattern();
      if (t1._nativeRegExp.test(nonceValue))
        this._box_0.nonce = nonceValue;
    },
    $signature: 77
  };

I haven't debugged the code yet, but I'm debating two theories:

(a) a bad interaction with dart:html and package:web (since NodeList is an intercepted type too
(b) a callback with a mismatch for the number of arguments (which should have a better error message).

Looking at the output of client.js, I believe (b) is more likely than (a). First, I see the code that calls .forEach, and it appears to be the raw JSInterop invocation from the extension method and not an intercepted call from dart:html (in that case I'd expect the call to be .forEach$1). The fact that the NoSuchMethod error also shows 3 arguments above also leads me to believe this could be (b).
Would it work if you change the code above to not just expect Node, but Node, int, NodeList (matching what MDN describes here https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach)? The second and third argument could be optional too: (Node element, [int index, NodeList list]) { ... }.toJS.

I haven't tried the original code in dwds, but I can confirm that a simple example with mismatched arguments shows a similar error.
Here is an isolated repro:
import 'dart:js_interop';
import 'dart:js_interop_unsafe';

extension type F(JSObject o) implements JSObject {
  external void forEach(JSFunction f);
}

@JS()
external F get f;

main() {
  globalContext.callMethod('eval'.toJS,
      'window.f = {forEach(g) { g(1,2); },};'.toJS);
  f.forEach(((JSAny a, JSAny b) => print('$a $b')).toJS); // good
  f.forEach(((JSAny a) => print('$a')).toJS);             // oh no!
}

This produces this error when running in d8:
1 2
/usr/local/google/home/sigmund/dart/git_all/sdk/sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: NoSuchMethodError: method not found: 'call'
Receiver: Closure 'main_closure0'
Arguments: [1, 2]
          throw e;
          ^
NoSuchMethodError: method not found: 'call'
Receiver: Closure 'main_closure0'
Arguments: [1, 2]
    at Object.wrapException (/tmp/out.js:669:43)
    at main_closure0.noSuchMethod$1 (/tmp/out.js:3863:15)
    at Object.noSuchMethod$1$ (/tmp/out.js:398:42)
    at Object.Primitives_functionNoSuchMethod (/tmp/out.js:554:16)
    at Object.Primitives__generalApplyFunction (/tmp/out.js:607:18)
    at Object.Primitives_applyFunction (/tmp/out.js:586:16)
    at _callDartFunctionFast (/tmp/out.js:2978:16)
    at /tmp/out.js:2968:18
    at Object.forEach (eval at JSObjectUnsafeUtilExtension__callMethod (/tmp/out.js:2958:29), <anonymous>:1:26)
    at Object.callMethod (/tmp/out.js:2987:31)

Finished with a exit code: 1

It has often been requested that we are more permissive with extra arguments on callbacks, so it may be worth revisiting that in the near future

the workaround for me was to not use the "foreach" and just iterate with an index:) Leaving this as a bug though because it would be great if this example did not compile.

I think Siggi nailed it that there's a mismatch in the number of parameters of the callback and the number of arguments JS provides.  Here's the request for wrapped Dart functions to accept more parameters: https://github.com/dart-lang/sdk/issues/48186

the workaround for me was to not use the "foreach" and just iterate with an index:) Leaving this as a bug though because it would be great if this example did not compile.

I think this is hard to do given the current way we write JS types. We don't know how many args a given callback is expected to take with JSFunction. There is a general feature request I've been meaning to file and thinking about which is making JSFunction a generic type that accepts a function type.
In this case, it would look something like JSFunction<void Function(Node, int, NodeList)>, so passing any arbitrary JSFunction won't work. This would make the above code not compile (but of course, if you casted, it'll compile).

This little example that might be useful.
class CallableObject {
  const CallableObject();

  void call() {
    print("CallableObject called");
  }
}

class ValueContainer<T> {
  ValueContainer(this.value);
  final T value;
  final value2 = const CallableObject();
}

void main() {
  final b = ValueContainer(const CallableObject());
  b.value2(); // Runs correctly and calls the "call" function
  b.value.call(); // Also runs correctly
  b.value(); // NoSuchMethodError: tried to call a non-function, such as null: 'b.value'
}

I think that's a tangential issue as it doesn't use callbacks or interop. I've filed a separate issue here: https://github.com/dart-lang/sdk/issues/54461


Responsive Support

The dashboard looks great on wide screens. On narrow screens (like a phone) the boxes should stack instead of staying aligned horizontally.

@cmazurk this has been updated in feature/revamp


fix(recipe-callbar-btn): show tooltip when the callbar button is disa…

…bled
Show tooltip when the callbar button is disabled
:hammer_and_wrench: Type Of Change

[X] Fix
[ ] Feature
[ ] Refactoring
[ ] Documentation

:book: Description
Options to show tooltip text when the callbar recipe button is disabled
:bulb: Context
Options to show tooltip text when the callbar recipe button is disabled
Jira: https://dialpad.atlassian.net/browse/DP-60576
:pencil: Checklist

[X ] I have reviewed my changes
[ ] I have added tests
[X] I have added all relevant documentation
[ ] I have validated components with a screen reader
[ ] I have validated components keyboard navigation
[ ] I have considered the performance impact of my change
[ ] I have checked that my change did not significantly increase bundle size
[ ] I am exporting any new components or constants in the index.js in the component directory
[ ] I am exporting any new components or constants in the index.js in the root

:camera: Screenshots / GIFs

it('Should display a disabled button when "

This is already working -

Vue3 branch was merged in https://github.com/dialpad/dialtone-vue/pull/873

@braddialpad I'm unable to merge this PR because of the check. The vue3 branch https://github.com/dialpad/dialtone-vue/pull/873 was already merged.
Please could you help merge this PR?

Thanks!


Add thesis removal command

This adds a new command called remove that can be used to remove a
specific thesis from the index and the repository.

Coverage increased (+7.1%) to 60.976% when pulling 185567fbf3863241dbea3a734d439a848e590268 on remove-thesis into 9eb08e779aa08b81f96967f9b56bd1cdd15307d0 on master.


[publications] Use date format for releaseDate

Is this a BUG REPORT or FEATURE REQUEST?:
bug
What happened:
We are currently using string for releaseDate: https://github.com/resumic/schema/blob/master/schema.json#L527
What you expected to happen:
Use date format instead.

Seems like a quick fix! Does this need to be changed anywhere but schema.go?

Should only need changes in schema.go. The rest would be generated as far as I can see.


Warning Config-Hell!

I really like aider. But, and this is the really big but, as with every piece of software, it gets more and more unintuitive with every iteration of development. Running the command aider should lead to a wizard.
Otherwise we will end up in a hell of manual configuration files. ❤

I agree with the sentiment.
While Aider is my favorite and a number 1 AI coding assistant - with every new release I find I must disable some new features. Examples:

suggest-shell-commands. While it is an amazing functionality - it makes me to say No more often than Yes.
auto-commits.  Often you want to reset and start over. It is very nice to see your IDE to show what is new after every change while auto-commit takes it away

While I need them occasionally - most of the times all I need is a very nice and strong code understanding and changing framework only, at which Aider is amazing. And for me personally it would be the best if the default state stays the same and any new features can be enabled by myself if needed as part of an advanced configuration mode. While for new users all these features enabled by default totally makes sense.
One note about this issue in case of scripting - with the new release you must update the code to disable the features, otherwise it will likely get stuck. Possibly Aider wouldn't become as good as it is if the direction was different, so I accept anything author decides.
Again, thank you for such amazing product.


ci: change CI to run make lint

Signed-off-by: Alex Collins<EMAIL_ADDRESS>Fixes #TODO

Hmm e2e failed but still auto-merged? Is there a reason why it's not required?


Failed to build

Describe the bug
App is unable to deploy my build.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-r8jnzw
Steps to reproduce
I click on deploy and it is not working.
Expected behavior
It should deploy.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 102796817,
  "usedJSHeapSize": 90950201,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Polarisman1964
Chat ID = 9b4bab5ec351

Additional context
Error:
Failed building the project. Make sure the build command is correct and try again.

Hello, This is so disappointing. This is not a complicated app but I cannot get it deployed and it burned through a bunch of credits while failing repeatedly. :(
Thanks,
Mitchell Herman


This project desperately needs a full working example.

I was able to get this to work once using CMake install commands, but it would be really nice if there was a minimal working cmake that put a C or C++ library's build output somewhere in the target folder that a Rust project is able to link against, possibly with bindgen. It's just that I can't seem to find documentation and have to work by trial and error.
Any help would be appreciated, thanks!

There is small example in another repository https://github.com/alexcrichton/rust-ffi-examples/tree/master/rust-to-cmake.

Thanks, that actually the magic install line in CMakeLists.txt I needed to build, perhaps a good start would be to link that repo from cmake-rs's README.md? I might make a PR tonight if someone doesn't beat me to it


Multiline CLI samples don't paste correctly in bash

File: engine/installation/linux/centos.md
Hello.
New markdown engine brokes new lines in code samples. Commands with backslash but without new lines don't work in bash.
was:
$ sudo yum remove docker \
                  docker-common \
                  container-selinux \
                  docker-selinux \
                  docker-engine

become:
$ sudo yum remove docker \ docker-common \ container-selinux \ docker-selinux \ docker-engine

Already fixed.


Investigate letsencrypt limits

What should be investigated.
Investigate where the limits are for letsencrypt, i.e. rate limits and other limits that might affect us if running too many clusters on the same domain.
What artifacts should this produce.
A clear presentation of what they are and any recommendations on how to handle them if it is a problem.

https://compliantkubernetes.io/adr/0009-use-cluster-issuers-for-letsencrypt/
50 certs per registered domain and week is the limit.

There exists official documentation for this, linked from the above ADR.

https://letsencrypt.org/docs/rate-limits/

The main limit is Certificates per Registered Domain (50 per week). A registered domain is, generally speaking, the part of the domain you purchased from your domain name registrar. For instance, in the name www.example.com, the registered domain is example.com. In new.blog.example.co.uk, the registered domain is example.co.uk. We use the Public Suffix List to calculate the registered domain. Exceeding the Certificates Per Registered Domain limit is reported with the error message too many certificates already issued, possibly with additional details.

We'll briefly discuss the implications during today's arch meeting.


How to achieve best quality?

Hi, I am trying to use wf-recorder to achieve high quality desktop capture.  I have specified --codec libx264 -p "preset=slower" -p"tune=film" -p"size=1920:1080" -p"rate=30", but it still looks really low quality.
I would appreciate if you could give some pointers on how to achieve a better quality

Most codecs use YUV420 format which is a lossy compression format. Try --codec libx264rgb to store all of the image data.

I should have noticed that... darn. Sorry for bugtracker spam!


Release 0.9.1

[x] Start a new release branch:git flow release start 0.9.1

[x] Rotate CHANGELOG.md (following Keep a Changelog principles)
[x] Ensure outstanding changes are committed:git status # Is the git staging area clean?
git add CHANGELOG.md
git commit -m "0.9.1"

[x] Publish the release branch:git flow release publish 0.9.1

[x] Test the release branch on staging
[x] Start a new release pipeline job with the SHA (see command below) of release/0.9.1 that was tested on staginggit rev-parse --short HEAD

[x] Run migrations, if applicable (see the showmigrations release pipeline stage):./scripts/manage ecsmanage -e production migrate

[x] Finish and publish the release branch:

When prompted, keep default commit messages
Use 0.9.1 as the tag message

git flow release finish -p 0.9.1

Success https://boundarysync.internetofwater.app/


Review/extend DEVELOPMENT documentation

Each of the controllers should have clear guidelines on how to build and run the
projects. This includes the sections:
○ How to install dependencies
○ How to install the controller
○ How to run the test suite locally
○ How to run the controller locally

Some of the information might already be there - let's double-check it's up to date and accurate.

I'd like to have a go on this.


Error using plugin

Hi, I'm just downloaded and added the plugin to a phonegap 6.3.0 project.
When I'm try to compile or build the project i get this error:
:compileDebugJavaWithJavac
C:\Projects\Mobile\site1\myproject\platforms\android\src\com\rjfun\cordova\plugin\AdMob.java:233: error: cannot find symbol
            if(delayCallback!=null)

               ^

symbol: variable delayCallback
If remove the plugin the project builds ok. I tried also updating all Android SDK and deleting npm cache but it does not work...
Any suggestions?
Thank you very much.

I have the same error. I am using ionic build process.

Hi, any news about this problem? Thank you...

+1

I resolved the problem by adding this code
final CallbackContext delayCallback = callbackContext;
at line 202


Need help to write pending scenarios in rerun file

Hi,
The earlier versions of cucumber used to write both failure and pending scenarios in to rerun file but not anymore. Our tests mostly rely on the test data (program information) that changes every 30 mins and we have a shell script in place to rerun both failure and pending scenarios twice, which would eventually pass in the second or third attempt. Since, the rerun file is not writing any pending scenarios anymore, we have to manually identify those pending scenarios from 300-400 feature files and run them again, which is time consuming.
Is there any chance that we can implement this feature in the next cucumber version?
If not, Can you please help me out with the changes that I need to make in the following file to make it work as per our project needs. Thanks much for your help in advance!
https://github.com/cucumber/cucumber-ruby/blob/master/lib/cucumber/formatter/rerun.rb
frozen_string_literal: true
require 'cucumber/formatter/io'
module Cucumber
module Formatter
class Rerun
include Formatter::Io
  def initialize(config)
    @io = ensure_io(config.out_stream)
    @config = config
    @failures = {}
    config.on_event :test_case_finished do |event|
        puts event
      test_case, result = *event.attributes
      puts result
      next if result.ok?(@config.strict?)
      @failures[test_case.location.file] ||= []
      @failures[test_case.location.file] << test_case.location.line
    end
    config.on_event :test_run_finished do
      next if @failures.empty?
      @io.print file_failures.join(' ')
    end
  end

  private

  def file_failures
    @failures.map { |file, lines| [file, lines].join(':') }
  end
end

end
end

The scenarios written to the rerun file are the scenarios that each would make the exit code non-zero. Failed scenarios are alway changing the exit code to non-zero, that they are therefore always entered in the rerun file. Pending, Undefined, and Flaky scenarios are changing the exit code to non-zero depending on the --strict setting, which means that the --strict setting also controls whether these scenarios are written into the rerun file.
If you run Cucumber with the --strict option, then Pending, Undefined, and Flaky scenarios will be entered into the rerun file

Thank you for your help. I really appreciate it!


Fixing correct name for managed identity and customer managed key, updated enum to union

closes #278

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/400/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/400/

/azp run

Are we still thinking of merging this one, or are the conversion to union parts taken up by the ProvisioingState one?

They are separate. I will get this one in first and then ProvisioningState.


Method to know if progress is actually showing?

What about adding a method like KRProgressHUD.isVisible to check if it's actually showing or not?

There isn't the means to check now.
I thought that this check is not important, but what kind of scene do you use it?

I have an APIManager which controls all the requests done. If one fails, I show an alertcontroller to let the user retry or not this request.
 What I do, is that if the request fail and the progress was visible, i hide it. Then, if the users wants to retry i'll show it if only if it was visible before. (Not all requests must show the progress)

In that case, you have only to call dismiss()?
dismiss() hides progress only when it is displayed.

I think I didn't explain myself, and will be better to show you some code.
let progressVisible = KRProgressHUD.isVisible() 		if progressVisible { 			**KRProgressHUD.dismiss()** 		} 		let alertController = UIAlertController(title: "AlertRetryRequestTitle".localized(), message: "AlertRetryRequestMessage".localized(), preferredStyle: .Alert) 		alertController.addAction(UIAlertAction(title: "AlertRetryBtnCancel".localized(), style: .Cancel, handler: { (action) in 			if progressVisible { 				**KRProgressHUD.show()** 			} 			retryBlock(retry: false) 		})) 		alertController.addAction(UIAlertAction(title: "AlertRetryBtnRetry".localized(), style: .Default, handler: { (action) in 			if progressVisible { 				**KRProgressHUD.show()** 			} 			retryBlock(retry: true) 		})) 		let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate 		appDelegate.window?.rootViewController?.presentViewController(alertController, animated: true, completion: nil)

OK. I was able to almost understand it.
I will respond to that right away :)

I published version 1.5.2 that added parameter.
I'm looking forward to your wonderful application ;)


Update: TimKosse.FileZilla.Client version 3.50.0

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


chore: create proper readme for this kit

[ ] Short teaser video of flow
[ ] Backlight Docs on how to set up the flow + long video

Even though the docs in backlight + videos are not done yet, I'm gonna merge this because Jan Six wants to share this kit coming Sunday already (he'll mention it's a work in progress), and the kit basically already works as long as you have a Figma project and setup your Figma Tokens Plugin GitHub sync.


Bump csv-rs for openssl 3 support

Support building with openssl 3

Thanks for this! @EmmEff let's see if the CI is happy

I'd like to request a bump to hyper-tls (see https://github.com/confidential-containers/guest-components/pull/614) as part of this (manual) PR on dependencies.

@mythi Let's make a follow-up for this.


[RFC] Align on "technical spike"

Reasoning
Following the PDDE Q1 retro, while teams can operate and execute sprints differently, it'd be useful the organization aligns on some terminologies and shares best practices. The Galleries team had a discussion about what a technical spike is, and I feel it's a good example to get alignment.
Proposal:
The goal of a technical spike
“A spike is an investment to make the story estimable or schedule-able." (1)
When we are unable to estimate a use story from a technical perspective, it usually indicates the story is too big or uncertain. If it's too big, we should break it down to be reasonable and estimable. If it's uncertain because of technical unknowns, a technical spike can be used to reduce uncertainty. The goal of a technical spike should be to unblock the team to be confident making priority and planning decisions.
Some examples when a technical spike can be used:

The team may not have knowledge of a new domain, and spikes can be used for research to familiarize the team with a new technology or domain.
The user story may contain significant technical risk, and the team may have to do some research or prototyping to gain confidence in a technological approach.

Guidelines

A spike should have clear questions to answer or acceptance criteria.
A spike should be time-boxed.
A spike should be demonstrable. This brings visibility to the team and builds shared responsibility.
The team should consider implementing the spike in a separate sprint from the resulting stories.

How is this RFC resolved?
The team agree on the terminology and can use it to facilitate planning on product teams.

I like this definition! I think it's worth calling attention to what this does not include as well; things like:

"Small" projects: in the past, "spike" has often been used when discussing a small unit of work. The definition of "spike" in this RFC would exclude these cases, which I think makes sense—sometimes those "small" projects end up getting larger and are not really spikes.
Unclear issues: under this definition, spikes are meant to specifically provide clarity, and they have a clear start and end point. So while a spike should be considered when we need to better understand a problem, it should not be applied without intent, goals, and time criteria. In other words, a spike is meant to address a specific scenario or issue, and it shouldn't be a matter of "this ticket is confusing, let's do a spike on it and see if we can figure out what it means."

These interpretations are my own; feel free to disagree or discuss 😄

Great feedback @mdole. I included it in the RFC under section "A technical spike is not...".

Resolution
We decided to go with the definition.
Level of Support
2: Positive feedback.
Next Steps
We will use the aligned term going forward.
Exceptions
N/A


Module error

Im getting this message:
Traceback (most recent call last):
File "D:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1864, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN_init.py", line 41, in
from .LogicUtil.io_node import CLASS_MAPPINGS as IOMapping, CLASS_NAMES as IONames
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN\LogicUtil\io_node.py", line 6, in
from .exif.exif import read_info_from_image_stealth
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN\LogicUtil\exif\exif.py", line 3, in
import piexif
ModuleNotFoundError: No module named 'piexif'
Cannot import D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-JDCN module for custom nodes: No module named 'piexif'
Any help here?

I have updated the node please reinstall it by deleting ComfyUI-JDCN Folder and reinstall it using manager.
In case it if the issue persists,
Open CMD and write this command:
pip install piexif

Thanks a lot. I'm not at home now but will try it and report results. Thanks for the quick response!

Hi again, you can close the issue since worked. What I did was just uninstall the old node, install via git clone the new one and update (try update) via ComfyUI Manager. Worked like a charm. Thanks for this!

Solution:  reinstall it by deleting ComfyUI-JDCN Folder and reinstall it using comfy ui manager.


Owens Lake (20978) missing DOI

An example of an older site with no DOI assigned on its landing page: http://data-dev.neotomadb.org/20978

Looks like there is now a DOI for Owens Lake in data-dev!


Crashes with VS 2015 project (.NET Framework 4.6.1)

Summary
I use the newest Silk.NET NuGet package (version 1.6.0) and created a VS 2015 project with it (OpenGL).
If I run the debugger inside VS 2015 then the window appears, but after 1 - 2 seconds the process crashes with
"The program '[12436] ExampleApp.exe' has exited with code -1073740791 (0xc0000409)." -> corrupted stacktrace
I can debug the project until "window.Initialize()" or "window.Run()" is called, after that the debugger stops with "Application is in break mode" with
"Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'ExampleApp\bin\Debug\ExampleApp.exe'.
Additional information: Die Laufzeit hat einen schwerwiegenden Fehler entdeckt. Fehleradresse: "0x6f510c11" in Thread "0x47d8". Fehlercode: 0xc0000005." ("The runtime has detected a critical error").
But If I run the program outside of VS (from Windows Explorer) the process is stable (and runs normally).
And the second crash appears if I call (inside Load event):
"IInputContext input = window.CreateInput();" (without any more code, e.g. binding key or mouse events - but even with it it crashes).
I can debug (step over) that line, but after showing the window the process crashes with
"The program '[20044] ExampleApp.exe' has exited with code -1073740771 (0xc000041d)." -> STATUS_FATAL_USER_CALLBACK_EXCEPTION
And outside of VS the same happens, the process crashes (but without any message).
So I can't use any input...
Steps to reproduce

Platform: Desktop
Framework Version: .NET 4.6.1
API: OpenGL
API Version: OpenGL 3.3
s. above

Comments
Add any other context about the problem here.

The first error I'm absolutely clueless as to why that's happening, but the second error seems like a really rare bug encountered with the 1.X input backend where some memory we need is freed prematurely by the runtime, try one of the 2.0 previews to see if you can reproduce this.

Thank you for your fast response.
After updating the NuGet references to "2.0.0-preview2" (and changing some method parameters) "window = Window.Create(options);" now throws an PlatformNotSupportedException:
"An unhandled exception of type 'System.PlatformNotSupportedException' occurred in Silk.NET.Windowing.Common.dll"

Interesting. What packages are you referencing? In Silk.NET 2.0, we've moved to a soft dependency model instead of our previous "stiching assembly" model. Also do you know the message and stack trace of the PlatformNotSupportedException?

Yeah, per our 2.0 goals outlined in #48, #310 introduces DirectX bindings. Currently in that PR, there are some complete (but untested currently) bindings to Direct3D 9, 11, and 12.

This is the content of the "packages.config":

The exception message is just "Couldn't find a suitable window platform. https://docs.ultz.co.uk/Silk.NET/windowing/troubleshooting.html" (but this site is unavailable for me ;-( ).
And there's no further stack trace, only my own code:

Silk.NET.Windowing.Window.Create(WindowOptions options)
ExampleApp.Program.Main()

I've also tested it with VS 2017 and I get the same platform exception (after a full clean and rebuild).
What is exactly meant by "platform not supported"?
Isn't v2.0 running anymore with VS 2015 or VS 2017 (and .NET 4.6.1)?
I've developed an UI library and the Win GDI+ (WinForms) renderer is working and now I'm trying to implement other renderers (OpenGL, Vulkan, DirectX) for it. And if DirectX is supported in future with Silk.NET 2.0 I don't have to use another lib (and that would be great ;-).
I'm waiting for .NET 5 and the next Visual Studio version (like many other people), but for now I use VS 2015 (I don't want to install VS2019 and in a few month another new VS ;-).

Could be related to #192

Specify <RuntimeIdentifier> element in your csproj in order to have it copy the file into the bin dir.
Original from @Tyler-IN in #192

The "glfw3.dll" (32-bit) is already in the bin/debug (and release) folder (tried it also with the 64 bit version). With 1.6 I got another exception for that: "GLFW: Copy a GLFW 3.3 binary into the same directory as ExampleApp".
And isn't <RuntimeIdentifier> only for .NET Core projects?

That's not the correct usage of RuntimeIdentifier, you want something like win-x64 in there.
If that doesn't work you'll have to see if you can get more insight. Specifically, if any first chance exceptions are being thrown and caught silently (they'll contain valuable info) and if Silk.NET.Windowing.Glfw.dll is being loaded or not.

I've now tried with "win", "win-x32", "win-x64" and even "win10", "win10-x32" and "win10-x64" (according to Windows RIDs), but all give the platform exception.
But just for clarification: I've put the <RuntimeIdentifier>XXX</RuntimeIdentifier> in the first <PropertyGroup> of the csproj-file:
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{B18912CC-AC84-4A8C-901F-8730B199B269}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Win3D</RootNamespace>
    <AssemblyName>Win3D</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <ImplicitlyExpandDesignTimeFacades>false</ImplicitlyExpandDesignTimeFacades>
    <TargetFrameworkProfile />
    <RuntimeIdentifier>win</RuntimeIdentifier>
  </PropertyGroup>
...

and then rebuilded and started the "Debug" configuration.
And in the "Module" list, only (from Silk.NET libraries)

Silk.NET.Core.dll
Silk.NET.Windowing.Common.dll

are loaded.
But I don't see any first chance exceptions in the debug output.
And in comparison with my running Win-GDI+ project, there are a lot more (> 20) entries of:

Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll (but it doesn't show the missing filename ;-( )

For older csproj, you may need  /  or something similar.
You should probably convert the project to use the ".NET Core" csproj format and net461

Also with <PlatformTarget>AnyCPU</PlatformTarget> it is not running (with x86 or x64 I get a warning, cause my main project uses AnyCPU).
No, VS 2015 can't support directly .NET Core projects (it can use NuGet Standard 2.0 projects, but one cannot create or use .NET Core projects).
I can understand that Silk.NET 2.0 only uses the new project format and it would be sufficient for me to use v1.6.
Is there a workaround possible for that crash?
I've added my current csproj file (it is a class library):
THX.Win3D.csproj.zip

Now I reverted back to v1.6 and tried to use Vulkan:
var options = WindowOptions.Default;
options.API = GraphicsAPI.DefaultVulkan;
// ...
window = Window.Create(options);

But at _gl = GL.GetApi(_window); I get the exception:
"An unhandled exception of type 'System.InvalidOperationException' occurred in Silk.NET.OpenGL.dll
Additional information: The given IGLContextSource is not configured with a context."
window.GLContext is null.
How can I active Vulkan?

You're trying to use OpenGL with a window configured for Vulkan.

OK, I need something like var vk = Vk.GetApi(...);. Are there any examples for using Vulkan (as for OpenGL)?
And is there a common interface for both or do I have to develop different code for both APIs?

We haven't published an official example, however there is a Vulkan test application in the src/Lab/VulkanTriangle directory
You'll need to develop for both separately, Silk.NET is nothing more than a bindings library do you'll need to create the common API layer yourself


Test: ach-web-read|write

What were you trying to do?
Find an example for reading and writing a WEB transaction in the source code. Currently one is in the README.md
What did you expect to see?
A folder in the /test/ach-web-read/ and test/ach-web-write/ directory that implements the WEB SEC code
What did you see?
Examples of other SEC codes but not web.

I'll pick this up.


Cell build fails

In the NaaVRE-cells-test-2  we get errors on the docker build:
https://github.com/QCDIS/NaaVRE-cells-test-2/actions/runs/8187237166/job/22387281301
   1 | >>> FROM  AS build
   2 |     COPY --chown=$MAMBA_USER:$MAMBA_USER environment.yaml .
   3 |     RUN micromamba install -y -n venv -f environment.yaml

@skoulouzis does it work when running NaaVRE with BASE_IMAGE_TAGS_URL=https://github.com/QCDIS/NaaVRE-flavors/releases/download/v0.6/base_image_tags.json?
When it is not set, we fall back to https://raw.githubusercontent.com/QCDIS/NaaVRE-conf/main/base_image_tags.json in component_containerizer/handlers.py#L228, which doesn’t have the build and runtime base image. As a result, dockerfile_template_conda.jinja2 is rendered with an empty base image.
If adding BASE_IMAGE_TAGS_URL solves the problem, we should change the default value in component_containerizer/handlers.py.

Another option is to update https://raw.githubusercontent.com/QCDIS/NaaVRE-conf/main/base_image_tags.json to match the contents of https://github.com/QCDIS/NaaVRE-flavors/releases/download/v0.6/base_image_tags.json.
Or even better, using the latest tags.

We should use https://github.com/QCDIS/NaaVRE-flavors/releases/latest/download/base_image_tags.json as the default value for BUSE_IMAGE_TAGS_URL

This is done in #1263


use_framework flag in pod install makes viro incompatible with react-native-maps

I suppose this is more of an issue with react-native-maps https://github.com/react-community/react-native-maps/issues/2202 but I'm hoping that someone could help with a workaround.
I have a viro react project that I'd also like to use maps with, and react-native-maps throws a build error when the use_framworks flag is enabled on the podfile.
https://stackoverflow.com/questions/50032255/pod-install-error-react-rctview-h-file-not-found-with-react-native-maps-and-u
Disabling it creates a runtime error on Viro.  I thought I saw a discussion somewhere that says that the use_frameworks restriction could be removed from Viro at some point.  I also thought I saw something that said the latest beta of XCode will support swift libraries.
Is there any way to get these two libraries to work well together?
Using
"react": "16.3.1",
"react-native": "0.55.1",
"react-viro": "2.6.1"

https://github.com/viromedia/viro/issues/274#issuecomment-389004933
Here is a possible work around to use frameworks you might want to try


New fixes for Data Center example including combiner and reducer logic

Now I have fixed the names and the new directory structure in data-center example. The example is working.


Phone number in Cote d'Ivoire (CI) is 10 characters

Hey @Oumardev
I release a new version with your contribution...thanks
So, please update your lib to latest v0.6.5


feat (UN-244): Logs from UnlockED web app

@PThorpe92 This looks pretty good to me, but I'm worried it might interfere with deployments. And since we won't have fluentd in our aws deployment yet, the console.logs might throw every time. Thoughts?

Yeah this looks good! :+1:
So I agree we might have to put this on hold until these things are installed and configured outside of our local development environments. Glad we have a good template and most of the configs will already be done for us :rocket:

Converted this to a draft until we can figure out the best way to integrate it.


Establish Gitflow Iteration

Look into implementing Gitflow for SMARTS development cycle.
Also look at:
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-branches#about-the-default-branch

I believe currently we have implemented the idea of

master,
hotfixes,
develop, and
feature branches.

We only lack the idea of a release branch for bugfixes.

I believe currently we have implemented the idea of

master,
hotfixes,
develop, and
feature branches.

We only lack the idea of a release branch for bugfixes.

This is implemented

This is implemented


Backdating post-1.94.0 should use supplied date on skeet, received date in warning

Describe the Feature
(I couldn't decide if this should be a feature request or a bug report, going with feature request for now. I've avoided using the terms createdAt and indexedAt to prevent confusion -- there's a date supplied with the skeet, and there's the date the skeet was received.)
As of 1.94.0, imported skeets show a warning that they're imported, which is a welcome change because being able to quietly backdate a skeet is ripe for abuse.
But I am going to suggest that the dates are backwards.
I was surprised there was no discussion of it in https://github.com/bluesky-social/social-app/pull/6156 (and I couldn't find a related Github issue).
As I see it, we're trying to express "The supplied date on this skeet is not trustworthy because we received it much later than the supplied date."
What I would expect from a backdated skeet is for the supplied date to be used for display and for chronological sorting, and then a server-side warning about when the skeet was actually received:

(also note wording change "posted on"; the verb "archived" doesn't make much sense to me here, we don't know why the dates differ, and the date I archived my twitter posts was months before I imported them to Bluesky)
What we have now is the other way on: a backdated skeet appears with its received date, and the supplied date is only available visible inside the warning:

Since the main purpose of backdating right now is importing old content -- and since people are being surprised because their Twitter etc. imports are now showing up as the most recent posts in their feed -- I'd encourage switching this around.
As an aside, the text inside the popup is clear (other than "Archived", but that's only a secondary issue here).

Attachments
No response
Describe Alternatives
No response
Additional Context
No response

I did see Samuel saying this is intentional here https://bsky.app/profile/samuel.bsky.team/post/3lbnczv6hvs2t
I could also see the reverse being better considering backdating is technically a feature, so perhaps it should be regarded as such. The warning label should make it obvious enough to know that the date has likely been tampered with. Maybe it should show in the feed as well.

Ah, thanks for the pointer.  Perhaps one happy medium is to have the supplied date shown as "the date", but with the calendar icon (or a calendar icon with a ⚠ incorporated) there, and then the label inside the post.
Not my proudest mockup, but you get the idea:

What I would expect from a backdated skeet is for the supplied date to be used for display and for chronological sorting, and then a server-side warning about when the skeet was actually received

As someone importing old tweets, I 100% agree and support this.
Not only because of the reasons already stated, but because the way this has been implemented causes confusion both in time line chronology & in searches, which both use the 'supplied date' (i.e. the original timestamp) despite that not being the date that's displayed to the user.
TL:
Scrolling back in my TL, I suddenly run into posts from '3d ago' wayyyy down the list because they're actually sorted (correctly) by the supplied date, but they display the received date in the TL.
SEARCH:
Similarly, when I search for a date range that includes older imported posts, the results are correct per the supplied date, but the search results show posts that are labelled as having been created a few days ago.
Both of these make for a very confusing user experience because it's illogical, and it seriously detracts from the value and of importing old posts which is to keep history and for it to be seen as such.


[BUG] - SWITCH Component Width Excessely

NextUI Version
2.4.8
Describe the bug

<Switch         onClick={() =>           theme === "light" ? setTheme("dark") : setTheme("light")         }         defaultSelected         size="lg"         color="primary"         startContent={<SunIcon />}         endContent={<MoonIcon />}          className="border-1"       ></Switch>
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Code above
Expected behavior
Should be no more width
Screenshots or Videos
No response
Operating System Version
macOS, Windows
Browser
Chrome

probably the margin should be shown when there is a label.

probably the margin should be shown when there is a label.

yes, possibly.

Status : I will raise a PR asap, currently working on it

@qwertyroop any updates?

I can pick this up, if no one is looking into it.

didn't see he made a commit nor update here. Reassigned to @ShrinidhiUpadhyaya.


Make Topology Maps only work per Site

[x] Feature request
[ ] Bug report
[ ] Documentation
[ ] Housekeeping
Description
Since Topology Maps are associated with a site - make them only use devices from the site its associated with.
Maybe split into Site Maps and Global Maps.

There are many instances where it is helpful to include devices from other sites in a topology map. What is the benefit of arbitrarily limiting what devices can be included?

Since you can only group servers via name regex naming conventions would be annoying.
If you could address sites or even racks as an address space for name regex you would be fine i guess.

What about a field on the topology map definition that sets whether the map is filtered only to resources at that site or not?  This would keep the current behavior, and allow this kind of filtering only on specific maps as needed?

Closing this out as it hasn't gotten any interest.


ptvs unexpected error on current weekly. No clue what caused it.

Complete text of the "program":
import requests
def main():
r = requests.get('https://www.google.com', auth=('user', 'pass'))
print('Hello World')
main()
=============================================================
[Window Title]
Python Tools for Visual Studio
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
System.UnauthorizedAccessException: Access to the path 'C:\Users\dev\AppData\Local\Python Tools\CompletionDB\12.0\8d5863a2-902d-3e5a-98ad-54de74830a8f\2.7\site-packages_appinst' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.AddSearchableDirsToStack(SearchData localSearchData)    at System.IO.FileSystemEnumerableIterator1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()    at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other)    at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer)
at Microsoft.PythonTools.EnvironmentsList.DBPackageView.d__5.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.PythonTools.EnvironmentsList.DBEnvironmentView.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PythonTools.EnvironmentsList.DBEnvironmentView.<Provider_ModulesChanged>d__12.MoveNext()

Thanks.
This looks like we aren't handling filesystem errors in PythonInterpreterFactoryWithDatabase.GetUpToDateModules. Unfortunately, one error on any subdirectory will abort the entire enumeration currently, so to do this properly we need to handle the recursion ourselves. Otherwise a directory that's been deleted but kept alive by an existing handle (as I suspect happened here) will continue to break the IntelliSense page in the environments window.
(We probably just want a generic helper method for enumerating files that doesn't abort when it can't recurse into a subdirectory.)

This has been fixed


Data Alignment may have error?

The loop in f32_pairwise_accumulation have f32s_in_cache_line_half_k * 2 times, and the other one only have f32s_in_cache_line_half_k times.

@bfdyanshe, yes, you are right! Sorry, I didn't see it in time. @alexbarev has just pointed me to that same problem and we will submit a patch soon.


Let's encrypt handler never finishes

I'm having trouble getting Let's Encrypt to work. The handler is started but never finishes.
I'm running this on a raspberry pi 4b running the latest debian buster. I'm running the latest stable version of gitea, which is gitea-1.13.0-linux-arm-6.
I have attached a trace log from gitea as well as the configuration.
app.ini.txt
gitea trace.txt
I have confirmed that the address is reachable from the outside (by doing a wget from a vps). It seems that let's encrypt just never sends a callback. The domain name is valid and has a working AAAA record on it.
Please let me know if there's anything else you need to debug the issue.

The handler needs to always run so that it can renew a certificate as needed, and for non LE functions it passes it to the standard server handler.
Has LE worked previously for you? From your logs it says the server has started, what does it look like in the browser? Are there any firewall rules blocking port 22/80 or 443?

It has never worked for me from gitea. When I ran it the first time I had forgotten to create a rule in the firewall, so it must have initially failed. After fixing the firewall issue - and confirming that it works by connecting from a remote network it still does not issue a certificate.
If I connect on port 80 I get a "Found" response redirecting me to https. Https then doesn't work because there is no valid certificate.
So if I understand correctly, the fact that the handler runs does not necessarily means it is sending a request to Let's Encrypt, just that it's ready to receive responses. Is it possible that the initial failure (due to me forgetting firewall rules) caused it to remember it already tried and not sending a new response to LE?

Just to confirm that the issue is not with my networking setup, I managed to obtain a working certificate with the following command:
certbot certonly --standalone -d git.example.org

I'm getting the same thing.
I see
2021/02/10 05:42:19 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:<IP_ADDRESS>:3000 on PID: 18
2021/02/10 05:42:19 cmd/web.go:78:func1() [I] Running Let's Encrypt handler on <IP_ADDRESS>:80
2021/02/10 05:42:19 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:<IP_ADDRESS>:80 on PID: 18

Then nothing for a long time.
When I try to access my domain it seems to not even give me a response to the get request.
I've tried a combination of port bindings and setting the redirect port configs, nothing seems to work.
currently, mine looks something like this:
docker-compose.yml:
ports:
  - "80:3080"
  - "443:3000"
  - "<IP_ADDRESS>:2222:22"

app.ini:
[server]
APP_DATA_PATH        = /data/gitea
DOMAIN               = xxx
SSH_DOMAIN           = xxx
HTTP_PORT            = 3000
ROOT_URL             = xxx
DISABLE_SSH          = false
SSH_PORT             = 22
SSH_LISTEN_PORT      = 22
LFS_START_SERVER     = true
LFS_CONTENT_PATH     = /data/git/lfs
LFS_JWT_SECRET       = xxx
OFFLINE_MODE         = false
PROTOCOL             = https
ENABLE_LETSENCRYPT   = true
LETSENCRYPT_ACCEPTTOS= true
LETSENCRYPT_DIRECTORY= https
LETSENCRYPT_EMAIL    = xxx
REDIRECT_OTHER_PORT  = true
PORT_TO_REDIRECT     = 3080

If it helps, I'm behind cloudflare.
I've also tried binding 80:3000, or 80:80 and not setting the extra REDIRECT vars.
If you wait for long enough, sometimes it continues past that and spams me with many errors like
TLS handshake error from xxxxx:xxxx: acme/autocert: missing certificate.

You can't just say docker version. What version of Gitea are you running?

@zeripath forgot to mention the version in this one. It's v1.13.2, I've edited the comment to add it in.

Ok I think there might actually be a known bug in this - we recently merged an entirely new update for this indicating that I think our upstream was broken.
@techknowlogick would probably know more

🧙  I've been summoned ✨
I've just verified that letsencrypt works as-is inside docker, and using the binary directly. So thankfully that means it isn't broken for everyone. There may be some difficulties with validating certs behind cloudflare, as we are listening on port "80" specifically for the HTTP-01 validation, but "443" for everything else, but cloudflare communicates only via the one, so if attempting to fetch the validation via "443" the logic isn't there. (quotes are used as they are placeholders for the ports that are used).
The changes that I recently made were to make our ACME more robust and use the same ACME handling that caddy (caddyserver.com) uses, which allows more than just HTTP-01, but also TLS ALPN too (and many others in future).
@JamesYFC are you able to try without cloudflare?

@techknowlogick it was still happening when cloudflare was set to the grey cloud mode, where the traffic shouldn't be proxied by cloudflare but we still use the name. Maybe whatever that was broken was left over even after we'd turned it off, I'm not sure.

@JamesYFC Are you able to try using the nightly build to see if that works for you (preferably on non-production data, or at very least backup your data first)?

@techknowlogick My apologies, I can't test this as our gitea setup was pretty much obliterated a couple weeks ago as we hurried to get something else working set up. I did nothing extra other than following the various spread out sections in the tutorials though. Plus of course using cloudflare as the dns, trying proxy on vs off.

As far as I understand this should have been fixed by #14177 and its associated PRs.
Please reopen if there are still problems.


Handle negative times

I could pr this if you want, wouldn't take very long :)

I have it 99% ready :P

Time for a new release :)


-ignore_loop 0 before input

Version information

fluent-ffmpeg version: 2.1.2
ffmpeg version: 4.4.1
OS: macOS 11.6.1

Not a bug report
I'm looking for a way to add the -ignore_loop flag before a particular input, so the result would look something like:
ffmpeg -i /tmp/something.mp4 -i /tmp/something_else.png -ignore_loop 0 -i /tmp/something.gif ...

I've looked at the code but I haven't figured out a good place to do it. This might be more of a feature request than a question.
Checklist

[x] I have read the FAQ
[x] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[n/a] I have included full stderr/stdout output from ffmpeg

Input Options? .inputOptions('-ignore...').input(...)


Inheriting from Typed controller with element's type

Hello.
I've been using a custom tweaked version of this package for some time and I'm struggling to come up with a solution to my problem. I'm trying provide the controller's element type and extend a common (abstract) controller.
Any insights would be appreciated.
const targets = { confirmModal: HTMLElement };

// This line causes "Base class expressions cannot reference class type parameters."
abstract class HasConfimationController<ElementType extends Element = Element> extends Typed(Controller<ElementType>, { targets }) {
  abstract confirmField({ detail: { data } }: CustomEvent): void;
  abstract declineField({ detail: { data } }: CustomEvent): void;

  protected callConfirmation(): void {
    // Open confirmation dialog
  }
}

class DeleteController extends HasConfimationController<HTMLElement> {
  confirmField(): void {
    // Handle confirm
  }

  declineField(): void {
    // Handle confirm
  }
}

The following should work...
It moves the type argument outside the class declaration.
function HasConfimationController<T extends Element = Element>() {
  const targets = { confirmModal: HTMLElement };

  abstract class HasConfimationController extends Typed(Controller<T>, {
    targets,
  }) {
    abstract confirmField({ detail: { data } }: CustomEvent): void;
    abstract declineField({ detail: { data } }: CustomEvent): void;

    protected callConfirmation(): void {
      // Open confirmation dialog
    }
  }

  return HasConfimationController;
}

class DeleteController extends HasConfimationController<HTMLElement>() {
  confirmField(): void {
    // Handle confirm
  }

  declineField(): void {
    // Handle confirm
  }
}

Curious why you are using a tweaked version of the library?

function HasConfimationController<T extends Element = Element>() {
...
}

class DeleteController extends HasConfimationController<HTMLElement>() {

Ah, thanks. I didn't think of that

Curious why you are using a tweaked version of the library?

It's been a while since I really looked at it but I think it was just adding/fixing something from an old version that's since been added/fixed


nixos/systemd: Temporarily bring back multi-user -> network-online

…online-dep"
In light of #282795 and #283717, I think it's best to revert this until we've more thoroughly checked that everything is fixed.
Description of changes
The plan is to bring back the undesirable multi-user.target -> network-online.target dependency, but leave in a warning that a unit with an After=network-online.target ordering ought to have a Wants=network-online.target dependency. After we've more thoroughly completed this migration in #282795, we can leave in the warning and remove the multi-user.target -> network-online.target dependency again.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please include the reason for the revert in the commit message.

@alyssais done

on second thought, we can just revert smaller bits of this.

Ok, I've redone this to only revert the part that needs to be reverted. All the rest of the original PR is good even without this part.


DD-WRT device tracker connection time out

Feature requests should go in the forum: https://community.home-assistant.io/c/feature-requests
Home Assistant release (hass --version):
0.18.2
Python release (python3 --version):
Python 3.4.2
Component/platform:
device_tracker/ddwrt
Description of problem:
I've tried to get started with the DD-WRT device tracker. However, HA will not use the data provided by the router. When one tests the url mentioned in ddwrt.py manually in a browser you get:
{wl_mac::60:E3:27:E7:16:24}{wl_ssid::dd-wrt}{wl_channel::6 (2437 MHz)}{wl_radio::Radio is On}{wl_xmit::16 dBm}{wl_rate::144.444 Mb/s}{wl_ack::15µs (2250m)}{active_wireless::'00:9A:CD:2C:E9:D5','ath0','8:22:39','57M','1M','HT20','-46','-95','49','589'}{active_wds::}{packet_info::SWRXgoodPacket=162118;SWRXerrorPacket=0;SWTXgoodPacket=303790;SWTXerrorPacket=0;}{uptime:: 11:44:40 up 10:18, load average: 0.01, 0.02, 0.04}{ipinfo::: Disabled}
Which looks good to me. Please help, I'm stuck.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
# device tracker
device_tracker:
  platform: ddwrt
  host: <IP_ADDRESS>
  username: XXX
  password: XXX
  # If new discovered devices are tracked by default (default: yes)
  track_new_devices: yes
  # Seconds between each scan for new devices (default: 12)
  interval_seconds: 12
  # Seconds to wait till marking someone as not home after not being seen
  # (default: 180)
  consider_home: 180

Traceback (if applicable):
16-04-24 11:42:58 homeassistant.loader: Loaded device_tracker.ddwrt from homeassistant.components.device_tracker.ddwrt
16-04-24 11:42:58 requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): <IP_ADDRESS>
16-04-24 11:43:02 homeassistant.components.device_tracker.ddwrt: Connection to the router timed out
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
    body=body, headers=headers)
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.4/http/client.py", line 1090, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
    self.endheaders(body)
  File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
    self.send(msg)
  File "/usr/lib/python3.4/http/client.py", line 859, in send
    self.connect()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 162, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 142, in _new_conn
    (self.host, self.timeout))
requests.packages.urllib3.exceptions.ConnectTimeoutError: (<requests.packages.urllib3.connection.HTTPConnection object at 0xb4d57530>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=4)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /Status_Wireless.live.asp (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0xb4d57530>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=4)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/ddwrt.py", line 144, in get_ddwrt_data
    timeout=4)
  File "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 67, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/api.py", line 53, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 432, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /Status_Wireless.live.asp (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0xb4d57530>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=4)'))
16-04-24 11:43:02 homeassistant.components.device_tracker: Error setting up platform ddwrt
16-04-24 11:43:02 homeassistant.core: Bus:Handling <Event state_changed[L]: old_state=None, entity_id=group.all_devices, new_state=<state group.all_devices=unknown; friendly_name=all devices, hidden=True, auto=True, order=0, entity_id=() @ 2016-04-24T11:43:02.918844+02:00>>
16-04-24 11:43:03 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=device_tracker, service=see>
16-04-24 11:43:03 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=device_tracker>

Additional info:

It was persumeably a wrong setting in DD-WRT causing that issue. Sadly I can't put my finger on it, however, playing arroung with the routing settings and rebooting both the router and the Raspberry running HA solved it. Try piniging the router from the RP, that was the only thing that indicated a faulty behavior in my case.

I had the same issue, I suspected the issue was my password (which contains {}[]+=`~, backtick is particularly tricky on some sites) so I made my password alphanumeric and it works fine.


See here if you want ask questions

Discussed in https://github.com/ttadano/alamode/discussions/23

Originally posted by ttadano May 12, 2021
You can post questions and suggestions related to alamode.
Before asking questions, please

read the documentation page carefully
search the previous discussions

Also, when you report an error, please provide as much information as possible, including

version of alamode
used compilers and MPI library
input files
error logs

They will help reproduce and solve your problem.

I am new user to alamode. Since I wanted to learn, I followed tutorial given for Silicon and plotted phonon dispersion curve. The issue is that I see spikes in the plot and  I am not sure of what causing this. It is calculated on 4x4x4 primitive supercell.


Add jobset and kueue manifests for "Orchestrating TPU MultiSlice workloads using JobSet and Kueue" public docs

Description
The purpose of these changes is to add the k8s manifests corresponding to our guide in the public docs on Orchestrating TPU MultiSlice workloads using JobSet and Kueue.
Tasks

[X] The contributing guide has been read and followed.
[X] The samples added / modified have been fully tested.
[ ] Workflow files have been added / modified, if applicable.
[ ] Region tags have been properly added, if new samples.
[ ] All dependencies are set to up-to-date versions, as applicable.

@danielvegamyhre all new open source files require this copyright header at the top:
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@danielvegamyhre all new open source files require this copyright header at the top:
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Added

@danielvegamyhre gentle ping!

@bourgeoisor I am still working on this, I've just had to focus on higher priority work lately.

@danielvegamyhre no rush or anything, just making sure it doesn't fall through the cracks :)

Hi @danielvegamyhre, again, no rush at all (take your time!) — just FYI: @bourgeoisor no longer works on this GitHub repository.
So when this pull-request is ready for review, please tag me (@nimjay).
Thanks!


Support for "split-lock" alignment check exceptions.

Intel have added a new feature which will raise an alignment check exception when an instruction attempts a LOCKed memory access that spans cache lines, a.k.a. a "split lock":
https://lkml.org/lkml/2019/4/3/1137
Under Zephyr, it might be useful to allow enabling these exceptions as a diagnostic tool, because they will catch accesses with detrimental impact on real-time performance.  At a minimum, Zephyr should be prepared to handle alignment exceptions gracefully: if running as a hypervisor guest, the hypervisor may enable these exceptions and pass them through to Zephyr without consent.

original submitter does not exist anymore, no way to get any further input, closing.


#23 tooltip

Coverage remained the same at 100.0% when pulling a7490627026938099a583a335f99e280aa3053a7 on tooltip into 8ef6b8cd0d09adcea951c860ce933087db7bac1f on master.


Fix AssociationParameters Value type to list of strings

According to
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html,
the SsmAssociations AssociationParameters Value is a list of strings,
not a string. This was causing instance creation failure on templates
attempting to use SsmAssociations.

Thanks!


feat: boilerplate for tooling and deployment quiz

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Unblocks #56238

Looks like this one never got created.

I cannot commit suggestions 😢


networked realSenseIDs

Hi,
If there are multiple points of entry, do you have introduce each user individually to each device?  Or is their some feature to pass profiles between devices?
thx

Hi,
An excellent question.. we are working on this feature and it'll part of our next release in a month. As part of it we'll provide an additional APIs/code to retrieve faceprints from device as well to manage users and matching them on server side. Customers will be able to have centralized server/DB with user faceprints and call our match API to allow/forbid  specific user access.
thanks

Hi,
An excellent question.. we are working on this feature and it'll part of our next release in a month. As part of it we'll provide an additional APIs/code to retrieve faceprints from device as well to manage users and matching them on server side. Customers will be able to have centralized server/DB with user faceprints and call our match API to allow/forbid  specific user access.
thanks

Great,
I had looked through of what was currently available and didn't see a reference to the capability.  I was afraid the reference to a 1000 profile on device storage and the lack of reference to such a feature on the Architecture Diagram, that it might not be possible.
Thanks : )

Great,
I had looked through of what was currently available and didn't see a reference to the capability.  I was afraid the reference to a 1000 profile on device storage and the lack of reference to such a feature on the Architecture Diagram, that it might not be possible.
Thanks : )

this feature is extremely important for businesses and buildings in order to use this in an application environment. I'm not sure why intel has not supported this be default.

this feature is extremely important for businesses and buildings in order to use this in an application environment. I'm not sure why intel has not supported this be default.


Word wrap and punctuation

Versions:

VSCode Version: 1.15.1 (commit 41abd21afdf7424c89319ee7cb0445cc6f376959)
OS Version: Linux version 4.10.0-32-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017

Steps to Reproduce:

Open new file.
Type normal text (with spaces, eg chick en) until word wrap is reached, the last character on the line should be a letter [a-z], and it should be AT the word-wrap length. That is, if the cursor is right past the last letter, the column number should be equal to editor.wordWrapColumn.
Now add a comma ,; the comma is not wrapped, despite the fact that it is past the last column. This is great, and not necessarily unexpected to treat punctuation specially.
Remove the comma, and instead type ),: now the comma is wrapped but not the parenthesis. This is unexpected; I would either expect both not to be wrapped, or else the entire word with punctuation to be wrapped.

Reproduces without extensions: Yes

I think that punctuation should either:

not be wrapped for up to 2 chars beyond editor.wordWrapColumn (eg to allow things like last word). or last word),);
or that the entire word with punctuation should be wrapped together instead of just the punctuation (eg word). should be wrapped instead of just . presently).

It also seems that commas , have a special treatment with regards to word wrapping. So the simplest might be either to remove this special treatment, or include parentheses and brackets to it.

@alexandrudima Any news on this side?

I'm going to tack a related issue onto this as I think both need addressing together.
With config
"editor.wordWrapColumn": 120
Enter a line of any unbroken text except make the last character at the wordWrapColumn length a comma and follow with a space then more text. E.g.
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
b
The bug is that a space following punctuation on the last column is displayed at the first column on the next line.
What should happen is that the space needs to be saved as part of the text stream, but it should not be displayed when at the first column position, i.e. all lines should be displayed left justified.

bug still there, any news?

@sheljohn @amaau I can no longer reproduce this.
Here I am using the following settings:
"editor.wordWrapColumn": 80,
"editor.wordWrap": "wordWrapColumn",
"editor.rulers": [80],

That means that 80 characters should be displayed and the 81st character should wrap. So the column in the status bar should go from column 1 to column 81.
Everything appears to work normally for me:

Issue is still there, last version of VSCode, windows 10, same settings as yours.
For some reason I can't attach a gif, "something went really wrong and we can't process that file",
so uploaded here -
https://gifyu.com/image/kVOz

@amaau I am looking at your gif but I am sorry I still don't understand, what do you think is a bug?
Can you please toggle render all whitespace.
There is one space character which either fits on the first line or does not. When it does not fit on the first line, it goes at the beginning of the next line:
whitespace character fits:

typing one more letter makes the whitespace character go to the next line:

@alexandrudima
In your second picture, the whitespace at the beginning of the second line should not be visible at all, it should stay on the first line or be otherwise hidden / swallowed between the lines.
Which is what happens when there's no coma at the end of the first line.

In your second picture, the whitespace at the beginning of the second line should not be visible at all, it should stay on the first line or be otherwise hidden / swallowed between the lines. Which is what happens when there's no coma at the end of the first line.

I cannot reproduce any difference between ending with a comma or a letter:

Are you trying on the latest VS Code version?

I am using latest version.
In your latest picture, the first line is 1 whole word without any spaces, so it cannot break before the end of the line.
your example:
1st line is single word, so it can't break, and space is pushed to second line.

This is also a bug -
There should never be a situation where a line starts with a space, unless there are several spaces in a row.
Here, one character on 1st line replaced with space, line breaks, whitespace goes to end of 1st line:

Here the last character of the aaaaaae word is replaced with a coma, now for some reason word "fits" into first line again, whitespace is pushed to second line, bug.

Thanks for your patience @amaau !
Ok, here are complete steps to reproduce the difference between , and letters:

create a file with the following content (those two lines differ only in the change that , is replaced with s):

this is a line of text, text that sits on a line
this is a line of texts text that sits on a line

use the following settings:

   "editor.wordWrapColumn": 23,
   "editor.rulers": [23],
   "editor.wordWrap": "wordWrapColumn",

Observe that the wrapping computation treats the , different than the s:

thanks @alexandrudima
That's exactly what I mean. Do you know if it's like to be resolved in the near future? It is an important feature for people that would like to use vscode for writing anything other than code.
Thanks


Fix the importer dock being blank when selecting multiple files.

Broken in cff0a1a896dfd825c4cccf1e3853ad5217261b40
Same as https://github.com/godotengine/godot/pull/56562, but for master

Thanks!


Changes: endpoints are now warehouses

endpoints renamed warehouses

Codecov Report

Merging #7 (846d24f) into main (c8af856) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   16.03%   16.03%
=======================================
  Files          17       17
  Lines        1846     1846
=======================================
  Hits          296      296
  Misses       1550     1550

Impacted Files
Coverage Δ

R/warehouses.R
0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


If the user clicks on the username in the blog detail page show them the blog written by that user instead of showing profile

https://github.com/18praneeth/sushiksha-website/blob/48df7b2d9f3ae342a3e190b94b6a307faff613d5/templates/blog/blog.html#L54
Have to change this line
for URL reference you can refer to the profile page where we have added a button to check the user blog post
https://github.com/18praneeth/sushiksha-website/blob/48df7b2d9f3ae342a3e190b94b6a307faff613d5/templates/profile/profile.html#L124


Update checkConsistency to compare fingerprint

Compare fingerprint instead of just length: https://alluxio.atlassian.net/browse/ALLUXIO-3363
Replacement for https://github.com/Alluxio/alluxio/pull/8588

jenkins, test this please.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3836/
Test FAILed.


Fixed premature closing of IO in Pathname#each_line

The previous implementation of Pathname#each_line (see #220) wrapped
both kinds of invocation (block and block-less) in a File.open closure,
the latter resulting in an Enumerator that attempts to operate on a
prematurely closed IO object (resulting in an IOError upon actual
iteration). This fix properly implements the block-less invocation with
a recursing enumerator.
An additional assertion was added to the Pathname unit tests to cover
the case. Existing uses of assert_equal were also corrected to use the
right "expected" and "actual" argument position.

@eventualbuddha ping!

Sorry to bug, but when do you think this PR might get merged and released? The bug is blocking some of our test-coverage efforts over at https://github.com/wikimedia/mediawiki-vagrant

Thanks for the patch.  I just released 0.6.5.

Nice! Thanks a ton.


Iterate through subscriptions using an Array to avoid manual work

$subscriptions = @("b90af070-9c1e-4fcf-b2d4-40b6e6XXXXXX",
"caf0edd2-4d68-4b67-96b7-0e449XXXXXX",
"da95d654-099d-4af4-b655-cddc9XXXXXX")
for ($i=0; $i -lt $subscriptions.count; $i++){
#Provide the subscription Id where the VMs reside
$subscriptionId = $subscriptions[$i]
#Provide the name of the csv file to be exported
$reportName = $subscriptions[$i]
Select-AzSubscription $subscriptionId
$report = @()
$vms = Get-AzVM
$publicIps = Get-AzPublicIpAddress
$nics = Get-AzNetworkInterface | ?{ $_.VirtualMachine -NE $null}
foreach ($nic in $nics) {
$info = "" | Select VmName, ResourceGroupName, Region, VirturalNetwork, Subnet, PrivateIpAddress, OsType, PublicIPAddress
$vm = $vms | ? -Property Id -eq $nic.VirtualMachine.id
foreach($publicIp in $publicIps) {
if($nic.IpConfigurations.id -eq $publicIp.ipconfiguration.Id) {
$info.PublicIPAddress = $publicIp.ipaddress
}
}
$info.OsType = $vm.StorageProfile.OsDisk.OsType
$info.VMName = $vm.Name
$info.ResourceGroupName = $vm.ResourceGroupName
$info.Region = $vm.Location
$info.VirturalNetwork = $nic.IpConfigurations.subnet.Id.Split("/")[-3]
$info.Subnet = $nic.IpConfigurations.subnet.Id.Split("/")[-1]
$info.PrivateIpAddress = $nic.IpConfigurations.PrivateIpAddress
$report+=$info
}
$report | ft VmName, ResourceGroupName, Region, VirturalNetwork, Subnet, PrivateIpAddress, OsType, PublicIPAddress
$report | Export-CSV "$reportName"
}

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

ID: 58bd8c70-b4dd-774d-7cf7-342b15399cb4
Version Independent ID: c9da22ae-6382-92e9-5251-4d93454e5393
Content: Collect details about all VMs in a subscription with PowerShell
Content Source: articles/virtual-machines/scripts/virtual-machines-powershell-sample-collect-vm-details.md
Service: virtual-machines-windows
GitHub Login: @v-miegge
Microsoft Alias: v-miegge

@jenkins540 Thank you for reaching out, the sample script in the documnet is an example about reading all VM details in a subscription, however you can further expand to read from multiple subscriptions as per your needs.
Please note that this channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation. It would really great if can you please help further expand on the feedback you have related to the document. So that we can isloate if you have issues following through the steps in the document or seeing any errors while running the custom script you have. This would help us to assist you accoridngly.

@jenkins540 Since we have not heard back from you we will now proceed to close this thread. However if there are further questions/feedback regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion. Thank you


Devops

Description

Related Issue (Link to Github issue)

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate - Postman, etc):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Here are the latest updates on your deployment. Explore the action and ⭐ star our project for more insights! 🔍

Deployed By
Status
Preview URL
Updated At (UTC)

PR Deploy
Deploying ⏳
Visit Preview
Aug 09, 2024 02:02AM


Unable to install on Debian derived PureOS

Unable to install both 32 and 64 bit version of Desktop software on Debian derived PureOS.
Error message as below.
./openbazaar_1.1.13_i381.deb: line 1: syntax error near unexpected token `newline'
./openbazaar_1.1.13_i381.deb: line 1: `!<arch>'

I will be honest, never heard of PureOS but can you give us the exact command you're running to install the package? Are you using dpkg?

Thanks for the reply. Managed to fix the missing git dependency via comments from https://forums.puri.sm/t/cant-install-git/476
Now it is running


view-source action trigger error on shadow-cljs nrepl server side.

I don't remember seeing this error before v3.1.0. It seems client sending special form ns* (star on the right). Not sure if it has anything to do with recent change on session handling and auto-load?
[2020-05-13 14:53:07.622 - WARNING] :shadow.cljs.devtools.server.worker.impl/repl-error - {:when :shadow.cljs.devtools.server.worker.impl/do-repl-rpc, :command
 :repl-eval, :msg {:type :repl-eval, :session-id "a7abd8a9-3bdf-4b34-a82a-5789ec8013ef", :runtime-id nil, :input {:eof? false, :ns cljapp.ui, :form (clojure.co
re/require (quote clojure.repl)), :source "(clojure.core/require 'clojure.repl)"}, :result-chan #object[clojure.core.async.impl.channels.ManyToManyChannel 0x71
611a04 "clojure.core.async.impl.channels.ManyToManyChannel@71611a04"]}}
ExceptionInfo Failed to process REPL command {:eof? false, :ns cljapp.ui, :form (clojure.core/require (quote clojure.repl)), :source "(clojure.core/require 'cl
ojure.repl)", :tag :shadow.cljs.repl/process-ex}
        shadow.cljs.repl/process-read-result (repl.clj:524)
        shadow.cljs.repl/process-read-result (repl.clj:498)
        shadow.cljs.devtools.server.worker.impl/do-repl-rpc (impl.clj:879)
        shadow.cljs.devtools.server.worker.impl/do-repl-rpc (impl.clj:833)
        shadow.cljs.devtools.server.worker.impl/eval20367/fn--20368 (impl.clj:914)
        clojure.lang.MultiFn.invoke (MultiFn.java:234)
        shadow.cljs.devtools.server.util/server-thread/fn--19895/fn--19896/fn--19904 (util.clj:285)
        shadow.cljs.devtools.server.util/server-thread/fn--19895/fn--19896 (util.clj:284)
        shadow.cljs.devtools.server.util/server-thread/fn--19895 (util.clj:257)
        java.lang.Thread.run (Thread.java:748)
Caused by:
ExceptionInfo ns* not supported (require, require-macros, import, import-macros, ... must be part of your ns form)

Hmm that's odd, I can reproduce it too. It does seem to work with JVM Clojure still and I haven't changed anything around this so I wonder if it's something shadow specific. I'll try out regular piggieback CLJS too and see if it's reproducible there, if not I'd imagine it'll be a shadow specific issue :thinking:

Worked out what it is, I'm doing clojure.core/require now, which I thought was safer, but shadow doesn't like it.

How's develop now?

Works. Thanks!

A different error showed up.
[2020-05-13 20:58:59.574 - WARNING] :shadow.cljs.devtools.server.worker.impl/repl-error - {:when :shadow.cljs.devtools.server.worker.impl/do-repl-rpc, :command
 :repl-eval, :msg {:type :repl-eval, :session-id "39cba4e1-7a07-43e3-bd7b-2e442e127db8", :runtime-id nil, :input {:eof? false, :ns cljapp.ui, :form (require (quote clojure.repl)), :source "(require 'clojure.repl)"}, :result-chan #object[clojure.core.async.impl.channels.ManyToManyChannel 0xa4d5940 "clojure.core.async.impl.channels.ManyToManyChannel@a4d5940"]}}                                                                                ExceptionInfo Failed to process REPL command {:eof? false, :ns cljapp.ui, :form (require (quote clojure.repl)), :source "(require 'clojure.repl)", :tag :shadow.cljs.repl/process-ex}                                                                                shadow.cljs.repl/process-read-result (repl.clj:528)                                                                                shadow.cljs.repl/process-read-result (repl.clj:502)                                                                                shadow.cljs.devtools.server.worker.impl/do-repl-rpc (impl.clj:879)                                                                                shadow.cljs.devtools.server.worker.impl/do-repl-rpc (impl.clj:833)                                                                                shadow.cljs.devtools.server.worker.impl/eval20369/fn--20370 (impl.clj:914)                                                                                clojure.lang.MultiFn.invoke (MultiFn.java:234)                                                                                shadow.cljs.devtools.server.util/server-thread/fn--19897/fn--19898/fn--19906 (util.clj:285)                                                                    shadow.cljs.devtools.server.util/server-thread/fn--19897/fn--19898 (util.clj:284)
        shadow.cljs.devtools.server.util/server-thread/fn--19897 (util.clj:257)
        java.lang.Thread.run (Thread.java:748)
Caused by:
ExceptionInfo In :require [clojure.repl :refer (clojure.repl)] already used by [cljs.repl :refer (clojure.repl)]

Something strange, I either got (js/...) completion and view-source triggering exception, or view-source without exception but (js/...) completion stop working. It's fairly random what situation it ended up.

@FongHou can you share the ns form of cljapp.ui? The error is weird and I can't reproduce it. The error suggests that there is a conflicting :refer which is weird?

Yeah, seeing the source would be great, I can't reproduce this issue now :thinking: everything in shadow-cljs + Conjure land is working well for me.

I have a conjure session now without js completion.

On the left you can see ns form, and js/w does not trigger completion.
On the right you can conjure session is Clojurescript (though the comment line says "Couldn't determine session type", which is confusing). Eval (ns ...) form result success.
I'm using
conjure develop branch commit 1da0f78af549e5f66c23f603e193ece30d646107
[thheller/shadow-cljs "2.9.3"]
[org.clojure/clojurescript "1.10.758"]

Oh, managed to get this which is fun.
; source (word): xyz
; (err) ------ REPL Error while processing ---------------------------------------------
; (err) (require 'clojure.repl)
; (err) In :require [clojure.repl :refer (clojure.repl)] already used by [cljs.repl :refer (clojure.repl)]
; (out) (defn xyz []
; (out)   (println "This is a ClojureScript file!"))

I've wrapped some code up in a do and it seems a lot happier now, what do you think? (develop again)
Doc, source, go to def, completion, test namespace, test all, test current under cursor all seem to work well for me in JVM Clojure and shadow-cljs via browser.

Yes, I can confirm everything works well now.
A few ideas for refinement:

Could select-session-interactive and display-sessions list include session-type along side of session uuid? This would make it clear when switching sessions.

Does conjure automatically switch session-type base on current buffer's file type (*.clj vs. *.cljs)? I don't see this happens currently. I think this should be pre-condition in order for auto-require to work reliably.

Would recent changes on conjure side change the behavior of coc-conjure? One strange thing happened in the middle, now I have to type C-X C-O to trigger conjure completion menu. It used to just showing up without.

Thanks again for your excellent work on the project!
Cheers!

Glad to hear it! I'll get the current develop tagged soon to provide a stable version.
Displaying the session type beside the UUID is on my todo list (I also have an item to make those UUIDs human readable somehow) but it's kind of tricky. Conjure and nREPL have no concept of "session type", it's a term I've made up for what gets returned by the following:
#?(:clj 'Clojure :cljs 'ClojureScript :cljr 'ClojureCLR :default 'Unknown)

So the type depends on what reader conditional flags are set in the current evaluation environment of the session. So to display the "type" next to each session I need to fire off an eval into each session as I generate the list. Not the end of the world but a little bit tricky.
All evaluations will happen in your current session which will be Clojure or ClojureScript. Conjure is not the one that decides how something should be evaluated, that's down to your nREPL session, I just query it to display the "type" for you.