[desktop] TextField does not scroll when selecting text

https://github.com/flutter/flutter/issues/91980
I see this question is complete. But I still exist in the master channel。
https://github.com/flutter/flutter/projects/214
[√] Flutter (Channel master, 2.6.0-12.0.pre.670, on Microsoft Windows [Version 10.0.17763.2237], locale zh-CN)
• Flutter version 2.6.0-12.0.pre.670 at D:\sdks\flutter-master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 858a328712 (5 hours ago), 2021-11-09 22:22:14 -0800
• Engine revision 76bf5a1ad0
• Dart version 2.15.0 (build 2.15.0-285.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn

Hi @xyun52, that issue was closed as a duplicate of https://github.com/flutter/flutter/issues/32344.
It doesn't actually mean that it has been implemented yet.
Kindly follow up on #32344 for more information.
Closing as duplicate.


Landscape Orientation View Finder

Is there any plans to support a landscape device orientation? I am building a tablet app that is primary a landscape use case and the view finder orientation is off as well as the aspect ratio overlay.

@srhise Thanks for using our module.
What's wrong with the landscape orientation?
Can u plz describe the problem with more details?

Install the example on an iPad. Launch in landscape mode. The viewfinder displays the view sideways, and takes the picture sideways as well. I have seen this with many camera libraries on RN, including react-native-camera (which has since been fixed).


modified transform geom to accept arrays of geoms

Closes #799

Not sure what is going on, but I see errors in the build like:
NOT using gdal 2.4.2 as expected;

@snowman2 oh dear, I think the maint-1.9 build is busted. I'm looking into it now.

Got the Travis build sorted out :tada:

Nice!

Coverage increased (+0.08%) to 83.285% when pulling 3da7b856d06cdeb72a82d81ea708e8f7544d7d37 on snowman2:transform_array into 72e234d5eb699ae191ce5ca03a0ff6076a447c4f on Toblerity:maint-1.9.


Xamarin Package?

Can you guys make a Xamarin build? Given that, full stack calendar solutions become cake.

Would  a .NET Core build mean you don't need a Xamarin build?

I'm not familiar with mono or the Xamarin ecosystem. I also don't know what it's future is, given the existence of .NET Core.

Reading this thread, it seems that mono can use already-compiled assemblies, provided they don't make use of anything Windows-specific. I got rid of most of the really platform-specific stuff when I was working on the .NET Core port.
Have you tried just using the DLLs in the nuget package to see if they work under mono?

I will give the 4.0 assemblies a shot on Monday. If they work, then it should just be a simple chore to get the proper nuget targeting set up.  Xamarin can import .NET Standard, but I am rather sure .NET Core is out of the mix. [at least directly, but compiling the same code with a different target will likely work fine]. I'll let ya know. If I get it working, then my app will gain calendar recurrence. If not, it won't. :)

If something barfs with the 4.0 DLLs, and you have a useful stack trace, let me know. Chances are it's a localization thing, and may be easy to work around. (That's how a lot of the .NET Core breakages were.)

If using the 4.0 binaries doesn't work, just re-open this with any new information you can provide. (Just doing some housekeeping.)


your release version sources is 0.1.3!!!!!!!!!!!!!!!!!!!!!

your release version sources is 0.1.3!!!!!!!!!!!!!!!!!!!!!

Solved. Thanks.


Blackberry 10 Support

please is there any support for blackberry10 push?? or is there a different plugin?? and also, is there any support for angular 2 in ionic 2??
Thanks #129

Duplicate of #129.


STRANGER THINGS(bug report):MDTextFieldRound does not work correctly

So i was debugging my program for the keyboard popup automatically when the app starts on android.And noticed that this only happens when i include MDTextFieldRound: inside my code.When i remove the code that includes MDTextFieldRound the app works fine that is no keyboard popsup  when the app starts but the moment i add the MDTextFieldRound inside my code the keyboard starts popping up unnecessarily when app starts.
This is a very basic yet major issue that needs to be addressed and that is why i am opening another issue/thread.I'm attaching a file that has the code which results in keyboard popping up.Note that when you remove the MDTextFieldRound section(in AUTHOR) from the code no keyboard popsup.I hope you find and fix the problem.
##THIS IS A BUG REPORT
This is the part of code that is causing the problem
MDTextFieldRound:
                    multiline:False
                    hint_text:"Institute Name"
                    #hint_text_color:utils.get_color_from_hex('#ffffff')
                    #normal_color: utils.get_color_from_hex('#8A2BE2')
                    color_active:1,0,0,1

                    pos_hint: {"x":0.11, "top":0.13}
                    size_hint: 0.8, 0.12
                    icon_type:'without'

main.txt

@atheistrepublic There, just somewhere, the focus receives the value of True. I'll check it later

Related issue - https://github.com/HeaTTheatR/KivyMD/issues/208


source only files ending with .sh

I use zsh and also make use of a zmodule that compiles sourced files for faster execution. This compilation produces binary blobs which end in .zwc.
The change proposed here is to make sure sdkman only sources the .sh files and nothing else, otherwise it will keep producing errors at startup.
My current work-around is to redirect stderr, but I think adding the .sh suffix makes more sense.

Great idea and thanks for contributing, @smac89!


[WIP] LXD projects

I thought that being contributor of LXD I could append commits to the branch of a PR, but it doesn't seem the case, at least for this one. So I created a separate PR.


hlo_algorithm_blacklist.cc fails compilation

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution : Windows 10
TensorFlow installed from (source or binary): Source
TensorFlow version: 2.1
Python version: 3.7
Bazel version (if compiling from source): 0.29.1
GCC/Compiler version (if compiling from source): VS2019
CUDA/cuDNN version: 10.1 / 7.6
GPU model and memory: 2070 Max Q

I setup it using configure with the following options selected :

XLA JIT
Cuda
/arch:AVX
Eigen strong inline overridden

When attempting to build from source using the following command.
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow:libtensorflow.so
I get the following error.
ERROR: C:/sdks/tensorflow/tensorflow/compiler/xla/service/gpu/BUILD:1616:1: C++ compilation of rule '//tensorflow/compiler/xla/service/gpu:hlo_algorithm_blacklist' failed (Exit 2)
cl : Command line warning D9002 : ignoring unknown option '-std=c++14'
tensorflow/compiler/xla/service/gpu/hlo_algorithm_blacklist.cc(28): error C2131: expression did not evaluate to a constant
external/com_google_absl\absl/strings/string_view.h(186): note: a non-constant (sub-)expression was encountered

@oracle3001,
Is this still an issue?
Please take a look at this comment from similar issue #38951 and check if it helps. Thanks!


How to install

Hello,
Your work is incredible, super useful. My knowledge with Shopify is very limited. I want to add the FAQ section to a page but I can only do it in the home page. How can I insert the FAQ section in a specific web I've created? It seems like the option to include sections with the theme editor is only available in the home page.
Thank you!!!
Luis

Wuauu. Thank youu!! It works :)

Happy to hear that!


Rewrite complex spread props breaks

Wasn't 100% sure how to title this, but...
compile error Cannot read property '0' of null
const Component = props => {
  return (

 {
                alert(1);
              }
            })}
      >
        hello

  );
};

no compile error:
const Component = props => {
  const sameThingAsVar = props.something
    ? {}
    : {
        onClick: () => {
          alert(1);
        }
      };

  return (

hello

  );
};

btw in my apps im just pulling up into a var. but wouldnt be surprised if others porting a reasonable big project from v1 to 2. but other than that seems to be a seamless upgrade - amazing!

@ndreckshage thanks for the bug report. The issue is indeed with such a complex spread expression.
I will try to make it work for complex cases like that too. In the meantime your solution is what I would I have gone for too

I have a simpler repro. Indeed there seems to be a problem with the spread operator, but also in simpler cases.
This compiles:
import React from 'react';
const A = props => (

);
export default A;

But this doesn't:
import React from 'react';
class A extends React.Component {
  render() {
    return (

    );
  }
}
export default A;

A workaround that compiles again:
import React from 'react';
class A extends React.Component {
  render() {
    const { props } = this;
    return (

    );
  }
}
export default A;

good point @guigrpa @ndreckshage would you have time to at least fix the {...this.props} case? It shouldn't be hard.. here is the code which alterate the attributes https://github.com/zeit/styled-jsx/blob/master/src/_utils.js#L24-L78
I think that the issue is here https://github.com/zeit/styled-jsx/blob/master/src/_utils.js#L33-L38
Basically it works only with identifiers eg. props while it should also work with MemberExpressions like this.props
astexplorer.net and https://github.com/babel/babel/tree/master/packages/babel-types might be very helpful

I found a better workaround (notice the order of the props passed to the div):
import React from 'react';
class A extends React.Component {
  render() {
    return (

    );
  }
}
export default A;

yep it might be a workaround for your use case if you're never passing a className prop :)

@ndreckshage I don't think that we are going to fix the original issue but @pudility fixed other common use cases like {...this.props.something} and {...props.something}


Add a React packages for Flexbox

To prevent an overload flexbox properties in our CSS, it's wise to implement a package for Flexbox grids.

[ ] Research packages and pick best one
[ ] Implement package
[ ] Replace current flexbox containers with package

Not implementing.


Add Mutex class

We'll need this one for the block/unblock in #1184. Most of the upstream specs will probably fail, since they all depend on threads, we might have to duplicate a few of them using fibers.
Once we have this one, we can probably build the other synchronisation primitives (like Queue and ConditionVariable) in plain Ruby using this Mutex class, and get the Scheduler hooks for free.

I'm removing this one, in favour of  #1541


An error is generated when trying to learn: torch.distributed.elastic.multiprocessing.errors.ChildFailedError

Hello! An error is returned when trying to learn. Tell me, what could be the problem? Thank you.

***** Configing Model *****
LatentVisualDiffusion: Running in v-prediction mode
AE working on z of shape (1, 4, 32, 32) = 4096 dimensions.

