Possible 'maybe' issue

Hello again, and apologies for posting again so soon.
I've got another potential issue that I suspect is related to #75.
Essentially, adding maybe to an assert that checks an invalid string value seems to grab that string value instead. I've created a test here:
https://runkit.com/dkhuntrods/58889646a141cf0016208c68
Thanks again.

No probs, thanks for raising the issues!
Looks like there are some holes in my test coverage that need filling. 😄

@philbooth Great, thanks! Let me know if I can help at all :)
(FTR, seems to be the same thing with not, if that helps track it down)

Apologies again for this, it should be fixed in version 7.1.3, published just now. Let me know if you get any problems!

Amazing, thanks for fixing this so quickly.
All seems to be well!


Too many restarts of skr-webhook

Due to the request-sidecar container the skr-webhook pods on remotes are restarting very frequently, although not needed:
Containers:
  server:
    State:          Running
      Started:      Mon, 04 Sep 2023 12:27:28 +0200
    Ready:          True
    Restart Count:  0
  request-sidecar:
    State:          Running
      Started:      Tue, 12 Sep 2023 08:31:15 +0200
    Last State:     Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Tue, 12 Sep 2023 07:31:14 +0200
      Finished:     Tue, 12 Sep 2023 08:31:14 +0200
    Ready:          True
    Restart Count:  188

We need to investigate, it's roundabout restarting every hour and the sidecar has initial sleep of 60m.
ACs;

[ ] Double-check if side-car is necessary, remove if not needed
[ ] skr-webhook should not restart that often

│ NAME↑            PF IMAGE                                                                           READY STATE    INIT   RESTARTS PROBES(L:R) CPU MEM CPU/R:L MEM/R:L %CPU/R %CPU/L MEM/R │
│ request-sidecar  ●  europe-docker.pkg.dev/kyma-project/prod/external/alpine:3.17.4                  true  Running  false        24 off:off       0   0  10:100  20:200      0      0     1 │
│ server           ●  europe-docker.pkg.dev/kyma-project/prod/runtime-watcher-skr:v20230824-f4459bad  true  Running  false         0 off:off       1  18  10:100  20:200     10      1    92 │
│                                                                                │
│                                                                                │

the restart happens only in request-sidecar container

│ NAME↑            PF IMAGE                                                                           READY STATE    INIT   RESTARTS PROBES(L:R) CPU MEM CPU/R:L MEM/R:L %CPU/R %CPU/L MEM/R │
│ request-sidecar  ●  europe-docker.pkg.dev/kyma-project/prod/external/alpine:3.17.4                  true  Running  false        24 off:off       0   0  10:100  20:200      0      0     1 │
│ server           ●  europe-docker.pkg.dev/kyma-project/prod/runtime-watcher-skr:v20230824-f4459bad  true  Running  false         0 off:off       1  18  10:100  20:200     10      1    92 │
│                                                                                │
│                                                                                │

the restart happens only in request-sidecar container

Yes as written in the description. We should have a look if we can remove it


Support for t.meest-group.com

Hi, Please consider add support for
https://t.meest-group.com/en/
Thanks

Hi @ptrpinheiro , can you share a tracking number? (Via email / facebook page message).


Segfault with car demo sample when exiting

A segfault is happening every time when exiting the car demo sample (branch demo-ecs, both ECS and original versions).
Backtrace:
#0  0x00007febd8266e60 in ?? ()
#1  0x000056217c329d79 in OGLSampler::~OGLSampler (this=0x56217d18ea90, __in_chrg=<optimized out>) at /home/ricardo/Universidade/GameDev Tecnico/Projects/CUBOS./core/src/cubos/core/gl/ogl_render_device.cpp:500
#2  0x000056217c33f5e0 in std::destroy_at<OGLSampler> (__location=0x56217d18ea90) at /usr/include/c++/11.2.0/bits/stl_construct.h:88
#3  0x000056217c33f25c in std::allocator_traits<std::allocator<OGLSampler> >::destroy<OGLSampler> (__a=..., __p=0x56217d18ea90) at /usr/include/c++/11.2.0/bits/alloc_traits.h:533
#4  0x000056217c33e827 in std::_Sp_counted_ptr_inplace<OGLSampler, std::allocator<OGLSampler>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x56217d18ea80) at /usr/include/c++/11.2.0/bits/shared_ptr_base.h:528
#5  0x000056217c2c902d in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x56217d18ea80) at /usr/include/c++/11.2.0/bits/shared_ptr_base.h:168
#6  0x000056217c2c5dfb in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7ffebf1b97f8, __in_chrg=<optimized out>) at /usr/include/c++/11.2.0/bits/shared_ptr_base.h:705
#7  0x000056217c2c5386 in std::__shared_ptr<cubos::core::gl::impl::Sampler, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7ffebf1b97f0, __in_chrg=<optimized out>) at /usr/include/c++/11.2.0/bits/shared_ptr_base.h:1154
#8  0x000056217c2c53a2 in std::shared_ptr<cubos::core::gl::impl::Sampler>::~shared_ptr (this=0x7ffebf1b97f0, __in_chrg=<optimized out>) at /usr/include/c++/11.2.0/bits/shared_ptr.h:122
#9  0x000056217c2c53d0 in cubos::engine::gl::pps::CopyPass::~CopyPass (this=0x7ffebf1b97c0, __in_chrg=<optimized out>) at /home/ricardo/Universidade/GameDev Tecnico/Projects/CUBOS./engine/include/cubos/engine/gl/pps/copy_pass.hpp:9
#10 0x000056217c2c15b7 in main () at /home/ricardo/Universidade/GameDev Tecnico/Projects/CUBOS./engine/samples/car.cpp:370

Seems to happen when objects are being deleted, specifically at this destructor at gl_render_device.cpp:500
https://github.com/GameDevTecnico/cubos/blob/115e932d4444c385f75e410d927ab6133db83e9d/core/src/cubos/core/gl/ogl_render_device.cpp#L498-L501

Has been fixed in the meantime. closing...


Treat errors as warnings?

Is there an option to treat any ktlint errors as warnings?  I run the linter on my CI builds, and would love to have the build continue if errors are found.
This is similar to how spotbugs/pmd/checkstyle allows warnings to be reported instead of reporting errors and failing the build.

Are you using Gradle? You could run with the --continue flag.

@shashachu thank you for the response!
Unfortunately I am not sure this will work for me for two reasons:

I do want the build to fail for legitimate reasons - i.e. if the operation failed in a different manner, unrelated to the linter finding issues, I want it to fail!
The command doesn't seem to be working anyway - or am I doing something wrong?

Zachs-MBP:ktlintTestApp Zach$ ./gradlew --continue ktlint

> Configure project :app
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

> Task :app:ktlint FAILED
/Users/zach/Developer/Code/ktlintTestApp/app/src/main/java/com/zao/ktlintTestApp/TestClass.kt:14:14: Unnecessary space(s)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:ktlint'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
1 actionable task: 1 executed

@ZOlbrys sorry for the delayed response. I'm not 100% sure, but I think in this case it's doing the correct thing since there is only a single task to execute. https://docs.gradle.org/current/userguide/command_line_interface.html#sec:continue_build_on_failure
It seems to me that it will continue executing other tasks (if there are any), but it will not prevent the task from reporting a failure. So it does seem like this might work for your usecase.

@ZOlbrys you should use ignoreExitValue in ktlint task definition: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:ignoreExitValue
It would print errors to console, but finish the build with success.

@shashachu no worries - I appreciate the support regardless :)
You may be correct about the behavior of the --continue command.  In my test app I was using just the one command, so theoretically if you have another command to execute after ktlint, that second command will still run.   I can try this out and get back when I have a chance.
@Tapchicoma thanks - I can take a look at this as well, it may a route that gives me the intended behavior.
To be clear, the context of this question is around my CI builds.  I'm running ktlint on a Jenkins job - and if any linter issues are found I want to treat them as warnings and not failures.  Failures in my current setup causes the build to be marked as a failure and stop execution of the other tasks (and this is where --continue may be of help!).  In my ideal setup for this any linter issues will be marked as warnings, and the build would not fail - but instead of marked as unstable, pending the settings I have setup. Maybe this is just something I need to setup with the static analysis plugin I am using, or maybe not.
Thanks for the help so far!

For now, we are not going to distinguish between errors and warnings, but we support now a baseline capability in ktlint, I think this would help you achieve what you want.


Maverick test

This is a TEST RUN for our #1987 release.

:tada: This PR is included in version 7.15.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is QueueClient.CreateAsync supposed to throw if the queue already exists?

Query/Question
Is QueueClient.CreateAsync supposed to throw if the queue already exists?
The sample shows it catching an exception contained an error code  aptly named QueueErrorCode.QueueAlreadyExists. Yet, when running locally, an exception isn't thrown.
On the first call, the queue is created and the response is a 201. On the second call, it's idempotent and returns a 204.
I don't want to introduce extra handling for this if it isn't necessary, but I also don't want this to break without taking a major version update.
Environment:
Azure.Storage.Queues12.2.0
.NET Core SDK (reflecting any global.json):
Version:   3.1.101
Commit:    b377529961
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.101\
Host (useful for support):
Version: 3.1.1
Commit:  a1388f194c
.NET Core SDKs installed:
2.1.509 [C:\Program Files\dotnet\sdk]
2.1.801 [C:\Program Files\dotnet\sdk]
2.1.802 [C:\Program Files\dotnet\sdk]
2.2.401 [C:\Program Files\dotnet\sdk]
3.1.101 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

//cc: @tg-msft

