Original version is too slow for large model.

cc: @hetong007

@hetong007 Could you take a look?

Hi @chenwq , it seems good to me. Can you please update the commit to resolve the conflicts? Thank you. Sorry for the late reply.

xgb.model.dt.tree has been fully refactored for performance purpose.
Does this PR still make sense @chenwq ?


Lesion masks in the input directory result in a crash triggered by bids-validator.

We currently look for lesion masks in the /anat subdirectory of the BIDS raw data folder (https://fmriprep.readthedocs.io/en/stable/workflows.html#t1w-t2w-preprocessing). This now appears to cause fmriprep to crash on initialization because bids-validator does not recognize these files, as they are not strictly speaking included in the spec.
At some point we should refactor the data scraper to look for the lesion masks somewhere else (after deciding the most appropriate place for them to live), but in the meantime one can use a .bidsignore to get around this. I'll add a note about this to the lesion preproc section of the docs.
(I know that the dataset is valid other than this issue.)
Update: Forgot to mention that this is version 1.3.2 running via Singularity.

Just realized I could use a .bidsignore to get around this for now. I'll add a note about this to the lesion preproc section of the docs.

Very looking forward to the updated docs! Thanks!

Bidsignore is mentioned in the docs.


Get $validator inside component from parent component

How can I get the $validator inside a sub component from my root component or root vm.
Thanks

I recommend that you use the state management architecture as flux / reduex, because if you use validation result from outside component or outside vm, your application become complex.
the following the vuex example code:
<input v-validate:msg @valid="updateValidMessage">

// ...
methods: {
  updateValidMessage: function () {
    store.actions.updateValidMessage('msg', true)
  }
}

References:

State Management
Form Handling
Event

Close (inactivity)


Typo fix in cassandra/README.md

a small typo in line 71

/assign @unguiculus

/ok-to-test

/lgtm


Fix Stream Proof Esp

so when i moving mouse box and other esp got delay of follow player its looks like esp doesn't hook to player

since it using overlay hook. that issue cant be help

Show video

I just tested it seems spot on.
do you have low fps? (idk if that would even influence a delay )

Show video

With new update this delay is disappeared


Input lag as number of fields / nested fields increase

Hi,
When trying to build a form with lot of fields (more than 40) or with many nested fields (at least 4 levels down), I have noticed that the input lag (time difference between keystroke and input visible) increases as more fields are added. I have attached a sample form for demonstrating the issue.
I suspect the lag is caused by the validation rules being run with every keystroke, but I could be wrong.
Can you please suggest any workaround for minimizing the lag.
Thanks in advance
sample.zip

For anyone interested, the work around is to set  "updateOn" property of input to "blur", so that the rules and watchers are not run on every keystroke.


Allow usage of external tokenizers

Extracting a Trait to be used by external tokenizers i.e. https://github.com/guillaume-be/rust-bert would be very nice!

Hi, what's your use case for this?
The problem here is that the LanguageTool rules are highly dependent on the "right" tokenizer being used. There are for example rules which need quotation marks to be treated as a separate token and words with dashes as one token.
Also, what's perhaps a bit misleadingly called the Tokenizer (I'm open to suggestions for a different name!) also does chunking and part-of-speech tagging as mentioned at https://docs.rs/nlprule/0.3.0/nlprule/tokenizer/index.html. So it would not be easy to replace and I don't really see a reason to.

Hi, what's your use case for this?
The problem here is that the LanguageTool rules are highly dependent on the "right" tokenizer being used. There are for example rules which need quotation marks to be treated as a separate token and words with dashes as one token.
Also, what's perhaps a bit misleadingly called the Tokenizer (I'm open to suggestions for a different name!) also does chunking and part-of-speech tagging as mentioned at https://docs.rs/nlprule/0.3.0/nlprule/tokenizer/index.html. So it would not be easy to replace and I don't really see a reason to.

I wasn't aware the tokenizer is tangled into some other requirements, in that case, ignore this.

I wasn't aware the tokenizer is tangled into some other requirements, in that case, ignore this.


Support turning off ncurses support in cursive

The cursive crate turns on ncurses support by default. When we depend on it without setting default-features = false, we force this support to always be turned on without giving downstream users the ability to turn it off.
This commit disables the default features in the dependency, but our default features still turn on ncurses support.

Oops, I didn't see that #5 had already been opened for this.


Consistent "JavaScript heap out of memory" errors

- Do you want to request a feature or report a bug? Bug
- What is the current behavior? Like clockwork my yarn netlify dev command errors out with
Request from ::1: GET /.netlify/functions/index/boards/e67439d5-e4e3-4a5e-89e1-1314301de3d2/members

<--- Last few GCs --->

[59923:0x103800c00]   555150 ms: Mark-sweep 1378.2 (1404.1) -> 1378.2 (1404.1) MB, 202.9 / 0.0 ms  (average mu = 0.924, current mu = 0.000) last resort GC in old space requested
[59923:0x103800c00]   555362 ms: Mark-sweep 1378.2 (1404.1) -> 1378.2 (1404.1) MB, 211.5 / 0.0 ms  (average mu = 0.857, current mu = 0.000) last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x23d189dbe3d]
Security context: 0x2d224d89e6c1 <JSObject>
    1: stringSlice(aka stringSlice) [0x2d225c014579] [buffer.js:594] [bytecode=0x2d225c056039 offset=91](this=0x2d2290c026f1 <undefined>,buf=0x2d2271622111 <Uint8Array map = 0x2d2208bd6269>,encoding=0x2d224d8be9b1 <String[4]: utf8>,start=0,end=4515767)
    2: toString [0x2d221f2211c9] [buffer.js:~643] [pc=0x23d18dfda20](this=0x2d2271622111 <Uint8Array map = 0...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 0x100d77bad node::Abort() (.cold.1) [/usr/local/bin/node]
 2: 0x10003ae83 node_module_register [/usr/local/bin/node]
 3: 0x10003b044 node::FatalTryCatch::~FatalTryCatch() [/usr/local/bin/node]
 4: 0x1001aa117 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 5: 0x1001aa0b1 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 6: 0x1005994c2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
 7: 0x1005a2d15 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
 8: 0x1005748c3 v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
 9: 0x1005743e5 v8::internal::Factory::NewStringFromUtf8(v8::internal::Vector<char const>, v8::internal::PretenureFlag) [/usr/local/bin/node]
10: 0x1001ceaef v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int) [/usr/local/bin/node]
11: 0x1000dadb3 node::StringBytes::Encode(v8::Isolate*, char const*, unsigned long, node::encoding, v8::Local<v8::Value>*) [/usr/local/bin/node]
12: 0x100050410 void node::Buffer::(anonymous namespace)::StringSlice<(node::encoding)1>(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
13: 0x100239c93 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
14: 0x10023917e v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node]
15: 0x10023884a v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
16: 0x23d189dbe3d
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [dev] Error 1

- If the current behavior is a bug, please provide the steps to reproduce. Unfortunately I can't open source my project yet. The only other library I'm using is serverless-http which I'm also suspicious of.
- What is the expected behavior? To not crash with a OOM error
  System:
    OS: macOS High Sierra 10.13.2
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 10.20.1 - /var/folders/m_/fp_gs3cx2ynb9jg07yf14n3r0000gn/T/yarn--1588170121519-0.9015303621454474/node
    Yarn: 1.22.4 - /var/folders/m_/fp_gs3cx2ynb9jg07yf14n3r0000gn/T/yarn--1588170121519-0.9015303621454474/yarn
    npm: 6.14.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 81.0.4044.122
    Firefox: 74.0
    Safari: 11.0.2

netlify-cli/2.48.0 darwin-x64 node-v10.20.1

Because this is running via the netlify dev command I don't know how to attach the inspector to it so I can dig in.
Any help would be appreciated

As a side note this also causes the dev server (or whatever runs on port 9000) to not exit.


How to modify data attributes before method "rules" called in Request class in method prepareForValidatio?

it is my code:
public function prepareForValidation()
    {
        $this->merge([
            'phone' => preg_replace('/[^0-9]/', '', $this->phone)
        ]);
   }

Thank you for great package!

So I think at that point in the execution, the phone attribute will actually be at data.attributes.phone.

I tried it but not work
public function prepareForValidation()
{
      $this->merge([
          'phone' =><PHONE_NUMBER>,
         //and
         'data.attributes.phone' =><PHONE_NUMBER>
      ]);
}

I used this way it works perfect
public function prepareForValidation()
{
   $data = $this->data;
   $data['attributes']['phone'] = 1111111;

    $this->getInputSource()->replace(['data' => $data]);
}

Ah yes, should have said that I didn't expect the string "data.attributes.phone" to work - I just meant it as the path! But glad to see you figured it out.


superfluous error when seeing "_build" in sub-app

A minor issue while working with umbrella projects:  While porting an existing umbrella project to rebar3 I would cd to the directory of a subapp and do various invocations of rebar3 compile and rebar3 clean to get things going.  When I then go back to the main directory and do rebar3 release, I am greeted with an error like...
===> Missing beam file myapp_app <<"/home/goertzen/test/myapp/apps/myapp/_build/default/lib/myapp/ebin/myapp_app.beam">>

Everything seems to work correctly in the end, but that message definitely makes you think that it did not.
Manually going into the app and wiping out the _build directory removes the error message.  Related question: is there something stronger then clean that will wipe this dir out for me?
Steps to reproduce:
goertzen@g550jk ~/test $ rebar3 new release
===> Writing myapp/apps/myapp/src/myapp_app.erl
===> Writing myapp/apps/myapp/src/myapp_sup.erl
===> Writing myapp/apps/myapp/src/myapp.app.src
===> Writing myapp/rebar.config
===> Writing myapp/config/sys.config
===> Writing myapp/config/vm.args
===> Writing myapp/.gitignore
===> Writing myapp/LICENSE
===> Writing myapp/README.md