Load weights from pretrained checkpoint
INFO:mainlogger:>>> Load weights from pretrained checkpoint
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -9) local_rank: 0 (pid: 57853) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/launch.py", line 196, in
main()
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/launch.py", line 192, in main
launch(args)
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/launch.py", line 177, in launch
run(args)
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/run.py", line 785, in run
elastic_launch(
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/home/user/.local/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
======================================================
./main/trainer.py FAILED

Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2024-05-22_13:49:52
host      : Workstation.
rank      : 0 (local_rank: 0)
exitcode  : -9 (pid: 57853)
error_file: <N/A>
traceback : Signal 9 (SIGKILL) received by PID 57853

I found the reason for the error. Lack of RAM in WSL. Using a file .wslconfig increased the memory and everything worked.

Done!


RFC: Backport progressbar fix

This PR brings the fix in 0.1.4 to the partial_fit branch (based on 0.1.3) that we are currently using for pads.
Related commit:
https://github.com/joshfp/pytorch-onfire/commit/9817c5e5624f783f4040d9a9748fbba1a1df6a3e

@jmansilla @joshfp Could you check this?

@jmansilla @joshfp Could you check this?


how to futher improve mAP with training from scratch?

I have trained a mobilenet based ssd from scratch using trainval set in VOC2007/2012. Now it has an mAP at 0.425539 and seems hard to make large improvement. It might be limited without a pretrained model as I also tried to train reduced vgg16 from scratch. Should I pretrain a good init model with a large number of images of dataset such imageNet as a base knowledgement ? Or use a focalloss to futher improve the performance in defeating imbalance ? I just feel confused and any advice will be appreciated !

Recently people have successfully trained a densenet based ssd from scratch, which indicates that with properly designed backpropagate routes, we can skip the pretraining step.
The paper is called DSOD: Learning Deeply Supervised Object Detectors from Scratch, FYI.

I have read and implemented DSOD, but the result is not good! Have you tried it? @zhreshold


Automated cherry pick of #1729: .circleci: 改进test执行

Cherry pick of #1729 on release/2.10.0.
#1729: .circleci: 改进test执行

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@10540d3). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #1730   +/-   ##
================================================
  Coverage                  ?   7.67%
================================================
  Files                     ?     410
  Lines                     ?   62467
  Branches                  ?       0
================================================
  Hits                      ?    4796
  Misses                    ?   57261
  Partials                  ?     410

Flag
Coverage Δ

#aFlag
7.67% <ø> (?)

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 10540d3...7b11907. Read the comment docs.

/lgtm
/approve


Add question_advice to question-rendering macros

Completes this: https://www.pivotaltracker.com/story/show/117629721
This is already done in the buyer app, but we also need to show the advice in the supplier app.
Of questions rendered by the supplier app only the boolean_list questions Essentials and Nice-to-haves currently have question_advice set.  But I've added it to all question-rendering templates, in case other supplier questions have advice in future.
Screenshots of the relevant page once this is applied:

👍

Couple things:

Probably worth removing the |markdown filter on hints because the markdown filter is applied in the toolkit itself.
Seems like a good opportunity to pass in the optional flag.

-> Precedent in the buyer app


Removed most sync API to adapt to .NET Core API

.NET Core API only exposes async methods of Socket class, so that many sync methods in this library today will be obsolete.
It is possible to re-implement them using the async counterparts, but overall async/await style of coding is more suitable in socket programming since .NET 4.5.

Alpha 2 build is available at NuGet,
https://www.nuget.org/packages/SharpSnmpLib
Will add documentation on what has changed soon.

According to a tweet I received from Tim Barley, at least now we are sure GET operation is supported on UWP after using this package.
Expect more testing in the coming weeks, and a new alpha build will be published once .NET Core RC 2 is available.

Added async methods to 9.0.2. Sync methods are now marked as obsolete and will be removed in 10.0 release.


Check how caching works with Windows

See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on
windows-latest for Windows Server 2019

Hmm, yarn is unavailable on Node 12 on Windows?

Hmm, even npm ci is not working, need to probably use toolkit IO to find NPM and yarn
npm cache hit false
cypress cache hit false
installing NPM dependencies
npm ci
Error: There was an error when attempting to execute the process 'npm'. This may indicate the process failed to start. Error: spawn npm ENOENT
    at ExecState._setResult (d:\a\_actions\cypress-io\github-action\v1\dist\index.js:891:25)
    at ExecState.CheckComplete (d:\a\_actions\cypress-io\github-action\v1\dist\index.js:877:18)
    at ChildProcess.<anonymous> (d:\a\_actions\cypress-io\github-action\v1\dist\index.js:764:27)
    at ChildProcess.emit (events.js:200:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
##[error]There was an error when attempting to execute the process 'npm'. This may indicate the process failed to start. Error: spawn npm ENOENT
##[error]Node run failed with exit code 1

Using project https://github.com/bahmutov/yarn-cypress-cache as a test ground


Suggestion: Make ParseClient.ConvertTo public

Would be super helpful if this method were public, then we could get typed values out of generic objects returned from a parse cloud. i.e:
//cloud code

response.success({ object1:parseObject, object2:anotherParseObject })

//Unity client

IDictionary<string, object> result = response;

ParseObject object1 = ParseClient.ConvertTo<ParseObject>(result["object1"]);

I agree! I think this would be useful to be made public. I'll send a PR in a little bit to see how others on the team feel.


An exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll but was not handled in user code

Hi ,
I am getting this issue when I downloaded latest version from NuGet.
Please help me out asap.
tesseract version Tesseract.<IP_ADDRESS>
Error occuring at this line,
using (var engine = new TesseractEngine(HostingEnvironment.MapPath(@"~/tessdata"), "eng", EngineMode.Default))

Have you got VS 2015 runtime installed?
On 21 Feb 2016 17:39, "Coding Keeda"<EMAIL_ADDRESS>wrote:

Hi ,
I am getting this issue when I downloaded latest version from NuGet.
Please help me out asap.
tesseract version Tesseract.<IP_ADDRESS>
Error occuring at this line,
using (var engine = new
TesseractEngine(HostingEnvironment.MapPath(@"~/tessdata"), "eng",
EngineMode.Default))
—
Reply to this email directly or view it on GitHub
https://github.com/charlesw/tesseract/issues/245.

I am using Visual Studio 2013.
It worked in another project till yesterday but today ,When I downloaded it from NuGet .It threw this error.
a couple of weeks ego,
This issue has also triggered in my friend's project .He perhaps changed Build Action and It worked but today I am frustrated.

It worked .Thanks Bro.

can you plz tell me how u solved it?

https://www.microsoft.com/en-us/download/details.aspx?id=48145
Go to link .
Download the package.
Install it on your system.
Bingo...!!!!

Thankz Bro... But I did it in another way by installing tesseract.Exe file.... I don't know what happened but is working... Thankz again...

thanks
At 2017-05-01 21:29:04, "Coding Keeda"<EMAIL_ADDRESS>wrote:
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Go to link .
Download the package.
Install it on your system.
Bingo...!!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Execution time addition

A little nice to have feature I thought that would be great is having the exact execution time next to the schedule in the ui

Are you referring to the last tick or the next tick time?

Next tick


Updating huggingface-hub version required for optimum-habana

What does this PR do?
Update the range of huggingface-hub version supported during optimum-habana installation.
Previously huggingface-hub version required is < 0.23.0, updating it to <=0.23.1
Fixes # (issue)
The issue caused by optimum-habana installation failures due to mismatch in huggingface-hub version.
Datasets package installs huggingface-hub latest version and this will cause optimum-habana installation failure
saying that Requirement.parse('huggingface_hub<=0.23.0'), {'optimum-habana'})
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

This pull request is wrong, It was supposed to be created for v1.6-synapse


CAT_pack contigs taxonomy assignation module

Nice work! The only thing is a name of module.. I would not call it CAT, maybe CAT_taxonomy or smth, because CAT should be more general module but we have contigs,add_names and summarise

That is a very good point, OK. I'll rename the module

Nice work! The only thing is a name of module.. I would not call it CAT, maybe CAT_taxonomy or smth, because CAT should be more general module but we have contigs,add_names and summarise

done, renamed to CATCONTIGS.. which alings with CAT modes (contigs, bins and reads)


Malformed Integer

I have a line of code in an existing solution such as below: -
DerInteger dia = new DerInteger(key);
For a particular public key record that I pass to the DerInteger constructor , I dont get any error with that line of code using BouncyCastle.Crypto version 1.8.1.  The moment I upgrade to v 1.8.2 upwards, I get an error "malformed integer" occurring.  Could anyone let me know why?
First line of stack trace is shown below.
at Org.BouncyCastle.Asn1.DerInteger..ctor(Byte[] bytes)
......

Extra validation was added in the meantime that rejects ASN.1 INTEGER values which violate the X.690 spec, section 8.3.2. This requirement rejects encodings where the first octet is redundant to the sign bit of the second octet ("These rules ensure that an integer value is always encoded in the smallest possible number of octets.").
So the underlying error is with whatever software is producing that malformed value.
Our java library supports a workaround:

Users can set the 'org.bouncycastle.asn1.allow_unsafe_integer' to 'true' and a looser validation will be applied. Users must recognise that this is not ideal and may pave the way for an exploit based around a faulty encoding in the future.

I will add this to the C# version also, however you should preferably try to understand where the malformed value is coming from and try to address the problem there. The full stack trace should give a better idea of what sort of data is being processed and in what context.

Thanks Peter for the response.  I didnt provide any more details of the stack trace as there was nothing else from the stack trace I had relevant to Bouncycastle itself.  The public key value (or the byte array) is actually provided to our system from an external party.  The fact we were able to process 200,000+ such records without any issue and this is one record we are aware of at the moment that has a problem suggests the problem doesn't lie within our system and control but in the 3rd party system itself.
In terms of adding the workaround to the C# version, is there a timeframe that you had in mind as to when you could do it by?  Thanks.

I am intending to add the property today. Release 1.8.4 is about a week away.
Please do report the issue upstream; maybe they just need an updated library, or maybe some library needs a bug report lodged.

Support for env. var. "Org.BouncyCastle.Asn1.AllowUnsafeInteger" has been added; setting to "true" should give the workaround for you. If you are able to test it in the next few days it would be appreciated.

Tested and it works.  Thanks!

Thanks for the confirmation.


Fix/viewer

What type of change is this?

[ ] fix viewer obj

I believe this is still a draft?

@Licini is ready

LGTM


Establishing websocket connection in Rails app using ActionCable causes error

Started GET "/cable" for ::1 at 2020-03-13 10:03:58 +0100
Started GET "/cable/" [WebSocket] for ::1 at 2020-03-13 10:03:58 +0100
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: keep-alive, Upgrade, HTTP_UPGRADE: websocket)
Finished "/cable/" [WebSocket] for ::1 at 2020-03-13 10:03:59 +0100
 9m12s    error: Async::Task [oid=0xd9a8] [pid=42462] [2020-03-13 10:03:59 +0100]
               |   Errno::EPIPE: Broken pipe
               |   → <internal:io> 121
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/generic.rb:216 in `async_send'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/generic.rb:62 in `block in wrap_blocking_method'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/generic.rb:156 in `write'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/stream.rb:258 in `block in drain_write_buffer'
               |     ~/.gem/ruby/2.7.0/gems/async-1.24.2/lib/async/semaphore.rb:80 in `acquire'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/stream.rb:247 in `drain_write_buffer'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/stream.rb:160 in `flush'
               |     ~/.gem/ruby/2.7.0/gems/protocol-http1-0.10.1/lib/protocol/http1/connection.rb:277 in `write_fixed_length_body'
               |     ~/.gem/ruby/2.7.0/gems/protocol-http1-0.10.1/lib/protocol/http1/connection.rb:332 in `write_body'
               |     ~/.gem/ruby/2.7.0/gems/async-http-0.50.2/lib/async/http/protocol/http1/server.rb:91 in `each'
               |     ~/.gem/ruby/2.7.0/gems/async-http-0.50.2/lib/async/http/server.rb:53 in `accept'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/server.rb:32 in `block in accept_each'
               |     ~/.gem/ruby/2.7.0/gems/async-io-1.27.3/lib/async/io/socket.rb:73 in `block in accept'
               |     ~/.gem/ruby/2.7.0/gems/async-1.24.2/lib/async/task.rb:258 in `block in make_fiber'

Can you give me source code so I can repro?