QueueClient.CreateAsync() calls the Create Queue.
Hi @collinstevens ,
Please find clarification in remarks section.
When a queue with the specified name already exists, the Queue service checks the metadata associated with the existing queue. If the existing metadata is identical to the metadata specified on the Create Queue request, status code 204 (No Content) is returned. If the existing metadata does not match the metadata provided with the Create Queue request, the operation fails and status code 409 (Conflict) is returned. Clients can take advantage of this behavior to avoid an additional call to check whether a named queue already exists.
You have called create twice with same information. Hence it is normal that you got a 204 without errors in the second time.
@jongio

@wantedfast thank you, this clears it up. I was only looking at the API client documentation, not the REST API itself.


Add Schemathesis to IMPLEMENTATIONS.md

This tool is based on the Hypothesis framework and can generate test cases from Open API 2 / 3 schemas and run them.
https://github.com/kiwicom/schemathesis

Hi there! :) Is there anything I can do to have the project added to the list of implementations? Or maybe I have missed some changes that obsoleted this PR?

It looks like this (and many other PRs) got closed automatically when the master branch was deleted.

@karenetheridge Got it, thanks :)


CommonJS and AMD module loading support

Given this is distributed on NPM let's add support for people using Browserify, etc. :-)

Thank you for your contribution! The .min file is generated from the normal one. Can you revert your changes to the min file?

Sorry about that. The min file is now reset.


Fix length comparison bug

fixes length comparison bug in block parser

I also made takes in Asana to refactor/simplify this algorithm


Office previous versions content links, omits OFF2013/OFF2010/OFF2007

Idea Title
Add links to docs, for the old TN library content please
Issue Details
https://technet.microsoft.com/en-us/library/ee460874.aspx
Older Office versions are documented at TNlib.
Current OFF2016 deployment guidance documentation, is and always has been sadly lacking in technical detail eg OCT and customization, which is fortunately covered in excellent detail in OFF2013 docs, and those are applicable.
https://docs.microsoft.com/en-us/DeployOffice/
https://docs.microsoft.com/en-au/previous-versions/
Please link this documentation so people can find it!  :)
I like docs/GitHub, but this obvious missing content and no link back to TNlib is very frustrating and totally bewilders new ITPros.
Thanks!

@DonPick Can you provide the docs site page link you refer to?

I have added links within the issue body :)
The most logical navigational flow I can imagine, is that a visit to;
/DeployOffice/  does not offer a tip/link towards TNlib content for OFF2013.
The /previous-versions/ link in the page footer takes us to very old content but misses pointing us to TNlib for the recently-old content.

@jwhit-MSFT Can you provide support this feedback? Or do you know who is right contact for office deploy?

Adding @DHB-MSFT , who's working on an update for this issue.

The deployment content for Office 2013, Office 2010, and Office 2007 that's currently on TechNet is in the process of being migrated over to https://docs.microsoft.com. Once it's migrated over, links to it will appear on the Previous Versions page. The content is likely to be there before the end of May.

@DonPick Thanks for your feedback. As DHB-MSFT said that the deployment content for Office 2013, Office 2010, and Office 2007 will be migrated to Docs site soon.


When using “chrome://inspect/#devices” view debug, unable to see the debug of the APP

Call a Stetho in debugging within the APP
When using “chrome://inspect/#devices” view debug, unable to see the debug of the APP

I use Stetho initializeWithDefaults (this);It is good!


.macos: Show date next to time in menu bar

I thought this would be useful to other people. It adds the date to the menu bar.

Same as setting it in System Preferences:

Full monte:
defaults write com.apple.menuextra.clock "DateFormat" -string "EEE MMM d h:mm:ss a"


NLP Help Funcs

🚀 Feature
NLP Help Funcs,
for example
Tokenizing
Bag of words
and loading the data
and other techniques of NLP I think this would be useful.
Motivation
I do NLP project a lot and I have found that I need to create custom functions for tokenizing and creating the data.
Example Notebook : https://github.com/Programmer-RD-AI/kickstarter-NLP-V4/blob/main/00.ipynb
Pitch
to create a new section of pytorch lightning called NLP
which has everything needed for doing NLP projects in PyTorch Lightning
If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning

Bolts: Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Lightning Transformers: Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

With best regards,
Ranuga

Hi!
Unfortunately, we are not interested in these domain-specific contributions at this point. However, you might find other projects such as https://github.com/pytorch/text more interesting. There are also many OSS projects focusing on NLP helper functions.
Thank you for your suggestion.


Internet Explorer randomly crashes when there are multiple slick sliders with a progressive lazyload on a single page

All my apologies for this quite long title, but cannot figure how to reduce it…
Well, on some websites with homepage featuring multiple slick sliders implementations on the same page, if there are more than one slick that use a progressive lazyload, Internet Explorer could sometimes make a high memory usage that make it crash.
This is totally random, Internet Explorer could either handle the sliders, or simply crash for memory overflow.
That's not really a solution but at least we could make or way through this issue with a lazyload method override in the config : we need to put a Lazyload: ondemand in our config file for sliders after the first one (and for whom the blinking effect of the image loading is less critical than on the big home slider).
The slick slider version is 1.5.9
And the internet explorer version that I bullied for this issue is the 11.0.9600.17420 (update versions 11.0.14) (on a virtualbox running a Microsoft Windows 7 image, one of those provided by Microsoft for IE testing).
For debugging, I worked on this website : http://preview.tinyurl.com/gnysuro

@pwetosaurus , I would like to investigate this, would you mind fixing me up a JSFiddle (as mentioned in the contribution guidelines with the amount of sliders needed to reproduce the crash?
Thanks.

I was lacking time this morning to create the fiddle, but you can consider have one really soon (in a couple of hours I guess).

Well, I made a fiddle and after some unsuccessful attempts to make Internet Explorer crash, it finally happen and the browser crash.
https://jsfiddle.net/pwetosaurus/0mmdy71y/
You can find as an attachment the way IE crash after around 10 «Run» button hits.
![slick](https://cloud.githubusercontent.com/assets/2870717/12752429/d15a47fa-c9c2-11e5-9a70-261b8097d2fd.png

woah, shit...
It seems to be going in to an infinite loop... @kenwheeler , any experience on this before?

it pretty much happens every time i view that fiddle in IE10, and occasionally in IE11

clearly... we don't need sherlock... look at this:

I'll see about fixing this !

lol thanks @simeydotme

Please can you test these fiddles with your IE, @pwetosaurus ...
I've created a bugfix, and want your test results before I merge it :)
===
Slick 1.5.9 jQuery edge
http://jsfiddle.net/o9jryph5/
:x: chrome  |  :x:  ie

Slick 1.5.9 jQuery 2.1.0
http://jsfiddle.net/p0asxvs7/
:heavy_check_mark: chrome  | :heavy_check_mark: ie

Slick 1.5.9 jQuery 1.12.0
http://jsfiddle.net/pfn4r7tg/
:heavy_check_mark: chrome  | :x: ie
This is the one @pwetosaurus is using

My Bugfix jQuery 2.1.0
http://jsfiddle.net/t2mtf150/
:heavy_check_mark: chrome  | :heavy_check_mark: ie

My Bugfix jQuery 1.12.0
http://jsfiddle.net/07gauzc7/
:heavy_check_mark: chrome  | :heavy_check_mark: ie

My Bugfix jQuery edge
http://jsfiddle.net/n18nc3zp/
:heavy_check_mark: chrome  | :heavy_check_mark: ie

@kenwheeler ... for posterity, it appears the .load() and .error() methods are

firstly; deprecated since 1.8
secondly; a pile of dog shit x-browser

The fiddles cannot reproduce the issue until I add a second slick with a different class, and I made ~50 attempts with Internet Explorer on each fiddle to see if the issue is still here.
Fiddle 1 Internet Explorer did not crash, but the second slide wasn't working (it wasn't working on Firefox on Ubuntu neither).
Fiddle 2 Internet Explorer did not crash, everything worked as expected.
Fiddle 3 Internet Explorer crash, no surprise on this fiddle.
Fiddle 4 Internet Explorer didn't crash.
Fiddle 5 Internet Explorer didn't crash.
Fiddle 6 Internet Explorer didn't crash.

Cool @pwetosaurus ... so you confirm my findings? :grin:
I'll clean up and merge this in if so.

Well I can't figure if you're right, but at least, it does't crash anymore !
More seriously, i don't know enough how slick slider work to approve of
disapprove your corrections, but I bet that if i don't know what you fix,
at least, you know what you are doing. (i would say that my first approach
if slick was a ticket by a customer saying "it crash on IE" but I will
really soon work with it !).
And thanks to you, i had no more reason not to use Internet Explorer, and i
think i will really soon switch to it ! (Just kidding, i'm not enough
nihilist to to such a thing).
Thanks again for your time, your knowledge, and the quick fix.
Cheers.
Le 7 févr. 2016 18:35, "Simon Goellner"<EMAIL_ADDRESS>a écrit :

Cool @pwetosaurus https://github.com/pwetosaurus ... so you confirm my
findings? [image: :grin:]
I'll clean up and merge this in if so.
—
Reply to this email directly or view it on GitHub
https://github.com/kenwheeler/slick/issues/2091#issuecomment-181058280.

The slick slider is amazing, but I had similar problems. You may not have realised, but this bug actually crashed/hung mozilla firefox aswell.
It took around 20 seconds to load a normal page, but once cached, it is difficult to discover that there is an underlying problem. The main trouble was was loading images for the first time before they are cached and it would go into some sort of recursive loop. The more images you had, the longer it would take.
I spent hours trying to figure it out, but I tried your bugfix branch and it works like a charm! Thank you so much for fixing this!
Cheers.

thanks @jakeoblivion ,,, sounds like a good push for @kenwheeler to get a release sorted :smile: :wave:

Had the same exact problem, and your bug fix fixed it for me also. Thank you.

I had a similar problem and I solved.
On Chrome (72.0.3626) and Firefox (61.0.2), the tab with the slick carousel freezed (lots of request on the Network tab)
The problem was the rule .slick-list { overflow: inherit; }
I removed this rule and the problem gone away.


Gated Linear Network example throws RuntimeError

When I am trying to run example in CPU, I get next error (all *_test.py are passed.):

RuntimeError: Resource exhausted: Failed to allocate request for 30.12GiB<PHONE_NUMBER>6B) on device ordinal 0