goertzen@g550jk ~/test $ cd myapp/apps/myapp/
goertzen@g550jk ~/test/myapp/apps/myapp $ rebar3 compile
===> Verifying dependencies...
===> Compiling myapp

goertzen@g550jk ~/test/myapp/apps/myapp $ rebar3 clean
===> Cleaning out myapp...

goertzen@g550jk ~/test/myapp/apps/myapp $ cd ../..
goertzen@g550jk ~/test/myapp $ rebar3 release
===> Verifying dependencies...
===> Compiling myapp
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
          /home/goertzen/test/myapp/_build/default/lib
          /home/goertzen/test/myapp/apps
          /usr/local/lib/erlang/lib
===> Missing beam file myapp_app <<"/home/goertzen/test/myapp/apps/myapp/_build/default/lib/myapp/ebin/myapp_app.beam">>
===> Resolved myapp-0.1.0
===> Dev mode enabled, release will be symlinked
===> release successfully created!
goertzen@g550jk ~/test/myapp $

No, there isn't anything stronger than clean that would get rid of a sub-app's _build.
That warning message is from relx. It is one I'm thinking about getting rid of for most cases. It is warning that it found an app that has a list of modules that doesn't correspond to beams found for that app. In this case it doesn't ultimately matter since it also finds a full copy of myapp to use.


It is up to the caller to determine the query field

thanks a lot for your work.
I'm using GORM currently.When I try to implement the interface, I don't know how to keep the correct In this situation.
For gorm. It is up to the caller to determine the query field

For ent. I should find all the use cases that call this function

Hey @Naist4869

I'm using GORM currently.When I try to implement the interface, I don't know how to keep the correct In this situation.

I'm not sure I really understand your question. From looking at your code, it looks fine. Can you elaborate on what are you missing there, or what's not working for you?
In ent, you don't get a ent.NotFoundError error if no records were found, you just get an empty list. However, you get such an error if you use Only/First, but you can check it with the ent.IsNotFound helper.

Hey @Naist4869

I'm using GORM currently.When I try to implement the interface, I don't know how to keep the correct In this situation.

I'm not sure I really understand your question. From looking at your code, it looks fine. Can you elaborate on what are you missing there, or what's not working for you?
In ent, you don't get a ent.NotFoundError error if no records were found, you just get an empty list. However, you get such an error if you use Only/First, but you can check it with the ent.IsNotFound helper.
Thanks @a8m

For Gorm. It will automatically ignore zero-valued fields build WHERE.
For Ent. I can only use a different method to set fields build WHERE.
I want the query field defined by the user like graphql in ent

OK, I got it. There 2 options on how to do it, because you don't want always to ignore the zero values on predicate (0, false, etc). Maybe using a pointer it's preferred here.
The first option is to check it in your GraphQL resolvers and just do it by yourself:
var ps []predicate.ChannelConfig
if id := input.AppID; id != "" {
    ps = append(ps, channelfconfig.AppID(id))
}
// ...
configs, err := client.ChannelConfig.Query().Where(ps...).All(ctx)
// ...

The second option is to use external-templates to generate an API for accepting nil/zero values in the predicates and add them to the Where clause only if they are valid.
If want to give a try to the second version, ping me on our Slack channel and I can help you with this.

Yes, it seems that only the external-templates is what I want without reflection.
I'm English is not good. So I will try to solve it myself,And ask for help from the channel after failure.
Thank you very much.

Please don't hesitate to ping me privately on Slack.


curl: override any "-w" options that might exist

See the code comment for an explanation.

Sorry that's the goal - I have "-w \n" in my .curlrc because it makes most curl requests format better when printed to stdout. But it breaks pprof files downloaded with curl which is one of the main things you'd be downloading with kubectl-curl.
I guess I could check if stdout is a TTY or not, and only append the "-w" argument if it's not?

🤔  I believe it should work already then? Maybe it didn't because of https://github.com/segmentio/kubectl-curl/pull/10 ?
Have you tried with the latest release?

I believe it should work already then?

When you say "it" what do you mean? On master, kubectl-curl reads the contents of .curlrc ("-w \n") and appends a newline, which I don't want it to do, since it breaks pprof file parsing. On this branch, kubectl-curl reads the contents of .curlrc but they are overridden by the argument passed directly here.

What I mean is passing of the -w option should already work? Can you do kubectl curl -w "" ... for example?
I think reading of the .curlrc file is the expected behavior, the goal of this plugin is to run a curl command against a running kubernetes pod, so it should behave the same as it would if the user was executing a curl command against any other http server.


Implement PgmAddr parsing

Currently PgmAddr is only a wrapper around String. Using the same interface (if possible), proper parsing (FromStr trait) and appropriate methods should be implemented.
See zmq_pgm for reference.

Closed by 0b4c611a519f8440ae1ea7e8c6fecf19dd26412a.


[slack] Slack directory with basic bot and .gitignore update for .env

Closing this PR and opening a new one with further changes @romainr

Closing this PR and opening a new one with further changes @romainr

Also shall we change the directory name to "slackbot" ?
"slack" seems too general. What do you say?

Also shall we change the directory name to "slackbot" ?
"slack" seems too general. What do you say?


The test grpc.sample.BidiStreamingTestCase.testBidiStreamingClient fails intermittently

Description:
Please find the error below.
java.lang.AssertionError: expected [Success: received valid responses from server] but found [Failed: invaild response from server] at org.ballerinalang.test.service.grpc.sample.BidiStreamingTestCase.testBidiStreamingClient(BidiStreamingTestCase.java:55)

Closing this issue, this is fixed in master with PR #13500. please reopen if you encounter this issue again


AOT Autograd partitioned forward pass outputs same tensor twice

def f(scores, mask):
    scores = scores.masked_fill(mask == 0, 1e-9)
    return torch.nn.functional.softmax(scores, dim=-1)

def forward(self, primals_1, primals_2):
    eq = torch.ops.aten.eq(primals_2, 0);  primals_2 = None
    clone = torch.ops.aten.clone(primals_1, memory_format = 0);  primals_1 = None
    masked_fill_ = torch.ops.aten.masked_fill_(clone, eq, 1e-09);  clone = None
    _softmax = torch.ops.aten._softmax(masked_fill_, -1, False);  masked_fill_ = None
    return [_softmax, _softmax, eq]

As seen above, _softmax output is duplicated twice. This results in unnecessary memory transfers. This happens when the output of the forward pass also needs to be saved for the backward pass. Partitioning algo does not account for this corner case.

well, this doesn't result in unnecessary memory transfer, right? Just some extra (minor) overhead of putting a tensor in a list twice.

Might be. I suspected it because of following results

From eyeballing the graphs, there is no fusion anywhere. So, it should have been as fast as baseline.

Could be overhead? Or perhaps an inefficient partitioning...


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/97928

TagBot fix

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98026

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98172

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106276


grab a object in index by id?

Hello!
Is it possible to retrieve an object by the ID? Something like:
    def get_by_id(self, id):
        return embeddings.search("select * from txtai where id = " + str(id))

thanks

Hello, thank you for asking.
This is possible. An example is shown below.
return embeddings.search("select object from txtai where id = 'value' limit 1")[0]["object"]

This assumes content and object storage are both enabled in the embeddings index.
A more complete example can be found in this notebook.
https://colab.research.google.com/github/neuml/txtai/blob/master/examples/24_Whats_new_in_txtai_4_0.ipynb#scrollTo=lGmiYXyqyjtQ

Here is my current function
def get_by_id(self, id):
        query = "select text from txtai where id = " + str(id) + " limit 1"
        print(query)
        return embeddings.search(query)

My output looks like:
vscode ➜ /workspaces/vectotron/parse_rabbit (main ✗) $ python3 explore.py
select text from txtai where id = 22 limit 1
[]

I for sure have a lot of objects indexed and am loading the index before search. I tried adding single quotes on 'value' and also tried selecting * instead of just 'text'
Thanks for all the support again thus far.

What do you get if you run:
embeddings.search("select * from txtai")

Assuming the index has data, it should give you 3 random documents.

hmm.. it appears empty. must be something with the way I have structured my code.
manager.py
from txtai.embeddings import Embeddings
embeddings = Embeddings(
    {"path": "sentence-transformers/nli-mpnet-base-v2", "content": True, "objects": True})

class Manager:
    def __init__(self, index_name):
        self.index_name = index_name

    def search(self, query_text, k):
        embeddings.load(self.index_name)
        return embeddings.search(query_text, k)

    def count(self):
        embeddings.load(self.index_name)
        print(embeddings.exists(path=self.index_name))
        return embeddings.count()

    def index(self, documents):
        embeddings.index([(uid, text, None)
            for uid, text in enumerate(documents)])
        embeddings.save(self.index_name)
        return True

    def delete(self, id):
        return embeddings.delete(id)

    def get_by_id(self, id):
        query = "select * from txtai"
        print(query)
        return embeddings.search(query)

explore.py (file i am running)
from manager import Manager

instance = Manager("imessage")

#print(instance.count())
#print(instance.delete([0]))
#print(instance.search('test', 10))
print(instance.get_by_id('22'))

Oops. I lied to you. I did not load the index after reading my post here. Sorry!
PS. I sent you a message via Linkedin. I have a couple questions and would love to contribute a PR.


refactoring: Extract cloudformation specific code into its own package

for the preparation to reuse it in the upcoming node pools feature

Current coverage is 62.54% (diff: 80.95%)

Merging #104 into master will increase coverage by 5.94%

@@             master       #104   diff @@
==========================================
  Files             3          3
  Lines           970        793   -177
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            549        496    -53
+ Misses          351        229   -122
+ Partials         70         68     -2

Powered by Codecov. Last update c413d9d...10217ee


TapGestureRecognizer leaked by RenderToggleable, _RenderCupertinoSwitch, _RenderSlider

These classes uses TapGestureRecognizer but does not dispose it.

RenderToggleable
_RenderCupertinoSwitch
_RenderSlider

Is it the intended implementation?
A parent class of TapGestureRecognizer, PrimaryPointerGestureRecognizer uses Timer and has dispose method.
LongPressGestureRecognizer is used similarly.