Hm, I have troubles to reproduce it on a freshly generated Rails app. On the original app this is happening only more very random with the latest Falcon :(

It looks like hijack is not working correctly

Can you try the latest release.

@ioquatix tried, but no change :(

@ioquatix I've tried 0.36.3 for the last days and it seems the problem is gone. So I guess this can be closed

Do you have some time to peer on this?

On falcon serve, I do find this issue. Not sure where the problem lies.

Thanks for the report, I will investigate.

I see the problem here: https://github.com/socketry/falcon/blame/45ca2be3cc8228e491b7b7298c228c2ba777ddc3/lib/falcon/adapters/rack.rb#L205
It's returning nil when there is a full hijack. At least, this seems somewhat wrong.

The error message is somewhat misleading since it only kills the request task and not the underlying connection, which should be working correctly. In any case, I'll introduce a dedicated exception for this case.

This should be fixed, however full hijack will present an exception in the log since it terminates the normal request flow control using an exception and I don't want to handle this case explicitly in async-http as I actually want to minimise the blast radius of the full hijack feature.


file_put_contents with exclusive lock set reports error

Writing to a file using file_put_contents and LOCK_EX set will report an error Exclusive locks may only be set for regular files however using flock($resource, LOCL_EX) works.
I've attached a testcase here
Thanks.

Do you know any workaround for this issue?
I ran into this when firing parse_ini_file($file_path, TRUE);

Not sure I understand your problem correctly, do you have short code snippet which makes it reproducible?

I am sorry, just realized that I copied and pasted the wrong code. I meant to say Zend\Config\Writer\Ini(); instead of parse_ini_file($file_path, TRUE);
Basically when Zend\Config\Writer\Ini(); tries to save into the vfsStream virtual folder, it spits back the fore-mentioned error.
So, are you aware of a workaround for testing it without having to actually save the file into the filesystem?

I don't see a way to work around this in PHP. However, when looking into Zend\Config\Writer\Ini I saw that the write mechanism is in Zend\Config\Writer\AbstractWriter::toFile() which has a third parameter that allows to disable the exclusive lock. The file would be written without a lock then, maybe that's ok for your use case.

Cheers mate, that will do.

In the PHP file_put_contents() code, if the LOCK_EX flag is set and the filename starts with file://, an E_WARNING error is returned with the message Exclusive locks may only be set for regular files.
I tried changing vfsStream::SCHEME from vfs to file and calling stream_wrapper_unregister('file') before vfsStreamWrapper::register() calls stream_wrapper_register(), but that caused problems with everything else that uses the file system, like autoloaders. There doesn't seem to be a way to fix this issue from inside vfsStream.


Change FreeBSD CI name

These versions don't get bumped that often, but it's been a bit of a pain changing them and having to update the name of the required FreeBSD check. Now that the required check is just FreeBSD, this updates the name to reflect that.
Signed-off-by: Kevin Leimkuhler<EMAIL_ADDRESS>

I just realized that the 0.6.x branch is testing on 11.3-stable, whereas master is testing on 12.1-release.  Shouldn't we be testing the same OS version of both branches?

The reason I bumped #1300 back to 11.3 is because it is the v0.6.x branch. I think we should keep version bumps as minimal as possible in order for CI to pass.
master being on 12.1 lines up with tokio so I think this is fine as is.


"Meta" element not updated in Avro and Spark converters.

Please fill out the below template as best you can.
Description of Issue
Avro and Spark Row converters are not updating "Meta" element, when a HAPI resource is converted to either Avro or Spark Row types.
System Configuration
Project Version
Bunsen 0.5.0 release

Resolved in 0.5.8


Improvement for k8s.io/docs/concepts/configuration/manage-resources-containers/

There is a "note" on the page that seems dubious to me and I think it should be removed.  The note reads:

Note: Kubernetes doesn't allow you to specify CPU resources with a precision finer than 1m. Because of this, it's useful to specify CPU units less than 1.0 or 1000m using the milliCPU form; for example, 5m rather than 0.005.

There is a disconnect between the recommendation and the limitation, and I cannot understand why "5m" is mentioned as being "useful"  in contrast to "0.005".   Both values mean the same thing, do they not?  Both seem equally useful, and the decision to use one over the other appears to simply be a matter of preference.

Here's why, but the page doesn't say so.
You might allocate 0.005 CPU to something, and then someone decides that this container or Pod is super light on resources. They change 0.005 to 0.00005 (which is invalid). If you have 5m it's more obvious that 0.05m might not be right, and there's no 50μ option for Quantities either.
So overall it's about not implying that CPU quantities have a flexibility they don't in face offer. I think we could make the page more clear on this point.
If you're working on this, you need to decide on some new helpful wording.
/language en
/help
/triage accepted
/priority backlog

/assign

@sftim Can I assign myself to this issue. It has had no activity since the last assignment.

Sorry about that all - life got a bit busy and I let this drop.

/assign
I assigned myself to this since it seemed like there hasn't been activity. I made a PR to attempt to alleviate the issue here. Let me know if it looks good.

/assign
I assigned myself to this since it seemed like there hasn't been activity. I made a PR (see #44003 ) to attempt to alleviate the issue here. Let me know if it looks good.

I'm not in a position to approve/deny PRs, but as the submitter of the issue, it certainly addresses my initial confusion with the documentation.


[TD-33140] fix(sys): fix ws_stmt_get_tag_fields return invalid address

Fixed ws_stmt_get_tag_fields return invalid address

Codecov Report
Attention: Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.

Project coverage is 72.18%. Comparing base (2a3aa64) to head (c9f4ac7).
Report is 41 commits behind head on main.

Files with missing lines
Patch %
Lines

taos-ws-sys/src/stmt.rs
95.65%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #389      +/-   ##
==========================================
- Coverage   72.19%   72.18%   -0.02%
==========================================
  Files          97       97
  Lines       35312    35274      -38
==========================================
- Hits        25494    25463      -31
+ Misses       9818     9811       -7

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


List not rendering correctly when preceded by word

List are not rendering correctly when preceded by word or sentence.
For example:
list:
* item1
* item2

transcompiles to

list:
* item1
* item2

code to reproduce
html = markdown.markdown("""list:
* item1
* item2
""")

with open('out.html', 'w', encoding='utf-8', errors='xmlcharrefreplace') as f:
    f.write(html)

I don't think this is intentional, but let me know if it is.
Downstream issue: https://github.com/astral-sh/ruff/issues/10427

Nevermind duplicate of #1442


Validate i3dm new

Addressing Issue #22, continuing from #27 due to rebasing multiple commits from other merges into validator-master

Thanks @JudyWeng all looks good to me.


(mini.hues) Update CoC diagnostic highlight to link DiagnosticUnderline

[x] I have read CONTRIBUTING.md
[x] I have read CODE_OF_CONDUCT.md

Closes #706

Judging by your reply, would you mind updating this PR so that it contains two commits:

One which removes these lines. Message - "(mini.hues) Update 'coc.nvim' to not explicitly highlight diagnostics."
One which removes these lines. Meesage - "(mini.base16) Update 'coc.nvim' to not explicitly highlight diagnostics."

(mini.base16) Update 'coc.nvim' to not explicitly highlight diagnostics.

Done!

Thanks for your contribution!


Add possibility to create delete log

This PR adds the --delete-log option to the delete CLI command, which allows for creating a log CSV file listing the deleted/terminated top-level features.
This PR is based on #180.

@clausnagel Thanks for the nice PR. Please check my two comments of my review


Prime Palindrome Number in C

💥 Proposal
this program will create list of all prime numbers which are also palindrome till n.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign

\assign


Cast not showing in iOS.

I have completed the all setups for the project but the cast device is not detecting on iOS, it is working fine on android devices.

I think problem from iOS need permission com.apple.developer.networking.multicast.


Adds es6 example, fix bs-loader to support es6

Changelog

added es6 example to bs-loader, docs here http://bloomberg.github.io/bucklescript/docson/#build-schema.json
fixed bs-loader to transform source based on moduleDir

LGTM :+1: Thanks for adding a new example!

Released in v1.2.5


Crash on tauri app after open midi file has "Pitch Bench" message

Hi,

I'm using this lib to read midi file data, and get error when open this midi file has "Pitch Bench" message
To Reproduce
open this midi file LINK
Thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Unimplemented { site: "/Users/khoa.nd/.cargo/registry/src/github.com-1ecc6299db9ec823/midi_file-0.0.3/src/core/message.rs:317", feature: "pitch bend: https://github.com/webern/midi_file/issues/10" })', src/main.rs:85:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

Can you suggests a way to ignore these unwanted message, currently I only need Note On/Off messages.
thx,
P/S: I'm new to rust

Update,
I temporarily by-pass the error by replace impl! by  Ok(Message::Undefined1)
          StatusType::PitchBend => {
               Ok(Message::Undefined1)
               // noimpl!("pitch bend: https://github.com/webern/midi_file/issues/10")
           }

Were you using <=v0.0.3? If so, can you try v0.0.4? This was just implemented and released https://github.com/webern/midi_file/pull/15

@NDK2020 is the linked midi file something that I can add to this git repository as a test? Do you own the copyright? If so can you grant permission to use it. I've been putting .info files next to the .mid files for attribution. For example: https://github.com/webern/midi_file/blob/f5374348727e42d37ad952c8c95cfe439309e693/tests/data/als_die_roemer.info#L1-L3

Oh, I see #15 only added support for writing, I'll see if I can quickly add reading of pitch bend events.

@NDK2020 is the linked midi file something that I can add to this git repository as a test? Do you own the copyright? If so can you grant permission to use it. I've been putting .info files next to the .mid files for attribution. For example:
https://github.com/webern/midi_file/blob/f5374348727e42d37ad952c8c95cfe439309e693/tests/data/als_die_roemer.info#L1-L3

sr for late reply, you can use it freely.

Oh, I see https://github.com/webern/midi_file/pull/15 only added support for writing, I'll see if I can quickly add reading of pitch bend events.
great!!!!

I did a little work on this yesterday. I have a hard time understand the spec and lsb/msb for these messages. But I might have it right on this branch? https://github.com/webern/midi_file/tree/bendy

The part that is confusing me is that Logic Pro gives you 0-127 in the UI and the way I have it in my branch that actually corresponds to 0 - 16383 in chunks. In other words I think Logic Pro is writing that 0-127 in the MSB. The other application I used may have written numbers slightly different from what I saw in the UI. So I'm left a bit unsure about my implementation.
#10

This is finally fixed in v0.0.5


[Merge] Require merge CLI options when merge enabled

Description
When the merge milestone is enabled, require the ee-endpoint to be specified.
If validators are loaded when the merge milestone is enabled, require fee-recipient to be specified.

If validators are loaded when the merge milestone is enabled, require fee-recipient to be specified.

are you sure about this? fee-recipient is an optional param when calling engine_forckChoiceUpdated


[Draft - Test] rclone copyurl to osn

I can't seem to trigger workflow_dispatch

I made @leap-stc/data-and-compute admin (from maintainer). Can you trigger now?

Ty! I'll give it a try


Upstream Build: VMware Provider missing from drop-down on Add Provider page

Using the 2015.08.25 upstream build, the drop-down list for selecting a provider on the "Add New Infrastructure Provider" page is missing VMware.

Could be related to what bit me. see https://github.com/ManageIQ/manageiq/issues/4119 scroll bar is not shown by default in chrome 44.

I am using Chrome Version 44.0.2403.157 (64-bit) Fedora 21, i see scrollbar in the select box and i do see VMware in the type pulldown.

I'm running Yosimite (10.10-5) and Safari 8.0.8 and the missing scroll bar
is the issue (for me on the Add Providers page), I can scroll the menu but
there is no visible bar to indicate scrolling.
On Mon, Aug 31, 2015 at 2:55 PM, Harpreet Kataria<EMAIL_ADDRESS>wrote:

I am using Chrome Version 44.0.2403.157 (64-bit) Fedora 21, i see
scrollbar in the select box and i do see VMware in the type pulldown.
[image: screenshot from 2015-08-31 14 54 45]
https://cloud.githubusercontent.com/assets/3450808/9587371/3ddd89c0-4ff0-11e5-808d-32315153ef04.png
—
Reply to this email directly or view it on GitHub
https://github.com/ManageIQ/manageiq/issues/4068#issuecomment-136465496.


Segfault in Z3 API for some inputs

Some of the recent Travis build failures indicate failed synthesis jobs with no further explanation. It appears that the synthesis jobs are segfaulting on Linux. In a Fedora 32 virtual machine, cozy examples/lsort.ds exhibits the segfault consistently. From dmesg:
[ 4969.897438] cozy[5274]: segfault at 0 ip 00007f8f339a3830 sp 00007ffdd6047460 error 4 in libffi.so.6.0.2[7f8f3399f000+5000]
[ 4969.897447] Code: ff ff 48 89 c7 48 8d 04 c1 48 8b 4d 88 01 f7 4a 89 04 e9 89 7d 84 49 83 c5 01 4c 39 6d 90 74 69 66 2e 0f 1f 84 00 00 00 00 00 <4b> 8b 3c ec 31 d2 4c 89 f1 4c 89 fe 4c 89 45 98 e8 eb f5 ff ff 4c

The dmesg output indicates that this is a null pointer dereference (segfault at 0). More info about segfault error codes.
After a great deal of work, I was able to obtain a stacktrace:
#0  0x00007fffea605830 in ffi_closure_unix64_inner () from /lib64/libffi.so.6
#1  0x00007fffea605c58 in ffi_closure_unix64 () from /lib64/libffi.so.6
#2  0x00007fffe87e9677 in Z3_model_get_func_interp ()
#3  0x00007fffea605af0 in ffi_call_unix64 () from /lib64/libffi.so.6
#4  0x00007fffea6052ab in ffi_call () from /lib64/libffi.so.6
#5  0x00007fffea38e4bc in _ctypes_callproc.cold ()
#6  0x00007fffea397fd7 in PyCFuncPtr_call ()
#7  0x00007ffff7bc3823 in _PyObject_MakeTpCall () from /lib64/libpython3.8.so.1.0
#8  0x00007ffff7bc0948 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#9  0x00007ffff7bba231 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#10 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#11 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#12 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#13 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#14 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#15 0x00007ffff7bfff80 in call_method () from /lib64/libpython3.8.so.1.0
#16 0x00007ffff7bffd7c in slot_mp_subscript () from /lib64/libpython3.8.so.1.0
#17 0x00007ffff7bbbf1c in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#18 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#19 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#20 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#21 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#22 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#23 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#24 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#25 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#26 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#27 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#28 0x00007ffff7bd8081 in gen_send_ex () from /lib64/libpython3.8.so.1.0
#29 0x00007ffff7c263c5 in chain_next () from /lib64/libpython3.8.so.1.0
#30 0x00007ffff7bbbd4b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#31 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#32 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#33 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#34 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#35 0x00007ffff7bd17ec in method_vectorcall () from /lib64/libpython3.8.so.1.0
#36 0x00007ffff7bd1a90 in PyVectorcall_Call () from /lib64/libpython3.8.so.1.0
#37 0x00007ffff7bbd736 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#38 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#39 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#40 0x00007ffff7bba231 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#41 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#42 0x00007ffff7bd1603 in method_vectorcall () from /lib64/libpython3.8.so.1.0
#43 0x00007ffff7bbc60a in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#44 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#45 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#46 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#47 0x00007ffff7bc3247 in _PyObject_FastCallDict () from /lib64/libpython3.8.so.1.0
#48 0x00007ffff7bcf0bf in slot_tp_init () from /lib64/libpython3.8.so.1.0
#49 0x00007ffff7bc3afb in type_call () from /lib64/libpython3.8.so.1.0
#50 0x00007ffff7bc3823 in _PyObject_MakeTpCall () from /lib64/libpython3.8.so.1.0
#51 0x00007ffff7bc036c in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#52 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#53 0x00007ffff7bc04d7 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#54 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#55 0x00007ffff7bc04d7 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#56 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#57 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#58 0x00007ffff7bc92b8 in function_code_fastcall () from /lib64/libpython3.8.so.1.0
#59 0x00007ffff7bbbb3b in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#60 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#61 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#62 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#63 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#64 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#65 0x00007ffff7bbc60a in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#66 0x00007ffff7bba8d5 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#67 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#68 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#69 0x00007ffff7bba231 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#70 0x00007ffff7c351c9 in PyEval_EvalCodeEx () from /lib64/libpython3.8.so.1.0
#71 0x00007ffff7c3518b in PyEval_EvalCode () from /lib64/libpython3.8.so.1.0
#67 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () f
#72 0x00007ffff7c38ddc in builtin_exec () from /lib64/libpython3.8.so.1.0
#73 0x00007ffff7bc956b in cfunction_vectorcall_FASTCALL () from /lib64/libpython3.8.so.1.0
#74 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#75 0x00007ffff7bba231 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#76 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#77 0x00007ffff7bbb744 in _PyEval_EvalFrameDefault () from /lib64/libpython3.8.so.1.0
#78 0x00007ffff7bba231 in _PyEval_EvalCodeWithName () from /lib64/libpython3.8.so.1.0
#79 0x00007ffff7bc8f59 in _PyFunction_Vectorcall () from /lib64/libpython3.8.so.1.0
#80 0x00007ffff7bd1a90 in PyVectorcall_Call () from /lib64/libpython3.8.so.1.0
#81 0x00007ffff7c52b90 in pymain_run_module () from /lib64/libpython3.8.so.1.0
#82 0x00007ffff7c51f24 in Py_RunMain () from /lib64/libpython3.8.so.1.0
#83 0x00007ffff7c28aa9 in Py_BytesMain () from /lib64/libpython3.8.so.1.0
#84 0x00007ffff7e0e042 in __libc_start_main () from /lib64/libc.so.6
#85 0x000055555555507e in _start ()

It looks like Z3 is the culprit (Z3_model_get_func_interp), but experience has shown me that it is much more likely to be Cozy's fault somehow.
Notes:

The segfault only seems to happen in child jobs after multiprocessing forks them off. This makes it very difficult to catch in a debugger.
Bug reports elsewhere (e.g. JohannesBuchner/PyMultiNest#5) suggest that this might be due to Python's garbage collector reclaiming some object that the native Z3 "ctypes" API needs, but I have very little evidence right now.
This issue arose suddenly, without changes in Cozy. Either this is a new bug in one of Cozy's dependencies or it has been a longstanding latent bug that is now revealed by a dependency update. I have ruled out Z3 as the culprit: the last successful Travis build used Z3 <IP_ADDRESS>, and I can still reproduce the segfault with that version.

Looks like the error actually happens while calling the (no-op) Z3 error callback:

In the screenshot, the highlighted line is the next instruction to execute after api::context::context::set_error_code(...) (which is being called) returns. That procedure tail-calls api::context::invoke_error_handler(...) which tail-calls the m_error_handler function pointer which I suppose happens to be a libffi call. That makes sense since in the Z3 Python code:

def z3_error_handler(c, e):
    # Do nothing error handler, just avoid exit(0)
    # The wrappers in z3core.py will raise a Z3Exception if an error is detected
    return

class Context:
    # ...
    def __init__(self, *args, **kws):
        # ...
        self.eh = Z3_set_error_handler(self.ctx, z3_error_handler)
        # ...

In Cozy, the offending line is:
https://github.com/CozySynthesizer/cozy/blob/60b8ab0ccafbeeb89c3597a598b1166f46a6f5de/cozy/solver.py#L1168
But the error isn't due to misuse of model or f; it happens when Z3 discovers that f has no binding in model. In this case model[f] is supposed to return None, but something goes wrong when Z3 invokes its error callback.

Current hypothesis: the segfaults happen nondeterministically for Z3 "Context" objects that are passed from the Cozy parent process to the multiprocessing jobs. I don't fully understand why yet. However, there are at least two ways that Context objects are passed to the children:

Each CostModel has a Cozy-solver object with a Z3-context.
solver_for_context pulls Cozy-solvers out of a cache that is implicitly copied from parent to child.

No, that doesn't seem to fix the problem. New hypothesis: libffi 3.1 is to blame. My mac (where Cozy works) runs libffi 3.3.

No, that doesn't seem to fix the problem. I have no new hypothesis, but I do have new information. The Cozy line I mentioned earlier isn't the only place that can segfault: I am occasionally seeing one in exp_wf, as the procedure returns and the Z3 context gets deallocated. That could indicate any number of problems (double-free, memory corruption, ...), none of which are good.

This problem is beyond my ability and patience to debug. Since it is due to memory corruption, the actual bug is probably very far from where the process eventually crashes.
Ultimately I think this is due to some subtlety of fork() that Cozy or its dependencies does not handle properly. #119 seems to fix this problem by moving away from fork(), so I am closing this issue.


feat: always show close button on the active panel in a stack

Based on user feedback, we've made close buttons a little more prominent. Mainly the active tab in a stack now always shows it's close button. This mirrors behaviour in other IDEs like vs code. The intent is this will make it slightly less likely to accidently close tabs.
Summary:

Changes:

show close button on active panels
removed transition so close button appears instantly on hover of non-active panel
added hover background to close button to make it stand-out slightly more
adjusted overall tab size and spacing to be a little tighter
reduced minimum tab size slightly to 10ch to fit more tabs in tab bar

Did you add a bit more shadow to the tabs to give a little more depth to them?

No. Are you basing that on the diff of tests/golden-layout.spec.ts-snapshots/tests-golden-layout-operations-golden-layout-can-drag-tab-to-left-edge-2 images?
Shadows were changed in a previous PR, but I guess playwright decided the shadow change alone was within tolerance to not regenerate. This PR actually changes the tab width, which is enough of a diff.

Yep just looking at the diffs I noticed a more prominent shadow


Updated pdfMake Libraries and Directory Structure

Hi xErik,
thanks for pdfmake-browserified! We updated the pdfMake libraries and adapted the directory structure to the pdfMake directory structure. Feel free to add comments, make suggestion or merge the pull request.
Thanks again!
Best regards,
Markus

Hey magbeat! I got this error when trying your commit:
Uncaught TypeError: Cannot set property 'href' of undefined

Thanks for the pull request, I will test it out tomorrow.

So I removed the window.location.href, and replaced with window.open() to make it work.

@yohanology Thanks for testing the pull request and the feedback! We didn't get the error on our side. This would actually be the original pdfMake source code. Maybe there is an issue with some browsers? Maybe you could report the issue at the pdfMake repository as well?


Add Github starts to give better overview.

Add Github stars badge on link pointing Github repos
Checklist

[ ] I checked that it is in alphabetical order.
[ ] I have checked that the awesome thing is not already listed.
[x] I have provided a clear and concise description of the awesome thing.
[ ] I have provided a link to the awesome thing.
[ ] I have assigned the correct category to the awesome thing.

Please note: If you are adding a new category, you will need to create a new section in the README.md file. Please make sure to update the table of contents as well.
Important: The idea of this repository is to bring together free projects for open-source contributions. If the proposed addition is an entirely paid project, the PR will be closed.

Add Github stars badge on link pointing Github repos
Checklist

[ ]  I checked that it is in alphabetical order.
[ ]  I have checked that the awesome thing is not already listed.
[x]  I have provided a clear and concise description of the awesome thing.
[ ]  I have provided a link to the awesome thing.
[ ]  I have assigned the correct category to the awesome thing.

Please note: If you are adding a new category, you will need to create a new section in the README.md file. Please make sure to update the table of contents as well.
Important: The idea of this repository is to bring together free projects for open-source contributions. If the proposed addition is an entirely paid project, the PR will be closed.

Thanks for the suggestion, but I think the layout of both the README and the README wouldn't look very nice. If it were a table it would make sense, as it is on the site today.


winsvc missing StartServiceW

Hi,
I see that StartServiceW is mentioned around repository but Rust complains that method is not found
let success = unsafe { winsvc::StartServiceW(self.0, wide_arguments.len(), wide_arguments.as_ptr()) };
    |                                        ^^^^^^^^^^^^^ not found in `winsvc`

Recent master has this function implemented. Mind to release?


OIDC without discovery file

Gitea version (or commit ref): 1.12.0+dev-331-g4744e1e0f
Git version:
Operating system: ubuntu+docker
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Our school have OIDC service but won't provide discovery file .well-known/openid-configuration. I've successfully configurated the openID by writing those urls into a file in custom/public/.well-known/openid-configuration and set the discovery link to it by http://my-gitea-site-url/.well-known/openid-configuration. But if I restart the doccker container, gitea will check the discovery file link again and then fail because the gitea service haven't start at that time.

I wonder:

besides a url, can the discovery file have some mannually input way and store it in db, or can use a local file?
otherwise, when gitea check discovery file fail, can gitea still serve without that OIDC, but not just terminate?
can OIDC have custom logo (e.g. i can set as my school logo) on the sign in page when configuring oidc settings, instead of default logo?

only a URL can be used. It would need to be hosted on an URL other than gitea itself, because it checks for the login information before enabling web access.
fail happens because some users only use oidc, and if the endpoint wasn't up, then gitea would fail anyway due to auth not working (and it is a sideeffect of the upstream library we use)
custom logos are indeed possible (I do this myself), please review https://docs.gitea.io/en-us/customizing-gitea/ for overriding default files/images.

I'm closing this now, but please feel free to hop into chat https://discord.gg/gitea if you have any other questions.


secondaryInitialSize sometimes won't work

I'm using the component with secondaryInitialSize={window.visualViewport.width - 356}. I also tried to set secondaryInitialSize={1000}. Most of the time it works just fine but sometimes the secondary get with value of 0 and the primary spreads on the entire screen.
Note:
Those are the other props values I use:
<SplitterLayout                         primaryMinSize={isMobile ? 30 : 10}                         secondaryMinSize={500}                         secondaryInitialSize={window.visualViewport.width - 356}                         percentage={false}>

At the image you can see that the right container width is for some reason set to 0px.

same here


Annotated dynamic import causes crash

When using webpack annotations for dynamic imports, madge tries to make sense of the first argument to the import, which will be undefined.
So:
const Graph =  React.lazy(() => import(/* webpackChunkName: 'react-graph-vis' */ `react-graph-vis`))

causes
✖ TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.startsWith (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:2025:20)
    at mangleScopedPackageName (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27283:16)
    at mangleScopedPackageNameWithTrace (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27270:23)
    at loadModuleFromImmediateNodeModulesDirectory (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27195:83)
    at /Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27172:39
    at Object.forEachAncestorDirectory (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:12577:26)
    at loadModuleFromNearestNodeModulesDirectoryWorker (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27166:19)
    at loadModuleFromNearestNodeModulesDirectoryTypesScope (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27162:16)
    at tryResolve (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27348:28)
    at classicNameResolver (/Users/torgeir/dev/signatu/signatu/node_modules/typescript/lib/typescript.js:27324:24)

Getting the same issue, typescripts import(...) gives the above mentioned error

Did anyone find a workaround for this yet?

Maybe related to https://github.com/pahen/madge/issues/157?

I am also facing this issue...

Running into this as well - don't use dynamic import that I know of - but might use dynamic type imports somewhere?
➜  git:(P9-1620-feature/more-expand-error-coverage) ✗ npx madge --image graph.svg --extensions ts,tsx --ts-config ./tsconfig.json -c  ./src/services/rest-api

✖ TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.startsWith (/Users/Shared/abc//node_modules/typescript/lib/typescript.js:2060:20)

"typescript" and "lastIndexOf" would be nice keywords to add to the issue title here
Also seems like this issue is a duplicate of #157
And there's no good solution (https://github.com/pahen/madge/issues/157#issuecomment-390969446)

Thanks for reporting the issue. I'm afraid that the fancy footwork is defeating static analysis here :) The only way for dependency-tree to recognize those imports is to evaluate the code to inline the assignments. Maybe facebook's prepack could be a good prepass filter for dependency-tree; not sure if anyone has tried that.

Just change all the dynamic import( calls to be static import statements at the top, run madge, git stash the conversion of import( calls (or put it on a branch).

Replacing the malfunctioning code place might be much simpler instead of changing the code under analysis.
If making the function mangleScopedPackageName(packageName) return "undefined" whenever packageName is undefined, the madge doesn't crash but just ignores that part of the code. (I am not fully aware of all the consequences)
Hackish way to do it after madge has been installed so that node_modules is located under /usr/lib:
bash sed -i  "s/if (ts.startsWith(packageName/if (typeof(packageName) === \"undefined\") return \"undefined\"; if (ts.startsWith(packageName/g" /usr/lib/node_modules/madge/node_modules/typescript/lib/typescript.js

Maybe the best approach is: don't crash, but instead just emit a warning.
Crashing is definitely not a very useful behavior due to this issue
On Wed, Oct 28, 2020, 6:31 PM Ville Laitila<EMAIL_ADDRESS>wrote:

Replacing the malfunctioning code place might be much simpler instead of
changing the code under analysis.
If making the function mangleScopedPackageName(packageName) return
"undefined" whenever packageName is undefined, the madge doesn't crash but
just ignores that part of the code. (I am not fully aware of all the
consequences)
Hackish way to do it after madge has been installed so that node_modules
is located under /usr/lib:
bash sed -i "s/if (ts.startsWith(packageName/if (typeof(packageName) ===
"undefined") return "undefined"; if (ts.startsWith(packageName/g"
/usr/lib/node_modules/madge/node_modules/typescript/lib/typescript.js
[image: Screenshot from 2020-10-29 01-27-42]
https://user-images.githubusercontent.com/5195944/97507587-26ab3a80-1986-11eb-8521-75b1897d6a30.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pahen/madge/issues/211#issuecomment-718266982, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEDZKARIBJF2WE7CRNLKQDSNCSVVANCNFSM4HMZ7TMA
.

This should be reported and fixed in the Typescript project instead of finding workarounds in Madge.

@pahen  What do you think will it be probable that they actually accept that sort of pull request related to the function mangleScopedPackageName or is it more probable to find out a way from madge repository to fix it? I'll report it anyway there.

I don't know @villelaitila But it's worth trying. If they refuse to fix it we can start working on some sort of workaround in Madge.

It seems we will need to add more info to https://github.com/microsoft/TypeScript/issues/41332

It seems we will need to add more info to https://github.com/microsoft/TypeScript/issues/41332

I cannot reproduce this anymore with madge 4.0.0 that has typescript version 3.9.9.

I cannot reproduce this anymore with madge 4.0.0 that has typescript version 3.9.9.

Sweet! I'm closing this for now then.


Drop EntityManagerAware behavior from default ORM behaviors

Since ORM 2.5, we have safe postLoad semantics for entity listeners that add further information to loaded entities. Because of that, the EntityManagerAware details within the UnitOfWork should probably be delegated to userland, and the interface should be dropped from ORM core.

Note: migration guide should accompany an implementation patch.


Fix: responsiveness for Query History

Describe the bug
Currently, we have added a functionality to delete a single history but the icons are not aligned, it is not responsive.
To Reproduce
Steps to reproduce the behavior:

Go to https://sql-editor-online.vercel.app/
Click on Run Query.
See Query history container.

Expected behavior
Align the elements properly, fix the height, add a vertical scrollbar, and make it responsive for all screens.
Screenshots

@janvi01 I would like to work on this

sure, go ahead @killerkc12

@killerkc12 any updates?

@janvi01 I have started doing the chages but not completed yet because of some personal reason. By tomorrow I will try to complete.

@janvi01 Please review the attached PR


No working

$markdown = "
        PHP Markdown to HTML converter
        ------------------------------

        by Carsten Brandt<EMAIL_ADDRESS>
        Usage:
            bin/markdown [--flavor=<flavor>] [--full] [file.md]

            --flavor  specifies the markdown flavor to use. If omitted the original markdown by John Gruber [1] will be used.
                      Available flavors:

                      gfm   - Github flavored markdown [2]
                      extra - Markdown Extra [3]

            --full    ouput a full HTML page with head and body. If not given, only the parsed markdown will be output.

            --help    shows this usage information.

            If no file is specified input will be read from STDIN.

        Examples:

            Render a file with original markdown:

                bin/markdown README.md > README.html

            Render a file using gihtub flavored markdown:

                bin/markdown --flavor=gfm README.md > README.html

            Convert the original markdown description to html using STDIN:

                curl http://daringfireball.net/projects/markdown/syntax.text | bin/markdown > md.html

        [1] http://daringfireball.net/projects/markdown/syntax
        [2] https://help.github.com/articles/github-flavored-markdown
        [3] http://michelf.ca/projects/php-markdown/extra/
        ";

        // use markdown extra
        $parser = new \cebe\markdown\Markdown();
        echo $parser->parse($markdown);

Not effect

do you have error_reporting turned on and display_errors set to true?

Of Course!

 $markdown = "#Title
        #Title
        PHP Markdown to HTML converter
        ------------------------------

        by Carsten Brandt<EMAIL_ADDRESS>
First #title working, other not

Problems because of tab.
    public function getCreateblog()
    {
        $markdown = "
        PHP Markdown to HTML converter
        ------------------------------

        by Carsten Brandt<EMAIL_ADDRESS>
        Usage:
            bin/markdown [--flavor=<flavor>] [--full] [file.md]

            --flavor  specifies the markdown flavor to use. If omitted the original markdown by John Gruber [1] will be used.
                      Available flavors:

                      gfm   - Github flavored markdown [2]
                      extra - Markdown Extra [3]

            --full    ouput a full HTML page with head and body. If not given, only the parsed markdown will be output.

            --help    shows this usage information.

            If no file is specified input will be read from STDIN.

        Examples:

            Render a file with original markdown:

                bin/markdown README.md > README.html

            Render a file using gihtub flavored markdown:

                bin/markdown --flavor=gfm README.md > README.html

            Convert the original markdown description to html using STDIN:

                curl http://daringfireball.net/projects/markdown/syntax.text | bin/markdown > md.html

        [1] http://daringfireball.net/projects/markdown/syntax
        [2] https://help.github.com/articles/github-flavored-markdown
        [3] http://michelf.ca/projects/php-markdown/extra/
        ";

        $parser = new \cebe\markdown\Markdown();
        echo $parser->parse($markdown);

yeah this is expected, markdown is sensitive to whitespace so you must not include trailing whitespace in the string.
        $markdown = "
PHP Markdown to HTML converter
------------------------------

by Carsten Brandt<EMAIL_ADDRESS>
Usage:
...";

this way it will work.


README.md: fix link to LNBits repo

Just a minor fix of a copy-paste error in README.md:
In one place the link to the LNBits Repo is incorrect (points to lndmanage repo instead).

Good catch - thx :)


Make CI work from forks

Added a few more conditionals so that forkers (yes, that's now a term) can fully run CI, even if it's without any caching.
See this PR for an example: https://github.com/sea-bass/pyrobosim/pull/244
EDIT: I had a fun time trying to figure out why this was all failing, only to realize that NumPy 2.1.0 just came out and broke some of the Gazebo tests in its use of Shapely. So I snuck in a pin to that version and it should work now lol
Closes #243

Wait, was this before you committed a change to conditionally login: https://github.com/sea-bass/pyrobosim/actions/runs/10483081240/job/29035199716?pr=244#step:4:1

no -- I think that action linked is from the PR from within this repo. The fork ones do not login, as seen here


parameters used in cell type annotation tutorial

@subercui I have questions on your cell type tutorial https://github.com/bowang-lab/scGPT/blob/main/tutorials/Tutorial_Annotation.ipynb. You use "normalize_total=1e4" in the following preprocessor function:
preprocessor = Preprocessor(
use_key="X",  # the key in adata.layers to use as raw data
filter_gene_by_counts=filter_gene_by_counts,  # step 1
filter_cell_by_counts=False,  # step 2
normalize_total=1e4,  # 3. whether to normalize the raw data and to what sum
result_normed_key="X_normed",  # the key in adata.layers to store the normalized data
log1p=data_is_raw,  # 4. whether to log1p the normalized data
result_log1p_key="X_log1p",
subset_hvg=False,  # 5. whether to subset the raw data to highly variable genes
hvg_flavor="seurat_v3" if data_is_raw else "cell_ranger",
binning=n_bins,  # 6. whether to bin the raw data and to what number of bins
result_binned_key="X_binned",  # the key in adata.layers to store the binned data
)
But I checked the data you used. Both datasets (c_data.h5ad and filtered_ms_adata.h5ad) are log1p data (not raw data) at adata.X. I think the correct parameter for normalize_total should be "False" (normalize_total=False), not normalize_total=1e4. Could you explain why you use "normalize_total=1e4" here if adata.X is log1p not raw data (basically now normalize log1p by total counts if normalize_total=1e4 is used)?  We found that the X_binned values and the final stat metrics (accuracy, precision etc) were changed if "normalize_total=1e4" or "normalize_total=False" were used for these datasets .

I was wondering the same thing.


Database backup/restore functions via GUI

This is a feature request. One thing I noticed while migrating a database from one traffic ops to another is that the current restoration process is more painful than it should be.
For example, if I'm to migrate a database from one traffic ops to another, I would need to..
1.) Dump the database from one traffic ops. Download it to my system if it's via the GUI.
2.) SCP that database file from my system over to the new traffic ops system.
3.) Drop the traffic ops database after a post install script was ran. Re-create the traffic ops database, then perform a pg_restore hoping that everything matches up.
From the methods above, I was able to restore the database. I did try the included DB import script, this caused me problems as well and there were some parts that made me a bit uneasy when I read through what it was doing exactly.
Feature description:
In Traffic Portal, an extra option would be added for backups/restore. In here you can get a DB dump, restore DB from file, and manage your dump files as well as schedule when backups occur and how many dump files you want to keep.

I'm not sure it's a good idea to expose the database through the UI/API for security reasons. We'd need more discussion around this before implementing.


Features cards

Describe the changes you have made in this PR -
styling features card

making border top with it's img color
add shadow around each card
hover effect
all cards have the same height

Screenshots of the changes (If any) -

Coverage decreased (-1.4%) to 82.887% when pulling 6537744c9b875a1b3e40aa41d7d6c3a56b97514e on mahmodHammad:features into c570b47d12ca5e8aae56bd74e670ebf6c9e34eb0 on CircuitVerse:master.

@nitin10s would you recommend any changes
.. I can easily cancel the hover effect for now
Also I was planning to work on displayimg a pop up illustrations after clicking on each card
Also some one is working on perfectly aligning the cards which will make them looks greet with that style


Load TAPs Hangs at 99%

Running taupino 2.8
Repro Steps:

Choose Play
Scroll to desired TAP filename
Type in "Load"
See message to press play button
Press "Select" button on Taupuino
Progress indicator goes from 1% to 99% on left while displaying "M<spinner symbol" on right (no idea what M means)
See "Searching" message
See "Loading" message
See "Ready" message (while Taupino is at 99%)
Can list or run program just fine
Taupuino stuck at 99%. It will never complete. User must press "ABANDON"

Hi,
This is by design. There is additional signal data in the TAP file after the program has loaded completely, so the Tapuino doesn't know that the TAP has finished. Code could be added to check the status of the motor line and complete if it was idle for "long enough" (sometimes the motor stops and starts during a normal load, so a motor stop can't be used as a definite marker of completing the load), but the ABORT key can be pressed to return to the menu. FYI the 'm' or 'M' symbol indicates that the tape motor is off 'm' or on 'M'.

Can you goto 100% when you reach end of file?
Can you point me to docs on what all the various options do (machine, timings, finalize...)?
Does the machine option indicate what machine the tapuino is in or what machine made the TAP? I have seen the calculation based on the setting but the results running it seem to be the same regardless of setting

Hi as I said, I could add code that would wait for a significantly long time and then complete, but that may break other functionality (multipart TAP loads). The machine option sets the specific signal timings (along with the video mode) and playback / recording mechanism for the machine in question (e.g. C16 uses 1/2 wave format). As the timings are relatively close, most work for most machines in the C64/PET/VIC20 group. As fas as docs go, there aren't any, but I will be adding docs to the evolution of this project: https://www.github.com/sweetlilmre/TapuinoNext


Getting type definition error post update of botbuilder to 4.15.0

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Versions
What package version of the SDK are you using: version 4.15.0
What nodejs version are you using: v14.15.0
What browser version are you using
What os are you using: macOS Catalina, version 10.15.7
Describe the bug
Our project has a dependency on the botbuilder library, earlier version is "botbuilder": "^4.7.2". Now I have updated the botbuilder to 4.15.0 i.e. The dependency is "botbuilder": "^4.15.0".
Post updating the botbuilder and building the solution, I am getting the type definition error compile error.
node_modules/botbuilder-core/lib/configurationBotFrameworkAuthentication.d.ts:50:227 - error TS2304: Cannot find name 'RequestInfo'.
node_modules/botbuilder-core/lib/configurationBotFrameworkAuthentication.d.ts:50:247 - error TS2304: Cannot find name 'RequestInit'.
node_modules/botbuilder-core/lib/configurationBotFrameworkAuthentication.d.ts:50:271 - error TS2304: Cannot find name 'Response'.
node_modules/botframework-connector/lib/auth/botFrameworkAuthenticationFactory.d.ts:32:435 - error TS2304: Cannot find name 'RequestInfo'.
node_modules/botframework-connector/lib/auth/botFrameworkAuthenticationFactory.d.ts:32:455 - error TS2304: Cannot find name 'RequestInit'.
node_modules/botframework-connector/lib/auth/botFrameworkAuthenticationFactory.d.ts:32:479 - error TS2304: Cannot find name 'Response'.
To Reproduce

Create any node project and add the dependency of botbuilder 4.15.0 into the package.json
Build the solution.

Expected behavior
No compile error should have come.
Screenshots

Additional context
Add any other context about the problem here.

Those are fetch types, so please include "dom" in your tsconfig.json "lib" array.


UI never connects when using run

Describe the bug
The never gets past the "connecting" stage when running with vitest run, but works fine with vitest watch.
Not sure if this is so much a bug, or just unsupported. But I cant see why it shouldnt work, and for larger test suites that can take minutes to run it makes sense to provide the UI.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-shyza9?file=package.json
System Info
System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1
    Memory: 138.16 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.2/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Browsers:
    Firefox: 97.0.1
    Safari: 16.3
  npmPackages:
    @vitejs/plugin-vue: 4.0.0 => 4.0.0
    @vitest/ui: ^0.28.5 => 0.28.5
    vite: ^4.1.4 => 4.1.4
    vitest: ^0.28.5 => 0.28.5

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

It's not supported for "run" mode. You can use html reporter instead to get generated HTML page with the same results.

Hey :) Maybe this should be a feature request then?
Would be good if it was noted somewhere in the docs, as it doesn't currently mention that. I would also expect the --ui flag not to run the UI server and open the page in that case too. I found it pretty confusing and lost some time.

Is this intentional? Cause it's not fixed till now. Switching to vitest watch to connect the UI.


Add GDScript code generation abstraction

This adds an interface for code generation to GDScript. In itself it does not make much of a difference, but it does make it easier to add a new backend without having to worry about the parse tree, instead just implementing a lower-level interface.
This will be useful for the new typed VM, since it can be made without creating a new compiler code. Could also be useful in the future if we want to compile GDScript to other targets.
Also includes a disassembler for the current VM which I used to debug the code generation. It can't be accessed currently since the command for the old tests isn't available anymore, but this is useful to have for when we have a new way to trigger those.

Does this close https://github.com/godotengine/godot-proposals/issues/1176?

Does this close godotengine/godot-proposals#1176? Alternatively, does this PR make that proposal non-applicable?

No and no. It might make a tad easier to implement that though, as it could be done as an implementation of this interface without having to touch the compiler.

It can't be accessed currently since the command for the old tests isn't available anymore

#41355 should get you there. 🙂


[WIP] go.mod: github.com/containerd/containerd/v2 v2.0.0-rc.0

$ go build ./...
# github.com/containerd/nerdctl/v2/pkg/imgutil
pkg/imgutil/imgutil.go:231:53: cannot use imgcryptUnpackOpt (variable of type containerd.UnpackOpt) as "github.com/containerd/containerd/v2/client".UnpackOpt value in array or slice literal
pkg/imgutil/snapshotter.go:114:9: cannot use source.AppendExtraLabelsHandler(prefetchSize, f) (value of type func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler) as func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler value in return statement
pkg/imgutil/snapshotter.go:114:55: cannot use f (variable of type func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler) as func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler value in argument to source.AppendExtraLabelsHandler
pkg/imgutil/snapshotter.go:118:9: cannot use socisource.AppendDefaultLabelsHandlerWrapper(rFlags.SociIndexDigest, f) (value of type func(f "github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler) as func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler value in return statement
pkg/imgutil/snapshotter.go:118:78: cannot use f (variable of type func("github.com/containerd/containerd/v2/core/images".Handler) "github.com/containerd/containerd/v2/core/images".Handler) as func("github.com/containerd/containerd/images".Handler) "github.com/containerd/containerd/images".Handler value in argument to socisource.AppendDefaultLabelsHandlerWrapper

Depends on:

[ ] https://github.com/containerd/imgcrypt/pull/148
[ ] https://github.com/containerd/stargz-snapshotter/pull/1545
[ ] soci-snapshotter

https://github.com/containerd/imgcrypt/pull/157 got merged

#3173


Add link to docs and exmples for v0.20.0

Changes
Add link to docs and exmples for v0.20.0
Signed-off-by: Andrea Frittoli<EMAIL_ADDRESS>/kind documentation
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[x] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[x] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

/lgtm

/lgtm

/retest

/retest

/test tekton-pipeline-unit-tests

/test tekton-pipeline-unit-tests


workerService.GetWebWorker() seems to reload the whole application

Is that intended / necessary?

I see it doesn't do that in your demo. So I guess the problem is on my side.

That would be great.
It is F# though, based on Bolero.
I took the Bolero demo, as contained in their dotnet new template and tried to add a WebWorker service.
https://github.com/Martin521/WorkerTest

lol Wow. F#. Never used it... Always fun trying something new... 😃
So I loaded your project and clicked the + button on the Counter page (seems to be where you are testing the worker) and it loaded the worker and ran without reloading the page. I'm including the last few lines from my console output below.
requesting compute service blazor.webassembly.js:1 computing spawndev.blazorjs.webworkers.js?verbose=true:53 has DedicatedWorkerGlobalScope JSInterop spawndev.blazorjs.webworkers.js?verbose=true:53 has DedicatedWorkerGlobalScope DotNet blazor.webassembly.js:1 done
Did I miss something? I will admit, I am having a little bit of a tough time following F#. I'm trying to spot something that might cause what you are seeing.

If you remove the verbose flag from the GetWebWorker call, there is less clutter in the log.

Ah. You are seeing the output from the WebWorker you are starting. That is expected behavior. The app is loaded in the WebWorker in a similar way to how it is on the main page. Except no page rendering code is ran, it is bypassed in the BlazorJSRunAsync() call when running in a Worker context. The WebWorker shares the console with the main window. SharedWebWorkers do not share the console with the main window.
Yes, the verbose flag enables the worker startup logging. I may remove it at some point.

Ah, I understand. So the code is not shared between the app and the worker.
Thanks for looking into it!

"That's fine. I just meant the flag that I set as an argument when calling GetWebWorker(true, true)."
lol I honestly wasn't sure what you meant. Need another coffee lol.
"I will see if the extra network traffic will be a problem for my app."
I was about to say the browsers cache system should prevent redownloading but then I remembered I had used 'no-cache' in the worker loader. I will look into getting cache working.


add tests for mamba on windows and osx

Trying to investigate and (hopefully) solve #59

Ok, I am not sure if this is going to be useful, but it's a way to fix the Mamba on Windows problem.
Basically, the issue was that most users will be calling Mamba from Bash, but on Windows mamba install xxx needs to be mamba.bat install xxx. I have added a forwarder script (on Windows only) that will delegate mamba calls to mamba.bat.

Sounds good @jaimergp, now should mamba alone work on any other shell on windows?

Hopefully @goanpeca! Check this run: https://github.com/conda-incubator/setup-miniconda/pull/100/checks?check_run_id=1412239926

Ohhh lovely :)
Merging then! Will cut a new release as soon as @bollwyvl finishes #98


Kadane's Algorithm

❗Write Code in Only One Language ( CPP , C , Java , Python )
Give File Name :  Kadanes-algo  ✅ In respective language folder
📑 DESCRIPTION
Kadane's Algorithm

Given an array Arr[] of N integers. Find the contiguous sub-array(containing at least one number) which has the maximum sum and return its sum.
Example 1:
Input:
N = 5
Arr[] = {1,2,3,-2,5}
Output:
9
Explanation:
Max subarray sum is 9
of elements (1, 2, 3, -2, 5) which
is a contiguous subarray.

Example 2:
Input:
N = 4
Arr[] = {-1,-2,-3,-4}
Output:
-1
Explanation:
Max subarray sum is -1
of element (-1)

Constraints:
1 ≤ N ≤ 106
-107 ≤ A[i] ≤ 107

Expected Time Complexity:  O(N)
Expected Auxiliary Space:  O(1)

Assing this issue to me


Using keras and tf.keras has different result

System information

TensorFlow):
Linux Ubuntu 16.04:
TensorFlow installed from Binary:
TensorFlow version (1.4):
Python version 3.6.3:

Describe the problem
I am using tf.keras and keras but it has a different result. I am using the code below for sentiment analysis classification using imdb dataset.
Source code / logs
model = Sequential()
model.add(Embedding(n_unique_words, n_dim, input_length=max_reviw_length))
model.add(Flatten())
model.add(Dense(n_dense, activation='relu'))
model.add(Dropout(dropout))
model.add(Dense(1, activation='sigmoid'))
model.summary()

_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
embedding_1 (Embedding)      (None, 100, 64)           320000
_________________________________________________________________
flatten_1 (Flatten)          (None, 6400)              0
_________________________________________________________________
dense_1 (Dense)              (None, 64)                409664
_________________________________________________________________
dropout_1 (Dropout)          (None, 64)                0
_________________________________________________________________
dense_2 (Dense)              (None, 1)                 65
=================================================================
Total params: 729,729
Trainable params: 729,729
Non-trainable params: 0
__________________________

model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
model.fit(x_train, y_train, batch_size=batch_size, epochs=epochs, verbose=1, validation_data=(x_valid, y_valid), callbacks=[modelcheckpoint])

preprocessing all exact the same
tf.keras result
Train on 25000 samples, validate on 25000 samples
Epoch 1/4
25000/25000 [==============================] - 9s - loss: 0.7412 - acc: 0.4990 - val_loss: 0.6932 - val_acc: 0.50000.4
Epoch 2/4
25000/25000 [==============================] - 7s - loss: 0.6932 - acc: 0.5005 - val_loss: 0.6931 - val_acc: 0.5000
Epoch 3/4
25000/25000 [==============================] - 7s - loss: 0.6932 - acc: 0.5001 - val_loss: 0.6931 - val_acc: 0.5000
Epoch 4/4
25000/25000 [==============================] - 7s - loss: 0.6932 - acc: 0.4942 - val_loss: 0.6931 - val_acc: 0.5000

<tensorflow.python.keras._impl.keras.callbacks.History at 0x7fad685e7c18>

keras result
Train on 25000 samples, validate on 25000 samples
Epoch 1/4
25000/25000 [==============================] - 9s 344us/step - loss: 0.5607 - acc: 0.6900 - val_loss: 0.3622 - val_acc: 0.8404
Epoch 2/4
25000/25000 [==============================] - 8s 308us/step - loss: 0.2849 - acc: 0.8849 - val_loss: 0.3486 - val_acc: 0.8446
Epoch 3/4
25000/25000 [==============================] - 8s 305us/step - loss: 0.1179 - acc: 0.9642 - val_loss: 0.4183 - val_acc: 0.8339
Epoch 4/4
25000/25000 [==============================] - 8s 307us/step - loss: 0.0252 - acc: 0.9960 - val_loss: 0.5202 - val_acc: 0.8345

<keras.callbacks.History at 0x7f560b85d940>

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 137 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 152 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Similar issue. How to solve this issue？@rubiagatra

@budach @facaiy @hhao89

Similar issue. How to solve this issue？@rubiagatra

It's there any solution to resolve this issue?

see https://github.com/tensorflow/tensorflow/issues/15026#issuecomment-513819963

Having the same issue with Keras version 2.3.1 versus tf version 2.1.0-dev20191228 and tf.keras version2.2.4-tf

@yairlev
I had a same issue. And I found the reason that BatchNormalization is different in tf.keras and pure keras.
My environment: tensorflow = 1.14.0, tf.keras = 2.2.4-tf, keras = 2.2.4.
The BatchNormalization in tf.keras has the parameters 'trainable' and 'fused'. But in pure keras, there are no 'trainable' and 'fused'.
I had added parameters trainable=False and fuse=False, then the loss in tf.keras went down.
The newer verion pure keras already has 'trainable' and 'fused'. So this different is only in old versions.
I hope this helpful.


Build nuget packages

Build nuget packages for rdkafka, ideally including pre-built librdkafka.dlls for win32/64, to make it easy to use.

Optimally there should be NuGet librdkafka packages though, right?

Ideally yes, having packages for that would help a lot.
There might be a little bit of build magic required to get downstream programs to include the librdkafka dlls properly in their output though.

Done: https://www.nuget.org/packages/RdKafka


hibernate true gives rollback in cloudformation

Hello,
I am trying to add "Hibernate": "True" into the Schedule definition, but the template is being rolled back with the status reason:Failed to update resource
My schedule looks like:
{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Metadata": {
        "AWS::CloudFormation::Designer": {}
    },
    "Resources": {
        "DutchOfficehours": {
            "Type": "Custom::ServiceInstanceSchedule",
            "Properties": {
                "Name": "NL-OfficeHours",
                "NoStackPrefix": "True",
                "Description": "Office hours in NL",
                "ServiceToken": "arn:aws:lambda:eu-central-1:[xxxxxxxxxxxx]:function:myVPC-NightShiftScheduler-InstanceSchedulerMain",
                "Enforced": "True",
                "Timezone": "Europe/Amsterdam",
                "Periods": [
                    {
                        "Description": "Opening hours on weekdays",
                        "BeginTime": "08:00",
                        "EndTime": "18:00",
                        "WeekDays": "Mon-Fri"
                    },
                    {
                        "Description": "Opening hours in weekend",
                        "BeginTime": "09:00",
                        "EndTime": "17:00",
                        "WeekDays": "Sat-Sun"
                    }
                ]
            }
        }
    }
}

Can you guide me what is wrong ? I tried to add it after "Enforced": "True".

Hi @1robroos,
If it does not work from the CloudFormation template, you can directly go and update the already created schedule in the dynamo DB and the instance scheduler will pick them up.
Thank you

@1robroos Has the issue been resolved?

Thanks.
At this moment I  discovered I do not have a use case for hibernation (only have t3 instances where hibernation is not supported, also Windows instances that do not meet the hibernate requirements ) so this is where it stops for me now.
And if I would have an instance that fulfills the requirements for hibernation, then I would be reluctant changing the schedule in DynamoDB directly.
Thanks for your help.


Force non fade transition + fixes

#122

Fix long animation duration for cancel/finish
Fix wrong hero modifiers for toTransitionView
Add force nonFade modifier
Ability to change modifiers (helpful for custom plugins)

In example "Image Viewer" need to fix timing, maybe later I fix it. Now not so much time

Thanks!


--username option

Some people has different username

Oops.
I'll resolve this conflict and re-push.

Resolved conflict and git push -f'd it.

Thanks, I'll fix a little and merge later :+1:

Hi, sorry for late, but I rewrote cli-init from scratch and support this option (to change owner name).  Try it on new version,
$ cd $GOPATH/src/github.com/YOUR_NAME
$ cli-init new -owner YOUR_NAME -c add todo

Thanks!
I'll try it.


Date picker shouldn't appear on top of the date field

Steps:

Make sure you have an editable date-type column
Click on the edit icon
The date picker appears on top of the field hiding the field, which is not a good experience. Expected: It should appear on the right.

Private Zenhub Video

Hi - We are not able to access the video - It is giving the error "Permission denied". Can you please help with a loom video

@carinanfonseca I am picking up this issue

@carinanfonseca I have rasied the pr for this issue
pr link
It seems no reviewer has been assigned yet. Could you please assign reviewer for this pr

hey @carinanfonseca @Nikhil-Nandagopal , if no one is working on this issue, can you assign it to me?


Empty reply from proxy server - even when remote target port is closed

Using the proxy to connect to a remote target, i.e. using curl --socks5 <IP_ADDRESS>:1080 targetip:targetport leads to empty replies (curl: (52) Empty reply from server), even when the remote target port is closed.
Is this behaviour intended?
Can anyone else confirm this?
On a side note, when setting up SSH as Socks Proxy ssh -N -D <IP_ADDRESS>:1080 localhost it works as expected and the proxy does not answer with an empty reply for closed ports curl: (97) connection to proxy closed.

Turning on the debug via -d reveals that refused connections are seemingly not handled gracefully:
Task exception was never retrieved
future: <Task finished name='Task-4' coro=<stream_handler() done, defined at /home/marco/pproxy/lib/python3.11/site-packages/pproxy/server.py:62> exception=ConnectionRefusedError(111, "Connect call failed ('<IP_ADDRESS>', 2222)")>
Traceback (most recent call last):
  File "/home/marco/pproxy/lib/python3.11/site-packages/pproxy/server.py", line 85, in stream_handler
    reader_remote, writer_remote = await roption.open_connection(host_name, port, local_addr, lbind)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marco/pproxy/lib/python3.11/site-packages/pproxy/server.py", line 223, in open_connection
    reader, writer = await asyncio.wait_for(wait, timeout=timeout)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thus pproxy does not submit the proper response = bytes([0x05, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00])  which leads to clients like curl to interpret the port as open with an empty response.