Does it mean that your GLN with 200 neurons uses >30GiB RAM with MNIST dataset?

I've got exactly the same issue.
@derpson could you recommend any workaround?


'_inlines.isEmpty': is not true error when displaying markdown

The following example throws this error.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building Container(bg: Color(0xff303030)):
'package:flutter_markdown/src/builder.dart': Failed assertion: line 155 pos 12: '_inlines.isEmpty': is not true.

The relevant error-causing widget was:
  Container file:///Users/thinkdigital/IdeaProjects/fritter_for_reddit/lib/widgets/desktop/subreddit_side_panel.dart:54:12
When the exception was thrown, this was the stack:
flutter/flutter_markdown#2      MarkdownBuilder.build (package:flutter_markdown/src/builder.dart:155:12)
flutter/flutter_markdown#3      _MarkdownWidgetState._parseMarkdown (package:flutter_markdown/src/widget.dart:175:25)
flutter/flutter_markdown#4      _MarkdownWidgetState.didUpdateWidget (package:flutter_markdown/src/widget.dart:144:7)
flutter/flutter_markdown#5      StatefulElement.update (package:flutter/src/widgets/framework.dart:4690:58)
flutter/flutter_markdown#6      Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

class Test extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MarkdownBody(
      data:
          '''###### [ [ SERIOUS ] ](http://www.reddit.com[/r/askreddit](/r/askreddit)/submit?selftext=true&title=%5BSerious%5D)

##### [Rules](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_rules):
1. You must post a clear and direct question in the title. The title may contain two, short, necessary context sentences.
No text is allowed in the textbox. Your thoughts/responses to the question can go in the comments section. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_1-)

2. Any post asking for advice should be generic and not specific to your situation alone. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_2-)

3. Askreddit is for open-ended discussion questions. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_3-)

4. Posting, or seeking, any identifying personal information, real or fake, will result in a ban without a prior warning. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_4-)

5. Askreddit is not your soapbox, personal army, or advertising platform. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_5-)

6. [Serious] tagged posts are off-limits to jokes or irrelevant replies. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_6-)

7. Soliciting money, goods, services, or favours is not allowed. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_7-)

8. Mods reserve the right to remove content or restrict users' posting privileges as necessary if it is deemed detrimental to the subreddit or to the experience of others. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_8-)

9. Comment replies consisting solely of images will be removed. [more >>](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/index#wiki_-rule_9-)

##### If you think your post has disappeared, see spam or an inappropriate post, please do not hesitate to [contact the mods](https://www.reddit.com/message/compose?to=%2Fr%2FAskReddit), we're happy to help.

---

#### Tags to use:

> ## [[Serious]](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/mod_announcements#wiki_.5Bserious.5D_post_tags)

### Use a **[Serious]** post tag to designate your post as a serious, on-topic-only thread.

-

#### Filter posts by subject:

[Mod posts](http://ud.reddit.com[/r/AskReddit](/r/AskReddit)/#ud)
[Serious posts](http://dg.reddit.com[/r/AskReddit](/r/AskReddit)/#dg)
[Megathread](http://bu.reddit.com[/r/AskReddit](/r/AskReddit)/#bu)
[Breaking news](http://nr.reddit.com[/r/AskReddit](/r/AskReddit)/#nr)
[Unfilter]([/r/AskReddit](/r/AskReddit))

-

### Do you have ideas or feedback for Askreddit? Submit to [/r/IdeasForAskReddit](/r/IdeasForAskReddit).

-

### Please use spoiler tags to hide spoilers. `>!insert spoiler here!<`

-

#### Other subreddits you might like:
some|header
:---|:---
[Ask Others](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_ask_others)|[Self & Others](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_self_.26amp.3B_others)
[Find a subreddit](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_find_a_subreddit)|[Learn something](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_learn_something)
[Meta Subs](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_meta)|[What is this ___](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_what_is_this______)
[AskReddit Offshoots](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_askreddit_offshoots)|[Offers & Assistance](https://www.reddit.com[/r/AskReddit](/r/AskReddit)/wiki/sidebarsubs#wiki_offers_.26amp.3B_assistance)

-

### Ever read the reddiquette? [Take a peek!](/wiki/reddiquette)

[](#/RES_SR_Config/NightModeCompatible)''',
    );
  }
}

Verified this using latest package version and on latest master and stable versions and don't see the exception anymore.

The bottom overflow exception isn't related to the package but code implementation.

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.3 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision f4abaa0735 (4 days ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 92.0.4515.159

• No issues found!

• No issues found!

[✓] Flutter (Channel master, 2.6.0-1.0.pre.160, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.6.0-1.0.pre.160 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f77c453ab6 (2 hours ago), 2021-09-02 00:58:19 -0400
    • Engine revision d877a4bbcd
    • Dart version 2.15.0 (build 2.15.0-68.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 92.0.4515.159

• No issues found!

Closing this as fixed, since the original issue package:flutter_markdown/src/builder.dart': Failed assertion: line 155 pos 12: '_inlines.isEmpty': is not true.  doesn't occur anymore.


feat: add precompile util with sample pallet_template impl

I just deleted pallet-template in my PR (#31) : (

Just see your comment. Maybe save the pallet template temporary? Keep this pallet and this PR will make others able to "copy" precompile copy easier.
Once we have any official EVM precompile pallet, we can remove pallet_template

Sure we can do that


MHCII wrapper running for benchmarking not successful

Expected Behavior:
Model all the cases listed in the .tsv file
Current Behavior:
Error:

WARNING: no anchor positions provided. Pandora will predict them using netMHCIIpan.
Traceback (most recent call last):
File "run_all.py", line 12, in
wrap.create_targets('/home/fmeiman/PANDORA/PANDORA_files/data/csv_pkl_files/benchmark.tsv', db, MHC_class='II', delimiter='\t', header="False", IDs_col=2, M_chain_col=3,N_chain_col=4,  benchmark=True)
File "/mnt/home1/fmeiman/PANDORA/PANDORA/Wrapper/Wrapper.py", line 202, in create_targets
tar = PMHC.Target(target_id, allele_type=self.targets[target_id]['allele'],
File "/mnt/home1/fmeiman/PANDORA/PANDORA/PMHC/PMHC.py", line 261, in init
self.anchors = Modelling_functions.predict_anchors_netMHCIIpan(self.peptide, self.allele_type)
File "/mnt/home1/fmeiman/PANDORA/PANDORA/Pandora/Modelling_functions.py", line 197, in predict_anchors_netMHCIIpan
offset, core, core_reliability = max_scores[0]
IndexError: list index out of range

Detailed Description:
As an input the .tsv file format used is:
 <peptide> <allele> <ID> <M_seq> <N_seq>
Seems the problem occurs while predicting anchor by NetMHCIIpan

I have seen this happening already when there was a problem with the netMHCIIpan installation. Can you check where it is installed? It should be in the PANDORA main folder, as "netMHCIIpan-4.0".
Inside, there should be a file called netMHCIIpan.
Please check lines 14 and 15 of that file, where NMHOME (netmhcpan home) and TMPDIR (temp dir) are defined. Be sure those paths are correct.

@FarzanehParizi is this issue still permanent? Or should I close it? I had no issues with the Wrapper on MHCII since...


WIP Circle CI and Packet.net

WIP Circle CI and Packet.net

My preference would be for PRs to push to a private repo with a tag and merged patches in master push to a public repo once it passes CI.

I'll spend some time to help provide better guidance on this today (Saturday).

Ok instead of a private repo, let's have two public repos on docker. First is for CI, all CI images go there.
Second is for releases which is the official one. We can push latest master and stable there, keeps it unpolluted.

@platoff I've exported the following variables in the circle-ci config:
DOCKER_EMAIL
DOCKER_USERNAME
DOCKER_PASSWORD

@platoff Notice that shellcheck has an error when running on circle-ci, see here for an example of this failure.
This appears to be caused by a newer shellcheck and an older Linux kernel. See this issue for an example of this.
I opened #345 to track this issue.

@platoff This is looking pretty good! I suggest a rebase and we can pretty much merge this and then fix any issues.
I do have one question: Is there some sort of limit around how many concurrent deploys into packet.net we can have, and if so, is that set somewhere? I only wonder about a "denial-of-service" attack on packet.net via our CI infra here.

@mestery There is no any kind of limit of concurrent builds in CI code, hope we have some limits with Packet.net account that would prevent denial-of-service, also is there any way to limit concurrent executions at CircleCI level?

@platoff CircleCI has a limit on the number of free executors that can run concurrently.  That should effectively avoid a serious DOS attack :)


New TBB API was used

Description
Temporary TBB interface usage was replaced by brand-new public API

/intelci: run

/intelci: run

/intelci: run


Add SavedVariablesPerCharacter to official toc tags

Codecov Report

Merging #13 (c7fbe51) into master (b9c04f9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           21        21
  Lines          720       720
=========================================
  Hits           720       720

Impacted Files
Coverage Δ

wap/toc.py
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Add the data-plane-adoption-no-ceph job to adoption zuul templates

This adds cifmw-data-plane-adoption-osp-17-to-extracted-crc-minimal-no-ceph to the two adoption zuul templates.
https://issues.redhat.com/browse/OSPRH-7331
As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running
[ ] Appropriate documentation exists and/or is up-to-date:

[ ] README in the role
[ ] Content of the docs/source is reflecting the changes

closing this out. As discussed, it seems we want to be selective on a case by case basis wrt running both ceph/non ceph jobs across the various repos.


Change payload type on /accounts when filtering by signer to return an account.

When filtering accounts by signer,  the /accounts end-point returns  account_signers resource. It should be updated to  return accounts so it is consistent with /account/{id} and filtering by asset.

Closed in #1876.


Update account Classroom with sections

Feature description
As part of the curated syllabi experience, we'll need to update the account > Classroom layout to support My Syllabi and Community Syllabi sections.

A user's own syllabi will come first, under the My Syllabi section
Any curated syllabi will appear in the Community Syllabi section

Screenshot of design

Additional context

For design questions or guidance, please reach out to @gracelindsell

Note
(Design and acceptance criteria are subject to change, prior to sprint planning)

Closed by https://github.com/Qiskit/platypus/pull/1558


Bug report: search results stop updating after dragging an operation

Summary
After performing a search and dragging an operation from the search results to the recipe, the search results can no longer be cleared or updated (i.e., you can't search for anything again without a page reload).
Example
Repro steps:

Search for "hex"
Drag "To hex" from the search results to the recipe
Delete the search text [expecting the results to disappear; they don't]
Try searching for anything else [expecting new results to appear; they don't]

This error occurs immediately after dragging the search result:
TypeError: t is null  scripts.js:1:1411855
	a.prototype.getTitle https://gchq.github.io/CyberChef/scripts.js:1:1411855
	a.prototype.hasContent https://gchq.github.io/CyberChef/scripts.js:1:1399487
	a.prototype.show https://gchq.github.io/CyberChef/scripts.js:1:1407656
	a.prototype.enter https://gchq.github.io/CyberChef/scripts.js:1:1406969
	r</<.proxy/n https://gchq.github.io/CyberChef/scripts.js:1:55634
	r</</t.event.special[e].handle https://gchq.github.io/CyberChef/scripts.js:1:144414
	r</t.event.dispatch https://gchq.github.io/CyberChef/scripts.js:1:140954
	r</t.event.add/v.handle https://gchq.github.io/CyberChef/scripts.js:1:139019

And then this error occurs with each subsequent interaction with the search box
TypeError: this.$element is null scripts.js:1:1410158
	a.prototype.hide https://gchq.github.io/CyberChef/scripts.js:1:1410158
	a.prototype.leave https://gchq.github.io/CyberChef/scripts.js:1:1407493
	r</<.proxy/n https://gchq.github.io/CyberChef/scripts.js:1:55634
	r</</t.event.special[e].handle https://gchq.github.io/CyberChef/scripts.js:1:144414
	r</t.event.dispatch https://gchq.github.io/CyberChef/scripts.js:1:140954
	r</t.event.add/v.handle https://gchq.github.io/CyberChef/scripts.js:1:139019

Environment

CyberChef compile time: 05/04/2017 22:10:27 UTC
User-Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0

Reproduces in Chrome 57 as well.
Uncompressed stack traces:
TypeError: $e is null  scripts.js:86115:5
	Tooltip.prototype.getTitle scripts.js:86115:5
	Popover.prototype.hasContent scripts.js:85302:12
	Tooltip.prototype.show scripts.js:85873:9
	Tooltip.prototype.enter scripts.js:85829:65
	__WEBPACK_AMD_DEFINE_RESULT__</<.proxy/proxy scripts.js:5043:11
	__WEBPACK_AMD_DEFINE_RESULT__</</jQuery.event.special[orig].handle scripts.js:15237:11
	__WEBPACK_AMD_DEFINE_RESULT__</jQuery.event.dispatch scripts.js:14883:16
	__WEBPACK_AMD_DEFINE_RESULT__</jQuery.event.add/elemData.handle scripts.js:14692:6

TypeError: this.$element is null scripts.js:86025:5
	Tooltip.prototype.hide scripts.js:86025:5
	Tooltip.prototype.leave scripts.js:85863:65
	__WEBPACK_AMD_DEFINE_RESULT__</<.proxy/proxy scripts.js:5043:11
	__WEBPACK_AMD_DEFINE_RESULT__</</jQuery.event.special[orig].handle scripts.js:15237:11
	__WEBPACK_AMD_DEFINE_RESULT__</jQuery.event.dispatch scripts.js:14883:16
	__WEBPACK_AMD_DEFINE_RESULT__</jQuery.event.add/elemData.handle scripts.js:14692:6

At commit 1770205ee1b684c2267a73d7bd1db94bb336f934

Thanks for this @csmith, I had also noticed it. I will work on it later this weekend if no one gets to it before me. Without having looked into it in great detail, it must be related to the introduction of ES6 modules and webpack as it wasn't a problem before.


pypi release out of date

the pypi release seems out of date. Please update it so waifu2x.run("some_image.jpg") becomes usable.

Cheers for raising this. On it now :)

fixed in https://github.com/FHPythonUtils/Waifu2x/commit/dce824361e2237f97cbe171cc0816e1739eb38fe


Use ![alt](path) syntax not only to include images, but also text files

Use ![alt](path) syntax not only to include images, but also text files.
See: https://github.com/jgm/djot.js/issues/85
"This commit enables the creation of structured documents of arbitrary complexity, contrary to the current state of affairs where only one-pagers are allowed. So now if one needs to write a book or a lengthy article all the content must be in one file. Working with big files is not convenient and may slow down/crash the editor besides being hard to read. File inclusion, implemented in https://github.com/jgm/djot.js/pull/94, allows the author to subdivide the book/article into separate manageable chapters. This provides djot with the power similar to that of LaTeX and makes it positively distinct from all the Markdown-like tools."
And a ready to merge PR:  https://github.com/jgm/djot.js/pull/94

Sorry, but there's a discrepancy between this description and what the code does. I see some code related to footnotes, etc. So what does it mean? What are the implications for other Djot implementations?

Also, sorry, but this is bragging, and weird:

This provides djot with the power similar to that of LaTeX and makes it positively distinct from all the Markdown-like tools.

In my own workflows, I use a higher level master document file (above Djot etc.), and I have made printed books from back cover to front cover with them, assembling bits of Djot content (and also Markdown or other, when needed). I don't see anything being solved positively here.

If you include files - there might be colliding identifiers, like e.g.
footnote names. In such a case the renderer warns the user and it is up to
the user to handle the issue. Again - no manipulation with the content.
On Sun, Jun 30, 2024 at 12:26 AM Omikhleia @.***> wrote:

Sorry, but there's a discrepancy between this description and what the
code does. I see some code related to footnotes, etc. So what does it mean?
What are the implications for other Djot implementations?
—
Reply to this email directly, view it on GitHub
https://github.com/jgm/djot/issues/307#issuecomment-2198341512, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AC6NCK7QZ5YBWZ76AUFVL63ZJ4Q7PAVCNFSM6AAAAABKDPCGQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM2DCNJRGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

In my own workflows, I use a higher level master document file (above Djot etc.), and I have made printed books from front cover to back cover with them, assembling bits of Djot content (and also Markdown or other, when needed). I don't see anything being solved "positively" here.

Using your own workflows can you handle this simple case of two included files:
File 1:
Is this **bold
File 2:
or not?**... hmm
If yes - how do you do it?

I certainly would forbid breaking semantic structures between different files. What your example above is even aiming at solving ? You do really expect someone to start a bold structure in a file... and end it in another, seriously?

Speaking of semantics, what becomes the "alt" content in your ![alt](somefile.djot) ?

Speaking of semantics, what becomes the "alt" content in your ![alt](somefile.djot) ?

Just to stay consistent with the image case - alt will be displayed if somefile.djot is not found.

I certainly would forbid breaking semantic structures between different files. What your example above is even aiming at solving ? You do really expect someone to start a bold structure in a file... and end it in another, seriously?

Judging by the lack of a solution on your side I conclude that you have no solution.
The above mentioned example was intended for demonstration purposes only. If you can't think of a practical example for this - I'll help you. Inclusion, i.a., enables templates. Let's imagine a document that consists of 2 constant sections - header and footer, and a variable middle section (e.g. a letter to company employees were the variable middle section consists of employee names being programmatically injected). Header might open an inline element (bold, italic or whatever) that footer will close. It's just one example. I think the real life can bring more.

Just to stay consistent with the image case - alt will be displayed if somefile.djot is not found.

How consistent? In pandoc-flavored markdown, what you call the "alt" text may be used as the figure legend if the image stands alone in a paragraph of its own (see the "implicit figure" option).
The Djot syntax is not very clear yet about this use case, and it does not have a general provision either for captioned images and figures -- for reference, see notably discussions https://github.com/jgm/djot/issues/28 and https://github.com/jgm/djot/issues/28, amongst other. But whether it eventually goes the same way as in pandoc (using the bracketed text as implicit figure) or via a generalization of the (currently table-only) ^ legend markup, the issue would remain the same.

Judging by the lack of a solution on your side I conclude that you have no solution.

Sympathetic. But I recognize I wouldn't have a solution for a non-issue edge case with no clear semantics defined ;)
You mention templating - I'm not even that sure it should be part of the document syntax... And real templating goes far beyond mere content injection.
(For the mere record, however, I already need and use some sort of custom templating logic too, see https://github.com/jgm/djot/issues/238, in specialized Djot-based template files. I do think the real life can bring more, indeed.)

I think the association of this syntax ![alt](path)  with images is so widespread that it does not worth the effort to make it different.
An option could just use other symbol like #

#(table.csv), by default use the file extension to detect the file type
#[csv](table.csv), file type can be overwritten like this  and ignore file extension
#[=](table.csv) |#[=csv](table.csv), indicate in the AST that the file should be included as raw content, the file type could be used to potentially add some kind of syntax highlight
<EMAIL_ADDRESS> include only a slice  of the file
#(profile.djot#who-i-am)  include a section of the file that can be addressed by references

the only issue, would be that this symbol #, is used for tagging in certain system, but generally tags don't use symbols like [, ], (, ), or need to start by a valid unicode_id_start character.

Your (4) goes far beyond the Djot input format markup and is perhaps possibly best left to renderers' interpretation... If instead of a CSV, your'd have (to stay on something similar) a speadsheet (ODT/OOXML), the "Sheet" name might be needed, etc. All of this is highly dependent on the source format, so a specification would have to be very explicit. (What's a slice of a CSV actually? Lines, columns, both? Etc.)

@Omikhleia  you are right on this and it was mostly related with other comment related to this https://github.com/jgm/djot/issues/199#issuecomment-1660893809, but this can also solve using URIs  #(table.csv?start_row=12&end_row=34) which let more freedom to the interpreter how to handle this

I think the association of this syntax  with images is so widespread that it does not worth the effort to make it different.

It would not be making it different, but would be generalizing it, with consistent transclusion semantics for any referenced media type:

[label](moon.jpg): link to image
![alt](moon.jpg): embed image
[label](phases.csv): link to CSV
![alt](phases.csv): embed CSV as table

@vassudanagunta I think that the problem with that is what would be the meaning of [alt]?, in images and links is used as label, but in a csv or djot file, etc? Also, how do you assign a file-type, just using the file extension is not enough because there are some file extension that clashes, and in other cases the file extension is not even present at all like an URL https://example.com/user/81a6bf136427d9e/raw/acde69adea3db6
other option will allow using attributes to sort this out

![](https://example.com/user/81a6bf136427d9e/raw/acde69adea3db6){file_type=csv}

* `![](https://example.com/user/81a6bf136427d9e/raw/acde69adea3db6){file_type=csv}`

Another way perhaps, which remains compatible with the default/current syntax: !format[alt](url) where "format" is optional and "guessed" by the rendered (btw. the file extension is not the only way, on could do a file introspection). This would allow for !csv[alt](myfile.txt)

* `![](https://example.com/user/81a6bf136427d9e/raw/acde69adea3db6){file_type=csv}`

Another way perhaps, which remains compatible with the default/current syntax: !format[alt](url) where "format" is optional and "guessed" by the renderer (btw. the file extension is not the only way, one could do a file introspection, etc.). This would allow for !csv[alt](myfile.txt)

This !format[alt](uri) actually could work, and be implemented easily at the tokenizer level,   where the format could be a valid Unicode identifier, it will match !{unicode_id}[ as token to start the file transclusion otherwise will just emit a text token.
But there are 2 types of files, transclusion

include the file and render it (interpreted), example a csv file end it as table
include the file content without interpretation, it could be the equivalent to write a code block with content of the file.

So based on that and to maintain consistency, djot can potentially handle both cases and use a similar syntax to what is used currently to differentiate between a raw content and a code block

!=[alt](uri), interpreted without a format
![alt](uri), include the file content without a format
!=format[alt](uri), interpreted with a format
!format[alt](uri), include the file content with a format, allowing syntax highlight

the problem is that this will change the current semantic of ![alt](uri), but an exception could be made to Uris that have an image file type to maintain some kind of backward compatibility

@Omikhleia you are right, the djot class system can be used for this, there are many ways to interpret a file

I second using the class system. Even the distinction between ![alt](uri) and !=[alt](uri) can be handled by the class system. And it is not always meaningful, e.g. !=[alt](uri). What does that mean? Literally include the image as a stream of bytes? Written in hex? in rgb? Continuous or interspersed with spaces between columns (like hexdump)?
I'd rather have ![alt](uri) generalized to all kind of files, and use classes to customize if needed or if ambiguous.

@mklcp I agree about the class system, even better because attributes do accept key-vaue pairs, it can potentially mimic function invocation, which allow great versatility and extensibility
but I think it will be better if there is an unambiguous way to declare the file type, so the render engine will have 3 variables to dispatch the proper method

intention to include the file
the file type, in cases where is impossible to determine the file type from the uri/path, it can be like the suggested from @Omikhleia !format?[alt](path)
The classes and attributes, that can determine a wide ranges of option like do a histogram from this CSV file.


Npm run deploy giving error: Cannot read property 'name' of undefined

everything works fine when in dev, but I guess when it's trying to compile, it gives errors. Here's my npm log:
npm-log.txt
Not sure what's wrong.

From what I can see it looks like it might be an issue with better-npm-run.

@tonytainguyen if you rewrite the scripts to not use better-npm-run (its sole purpose is to set environment variables correctly for windows/unix users), do you have any more luck? For example:
// regular npm script, not a `betterScript`:
"deploy": "NODE_ENV=production DEBUG=app:* npm run clean && babel-node bin/compile"

Also see https://github.com/davezuko/react-redux-starter-kit/issues/571 if you are having deploy problems.

Closing until more details/feedback are provided.


Is it possible to define the data type of a column?

Is it possible to define the data type of a column?

I'm currently creating an excel spreadsheet and setting the data through the setCellValue and setCellStr functions, but when I open the file in Excel a warning keeps popping up.
"Number stored as text"
Is there any way to solve this problem without having to convert this string to int and using setCellInt? Is there any way to indicate to Excel that my data is a string?

The SetlCellValue function can accept multiple cell value data types, please convert the value to float or integer data type before setting the cell value.

@xuri
Thank you very much.
I'm formatting them in string and I was inserting them in excel. Now I'm inserting as float64 and formatting with excel masks.
Maybe this tip could be somewhere in the documentation? Maybe other people also have this doubt.
It is very common for people to format numbers and then want to do calculations using formulas. To make this work, the data must be inserted as float64 and the excel mask must be used to format.

Hi @eduardo-mior, using the numeric data type value when setting the cell value by SetCellValue, the written cell's value would support working with formula reference and calculation. I think this requires no additional explanation. Set the number format (as your say masks) for cells is optional, it just formats the number.


Duration format missing

Hello,
The description of the field Duration should explain the format used here, and how to convert it.

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

ID: 0fbb4a01-2363-d116-240a-7c174b87d600
Version Independent ID: 0fbb4a01-2363-d116-240a-7c174b87d600
Content: Azure Media Services v3 input metadata schema
Content Source: media-services/latest/input-metadata-schema.md
Service: media-services
GitHub Login: @IngridAtMicrosoft
Microsoft Alias: inhenkel

Hi @MattCoalman. Thank you for your input! There is a link the document to help you understand ISO-8601 formatting.  However, I don't think it was all that helpful, so I will change it so that it links to this. https://en.wikipedia.org/wiki/ISO_8601#Times.

Thanks for the quick response @IngridAtMicrosoft.  However, on the wikipedia link, I don't see any representation starting with PT (e.q. "Duration": "PT1M10.304S")

Hi @MattCoalman Please see Duration in the same article. I will adjust the messaging in the article.
https://en.wikipedia.org/wiki/ISO_8601#Durations


reduce the rows of dots on pages other than the homepage

overview
to prevent hidding information on small screens, lets reduce the rows of dots on pages other than the home page
design details

[ ] remove the rows of dots both above and below the headings to ~4 rows above and below

[ ] if the heading ends up wrapping, still maintain ~4 rows above and below (if possible)

no urgency on this, but getting it fixed sometime in july would be rad


Consider turning off Google Analytics by default

Many people (rightfully or not) dislike Google Analytics, so it seems a bit dubious to have it switched on by default. You probably should consider turning it off, or disclosing on first run that it is initially on

Added a welcome tab that will present the analytics on/off switch on each start until the user explicitly disables the welcome tab.
Analytics won't be enabled (no matter what the setting is) until the user clicks "do not show again" on the welcome tab.


Calling $state.complete at top direction scroll.

Thanks to your great work.
I'm using top direction scroll. When I call $state.complete() at the top of the list, scroll position will not come back to the previous place.
The following is reproduction link.
https://jsfiddle.net/n4p7ovm6/
I have a question that, does this plugin assumes to call $state.complete() only when the response data length of the API is 0?
I will also describe how I solved it.
this.$nextTick(() => {
  const target = document.documentElement;
  target.scrollTop = target.scrollHeight - target._infiniteScrollHeight + target.scrollTop;
});
$state.complete();

If this plugin assumes to call $state.complete() at any other times, I think it can be fixed by adding scrollBarStorage.restore(this.scrollParent); before this.$forceUpdate(). IMHO.
Thank you!

@gigosa It is a bug, I will fix it in the next version, thanks a lot and glad you like it :D

I wasn't able to see any problem in the JSFiddle shared by gigosa. However, I believe that the problem reported has to do with the problem I'm facing, which is:
If $state.complete() is called after the first set of items is added to the container, the scroll position stays at the top, as things were added at the bottom.
This JSFiddle illustrate this:
https://jsfiddle.net/diogopedrosa/4p7yv8r3/1/
What I was expecting was to see the scroll knob at the bottom, with the items inserted at the top of the container.


cannot move with enter key on html files

cannot move with enter key on html files, i tested on css files and work but not on html, anyway to fix it?
thanks

Closing, can't reproduce.


ML 8.8 : Convolution and CNNs (D)

Description 📜
Added .ipynb and the dataset files for CNN with short introduction and implementation on python using Tensorflow.
Renamed some files which were invalid and causing errors to some contributors .
Fixes #7486

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Machine Learning

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Are you serious!? You have added 10023 files! We don't need them, we just need the documentation file. Please do the needful.
@vanshhhhh

Ah ok. I added the dataset that I used to train the CNN model.


Afd Migration swagger changes

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@gubalasu - Couple of things required before your change is ready for ARM review:

Make a new PR following this item in the submission form:
[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
If you don't want to use OpenAPIHub, you can construct your PR manually like this:

Copy all files unchanged from current API version to new API version folder
Make your first commit
Add changes for the new API version in subsequent commits, including updating the API version strings in the files.

Study the materials and attest to that by checking this item in the submission form:
[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

@gubalasu - Couple of things required before your change is ready for ARM review:

Make a new PR following this item in the submission form:
[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
If you don't want to use OpenAPIHub, you can construct your PR manually like this:

Copy all files unchanged from current API version to new API version folder
Make your first commit
Add changes for the new API version in subsequent commits, including updating the API version strings in the files.

Study the materials and attest to that by checking this item in the submission form:
[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

Created this PR with the steps mentioned above: https://github.com/Azure/azure-rest-api-specs/pull/18760


PipelineRun: pod has unbound immediate PersistentVolumeClaims

Issue
During the creation of the Pod from the tutorial pipeline definition, we get this error
Error
pod has unbound immediate PersistentVolumeClaims

the problem is related to the fact that no PVC is created for this volume as declared within the pod
  volumes:
    - name: tutorial-pipeline-run-1-pvc
      persistentVolumeClaim:
        claimName: tutorial-pipeline-run-1-pvc

Yaml file of the pod created
kind: Pod
apiVersion: v1
metadata:
  annotations:
    sidecar.istio.io/inject: 'false'
  selfLink: >-
    /api/v1/namespaces/tutorial/pods/tutorial-pipeline-run-1-build-skaffold-web-5bpkd-pod-78720e
  resourceVersion: '93687'
  name: tutorial-pipeline-run-1-build-skaffold-web-5bpkd-pod-78720e
  uid: 14a5a4c8-7d24-11e9-9ff1-fa163eaa1b05
  creationTimestamp: '2019-05-23T06:29:13Z'
  namespace: tutorial
  ownerReferences:
    - apiVersion: tekton.dev/v1alpha1
      kind: TaskRun
      name: tutorial-pipeline-run-1-build-skaffold-web-5bpkd
      uid: 14a2ef28-7d24-11e9-9ff1-fa163eaa1b05
      controller: true
      blockOwnerDeletion: true
  labels:
    tekton.dev/pipeline: tutorial-pipeline
    tekton.dev/pipelineRun: tutorial-pipeline-run-1
    tekton.dev/task: build-docker-image-from-git-source
    tekton.dev/taskRun: tutorial-pipeline-run-1-build-skaffold-web-5bpkd
spec:
  restartPolicy: Never
  initContainers:
    - resources: {}
      terminationMessagePath: /dev/termination-log
      name: build-step-credential-initializer-ltpj2
      command:
        - /ko-app/creds-init
      env:
        - name: HOME
          value: /builder/home
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: workspace
          mountPath: /workspace
        - name: home
          mountPath: /builder/home
        - name: default-token-4587p
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePolicy: File
      image: >-
        gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/creds-init@sha256:a8d00fe67962f6bb1cf223b0d9988c41aee0bf459c03f1e75f171cdc31fdf525
      workingDir: /workspace
    - resources: {}
      terminationMessagePath: /dev/termination-log
      name: build-step-place-tools
      command:
        - /bin/sh
      env:
        - name: HOME
          value: /builder/home
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: tools
          mountPath: /builder/tools
        - name: workspace
          mountPath: /workspace
        - name: home
          mountPath: /builder/home
        - name: default-token-4587p
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePolicy: File
      image: >-
        gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint@sha256:d35d81ea85babd9c43b70eb0aa225c59b44d5b32624c40d6ae8aeb0a65def8fb
      workingDir: /workspace
      args:
        - '-c'
        - cp /ko-app/entrypoint /builder/tools/entrypoint
  serviceAccountName: default
  priority: 0
  schedulerName: default-scheduler
  enableServiceLinks: true
  terminationGracePeriodSeconds: 30
  securityContext: {}
  containers:
    - resources:
        requests:
          cpu: '0'
          ephemeral-storage: '0'
          memory: '0'
      terminationMessagePath: /dev/termination-log
      name: build-step-git-source-skaffold-git-5w68n
      command:
        - /builder/tools/entrypoint
      env:
        - name: HOME
          value: /builder/home
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: tools
          mountPath: /builder/tools
        - name: workspace
          mountPath: /workspace
        - name: home
          mountPath: /builder/home
        - name: default-token-4587p
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePolicy: File
      image: >-
        gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init@sha256:68636c92fabf75e9f960e2bd6fd29f3d0932e945a14e0bfb1ac89d0dd2d45d79
      workingDir: /workspace
      args:
        - '-wait_file'
        - ''
        - '-post_file'
        - /builder/tools/0
        - '-entrypoint'
        - /ko-app/git-init
        - '--'
        - '-url'
        - 'https://github.com/GoogleContainerTools/skaffold'
        - '-revision'
        - master
        - '-path'
        - /workspace/docker-source
    - resources:
        requests:
          cpu: '0'
          ephemeral-storage: '0'
          memory: '0'
      terminationMessagePath: /dev/termination-log
      name: build-step-build-and-push
      command:
        - /builder/tools/entrypoint
      env:
        - name: HOME
          value: /builder/home
        - name: DOCKER_CONFIG
          value: /builder/home/.docker/
      imagePullPolicy: Always
      volumeMounts:
        - name: tools
          mountPath: /builder/tools
        - name: workspace
          mountPath: /workspace
        - name: home
          mountPath: /builder/home
        - name: default-token-4587p
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePolicy: File
      image: gcr.io/kaniko-project/executor
      workingDir: /workspace
      args:
        - '-wait_file'
        - /builder/tools/0
        - '-post_file'
        - /builder/tools/1
        - '-entrypoint'
        - /kaniko/executor
        - '--'
        - '--dockerfile=Dockerfile'
        - '--destination=<IP_ADDRESS>:5000/tutorial/leeroy-web'
        - '--context=/workspace/docker-source/examples/microservices/leeroy-web'
    - resources: {}
      terminationMessagePath: /dev/termination-log
      name: nop
      command:
        - /builder/tools/entrypoint
      imagePullPolicy: IfNotPresent
      volumeMounts:
        - name: tools
          mountPath: /builder/tools
        - name: default-token-4587p
          readOnly: true
          mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      terminationMessagePolicy: File
      image: >-
        gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/nop@sha256:7673de6ccea5385df2ef92ec1afd77b2654b2686888595d23d6f42ec4ec810ca
      args:
        - '-wait_file'
        - /builder/tools/1
        - '-post_file'
        - /builder/tools/2
        - '-entrypoint'
        - /ko-app/nop
        - '--'
  serviceAccount: default
  volumes:
    - name: tutorial-pipeline-run-1-pvc
      persistentVolumeClaim:
        claimName: tutorial-pipeline-run-1-pvc
    - name: tools
      emptyDir: {}
    - name: workspace
      emptyDir: {}
    - name: home
      emptyDir: {}
    - name: default-token-4587p
      secret:
        secretName: default-token-4587p
        defaultMode: 420
  dnsPolicy: ClusterFirst
  tolerations:
    - key: node.kubernetes.io/not-ready
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300
    - key: node.kubernetes.io/unreachable
      operator: Exists
      effect: NoExecute
      tolerationSeconds: 300
status:
  phase: Pending
  conditions:
    - type: PodScheduled
      status: 'False'
      lastProbeTime: null
      lastTransitionTime: '2019-05-23T06:29:13Z'
      reason: Unschedulable
      message: pod has unbound immediate PersistentVolumeClaims
  qosClass: BestEffort

Steps
https://github.com/snowdrop/openshift-infra/blob/10dded4656ceb61d9da531361fa8819785d57fbd/tekton-pipelines/tutorial/README.md#pipeline-project
Remarks:

Is it possible to document that when we use PipelineRun, then a PVC will be created which should match a PersistentVolume ?
How can we specify the size of the PVC to be created as it could be possible that the PV created propose different size and not 5Gi ?

@cmoulliard

How can we specify the size of the PVC to be created as it could be possible that the PV created propose different size and not 5Gi ?

please check this #866

@cmoulliard where are you running kubernetes when you see this and what version are you running? (And are you sure the error persists? I've seen this error pop up for a while before while the PVC is being created)

I deployed the pipelinerun get the same error as following tutorial step by step (https://github.com/tektoncd/pipeline/blob/master/docs/tutorial.md)
pod has unbound immediate PersistentVolumeClaims

pod has unbound immediate PersistentVolumeClaims

That appears for a while @wlmvp even in a case where it later succeeds @wlmvp
Please re-open if you'd like to explore this further - the next step is to make sure this is actually an error case and it isn't something else going wrong.


DotLiquid version conflict between 0.3 release and Pretzel.Logic nuget package

After the release of the new version of Pretzel, I wanted to update my existing plugins in order to use the new NuGet package.
But I am facing some problems with the DotLiquid package: in the 0.3 zip file, the DotLiquid package is at version 1.0.0 but the Pretzel.Logic NuGet package is targeting the 1.8.0 version of DotLiquid, which causes an error when Pretzel is trying to load the plugins.
I think it may be a side effect of #273 where a custom DotLiquid dll has been introduced (hence the 1.0.0 version).
I have changed the reference in my plugins with the custom DotLiquid package int the 0.3 zip, and it work fine for now, but it kinda kills the advantage of having a nuget package :smile:

Yeah, I'll have to change the reference to DotLiquid in the Pretzel.Logic package until they accept my PR...
Thanks for letting me know :smiley:

The version has been update on nuget.org too.


GAS

Is it possible to introduce the gas limit and price of gwei you wanna pay fot the tx?

You can set your own gas parameters by editing the built_tx.

And how can I do It?
Roberto Ortas
El lun, 12 jun 2023, 9:10, Richard A @.***> escribió:

You can set your own gas parameters by editing the built_tx.
—
Reply to this email directly, view it on GitHub
https://github.com/RichardAtCT/1inch_wrapper/issues/16#issuecomment-1586718505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWSVXJSUD7G2LORQSRJT5DLXK26EVANCNFSM6AAAAAAZCPGGFU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just edit the dictionary produced by build_tx and change the gas parameters
that you want to change.
On Mon, 12 Jun 2023 at 11:19 AM rob000000 @.***> wrote:

And how can I do It?
Roberto Ortas
El lun, 12 jun 2023, 9:10, Richard A @.***> escribió:

You can set your own gas parameters by editing the built_tx.
—
Reply to this email directly, view it on GitHub
<
https://github.com/RichardAtCT/1inch_wrapper/issues/16#issuecomment-1586718505>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AWSVXJSUD7G2LORQSRJT5DLXK26EVANCNFSM6AAAAAAZCPGGFU>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/RichardAtCT/1inch_wrapper/issues/16#issuecomment-1586732311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDKB32EURQK7Z3TOGIDOYLXK27HRANCNFSM6AAAAAAZCPGGFU
.
You are receiving this because you commented.Message ID:
@.***>


support interactive HTML widgets like Gadfly and ipywidgets

...or anything else that uses scripts (e.g. itorch.Plot)

Likely precursor upstream: https://github.com/ipython/ipywidgets/issues/13

Yes please!!!!

The CSP policy in Atom v1.6.0 doesn't allow the injection of scripts.
Will interactive HTML widgetis in Atom ever be possible?
@rgbkrk How about nteract? Are there any plans?

We certainly plan to have it in nteract, though @jdfreder and I have only sketched out ways we can handle it.
Seems like it might be worth seeing if Atom can let you create an iframe or a WebView.

Do you guys think that this package may help ? https://github.com/atom/loophole
I'm not sure how to apply this to our React components though.

@aviatesk all we need is the services api. I have a pr using the plugin api already. However we could be more like autocomplete and consume it

Do you mean if there is

@aviatesk the package would be similar to both plotly and mathjax which both had cst errors

Seems like it might be worth seeing if Atom can let you create an iframe or a WebView.

Any suggestions in this line of thinking? I might test this out


Futures Data Multiplier

Expected Behavior
The Futures data price is USD.
Actual Behavior
We receive data in cents of USD for CT:

Since, according to CME, it is trading at $0.75
https://www.cmegroup.com/markets/agriculture/lumber-and-softs/cotton.html
On TWS, we see around $75, so TWS doesn't display the data in USD either.
Potential Solution
Reproducing the Problem
from AlgorithmImports import *
class FocusedFluorescentYellowPigeon(QCAlgorithm):
    def initialize(self):
        self.set_start_date(2022, 12, 9)
        self.add_future('CT').set_filter(0, 360)

Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

Believe this would be a bug in the SPDB, missing the price magnifier, IB is already using Lean price magnifier functionality


rule: Fix bug when rules were out of sync

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Note: The commits were taken from this PR https://github.com/thanos-io/thanos/pull/1439, as that PR was closed too early but the bug still exists and we hit it in our setup. I added the original author as the co-commiter, as they were not responsive on the original PR.
Changes
From original PR:

Thanos rule loading alerts about out-of-sync rule files
Specifically, the following scenario:
Rule file rule. Yaml, which contains some rules, through the reload command, thanos rule load rules.
If you clear the contents of rule. Yaml, but leave the file in, the old rules in thanos rule will not be cleared.
This bug leads to a common situation (all rules in one file)
If thanos rule has 100 rules, it can only clear 99 rules at most.

Note this also fixes when you have one rule loaded only, and you delete that rule it doesn't get updated, the number or rules is not important, it's the last rule.
Verification
There is a unit test added, I also tested this manually in our cluster setup by loading the rule via yaml file as the OP suggested and deleting the rule from the file, the rule was now cleared correctly.

Note this also fixes when you have one rule loaded only, and you delete that rule it doesn't get updated, the number or rules is not important, it's the last rule.

This was fixed as the consequence of this PR, or more like the bug scope was previously thought to be only when you have a lot of rules from what I gather.


the model which set depth_confidence && width_confidence can't run by infer.py.

In export.py, I use:    lightglue = LightGlue(extractor_type, flash=flash, depth_confidence=0.95, width_confidence=0.99).eval()    to build .onnx
when I use this .onnx in infer.py, it can't run normally.
E:onnxruntime:, sequential_executor.cc:494 ExecuteKernel] Non-zero status code returned while running Squeeze node. Name:'/Squeeze_3' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/squeeze.h:52 static onnxruntime::TensorShapeVector onnxruntime::SqueezeBase::ComputeOutputShape(const onnxruntime::TensorShape&, const TensorShapeVector&) input_shape[i] == 1 was false. Dimension of input 1 must be 1 instead of 2. shape={2045,2}
Whether can I set depth_confidence && width_confidence in export.py???
Or the onnxruntime I used is something wrong?

Hi @demonove , thank you for your interest in LightGlue-ONNX.
The depth/width confidence parameters induce dynamic/data-dependent control flow in LightGlue (a for-loop with a variable number of iterations which depend on the input itself). The current tracing-based torch.onnx.export() cannot capture this adaptive behaviour, where 'easier' images only have to go through fewer layers (e.g., L=3-4), while 'harder' images need to pass through more layers (e.g., L=7-9).
I hope the upcoming torch.export() path supports this use case though.


NodeList.Equal() returns incorrect value when no root elements are set

When comparing two graphs where both have no entry points defined (eg two nodelists with no RootElements), the Equal() function returns false always.
Instead, Equals() should treat two empty lists of root nodes as equal, even when the graph is not valid.

I haven't been able to repro this, perhaps I was wrong. I'll close this and reopen if I see it again.


Lottie not building  crash in xcode 12.4 simulator

@emilioicai

@Bilal112 check out this issue: https://github.com/lottie-react-native/lottie-react-native/issues/513 there are several fixes for this problem


[MRG] Example link

Takeover from https://github.com/mne-tools/mne-python/pull/3344

Seems like it works now, but is very slow on circle. There is some issue on their site, so maybe I'll restart it later and see how it goes before we merge.

Actually, now that I look at it, it looks like it was caching most of the time. Ready for review/merge.
Example here https://909-35097627-gh.circle-artifacts.com/0//home/ubuntu/mne-python/doc/_build/html/generated/mne.read_events.html?highlight=read_events#mne.read_events

cool
any idea why we don't have the thumbnails and just the default helmet?

That's just the circle build. It doesn't run the examples. We should see them when this is merged

let's see !


Describe the Bug
When trying to format an utf-8 encoded file that contains characters above code point 0x7f and that contains a multi-line <script> tag, formatting fails with a SyntaxError. The error shows lines that differ from the lines in the file.
Note that a single-line script tag like <script></script> does not necessarily trigger the issue.
Steps to Reproduce

Create the following astro file:

Hello wörld.

<script>
</script>

Try formatting it with prettier and prettier-plugin-astro
Observe the following error:

src/example.astro
[error] src/example.astro: SyntaxError: Unterminated regular expression. (3:2)
[error]   1 |
[error]   2 |
[error] > 3 | /script>
[error]     |  ^
[error]   4 |

Expected outcome: The file is formatted and looks like this:
Hello wörld.

<script></script>

Additional examples can be found at https://github.com/withastro/prettier-plugin-astro/issues/405.

Thank you for reporting this issue!
I have fixed the issue and released version 0.4.2. Please give it a try.
If the problem persists, feel free to reopen it. Thank you!

The problem with 0.4.2 is that installing the package now requires lefthook to be installed (#110). If I install lefthook, installing prettier-plugin-astro-organize-imports modifies my .git/hooks and .git/info, which is very undesirable. But aside from that, the formatting error appears to have been fixed. Thanks!


Add Google Analytics via Google Tag Manager

Issues resolved by this pull request

Fixes #108

@rperlin-ela I set up GTM and confirmed via their Preview tool that the triggers are firing on page change. Won't be able to see what's in GA unless you add me to that as well. Up to you but these should be the steps:

https://analytics.google.com/
Click "Admin" at bottom-left
Click "Account User Management"
Looks like similar steps as giving me access to GTM. Let me know if you get stuck.

Merging, code stuff should be all set.

@rperlin-ela I set up GTM and confirmed via their Preview tool that the triggers are firing on page change. Won't be able to see what's in GA unless you add me to that as well. Up to you but these should be the steps:

https://analytics.google.com/
Click "Admin" at bottom-left
Click "Account User Management"
Looks like similar steps as giving me access to GTM. Let me know if you get stuck.

Merging, code stuff should be all set.


I need to run a function to make decision whether the custom menu item is visible or not

I found a list for when clause context, but I need more complex validation to make decision when to show the custom menu item. Is there any way to do that?
Like following:
package.json
"view/item/context": [
{
"command": "extension.test",
"when": "funMakeDecision",
"group": "new"
}
]
extension.ts
export function funMakeDecision(){
...
...
...
return true;
}

See here:
https://github.com/Microsoft/vscode/issues/10471#issuecomment-239764839


Type checking and Dominator Tree integrity checks in Verifier

It felt that often you want to treat fixed arguments and variable arguments differently, so I added methods for that to InstructionData and DataFlowGraph if that looks alright?
Filetests are failing at the moment, but it doesn't seem to have anything to do with the verifier as far as I can see, I guess it's binemit?
I just want to do the return instruction arguments and entry block arguments checks now.

Do you want me to add a Display implementation for the type sets in this PR? The Python impl is quite simple, and since the types we have isn't going to change much, I'm guessing it's fine not to have codegen to keep them in sync?

No, you don’t need to do it for this PR.
I think the type sets can be displayed without any help from the Python side by using a format that describes the permitted types instead of using the type variable name.
I guess the Python repr is a start, although it’s no too pretty:
def __repr__(self):
    # type: () -> str
    s = 'TypeSet(lanes=({}, {})'.format(self.min_lanes, self.max_lanes)
    if self.min_int is not None:
        s += ', ints=({}, {})'.format(self.min_int, self.max_int)
    if self.min_float is not None:
        s += ', floats=({}, {})'.format(self.min_float, self.max_float)
    if self.min_bool is not None:
        s += ', bools=({}, {})'.format(self.min_bool, self.max_bool)
    return s + ')'

I would prefer to merge all of this as a single commit since there's some back and forth with the arguments() method.
Do you mind squashing it?

Never mind, GitHub has a "squash and merge feature".

Ah I was just wrestling with rebase right now!


Add delay to wait for Docker image and extend release workflows

This commit introduces a delay in the demo GitHub Action workflow to diminish the issue of the Docker image not being available immediately after release. Additionally, the workflows have been expanded on with more conditions for pushing to Docker and testing PHAR files. Lastly, some trivial changes have been made to output content for improved readability.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 4 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 95.671%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/CliApplication.php
0
1
0.0%

src/Utils.php
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Utils.php
1
78.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
1967

Relevant Lines:
2056

💛  - Coveralls


Bottom Sheet samples in Gallery are hard to find

The two samples for Bottom Sheet, Modal Bottom Sheet and Persistent Bottom Sheet, are difficult to find because they are prefaced by the words Modal and Persistent. I'd be more in favor of naming them Bottom Sheet, Persistent and Bottom Sheet, Modal. This will make them easier to find and easier to compare.
Flutter Version
Flutter from https://github.com/flutter/flutter.git (on master)
Framework: a5887b6fb41c3a5e343c6132bb89cb1c10fafb95 (2 days ago)
Engine:    70b92500df0006a9756fb9302a431322456a38fd

Closing in favor of https://github.com/flutter/flutter/issues/2573.


Type "?array|string|null" is a union type, and therefore cannot be also marked nullable with the "?" prefix

BC Break Report

Q
A

Version
14.12.x

--

Summary
In new version of Symfony/console:6:3.x
https://github.com/symfony/console/blob/6.3/Command/Command.php#L475-L497
string|array $shortcut = null
While generating the class getting below error:

Previous behavior

Current behavior

How to reproduce
Steps 1: After updating the symfony/console latest version 6.3.x
Steps 2: Ran the bin/magento di:compile
It is failing at line number 105 - https://github.com/laminas/laminas-code/blob/4.13.x/src/Generator/TypeGenerator.php#L104-L108
After adding temporary fix in same file line 95 to 97 , I am able to generate all the classes by running bin/magento di:compile

Hi @omerida, I raised this issue, still i am working at my end to figure out. As far as i done the analysis and it seems to me some BIC issue is introduced in latest version of symfony/console. I think it should be resolve at laminas end. Can you help in this regard or suggest?

sorry - why am I being tagged into this issue?

I tagged you for suggestion, I thought may be you may aware about it if not i will provide the fix for the same

We identified the RCA for this issue, So, we had fixed at our end. Thanks

we had fixed at our end

So issue does not occur here?


Why is [Loading 'screen' into random state] being set as an error?

I'm looking at the source code here and it appears as though it's intended on being an error
#ifdef OPENSSL_SYS_WINDOWS
    BIO_printf(bio_err, "Loading 'screen' into random state -");
    BIO_flush(bio_err);
    RAND_screen();
    BIO_printf(bio_err, " done\n");
#endif

I'm just wondering why this is? Is there something I'm doing wrong in my invocation?
# Called from powershell
openssl.exe pkcs12 -export -inkey $key -in $crt -out $pfx -name $certData.name -passout pass:$password

essentially, I don't get an error in the console, and my $lastexitcode variable is still 0, but when I do a deployment via Octopus Deploy, the output of Loading 'Screen' into random state is being picked up as an error.

but the console doesn't seem to pick it up as an error

To me, it doesn't seem to be an error, but rather just normal output information. Now I don't claim to know anything about the C language, but in the above snippet I do see bio_err which tells me that this particular output is intended to be an error.

yeah, it's a mis-feature.  we'll fix it.

:+1:

Sorry... after discussion it's gonna stay at stderr since it's not "useful" program output.

@richsalz you're saying that because it's not useful, it's considered an error?
Right now tools like Octopus Deploy treat that as an exception which in turn fails a deployment. But as far as I can tell, I can't get rid of that message.
Powershell is treating it as an exception with a 0 exit code. I guess I just don't understand why a "not useful" program output is to be considered an error.

so Powershell and Octopus treat any output to stderr as cause for concern, even with a zero exit-code?  Seems kinda broken, but we should reconsider if that's so.

I posted my octopus output in the first question. Here it is again.

Fixed in master and 1.0.2; thanks for the extra info.


Getting syntax error SCRIPT1002 on IE for class FuzzySearch in vendor.js

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
I am trying to add the IE11 browser support for application and getting the corresponding error.
I have also changed the target from es2015 to es5 by adding tsconfig-es5.app.json.
I have also added the es5, es6 to the libs in tsconfig.json file.
🔬 Minimal Reproduction
ng serve --configuration es5
🔥 Exception or Error

🌍 Environment
package.json

 "@angular/animations": "^8.2.14",
    "@angular/cdk": "^8.2.3",
    "@angular/common": "^8.2.14",
    "@angular/compiler": "^8.2.14",
    "@angular/core": "^8.2.14",
    "@angular/fire": "5.4.0",
    "@angular/forms": "^8.2.14",
    "@angular/material": "^8.2.3",
    "@angular/platform-browser": "^8.2.14",
    "@angular/platform-browser-dynamic": "^8.2.14",
    "@angular/router": "^8.2.14"

pollyfills.ts

import "core-js";
import "core-js/stable";
import "core-js/es";
import "core-js/features/set";
import "core-js/stable/set";
import "core-js/es/set";

import "core-js/stable";
import "regenerator-runtime/runtime";
import "core-js/features/set/intersection";
import "core-js/stable/queue-microtask";
import "core-js/es/array/from";

import "core-js/proposals/reflect-metadata";
import "core-js/stage/2";

/** IE10 and IE11 requires the following for NgClass support on SVG elements */
import 'classlist.js';  // Run `npm install --save classlist.js`.

/** IE10 and IE11 requires the following to support `@angular/animation`. */
import 'web-animations-js';  // Run `npm install --save web-animations-js`.

/** ALL Firefox browsers require the following to support `@angular/animation`. **/
import 'web-animations-js';  // Run `npm install --save web-animations-js`.

/***************************************************************************************************
 * Zone JS is required by Angular itself.
 */
import './zone-flags.ts'
import 'zone.js/dist/zone';  // Included with Angular CLI.

/***************************************************************************************************
 * APPLICATION IMPORTS
 */

/**
 * Date, currency, decimal and percent pipes.
 * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
 */
// import 'core-js/es7/array';
// import 'core-js/es7/object';

// if (typeof SVGElement.prototype.contains === 'undefined') {
//   SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
// }

tsconfig.json

{
  "compileOnSave": false,
  "angularCompilerOptions": {
    "disableTypeScriptVersionCheck": true
  },
  "compilerOptions": {
    "skipLibCheck": true,
    "importHelpers": true,
    "module": "esnext",
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es2015",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "es5",
      "es6",
      "dom"
    ],
    "plugins": [
      {
        "name": "tslint-language-service"
      }
    ]
  }
}

tsconfig-es5.app.json

{
  "extends": "./tsconfig.app.json",
  "compilerOptions": {
    "target": "es5"
  }
}
Anything else relevant?
Want to add browser support for IE11 but getting the syntaxError as mentioned above.

Upgrading the Angular version is not the solution for this, it has to be another

Full downlevelling of libraries has only been implemented in Angular CLI 10. If you are using older version of the CLI, please use libraries which don’t require downlevelling. Otherwise you'll need to implement downlevelling yourself by extending the Angular CLI builders. Using unsupported 3rd party tools such as ngx-build-plus.
Angular version 8 is currently in LTS meaning that only critical security fixes are applied. See https://angular.io/guide/releases#support-policy-and-schedule for more information about Support policy and schedule.
Closing as this in actionable as it's working as intended, if you are not using Angular CLI version 10.

Duplicate of #18063