/cc @xster @HansMuller

@goderbauer

Problem is still present, we should fix it by creating the Recognizers on attach and disposing them on detach, similarly to how we fixed this for RenderEditable in https://github.com/flutter/flutter/pull/42076.

Instead of what I am suggestion above, we should do what's suggested in https://github.com/flutter/flutter/pull/49999#issuecomment-589905250 to address this problem.

Still valid in 1.21.0-1.0.pre. But here is some notes:

RenderToggleable: does not dispose TapGestureRecognizer and AnimationController.

_RenderCupertinoSwitch: does not use TapGestureRecognizer anymore, it was moved to the _CupertinoSwitchState class and that class call the dipose of the TapGestureRecognizer in it dispose method. These changes where added on https://github.com/flutter/flutter/pull/51606.

_RenderSlider: does not dispose TapGestureRecognizer.

 flutter doctor -v
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-AO)
    • Flutter version 1.21.0-1.0.pre at /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision f25bd9c55c (8 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

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

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe)
    ! /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe is not
      executable.

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web) • web-server • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

Not disposing these recognizers is actually causing crashes in the RenderToggleable. I've filed https://github.com/flutter/flutter/issues/76411 with details.

https://github.com/flutter/flutter/pull/76745 removed RenderToggleable but _RenderCupertinoSwitch and _RenderSlider still do not dispose of their TapGestureRecognizers. Updating the labels and removing RenderToggleable from the title to better reflect the current state of the issue.
_RenderCupertinoSwitch
https://github.com/flutter/flutter/blob/858d4ff6348732edd79f923c61f7d8841ca40bef/packages/flutter/lib/src/cupertino/switch.dart#L664-L667
_RenderSlider
https://github.com/flutter/flutter/blob/858d4ff6348732edd79f923c61f7d8841ca40bef/packages/flutter/lib/src/cupertino/switch.dart#L664-L667

In https://github.com/flutter/flutter/pull/51606 the CupertinoSwitch was refactored to move the gesture recognizer out of the RenderObject into a state object.
_RenderSlider and _RenderRangeSlider do not dispose their TapGestureRecognizer.


Configure: clang: add -Wno-unknown-warning-option [1.0.2]

Pull request #9425 fixed the symptoms but not the cure: The clang error might not only affected the travis ci but also users which build OpenSSL with strict errors enabled using clang, after upgrading to a newer clang version. This pull request reverts 0bc650d58a58 and replaces it by the following:
Configure: clang: add -Wno-unknown-warning-option

Fixes travis build errors due to clang

    error: unknown warning option '-Wno-extended-offsetof'

It seems like '-Wextended-offsetof' was removed from clang in version 6.0.0,
(see [1], [2]). While gcc ignores unknown options of the type '-Wno-xxx',
clang by default issues a warning [-Wunknown-warning-option] (see [3]), which
together with '-Werror' causes the build to fail.

This commit adds the '-Wno-unknown-warning-option' option to make clang
behave more relaxed like gcc.

[1] https://reviews.llvm.org/D40267
[2] https://github.com/llvm/llvm-project/commit/52a3ca9e2909
[3] https://clang.llvm.org/docs/DiagnosticsReference.html#wunknown-warning-option

(Note: the corresponding pull request for master/1.1.1 can be found at #9447)

Excuse me, but the problem is that we do not have any test coverage for clang-7.0.0
in any version except 1.0.2 with this move.
If you revert 0bc650d then please make sure that we at least keep the test coverage for clang-5.0.0
and add clang-7.0.0 in addition.
And please do that in master as well.

The primary reason why I reverted your commit is because I needed to verify that my commit fixes the original problem. If you want me to drop the reversal, no problem.
Having test coverage for both clang-5.0.0 and clang-7.0.0 sounds like a good idea. Since I am not so familiar with the ci configurations to choose sensible defaults, I propose that I just drop the reversal and you take care of the dual test coverage?

Okay, I wanted to do that anyway. It is of course much more needed in master/111,
since 110/102 are in maintenance mode and no one can expect them to build with
the next clang/gcc versions.

BTW. If you want to test the CI build, please add [extended tests] to the last commit message,
otherwise it is not guaranteed to pick up all necessary tests.

Since I am not so familiar with the ci configurations

never mind, I do all day things which I am not so familiar with ;-)

Okay, I wanted to do that anyway. It is of course much more needed in master/111,

Agreed, I'll drop the reversal.

since 110/102 are in maintenance mode and no one can expect them to build with
the next clang/gcc versions.

Sure, but this fix provides a sustainable solution to a foreseeable clang problem, and in view of the fact that many users will remain on 1.0.2 until there is a FIPS evaluated replacement, it should be merged before EOL imho. (I hope there will be a farewell release?)

BTW. If you want to test the CI build, please add [extended tests] to the last commit message,
otherwise it is not guaranteed to pick up all necessary tests.

Thanks for the reminder. In theory, I know that. In practice, I did it in #9447, but forgot to do it here ;-).

Dropped the reversal and added `[extended tests] annotation.

Yes, it is good to have this fixed, I just can tell that new compiler versions tend to add
new warnings in general.  I wonder why there were no user reports at all.

I have no idea what caused this travis failure...
make[1]: Entering directory `/home/travis/build/openssl/openssl/_srcdist/test'
clang -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -g -Wall -Wextra -Qunused-arguments -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Wundef -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DOPENSSL_NO_DEPRECATED -Wunknown-warning-option -Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token   -c -o bntest.o bntest.c
make[2]: Entering directory `/home/travis/build/openssl/openssl/_srcdist/test'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto  -ldl}"; LDCMD="${LDCMD:-clang}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -g -Wall -Wextra -Qunused-arguments -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Wundef -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DOPENSSL_NO_DEPRECATED -Wunknown-warning-option -Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=bntest} bntest.o  ${LIBDEPS} )
/usr/bin/ld: bntest.o: undefined reference to symbol 'BIO_printf@@OPENSSL_1.0.0'
//lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/travis/build/openssl/openssl/_srcdist/test'
make[1]: *** [bntest] Error 2
make[1]: Leaving directory `/home/travis/build/openssl/openssl/_srcdist/test'
make: *** [tests] Error 2
+// MAKE TEST FAILED

2nd attempt, out of wip again. ping @bernd-edlinger.

Merged to 6a7bad0fd7a2125d075e459b33145d4ce5ee0de9, thanks!


No New Command Prompt option on Windows

Testing #119427
There's no open project in this case:

I get a similar result when opening a new window, waiting for it to finish loading, and then looking through the options.

I had showQuickLaunchWslProfiles enabled, could that be why?

/duplicate https://github.com/microsoft/vscode/issues/119700


botkube help command

Is your feature request related to a problem? Please describe.
Need to add @botkube help command in addition to /botkubehelp as custom commands are not supported by all platforms (discord for example)
Describe the solution you'd like
add  @botkube help command to the command list

@codenio we had thought about this but this will return a duplicate response for multiple cluster env.

Will be handled in https://github.com/kubeshop/botkube/issues/683


sap_vm_provision: amend DNS var prefix

sap_vm_provision: amend DNS var prefix
sap_vm_provision_aws_*
sap_vm_provision_ibmcloud_private_dns_*
sap_vm_provision_msazure_private_dns_*

@sean-freeman Coming here from https://github.com/sap-linuxlab/community.sap_infrastructure/pull/55
I think we should focus on private DNS as you mentioned and AWS should reflect same. Trying to work on public side of things would be bit risky and counterproductive.
sap_vm_provision_aws_private_dns_*
sap_vm_provision_ibmcloud_private_dns_*
sap_vm_provision_msazure_private_dns_*
sap_vm_provision_gcp_private_dns_*

@marcelmamula Agreed, scoping the Ansible Role to exclusive use of Private DNS functionality will be safer for everyone involved; the end-user can always target a DNS Service that has the option for Public Domain resolving or Corporate DNS Resolver interconnectivity etc etc and perform such tasks manually.


check-engine seems to fail when running "npm test" from base theme

https://gitter.im/MoOx/phenomic?at=57f4f09f0ec6f9457da34ad0

@cedricdelpoux Cannot reproduce with a fresh install and node 6/npm 3.
Feel free to give me more info to be able to reproduce.


feat: custom startcoroutine

Wrote this PR earlier this year in order to have a more centralized approach of all our subsystems that used throttling.
Explanation
Right now, the following systems use coroutines with independent throttling:

AssetPromiseKeeper to resolve many promises without hiccups.
GLTFSceneImporter to throttle the parsing/loading of models
AssetPromise_AB to throttle the loading of individual AssetBundles assets.
MessagingControllerManager to throttle messages
SceneController to throttle decoding
MemoryManager and ParcelScenesCleaner to throttle memory unloading
MaterialCachingHelper to put materials inside our persistent cache and optimize rendering

On top of that we are using coroutines for other subsystems that have no throttling, like:

SceneBoundariesChecker that checks periodically objects are inside the scene bounds
AvatarShape loading
Thumbnail loading
ComponentUpdateHandler that manages an internal queue of ApplyChanges calls (so they don't interrupt each other if a message is processed before the previous ApplyChanges finished).

And so on.
The issue of having so many subsystems running on tandem, is that regardless of what budget are we setting, there is no encompassing system that manages the CPU load between them. There's very few code in place that prevents that all of them use all their throttling capacity, and when that happens we have hiccups.
The idea of this PR is to gain full control of what is going to be processed each frame, this way it'd be way easier to achieve a stable framerate.
In this implementation, we aim to centralize all our sub-systems execution in a single custom coroutine runner that has a single specified budget. This way we can ensure this budget each frame. To have a proper control of each frame, we have to prioritize those systems, so they execute i.e. in the following cascading order:

Decoding messages
Enqueue and process messages
Resolve promises
Load asset bundles and GLTFs
Memory management, parcels cleaner, etc.

The custom coroutine runner executes all of those in the determined order, and checks in every yield return if the CPU budget is filled out. This also increases the granularity of the process spreading, improving the throttling accuracy.

This is nowhere near being merged. Will close it for now.


Cookie Corner charges wrong nr of items

Sometimes when the cookie corner is used, a double number of items is charged. This is possibly due to tapping the laggy screen once and it registering it is twice.


Switch syntax and string literal clash

switch bla {| a => b} clashes with {|hello new string literal ()()|}.
The suggestion is to switch the string literal from {|a|} to a (a-la js) or maybe """ a-la python.
If we go with the former, we need to change polymorphic variant's syntax from `Bla to something else, like #bla.

I think with Reason v3 this is no longer true? i.e. switch now requires parens.


Minor corrections

Just two minor corrections I've found while reading the docs:

"Developer" -> "Develop"
"Workers" -> "Worker's"

Heads up that this tutorial will be deprecated/deleted soon for outdated material but thank you for this catch anyway :)


tests: fix test that was using global Viper config from another test

I'm going to do this manually in my branch because a lot has changed in the branch itself.

fixed in #14


shim: Create pid-file with 0644 permissions

Fixes ae7021300
In ae7021300 the WritePidFile and WriteAddress functions were changed to use AtomicFile instead of os.CreateFile. However, AtomicFile creates a temporary file and then changes its permissions with os.Chmod which alters the previously observed behavior of os.CreateFile which takes the system's umask into account.
This means that on Linux-based systems these files suddenly became world writable (#9363). The address file has since been removed, but pid-file was still created as world writable. This commit explicitly requests 0644 permissions as even on systems without default umask of 0022 there is no reason to have these two files world writable.
(cherry picked from commit 088d5cfbd23f06727c9d872dbe690f00d4f9be53)

cherry picked from commit https://github.com/containerd/containerd/commit/088d5cfbd23f06727c9d872dbe690f00d4f9be53

This is confusing, as the commit does not exist in the upstream

original PR was backported to 1.6 as well, so we'll also need a cherry pick for the 1.6 branch

cherry picked from commit 088d5cf

This is confusing, as the commit does not exist in the upstream

This is a result of me following Samuel's recommendation at https://github.com/containerd/containerd/pull/9548#issuecomment-1865519075, would you like me to amend the message to leave this bit out? (I'm sorry about all this confusion, I'm not used to contribute to multiple maintained branches.)

cherry picked from commit 088d5cf

This is confusing, as the commit does not exist in the upstream

This is a result of me following Samuel's recommendation at #9548 (comment), would you like me to amend the message to leave this bit out? (I'm sorry about all this confusion, I'm not used to contribute to multiple maintained branches.)

The main PR has to be merged first, and then the commit should be cherry-picked to the v1.7 branch.
The current PR is cherry-picked in the opposite way.

The main PR has to be merged first, and then the commit should be cherry-picked to the v1.7 branch. The current PR is cherry-picked in the opposite way.

Thank you for the clarification, hopefully I did it correctly this time:
main PR: Commit that fixes pid-file.
release/1.7 PR: Cherry-pick of the commit from main + a commit that fixes the address file.


Fix Power Automate to fix scheduling

Power automate is currently not sending emails nor creating appointments in the calendar.

Power automate seems to be working fine. The problem is the emails being sent to a subfolder or not being sent at all (see #5).


Chatfuel update

hey
Telegram added Chatfuel and your lib doesn't  work for who uses this feature
(I made a new bot and didn't add it to Chatfuel so it's okay now. I thought this feature is essential :smile:. so you can fix it to others :+1:  )
I got these errors:

new token validation
getUpdate() when webhook is enabled

Thanks for your support

hi @Hamix,
I cant' find any news from Telegram about Chatfuel.
I don't know how Chatfuel works, but if you have to setup a Webkooks for them you can't use getUpdate(). see the docs:

This method will not work if an outgoing webhook is set up


Updating wishlist with new projects

Description
Please include a short summary of the change.
This PR removes completed projects and introduces new ones ahead of the august 2024 community call.
Issue link (if applicable):
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.William Zijie Zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


icd: Add VK_KHR_cooperative_matrix support

Adds support for the vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR needed so MockICD can run with profiles for  upcoming VK_KHR_cooperative_matrix VVL tests

CI Vulkan-Tools build queued with queue ID 694.

CI Vulkan-Tools build # 1067 running.

CI Vulkan-Tools build # 1067 passed.


Cannot connect with v<IP_ADDRESS>

Hello,
We have tried connecting with the new v<IP_ADDRESS>, but it does not seem to work. Server will error out with
[06:39:34.779] [Error] [Server] Exception while polling events: System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at Multiplayer.Networking.Data.TrainsetSpawnPart.FromTrainCar (Multiplayer.Components.Networking.Train.NetworkedTrainCar networkedTrainCar) [0x00007] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at Multiplayer.Networking.Data.TrainsetSpawnPart.FromTrainSet (Trainset trainset) [0x0002a] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at Multiplayer.Networking.Packets.Clientbound.Train.ClientboundSpawnTrainSetPacket.FromTrainSet (Trainset trainset) [0x00005] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at Multiplayer.Networking.Listeners.NetworkServer.OnServerboundClientReadyPacket (Multiplayer.Networking.Packets.Serverbound.ServerboundClientReadyPacket packet, LiteNetLib.NetPeer peer) [0x0019d] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at LiteNetLib.Utils.NetPacketProcessor+<>c__DisplayClass29_0`2[T,TUserData].<SubscribeReusable>b__0 (LiteNetLib.Utils.NetDataReader reader, System.Object userData) [0x00018] in <2af6a78ac53a4d3dbe588de2359878e4>:0
  at LiteNetLib.Utils.NetPacketProcessor.ReadPacket (LiteNetLib.Utils.NetDataReader reader, System.Object userData) [0x00007] in <2af6a78ac53a4d3dbe588de2359878e4>:0
  at LiteNetLib.Utils.NetPacketProcessor.ReadAllPackets (LiteNetLib.Utils.NetDataReader reader, System.Object userData) [0x00002] in <2af6a78ac53a4d3dbe588de2359878e4>:0
  at Multiplayer.Networking.Listeners.NetworkManager.OnNetworkReceive (LiteNetLib.NetPeer peer, LiteNetLib.NetPacketReader reader, System.Byte channelNumber, LiteNetLib.DeliveryMethod deliveryMethod) [0x00007] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at LiteNetLib.NetManager.ProcessEvent (LiteNetLib.NetEvent evt) [0x000a5] in <2af6a78ac53a4d3dbe588de2359878e4>:0
  at LiteNetLib.NetManager.PollEvents () [0x0008c] in <2af6a78ac53a4d3dbe588de2359878e4>:0
  at Multiplayer.Networking.Listeners.NetworkManager.PollEvents () [0x00000] in <d2f67c64b0c144d8bc4c908418b1378d>:0
  at Multiplayer.Components.Networking.NetworkLifecycle.TickManager (Multiplayer.Networking.Listeners.NetworkManager manager) [0x00021] in <d2f67c64b0c144d8bc4c908418b1378d>:0

and client will get stuck on connecting screen.
Full log:
logs.txt
v<IP_ADDRESS> seems to work fine.

Hi @matejdro ,
Are you able to post the beginning of the logs too?
Need to have as much of it as possible to see what has happened before the error (you can still XX out the IPs, that's fine)

Huh, we cannot reproduce it anymore. Will reopen if it happens again.


Add Eclipse files to .gitignore

Being a user of Eclipse, this small additions to .gitignore helps a bit :)
I did not used the following helper site, it would be overkill, but I mention it just in case you might want to have a look at it.
https://www.gitignore.io/

Thanks!


Fix improper system prop instead of project prop use in docs

Fixes https://github.com/gradle/gradle/issues/18087.
Context
I was interested in providers.gradleProperty and got sidetracked. Apparently this one letter caused much confusion so here's a quick fix.
EDIT: I shan't wear this PR as a contributed to open source badge.
EDIT 2: This should be followed up by a PR that moves the examples from Gradle properties section to Project properties section, with adjustments, because that's what they are about.
Contributor Checklist
Check.

@consp1racy thank you for the proposal.
As indicated by @Vampire this change makes things more confusing. A larger rewrite of the documentation section is needed.
@lkasso do you agree, and are you planning to do the rewrite?

Fixed in https://github.com/gradle/gradle/pull/29662 instead.


Change in volumeMount path

          volumeMounts:
            - name: kubelet-data-dir
              mountPath: /var/data/kubelet
              mountPropagation: "Bidirectional"

iks-vpc-block-node-driver must use  /var/lib/kubelet in  volumeMount for   kubelet-data-dir

Coverage remained the same at 86.16% when pulling 28c4b9175fd4c17b6303645f88eb80a40a5cbd13 on ambiknai:pathfix into a4637532095c1dd4976bfba561cb8169174628aa on kubernetes-sigs:master.


exit codes documentation

im running protractor via cmd.
its easy to know when everything works, i get an exit code 0.
but i would like to be able to tell between the cases when my tests fail and when my tests don't run (because i cant connect to the selenium hub or etc...)
where can i find the documentation for all those error codes?

How do you get the old behaviour back (exit 0 if tests ran successfully but then failed)?


adding tests for servedocs

Codecov Report

Merging #55 into master will increase coverage by 9.15%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   86.61%   95.77%   +9.15%
==========================================
  Files           3        4       +1
  Lines         142      142
==========================================
+ Hits          123      136      +13
+ Misses         19        6      -13

Impacted Files
Coverage Δ

src/LiveServer.jl
100% <ø> (+75%)
:arrow_up:

src/utils.jl
93.33% <93.33%> (ø)

src/server.jl
93.75% <0%> (+2.5%)
:arrow_up:

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 6e176c5...0cce72e. Read the comment docs.


Bug report

What happened?
I have a file called ⚡Work log.md
Without the lightning I can query, with it I cannot. Its not a big error just worth mentioning (works with other emojis)
DQL
Task
FROM "1 Inbox/1 My notes/⚡Work log"
WHERE !completed

JS
No response
Dataview Version
1.4.14
Obsidian Version
0.5.59
OS
MacOS

Do you have an error message you could share? This seems like a Unicode parsing bug.


Website endpoint returns 500 after upgrading to 2.10.2

Describe the Bug
After upgrading from 2.9.0 to 2.10.2, the website endpoint starts returning 500 error and causes the dashboard to be empty.

After rolling back to 2.9.0, nothing will happen.

Database
MySQL
Relevant log output
t database.
    at ai.handleRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6775)
    at ai.handleAndLogRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6109)
    at ai.request (/var/task/node_modules/@prisma/client/runtime/library.js:126:5817)
    at async l (/var/task/node_modules/@prisma/client/runtime/library.js:131:9709)
    at async Object._ [as pagedQuery] (/var/task/.next/server/chunks/6688.js:1:18567)
    at async m (/var/task/.next/server/pages/api/users/[userId]/teams.js:1:2083)
    at async K (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16545)
    at async U.render (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16981)
    at async r3.runApi (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:41752)
    at async r3.handleCatchallRenderRequest (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:36452) {
  code: 'P2022',
  clientVersion: '5.9.1',
  meta: { modelName: 'Team', column: 'umami.website.team_id' }
}
 ⨯ PrismaClientKnownRequestError:
Invalid `prisma.team.findMany()` invocation:

The column `umami.website.team_id` does not exist in the current database.
    at ai.handleRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6775)
    at ai.handleAndLogRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6109)
    at ai.request (/var/task/node_modules/@prisma/client/runtime/library.js:126:5817)
    at async l (/var/task/node_modules/@prisma/client/runtime/library.js:131:9709)
    at async Object._ [as pagedQuery] (/var/task/.next/server/chunks/6688.js:1:18567)
    at async m (/var/task/.next/server/pages/api/users/[userId]/teams.js:1:2083)
    at async K (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16545)
    at async U.render (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16981)
    at async r3.runApi (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:41752)
    at async r3.handleCatchallRenderRequest (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:36452) {
  code: 'P2022',
  clientVersion: '5.9.1',
  meta: { modelName: 'Team', column: 'umami.website.team_id' }
}
PrismaClientKnownRequestError:
Invalid `prisma.team.findMany()` invocation:

The column `umami.website.team_id` does not exist in the current database.
    at ai.handleRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6775)
    at ai.handleAndLogRequestError (/var/task/node_modules/@prisma/client/runtime/library.js:126:6109)
    at ai.request (/var/task/node_modules/@prisma/client/runtime/library.js:126:5817)
    at async l (/var/task/node_modules/@prisma/client/runtime/library.js:131:9709)
    at async Object._ [as pagedQuery] (/var/task/.next/server/chunks/6688.js:1:18567)
    at async m (/var/task/.next/server/pages/api/users/[userId]/teams.js:1:2083)
    at async K (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16545)
    at async U.render (/var/task/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16981)
    at async r3.runApi (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:41752)
    at async r3.handleCatchallRenderRequest (/var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js:17:36452) {
  code: 'P2022',
  clientVersion: '5.9.1',
  meta: { modelName: 'Team', column: 'umami.website.team_id' }
}
Error: Runtime exited with error: exit status 1

Which Umami version are you using? (if relevant)
2.10.2
Which browser are you using? (if relevant)
Chrome Canary
How are you deploying your application? (if relevant)
Vercel & TiDB Serverless

The problem was caused by several missing columns in the table website and team. After manually added these missing columns via Navicat, the problem disappeared.
Maybe we need a check or something that fixes the problem?

That's odd. Prisma should take care of all the migrations for you. Do you have a record named 04_team_redesign in your _prisma_migrations table?

That's odd. Prisma should take care of all the migrations for you. Do you have a record named 04_team_redesign in your _prisma_migrations table?

Seems not. I don't see that record mentioned by you in _prisma_migrations.


layer with postcompose hidden by vector layer on first paint

Describe the bug
In this case, an OSM Layer with postcompose event (to modify alpha channel in this case) and a vector layer (a geojson loaded).
The OSM layer disappears on first load after the vector layer is loaded. It works if I do not add the vector layer.
The bug appeared with latest Chrome (119) and Edge, it did work with 118. Probably it is a Webkit issue.
The bug is present in version 5.3.3 of OpenLayers.
The bug is not present in version 8.1.0 of OpenLayers (but I had to use postrender, not postcompose event).
Do you have any suggestions on how to fix this? I cannot update OpenLayers, ideally a fix/workaround for v5 would be great.
To Reproduce
https://codesandbox.io/s/mystifying-bassi-9x5xqj?file=/src/index.js
Expected behavior
The OSM layer should appear on the first load. It appears only after you pan the map with the mouse, interact with the map, etc.

It seems to be a timing issue with getImageData/putImageData as happens in your codesandbox even if you simply get and put the imageData doing nothing in between.
But other actions in postcompose do work, e.g. updating the OSM alpha using a globalCompositeOperation
  context.globalCompositeOperation = 'destination-in';
  context.fillStyle = 'rgba(0,0,0,'+ 180/255 + ')';
  context.fillRect(0, 0, width, height);
  context.globalCompositeOperation = 'source-over';

ol/source/Raster would be an alternative but that also seems to have problems.
I presume you need to do more than simply setting alpha, but it might be achievable with globalCompositeOperations and that would be more efficient in any version.


Add SECURITY.md

Hey there!
I belong to an open source security research community, and a member (@ready-research) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

It's typically quite quiet these days, @DmitryBaranovskiy is the one who would normally deal with anything major, so you could try him first, but haven't heard anything for a while. I may be able to take a peek if you need some feedback, but I haven't worked on Snap for a while.


Inspection for consecutive *Return() and *Throw() calls

Summary
There are multiple overloads for the *Return() and *Throw() methods, both single- and multi-parameter variants.
In case they are called multiple times, consecutively and respectively, they may be merged into one such call.
Similarly if multiple such calls are made with the same parameter(s) (or rather the subsequent call's first parameter is the same as the previous one's last one), they can be deduplicated.
Tasks

Create an inspection to deduplicate/simplify *Return()and*Throw()` calls.
Constructs in scope (parts between [ and ] are optional sections)

throw

Mockito.when().thenThrow()[.thenThrow()]
BDDMockito.given().willThrow()[.willThrow()]
Mockito.doThrow()[.doThrow()].when()
BDDMockito.willThrow()[.willThrow()].given()

return

Mockito.when().thenReturn()[.thenReturn()]
BDDMockito.given().willReturn()[.willReturn()]
Mockito.doReturn()[.doReturn()].when()
BDDMockito.willReturn()[.willReturn()].given()

Combinations of *Throw calls:

Class + Class
Class + Class... (and vice versa)
Throwable... + Throwable...
Class + Throwable... or Class... + Throwable... (if each Throwable is a PsiNewExpression for a default constructor)

Combinations of *Return calls:

Every one of them

Handle multiple consecutive calls in the same call chain, e.g. doReturn().doReturn().doThrow().doReturn().doReturn().

To be clarified

How to handle when there is no parameter passed to *Throw()? Exclude it or replace it with something?

For *Return() calls it is completed in v0.3.0.

Completed in v0.4.0.


chore(release): v0.8.0 🎉

:robot: I have created a release beep boop
0.8.0 (2024-06-30)
Features

hydrated: dedupe query expressions in dao via hydrated view (07e51e3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/sql-dao-generator/releases/tag/v0.8.0 :sunflower:


Target runner support

Cargo has a cute little-known feature that allows running binaries for other targets directly from the cargo commands. This works by having a runner configured for a given target triplet in the cargo configuration. From the cargo reference:

If a runner is provided, compiled targets for the $triple will be executed by invoking the specified runner executable with actual target as first argument. This applies to cargo run, cargo test and cargo bench commands. By default compiled targets are executed directly.

The usual use-case would be running the tests through qemu to make sure it works on different architecture (Running it under qemu-aarch64 to make sure it works on aarch64, etc...).
When escargot spawns a process as part of a CargoTest, it should ideally recover the runner and use it to run the test. This would require reading the .cargo/configs to get the appropriate runner, and running the test as ./runner ./test --testargs (instead of ./test --testargs)

I'm assuming this applies to both CargoTest and CargoRun.
Reading [target.$triple] on our own shouldn't be too bad.  I'd b concerned about having to re-implement support for [target.'cfg(...)'] and we might need to look into another way of handling that part.

parse_cfg could help though it doesn't offer the actual matching logic.
Could probably steal the matching logic from runtime_cfg.  I'm thinking we shouldn't use the crate directly because it is focused on handling ASTs for macros.

In cargo:
The logic to get the runner can be found here. As we can see, the logic is to figure out if two cfgs "match" through the matches_key function.
The cfg we are interested in is bcx.target_info.cfg(). target_info is a member of BuildContext. target_info itself is created based on the target, and basically calls rustc to figure out all its members.
So I straced rustc to figure out how it happens behind the scenes and here is how it's called:
rustc - --crate-name ___ --print=file-names $RUSTFLAGS --target $TARGET --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg < /dev/null
(The --target is optional.)
This outputs something of the form:
___
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so
/home/roblabla/.rustup/toolchains/stable-x86_64-unknown-linux-gnu
debug_assertions
proc_macro
target_arch="x86_64"
target_endian="little"
target_env="gnu"
target_family="unix"
target_feature="fxsr"
target_feature="sse"
target_feature="sse2"
target_os="linux"
target_pointer_width="64"
target_vendor="unknown"
unix

First line is crate name, 5 lines below are the names of the various crate types, the line below is the sysroot, and everything afterwards is a cfg. Every such cfg line is parsed with Cfg::from_str, and assembled into our final Vec that we'll use for our final comparison.
So I think this behavior should be fairly easy to replicate without too much trouble. None of this seems to use unstable flags, so it should all be stable to use? Might be a good idea to ask the cargo/rustc maintainers first though.


file path in ios

when i want to upload a photo in ios from share as i  can see i don't have the photo file path. The only think i have that look like path is extension://index=0 but it does not work while i am trying to upload photo.

From iOS 12 onwards, the file content is obtained on simulator. Did you test on device ?

yes i tested on simulator and device as well, because of i am using filetransfer plugin to upload fie and it doesn't support base64, the workaround i found is from base64 to create a blob file, copy it in a temporary file and then I could upload it. Its not the best way but it's a solution and it works.


Considering SQL support for classes.

Entity Framework has some issues trying to process the Dto's as models. I'm considering adding support via adding [key] attributes to the dto's however this would add Entity Framework as a dependency so would this be acceptable for the master branch?

After looking into this, it seems I could run into plenty of issues including the use of Dictionaries and Lists throughout the Dto's. If anyone else has any ideas they'd be appreciated.

This concerns me, adding dependency of EF into the project would not be good. Riot services also responses Map[string, object] in many api calls, this is translated as Dictionaries in C# and indeed it would have a problem with EF. I will investigate further, thank you for mentioning it.

Check out this implementation for getting entities from Riot service and then storing them at RavenDB NoSql Database for later use and caching.
https://github.com/sdesyllas/LoLUniverse/blob/master/LoLUniverse/Controllers/LeaderboardController.cs


[CFE-678] Add UserTags while creating Azure Storage Account

Related to : https://github.com/openshift/enhancements/pull/1191
API Changes : https://github.com/openshift/api/pull/1280
Add UserTags while creating Azure Storage Account.

/retest-required

/retest-required

/retest

/lgtm

/approve

/retest-required

/test e2e-azure-ovn

/test e2e-azure-operator

/label px-approved

pre-merge testing is passed, storage account for image registry has expected user defined tags, details can be found in https://issues.redhat.com/browse/CORS-2507
/label qe-approved

/label docs-approved


New rule: Division where denominator cannot be proven non-zero at compile time

Yup...
... but probably not under the recommended config.

An example where partial division is accepted even in a principled FP context: https://github.com/fp-ts/core/commit/3cb63b8082154a32d491d0625f2e34f773138177


const fix C++

To get rini.h to work for me in C++ I had to change line 498 char *buffer_ptr = buffer; to const char *buffer_ptr = buffer; to fix error:

.../rini-main/src/rini.h:498:24: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
498 |     char *buffer_ptr = buffer;

@tyqualters Thanks for reporting! Feel free to send a PR with the review.

@tyqualters Thanks for reporting! Feel free to send a PR with the review.

Ok, I created a Pull Request with the change


Google Poly no longer exists, but is still referred to in the 3D Modelling for Decentrland 3rd example,

Go here:
https://github.com/decentraland-scenes/Awesome-Repository#3d-modeling-for-decentraland
Notice the references to Google Poly in the 2nd and 3rd examples

Thanks, I just removed those mentions


Correct python.org URL

The URL to python.org had a typo in it (a comma instead of a period).

@ongle2 : Thanks for your contribution! The author, @kraigb, has been notified to review your proposed change.

Thanks, I appreciate the fix.

#sign-off


merge from template-sync/template

.github/workflows/update_package_lock.yml

chore: add<EMAIL_ADDRESS>(jobs.update_package_lock.steps.uses)

.github/workflows/update_readme_api.yml

chore: add<EMAIL_ADDRESS>(jobs.update_readme_api.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.161%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
54

Relevant Lines:
56

💛  - Coveralls


Document translation

What problem does this feature solve?
There is no Japanese document. I can translate existing markdown documents into Japanese.
What does the proposed API look like?
Japanese people can select Japanese with the language switch button on the website.

@uufish we will appreciate it if you can help us translate documents into Japanese, thanks a lot.


finished_buf seems used for nothing

It seems that finished_buf_ are all false, so what does finished_buf_ used for

When some sentences are completed to decode, they would be true.

When some sentences are completed to decode, they would be true.

ok I have found in topk kernel would set finished true, thx


chapter 11 Question 9.2

In question 9.2 to freeze the hidden layers using  in question 8 (DNN for MNIST data for digit 0-4) to create new DNN for digit 5-9 code was :
reset_graph()
restore_saver = tf.train.import_meta_graph("./my_best_mnist_model_0_to_4.meta")
X = tf.get_default_graph().get_tensor_by_name("X:0")
y = tf.get_default_graph().get_tensor_by_name("y:0")
loss = tf.get_default_graph().get_tensor_by_name("loss:0")
Y_proba = tf.get_default_graph().get_tensor_by_name("Y_proba:0")
logits = Y_proba.op.inputs[0]
accuracy = tf.get_default_graph().get_tensor_by_name("accuracy:0")
learning_rate = 0.01
output_layer_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope="logits")
optimizer = tf.train.AdamOptimizer(learning_rate, name="Adam2")
training_op = optimizer.minimize(loss, var_list=output_layer_vars)
correct = tf.nn.in_top_k(logits, y, 1)
accuracy = tf.reduce_mean(tf.cast(correct, tf.float32), name="accuracy")
init = tf.global_variables_initializer()
five_frozen_saver = tf.train.Saver()
n_epochs = 1000
batch_size = 20
max_checks_without_progress = 20
checks_without_progress = 0
best_loss = np.infty
with tf.Session() as sess:
    init.run()
    restore_saver.restore(sess, "./my_best_mnist_model_0_to_4")
    for var in output_layer_vars:
        var.initializer.run()

    t0 = time.time()

    for epoch in range(n_epochs):

to freeze pretrained layer the idea was to  exclude their variables from the optimizer's list of trainable variables:
output_layer_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope="logits")
optimizer = tf.train.AdamOptimizer(learning_rate, name="Adam2")
training_op = optimizer.minimize(loss, var_list=output_layer_vars)

My question is  why have we used  following lines of code (line 25)
for var in output_layer_vars:
    var.initializer.run()

Hi @nitml ,
Good question, I think it's a mistake (fortunately with no consequence).
Suppose there are 4 variables in the previous model ("my_best_mnist_model_0_to_4"), let's call them A, B, C, D.  And suppose there are 2 variables in the new output layer, let's call them E, F.

init.run() initializes all variables, A, B, C, D, E, F.
restore_saver.restore() restores all variables except those in the output layer: A, B, C, D.
the for loop initializes all variables in the output layer: E, F.

You can certainly remove the for loop, it is not useful since all the variables have already been initialized by init.run().
Alternatively, you could remove the init.run() step, and everything should work fine since A, B, C, D would get initialized and restored by the restore_saver, and the for loop would initialize the remaining variables E, F.
The first option is simpler, but it is intellectually not very satisfying since A, B, C, D get initialized for nothing by the init.run() step (since the restore_saver will restore them anyway).
The second option is more complicated, and it does not add much value (perhaps a tiny performance gain since we only initialize A, B, C, D only once).
I think I must have tried both options, and I forgot to choose between the two.  ;-)
Hope this helps,
Aurélien

Great Explanation,
Thanks for your time and support


crabz failed to build on centos 7

I had a build error with centos 7 because the default cmake package is an older version.  The steps below help to get crabz built and installed successfully on centos 7.

Install cmake3

dnf install cmake3
alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake 10 --slave /usr/local/bin/ctest ctest /usr/bin/ctest --slave /usr/local/bin/cpack cpack /usr/bin/cpack --slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake --family cmake
alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake3 20 --slave /usr/local/bin/ctest ctest /usr/bin/ctest3 --slave /usr/local/bin/cpack cpack /usr/bin/cpack3 --slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake3 --family cmake

build crabz

cargo install crabz --force

REVERT BACK TO DEFAULT CENTOS 7 CMAKE 2

alternatives --config cmake

By the way, I can validate this crabz tool works on a very large number for files in a very large tgz 500+ GB.

Thanks for posting the solution! I actually just ran into this yesterday and ended up just pulling the binary from the release page.
And that's awesome to hear that it's working in the wild! I appreciate the feedback :+1:


Support Rails Engine routings

Rails Engines routing isn't supported yet in js_rails_routes but my project is using Rails Engine's routings so I added the function to export JavaScript routes for its Rails Engine.
Changes
Support Rails Engines

Add exclude_engines class variable
Change a class variable name to base_path from path.
Save the routes file each Rails Engines and Rails.application

I did these operation checkings.

Install this changes with gem 'js_rails_routes', path: '../../sachin21/js_rails_routes'
Execute rails js:routes in Rails project with Rails Engine routes.
Confirmed it includes Rails Engine's routings.

@yuku Hi, how about this?

@sachin21 Hi, thanks for sending the PR. I can understand your motivation. Cloud you write tests?

@yuku got it, I'll write tests :bowing_man:

I'll publish next version after updating README

@yuku Thank you so much! :+1:


error 1

OpCore-Simplify.bat run as admin. got error 1  can`t understand  please help....
I am curious i want this for years
your project is awesome  gr8 job
mention -- my bios is vanished ... trying to install no luck because of my laptop battery is dead...
OpCore-Simplify run without bios ???

Duplicate of #81


Rename extension, update assets & documentation

Hi Zell,
I hope today finds you well! This issue is being opened to ask if you would be open to renaming your extension on GitHub to reference Camunda Platform 8 rather than Camunda Cloud after its release on April 12th, 2022. (For example: camunda-platform-8-docker-compose) This change will also likely impact any screenshots you have in the README that reference Camunda Cloud or previous versions of Camunda Platform, and this will likely need to also be updated throughout the repo's documentation as a whole. You can also make use of Shields.io badges to indicate which version of Camunda your extension is compatible with.
While it is not a requirement that you rename your extension to align with Camunda Platform 8, we would greatly appreciate it if you could make these changes, and merge them anytime after April 12th, 2022.
if you have any questions or require any assistance, please do not hesitate to reach out to https://github.com/orgs/camunda-community-hub/teams/devrel! :)

@Zelldon I added badges, but can you rename Camunda Cloud in the project and the README?

Done via #2


Add support for HPA behavior

We ran into a use case where it would have been helpful to fine tune a little bit HPA behaviour.
This PR will allow to optionally define a behaviour on the HorizontalPodAutoscaler resource. See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ and https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#horizontalpodautoscalerspec-v2-autoscaling for reference.

@Allex1 Rebased!


Add support for BigQuery

Q
A

Fixed issues?

Tests added + passed?
Yes

Changeset added?
Yes

Documentation PR link

Any dependency changes?
No

We should come back and add some small roundtrip test for this


Use a third-party library for retrying commands

There are several manually written loops that retry commands until success. This code could maybe be simplified and made more consistent with a decorator or helper func that I know is available in a couple of different python libraries.

Or there is now azure.cli.core.decorators.retry.


Fix release run-tox uses.

The release failure this fixes is here: https://github.com/pantsbuild/lambdex/runs/2453608621?check_suite_focus=true


[Jira Search (Self-Hosted)] API Token support

Extension
https://www.raycast.com/emanguy/jira-search-self-hosted
Description
Thank you for the amazing plugin. 🙂
Unfortunately, my company doesn't allow the creation of Personal Access Tokens, but API Tokens they allow. I tried to use the API Token but it doesn't work.
I wonder if it would be possible to add API Token support. 🤔
Thank you once again!
Who will benefit from this feature?
No response
Anything else?
No response

It looks like the only real difference between PATs and API tokens is where the value gets placed... this should be doable, but I may need your help to verify the change works once I tweak the code as I don't have access to a JIRA instance supporting API tokens.
It'll involve side loading a prerelease version of the extension which makes use of the command line, are you comfortable with that?

@emanguy for some reason I didn't receive the notification, just the one from the bot 😅 yes I'll be more than happy to contribute and test it 🙏

This PR addresses this issue.


GATK combine variants issue

This is the error for case: MIP_ANALYSIS/customers/cust009/283669/
##### ERROR MESSAGE: Line 205: there aren't enough columns for line t/hds/proj/bioinfo/MIP_ANALYSIS/references_4.0/Homo_sapiens.GRCh37.d5.fasta -o /scratch/743956/283669_sorted_md_brecal_gvcf_vrecal_BOTH_normalized.vcf /scratch/743956/283669_sorted_md_brecal_gvcf_vrecal_BOTH.vcf (we expected 9 tokens, and saw 1 ), for input source: /scratch/743957/283669_sorted_md_brecal_gvcf_vrecal_BOTH.vcf

Found some information here:
http://gatkforums.broadinstitute.org/gatk/discussion/6247/combinegvcfs-error-message-line-116400953-there-arent-enough-columns-for-line

This line in the vcf header seems to be malformed for some reason in the GATK vcf going into combine:

##bcftools_normCommand=norm --multiallelics -both -f /mnt/hds/proj/bioinfo/MIP_ANALYSIS/references_4.0/Homo_sapiens.GRCh37.d5.fasta -o /scratch/743956/283669_sorted_md_brecal_gvcf_vrecal_BOTH_normalized.vcf /scratch/743956/283669_sorted_md_brecal_gvcf_vrecal_BOTH.vcf

Removing that line - solves the issue. However, I do not have any idea why this one was malformed to start with. You can just rerun from the combine step or to be on the safer side restart from scratch, since we do not know if any other line has been corrupted.


Document how to use .mml files from PDF accessibility for MathML

BIPM PDF contains attached files with .mml extension. Windows OS doesn't have the file association (by default) for .mml file extension. You need to set default application (Notepad for example) to open files with .mml extension:

open the specified folder (C:\....\Local\Temp\A9.tmp\) in the Explorer,
or
find any another .mml file, or create an empty file by the command notepad sample.mml
then
right-click on .mml file and choose the default program to open .mml file (see how to: https://www.online-tech-tips.com/windows-10/how-to-change-file-associations-in-windows-10/)
may be you need to re-run Acrobat (actually don't need to system reboot)

Originally posted by @Intelligent2013 in https://github.com/metanorma/bipm-si-brochure/issues/152#issuecomment-914165009

We need a page on PDF accessibility.

@Intelligent2013 indeed, we just need to copy/paste this information to a separate page about PDF accessibility.

@Intelligent2013 indeed, we just need to copy/paste this information to a separate page about PDF accessibility.

@ronaldtse done.


Localization not working in .NET BotBuilder version <IP_ADDRESS>

Hi, I have been trying to use locale to change language and use default multilingual resources for forms. That means use built in automatic translation. It works in version 3.5.0, however when I updated botbuilder to <IP_ADDRESS> it stopped working. I observed this for Czech (cs-CZ) end French (fr-FR) locale. Even when I changed locale to one of these I was getting prompts in english (prompt when provided bad value etc. - ""sdf" is not a Ako sa mas? option"). As it was working in 3.5.0 I suspect that this commit has caused the problem: https://github.com/Microsoft/BotBuilder/commit/2956e495068ce431850322954a3295afac3d8c5f
Morover, when trying annotated Sandwich demo a fill the form in French, first prompt is in french, however subsequent steps falls to default language automaticcaly, that means I can choose type of sandwich in French however next prompt regarding size of sandwich switches to English

@MarekLani thanks for reporting the regression. I just pushed a fix for this to develop branch and it should be resolved with the next release.

Hi MarekLani,
The latest Bot Builder release has addressed the bug: https://www.nuget.org/packages/Microsoft.Bot.Builder/3.5.8
Thank you for reporting this. Please create a new issue if you have any other problems.


Atom and packages aren't upgrading

I don't know if it started on an Atom upgrade but  my Atom version is stuck at 0.177.0 and apm upgrade always says zero.  This happened several days ago (just noticed).
windows 8.1
Atom 177
apm  0.140.0
npm  2.5.1
node 0.10.35
python 2.7.9
git 1.9.5.msysgit.0
visual studio 2013

BTW, I erased what I could in ~/.atom with no luck.

BTW again, I recently moved all my packages to an external folder and put symlinks in the actual packages folder.  There are now only symlinks there.  Could this have something to do with it?

Update: Sometime since the original post atom has upgraded from 177 to 182.  However apm upgrade is still broken.  It always returns zero when there are known packages to upgrade.

Which packages are you wanting to upgrade? I once found an issue with a package that had a broken engine version specification and it was causing it to be unable to be upgraded.

It would be quite hard for me to go through the 50 or so packages to find which need upgrading.  Would it be enough to say your bug-report is at 0.6.1 and atom.io says it is 0.6.2 and I just checked apm upgrade and got zero?

What does apm outdated --verbose bug-report say?

Package Updates Available (0)
On Sun, Feb 22, 2015 at 9:44 PM, Lee Dohm<EMAIL_ADDRESS>wrote:

What does apm outdated --verbose bug-report say?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5673#issuecomment-75492278.

It doesn't have a bunch of spew before that about requests and responses?

Nope.
On Sun, Feb 22, 2015 at 10:37 PM, Lee Dohm<EMAIL_ADDRESS>wrote:

It doesn't have a bunch of spew before that about requests and responses?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5673#issuecomment-75495172.

I guess I'll try a fresh install.
On Sun, Feb 22, 2015 at 10:59 PM, Mark Hahn<EMAIL_ADDRESS>wrote:

Nope.
On Sun, Feb 22, 2015 at 10:37 PM, Lee Dohm<EMAIL_ADDRESS>wrote:

It doesn't have a bunch of spew before that about requests and responses?
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5673#issuecomment-75495172.

As far as I can tell, packages which are symbolic links are intentionally skipped in apm upgrade:
https://github.com/atom/apm/blob/b1523b22d7422b5be637242f38e3acc47c74732f/src/upgrade.coffee#L59

I recently moved all my packages to an external folder and put symlinks in the actual packages folder

Are those packages you are using or packages you are developing? Here's my understanding of the recommended workflow for those two.
If you are just using packages - you should be installing them with apm install or via the settings view and not moving them outside of ~/.atom/packages after they've been installed. After that, you can upgrade them via apm upgrade and settings view.
If you are developing packages, then you should clone them to a folder outside of ~/.atom, use apm link and apm install to set them up, and you shouldn't be updating them with apm upgrade or via the settings view -- you should update them by pulling the new version tag from a remote (e.g. GitHub) into your local clone and using git checkout to switch to that new version.

In another thread dealing with folder names not matching the package.json
name I was told that it must be installed outside and linked to.    I'm guessing these are the
rules ...

If developing a package it should be outside with npm link used.
If installed with atom install it should stay inside in order for atom upgrade to work
If a package is downloaded from a repo

Download to inside
Rename the folder to match package.json name

Where do I put projects that I'm going to do a PR?  If after a PR is
accepted then I need to delete that project and do a normal install?
Is this all correct?  These seems like hidden magic rules.  Surely it can
be simplified.
I will now go through all my packages and move ones I want upgraded back
inside.
On Sun, Feb 22, 2015 at 11:48 PM, Ivan Žužak<EMAIL_ADDRESS>wrote:

As far as I can tell, packages which are symbolic links are intentionally
skipped in apm upgrade:
https://github.com/atom/apm/blob/b1523b22d7422b5be637242f38e3acc47c74732f/src/upgrade.coffee#L59
I recently moved all my packages to an external folder and put symlinks in
the actual packages folder
Are those packages you are using or packages you are developing?
Here's my understanding of the recommended workflow for those two.
If you are just using packages - you should be installing them with apm
install or via the settings view and not moving them outside of
~/.atom/packages after they've been installed. After that, you can
upgrade them via apm upgrade and settings view.
If you are developing packages, then you should clone them to a folder
outside of ~/.atom, use apm link and apm install to set them up, and you
shouldn't be updating them with apm upgrade or via the settings view --
you should update them by pulling the new version tag from a remote (e.g.
GitHub) into your local clone and using git checkout to switch to that
new version.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5673#issuecomment-75500498.


make docker-test still has a golang host dependency

make docker-test still has a golang host dependency.
I know https://github.com/iron-io/functions/pull/545 closed https://github.com/iron-io/functions/issues/544, but this is still a blocker for pure docker-based development.
I believe the offending line is -v $(shell go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fn | grep -v datastore), specifically go list.

Could we change that line to use a Go image, eg: docker run ..... go:alpine sh -c 'go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fn | grep -v datastore' ?

I'd be happy to take a stab at this at some point. I'm newish to golang though. What does go list do in this context? e.g. why do we need this volume?

I also just noticed the test folder is empty. Could there be more documentation as to how tests work here?


Implement sweep

https://github.com/mymonero/mymonero-core-js/commit/fb4887f2d974d2f08cd68517ba7c4a9abd85f099

Open question - are we getting all outputs?


getUniformLocation should return null if not successful

Conform to the webGL spec as pointed out here: https://github.com/3Dparallax/insight/issues/112.

LGTM


Got error when install kinetic chef-solo

Hi,
thanks for making the awesome project, but when I first install it, after vagrant up, I got an error, here is the error stack:
================================================================================
Error executing action `run` on resource 'execute[python-kinetic-swift-install]'
================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of python setup.py develop ----
STDOUT:
STDERR: Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 11, in <module>
    from setuptools.extension import Extension
  File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 8, in <module>
    from .dist import _get_unpatched
  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 21, in <module>
    packaging = pkg_resources.packaging
AttributeError: 'module' object has no attribute 'packaging'
---- End output of python setup.py develop ----
Ran python setup.py develop returned 1

Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/kinetic/recipes/default.rb

104:
105: execute "python-kinetic-swift-install" do
106:   cwd "/vagrant/"
107:   command "python setup.py develop"
108:   creates "/usr/local/lib/python2.7/dist-packages/kinetic-swift.egg-link"
109: end
110:

Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/kinetic/recipes/default.rb:105:in `from_file'

execute("python-kinetic-swift-install") do
  retry_delay 2
  returns 0
  command "python setup.py develop"
  retries 0
  recipe_name "default"
  cwd "/vagrant/"
  creates "/usr/local/lib/python2.7/dist-packages/kinetic-swift.egg-link"
  action "run"
  cookbook_name :kinetic
  backup 5
end

[2015-04-01T02:09:01+00:00] ERROR: Running exception handlers
[2015-04-01T02:09:01+00:00] ERROR: Exception handlers complete
[2015-04-01T02:09:01+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-04-01T02:09:01+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[python-kinetic-swift-install] (kinetic::default line 105) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of python setup.py develop ----
STDOUT:
STDERR: Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
  File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 11, in <module>
    from setuptools.extension import Extension
  File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 8, in <module>
    from .dist import _get_unpatched
  File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 21, in <module>
    packaging = pkg_resources.packaging
AttributeError: 'module' object has no attribute 'packaging'
---- End output of python setup.py develop ----
Ran python setup.py develop returned 1

anyone got the same error? how can I fix it?
thanks.

I didn't use vagrant. It seems complex.
I just manually do the similar jobs according to the "cookbooks\swift\recipes" and  "cookbooks\kinetic\recipes" in a CentOS vm.

@liwenzhu I committed a patch for it. Could you verify it again?

@charz
I tried version 1e1a7db6155feeeaa8def35ad21f5af33309f1c3 again,
and it's working! thanks


System crashes randomly nearly every day.

 I very much appreciate your continued work on the project.
That said, while my system works great overall, i do have a couple problems that won't seem to go away. The main problem i have is some kind of system instability. I get sudden crashes pretty often. It usually occurs when the system is asleep, but it also happens in the middle of active use nearly as much.
I haven't been able to pinpoint what's causing the crashes, but i to admit I haven't tried much in that regard. I have tried swapping in a different graphics card, tried different RAM, tried different power sources (on different circuit breakers), tried a new power supply, and tried a different hard disk.
I've kept up with your repo releases and tried each one on fresh installs of the latest OS, each time hoping to solve the issue, but so far no luck.
My system specs:

Core i9-10900K
Gigabyte Z490 Vision G w/ bios F21
Sapphire NITRO+ RX580 8GB
G.SKILL Ripjaws V Series 32GB (2 x 16GB) 288-Pin PC RAM
EVO 870 SSD

Cheers.

Thanks for feedback.
Sorry to hear that you have issues. Since I don't have theese kind of isssues on my system, I would suggest the following:

Disable XMP Memory Profile if enabled
Create your own CpuFriendHelperKext, since you use a different CPU than me
Disable Overclocking if configured

Greetings
5T33Z0

cheers, dude.
I finally got around to making my own CPUFriendDataProvider.kext and ssdt_data.aml files today. Ive added them with OCAT and updated the plist... Boot went fine, so now only time will tell if the system is stable.
However, this process sparked me to check GeekBench scores. I hadnt tried this before, but I see my multi-core score is significantly lower than yours at only 8729. Any idea why that might be? I had chosen performance throughout the CPUFriendFreind config.

You don't need the SSDT_data.aml file if you are using the data provider kext (it's either/or)

Any  idea why that might be? I had chosen performance throughout the CPUFriendFreind config.

I did the benchmark years ago in Big Sur. The newer the OS, the more stuff runs in the background.  I also use watercooling and changed some voltage settings in the bios. I guess you have to do some testing. Also test in Windows with geekbench for comparison.

I realized after commenting that you used Geekbench 5 whereas i used version 6.
I found their legacy versions page, got v5, ran it, and my score is now nearly identical to yours (1379 single core and 10099 multi-core).
Thanks for your continued help on this :)


Docker

Adds GHA that builds and publishes container image with buenavista. Also an example of a setup where cloudbeaver is used to send queries against a buenavista server proxying duckdb.

@mskyttner this is amazing-- thank you so much for putting this together!


stretch should be a property of align for grid

Right now Grid takes a boolean parameter to set stretch or not.
This should be part of the ALIGNMENT Symbols and not a separate parameter

Closed by https://github.com/obartra/reflex/pull/81


Test add regression tests for testing orc reader #41606 #42188

cherry pick from #41606 #42188

run buildall


Use UInt for data size transfer

Probably Fixes: #1790
Can't reproduce that issue, but maybe its platform specific or something.

This is a stab in the dark and I don't think it would fix anything. (Net messages can have a maximum length of 524,264 bits, which is well within the range that can be exactly represented by an int32 / int64 / float32 / float64.)

I also did verify the bit length with prints, but maybe linux or macos version of source is doing something weird.


Question Getting Started

This is not an issue, just a question.
I'm trying to use this (http://spatialreference.org/ref/epsg/4326/) full world projection with this (http://{s}.tile.osm.org/{z}/{x}/{y}.png) osm tile layer.
So far I have this but its not displaying the right projection.  Also when I zoom in or out its giving me invalid tile requests, returning 404s.  Probably something I'm doing wrong as it's my first time experimenting with this.
var crs = new L.Proj.CRS('EPSG:4326',
"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs",
{
resolutions: [
8192, 4096, 2048, 1024, 512, 256, 128,
64, 32, 16, 8, 4, 2, 1, 0.5
],
}),
map = new L.Map('map', {
crs: crs,
continuousWorld: true,
worldCopyJump: false
});
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
maxZoom: 14,
minZoom: 0,
continuousWorld: true,
attribution: 'Map data © OpenStreetMap contributors, Imagery © 2013 Kartena'
}).addTo(map);
map.setView([57.704, 11.965], 0);

Unfortunately, the tile set you're using must be rendered with the same projection as you're trying to use. OpenStreetMap's tiles are rendered in spherical Mercator (EPSG:3857), so you can't use EPSG:4326 with it.
Also note that EPSG:4326 is built in to Leaflet's core, so you don't need Proj4Leaflet to use this projection, although you can if you want.

Thanks for your response!
Do you know if there are any open source full world tile layers that would support a spherical projection like this: http://spatialreference.org/ref/epsg/3786/ and weather leaflet would support this?
I'm trying to find a tile layer with a projection that doesn't emphasize the poles as much.

@avipersin sorry, no, can't say I've heard of one. Tile sets in projections other than spherical mercator are sort of rare, and most of them are use some local projection, typically from different countries' government agencies or similar. Can't remember seeing anything global except for spherical Mercator and EPSG:4326.
Depending on your requirements, you might want to look at generating your own tiles. I've written a blog post on using TileMill for other projections than spherical Mercator, that you might find useful: http://blog.kartena.se/using-tilemill-without-spherical-mercator/

Okay, thanks I will have a look at your blog post.


rosemary-SuperiorOS-thirteen-RifatHossan

Hi
I saw that your https://cirrus-ci.com/build/6613406338252800
This build just got succeeded
A general reminder you have to want atleast 2 hours to trigger a new build
I will cancel your build.


File Closes on start

Describe the bug
As soon as I start the program, its instantly closing again
Steps to reproduce the behavior:

Go to your Explorer and change the files path (1 Folder up)
Click on the main.py file

Expected behavior
The file is being run
Desktop (please complete the following information):

OS: Windows 10 pro
Browser: chrome
Version 2004

Additional context
I have installed the discord_embed module, so its not because of that

Im experienced in python, I will check if theres something wrong maybe

Did you run on windows py -3 -m pip install discord_webhook?

Did you run on windows py -3 -m pip install discord_webhook?

Ive been running     pip install discord_webhook


Set default value of LTSRelease to false

PR Summary
Add the new value in metadata.json for LTS release and set it to false.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@PoshChan Please remind me in 1 Hour

@PoshChan please retry macos

@adityapatwardhan, successfully started retry of PowerShell-CI-macOS

@TravisEz13, this is the reminder you requested 1 Hour ago

@PoshChan please rebuild all

@adityapatwardhan, successfully started rebuild of PowerShell-CI-static-analysis, PowerShell-CI-Windows, PowerShell-CI-macOS, PowerShell-CI-Linux


Use application.conf configuration for the template handlebars paths.…

@peter-gerhard please review

:+1: