Native iOS keyboard select does not appear when tapping on useSelect example

🐛 Bug Report
Native iOS keyboard select does not appear when tapping on useSelect example within the docs on an iPhone https://react-spectrum.adobe.com/react-aria/useSelect.html
🤔 Expected Behavior

I think the native iOS keyboard select should appear.
😯 Current Behavior

The custom dropdown appears, but this is quite small on mobile.
💁 Possible Solution

🔦 Context

💻 Code Sample

If you visit this page on an iPhone and tap on the Select to test https://react-spectrum.adobe.com/react-aria/useSelect.html
🌍 Your Environment

Software
Version(s)

react-spectrum
Docs

Browser
iOS Safari

Operating System
iPhone XS iOS 14.2

🧢 Your Company/Team

🕷 Tracking Issue (optional)

React Aria is designed to allow you to create your own custom styled components. While that particular example isn't mobile optimized, it should be possible to build such a layout yourself, or even switch to a native select on mobile yourself if you like.
For example, React Spectrum's Picker component displays a custom tray on mobile.

Thanks for replying, I was just wondering if there was some pattern that had been missed in the example with the HiddenSelect, that would cause the native keyboard to be triggered on mobile, but makes sense that this is left to userland :)


fix path error in the doc [Errata]

PR description:
Fix the path error in the line 93 of k230_docs/zh/02_applications/tutorials/K230_实战基础篇_hello_world.md file.
associated issue:
The issue I created is here: #8

Thanks for your PR


@variants do not work on rules with multiple selectors

Using the @variants function with rules that have multiple selectors does not work as I expected it to.
Say I have the following CSS:
@variants hover {
  .a, .b {
    color: red
  }
}

This is what I expect to be output:
.hover\:a:hover, .hover\:b:hover {
  color: red
}

... but this is what I actually get:
.hover\:a, .b:hover {
  color: red
}

In this file:
https://github.com/tailwindcss/tailwindcss/blob/37493edfc7d7118c416470fa718d8e65e1bb35f0/src/util/generateVariantFunction.js
We have this block of code:
          modifySelectors: modifierFunction => {
            cloned.walkRules(rule => {
              rule.selector = modifierFunction({
                className: rule.selector.slice(1),
                selector: rule.selector,
              })
            })
            return cloned
          },

In my opinion, I feel like using rule.selector here is causing the unexpected behaviour.
Would it be better to map over the rule.selectors property instead (like below)?
      modifySelectors: modifierFunction => {
        cloned.walkRules(rule => {
          rule.selectors = rule.selectors.map(selector =>
            modifierFunction({
              className: selector.slice(1),
              selector: selector
            })
          );
        });
        return cloned;
      }

Yep this seems reasonable and would accept a PR that adds that change 👍 The way we add the variant right now is pretty naive in general and could probably be improved a lot, but even this simple change is better than what it does right now.


Crash on server side and then client side when psk is null

Hello there,
I am back with one more bug :-)
Experiencing a crash on the server side when the PSK is null for the connecting client.
Unhandled exception: DtlsException: error:1419E044:SSL routines:tls_process_cke_psk_preamble:internal error
At the same time the client crashes with:
Cause: null pointer dereference
    r0  00000000  r1  00000049  r2  00000000  r3  7d0eb340
    r4  7d0eb340  r5  7e806c00  r6  7d608041  r7  75830180
    r8  5a5bbc9c  r9  00000005  r10 7582fe00  r11 682fba80
    ip  5a5a90c0  sp  682fba68  lr  7d5852e4  pc  5a5a9110
backtrace:
      #00 pc 00017110  /data/app/~~JnsSwGDasSwrdFQa0sEWUw==/com.ptt.ptt_client-l6OQ4oTeid1oEwTl35MROg==/base.apk!libssl.so (dtls1_ctrl+80)

Will try to narrow it down if you don't have a clue.

Hi ;) Thank you for the report! In what sense is the PSK null? Does the callback at the server side return null?

Exact. The callback on the server returns null because the the client has an unknown identity.
This leads to a server crash and I suppose the "bad" client crashes too because of continuing the handshake but not sure for that. I didn't put yet markers to identify the state.

I think for the server I already found a (pretty trivial) fix in #68 :) Could you try out if that solves the server-side problem? For the client, I also need to conduct further investigation. Let me know if you find anything :)

OK will give a try

With #68 the server ends with:
Unhandled exception:
DtlsException: error:0A0000DF:SSL routines::psk identity not found

Process finished with exit code 255`

What is not the expected behavior. Server should not exit.

More info:
_connect_to_peer is invoked twice even if the first call has ret = 0.
I suppose because the else condition reports _handleError(ret, _connectCompleter.completeError); and void _maintainState() { checks only if (_connectCompleter.isCompleted) { and not the result of the completion ?

I now updated #68 with an additional fix that should take the handshake result into account properly, partly by adding additional states a server connection can transition to. Not sure if all edge cases are covered yet – could you give it another try? :)

I agree with your comments.
Your last fix is OK. Thank you!
Just missing a way to catch this state on server side :-)
By the way the client throws DtlsException: error:0A00045B:SSL routines::reason(1115)

Your last fix is OK. Thank you!

Great, thanks for the feedback :)

Just missing a way to catch this state on server side :-)

I now exposed the state of a DtlsConnection in general. I think there is still some room for improvement regarding state management, but it should be a step in the right direction :)

By the way the client throws DtlsException: error:0A00045B:SSL routines::reason(1115)

Hmm, besides the error message, what would you say should be the behavior here? From my understanding throwing an exception wouldn't be wrong per see, since the connection attempt has failed. But I would assume that at the moment, the current behavior sort of leads to a memory leak since the allocated resources cannot be cleaned up anymore, right?

Could you maybe test out #70 for further fixes on the client side? :)

Hmm, besides providing a better error message, what would you say should be the behavior here? From my understanding throwing an exception wouldn't be wrong per se, since the connection attempt has failed. But I would assume that at the moment, the current behavior sort of leads to a memory leak since the allocated resources cannot be cleaned up anymore, right?

Throwing the exception is perfect. Taking care of the cleanup should be done to avoid memleaks, yes !

Could you maybe test out https://github.com/JKRhb/dtls2/pull/70 for further fixes on the client side? :)

Sure, will let you know. Thanks for your always quick responses !!!

Bom dia !
#70 leads immediately to DtlsException: DTLS Handshake has failed. event without connecting to the server.

Bom dia !

Olá! ;)

#70 leads immediately to DtlsException: DTLS Handshake has failed. event without connecting to the server.

Oh, sorry, I think I messed up the logic a bit 😅 Could you try out #70 once more? :) I hope that it is now fixed.

No problem !

OK, doing the expected job in my client server setup. Thank you!!!

OK, doing the expected job in my client server setup. Thank you!!!

Awesome, thank you for your confirmation! :) Just released version 0.14.0, let me know if you spot any more bugs! (Fingers crossed that we are close to a bug-free state 😉)

Will update to 0.14 and for sure bother you again if something shows up :-)
Thank you for your support !!!


include infra Schema during infra update

Issues
The terraform provider is unable to update an infrastructure resource's schema field. This fixes that.
Changelog

[X] List your changes here
[X] Make a changie entry

Tophatting
task test - all tests pass

The terraform provider is unable to update an infrastructure resource's schema field. This fixes that.

Change and test LGTM but do we even want to do this in the TF upgrade? Would this be out of scope?

Why this is in scope:

Looking at the TF upgrade ticket acceptance criteria

"Data input to and returned from each resource should match the structure, types, etc..."

Adding the missing Schema field here within the UpdateInfrastructure() func fixes a bug. When customers change their opslevel_infrastructure schema, specifically the opslevel_infrastructure.schema field it works on create but fails on update.
The underlying schema hasn't changed (no input change) and this doesn't change the expected output from the terraform provider. It just fixes it.


Add image upload plugin

I've gotten request from users for this; this just adds the ep_image_upload plugin.
cc @ocdtrekkie

...I also bumped the version numbers in the pkgdef, since I'd like to release as soon as this is merged.

...and pushed a build to the experimental market

I assume you feel base64 encoding images into the document will be adequate for this use case? I see there's configuration to store it in separate file locations on the file system.

Yeah, I figure going with the default is hopefully ok; we can always change it later.

Maybe worth poking the plugin developer about making that dependency optional...


Suggestion a new question

@lydiahallie
Can I PR my own question?
X. What's the output?
// It is assumed that IEEE 754 https://en.wikipedia.org/wiki/IEEE_754 is applied.
function whatDifference() {
  const a =<PHONE_NUMBER>444445000;
  const b =<PHONE_NUMBER>444444443;
  console.log(a === b);
  console.log(a - b);
}

whatDifference();

A: false and 557
B: true and 0
C: false and 0
D: true and undefined

Answer

Answer: B
You can safely perform operations with numbers up to a certain value. Number.MAX_SAFE_INTEGER is this value. Usually Number.MAX_SAFE_INTEGER is<PHONE_NUMBER>740991. As you can see a and b are out of the range.
Safe in this context refers to the ability to represent integers exactly and to correctly compare them. For example, Number.MAX_SAFE_INTEGER + 1 === Number.MAX_SAFE_INTEGER + 2 will evaluate to true, which is mathematically incorrect.
Therefore, you do not get the mathematical correct calculations and you get what is defined.
Read more on MDN

Thank you! Since I currently don't have a good way to add questions from contributors (and keep it ordered) I won't merge it yet - but I keep suggested questions in mind for sure! Thanks so much for your input, great question.

@lydiahallie  just add lables for this repo. For example "suggestion" and "suggestion (added)"


New Project/Company recommendation

I'd like to suggest our company as an addition to the MLOps list.
Name: OctoML
Suggested new category: ML model optimization and acceleration
URL: https://octoml.ai/
Description:
OctoML automatically optimizes machine learning models to deliver up to 30x faster inference or prediction time, without sacrificing accuracy.
Deep Learning models optimized with our open source Apache TVM technology have less user-perceived lag, maximize hardware utilization, saving deployment costs, and are energy efficient for edge/IoT devices.
We also comprehensively benchmark customers’ models across CPU, GPU and Accelerator chips to help select the ideal hardware, balancing cost and performance.
How does OctoML speed up your machine learning predictions automatically?
Built on Apache TVM, the OctoML platform does the hard work of automatically making a model production-ready. Our technology uses machine learning to search the space of possible optimizations for a given model, freeing machine learning engineers from having to do it manually using specialized vendor/kernel libraries. It works by running experiments against the target hardware (CPU, GPU etc) to learn how the hardware behaves when certain automatically chosen optimizations are applied. We explore thousands to millions of permutations of a model. When the process is finished, we deliver a fast, energy efficient and accurate model ready to be pushed to production.
Explainer video: https://www.youtube.com/watch?v=gpO4y1mPMWA

Hey @blueplastic,
We'd appreciate it if you add it yourself, It's super simple. You can see this PR (and many others) as a good example.
Thanks!
P.S in which category would you place it?

I'm closing this (inactivity). Feel free to reopen.


Yapf

Yapf formatter tests!

It is intriguing that the formatter seems to be doing opposite things in different instances:
e.g. list unrolling

vs

@eeintech can you comment on this?

Ummm the changes looked "clean" for the ones I saw, but this one is bizarre...
I'll check more into yapf tomorrow to understand why would this happen.

@SchrodingersGat Looks like the termination comma in the list matters:

The first list is comma-terminated -> list is unrolled
The second list is not -> list is rolled back

This behavior can be changed with the following option:

Disabling it (disable_ending_comma_heuristic = true) would re-roll all the lists, independently if they are comma-terminated or not.
I do prefer them unrolled, it creates much cleaner and visually obvious diffs, which means we would need to add a termination comma on all lists and keep that option disabled.

Ah, at least there was a reason!
Is the idea here that yapf will just point out errors, or it will actually format the code on a check-in?
Also, I assume this is going on top of the flake8 checking which is already in place - that checks a lot of things over and above style issues.

Yes yapf formats the code when called on a file, it won't point out errors unless maybe when it fails to run.
There is a bit of conflict between flake8 and yapf as I mentioned here: https://github.com/inventree/InvenTree/issues/1068#issuecomment-719064834
Maybe a code formatter tool was not the real idea behind that #1068 issue, however it was proposed and I wanted to get a look at what yapf is capable of.

@SchrodingersGat Let's put this on the back burner for the time being, I'm actually pretty happy with the format of the code, you did a great job keeping it clean and I'm trying too. Unless more users start contributing to InvenTree more frequently I would say yapf or any other code formatter tools is not really needed right now.

@SchrodingersGat Let's put this on the back burner for the time being, I'm actually pretty happy with the format of the code, you did a great job keeping it clean and I'm trying too. Unless more users start contributing to InvenTree more frequently I would say yapf or any other code formatter tools is not really needed right now.


ci: add schedule for trivy scans

Checklist

[x] make test-all (UNIX) passes. CI will also test this
[x] unit and/or integration tests are included (if applicable)
[ ] documentation is changed or added (if applicable)

Description of change

A schedule task to scan latest container image (with latest tagged binary).
At the moment there is no latest image and this PR has to wait for next tagged version.

I'm thinking of cutting a release this weekend to address the open CVE, also thinking of getting one last release in before the Travis cutover.. in case we run into unexpected turbulence.
I assume this PR will have to wait until after the release?

I assume this PR will have to wait until after the release?

Yes.

also thinking of getting one last release in before the Travis cutover.. in case we run into unexpected turbulence

Sounds good.

There is a version tagged with latest to scan per schedule, now.

Awesome, thanks!


Ase calculator

Adds the first very basic functionality to ShiftML: a chemical shielding ase calculator.
The calculator automatically downloads an exported metatensor model from a zenodo archive and caches it locally.
tests. Explanations are added to the README.

Also fixes CI in here


Can't mock overloaded methods

Consider the following simple class with overloaded method names and attached test.
case class Foo(number: Int, string: String) {
  def add(x: Int) = Foo(x + number, string)
  def add(s: String) = Foo(number, string + s)
}

class FooSpec extends FlatSpec with MockFactory {
  "Foo" should "call add(x: Int)" in {
    val foo = mock[Foo]

    (foo.add _).expects(3).returns(Foo(7, "foo"))

    foo.add(3) shouldEqual Foo(7, "foo")
  }
}

The above code will not compile with an ambiguous reference to overloaded definition error since the eta expansion doesn't know which add method I'm trying to expand.  Ordinarily one would get the function by assigning the expansion to an explicitly typed value such as:
    val fooAdd: Int => Foo = foo.add _
    fooAdd.expects(3).returns(Foo(7, "foo"))

However that results in a compile error Unrecognised structure: Ident(TermName("fooAdd")).Please open a ticket at https://github.com/paulbutcher/ScalaMock/issues in 3.5.0, or even worse please declare 'fooAdd' as MockFunctionx or StubFunctionx (e.g val fooAdd: MockFunction1[X, R] = ... if it has 1 parameter) in 3.6.0.
Trying to make both steps explicit as below also doesn't work.
    val fooAdd: Int => Foo = foo.add
    val fooAddMock: MockFunction1[Int, Foo] = fooAdd
    fooAdd.expects(3).returns(Foo(7, "foo"))

For completeness I want to add that the following also doesn't work:
(foo.add(_: Int)).where(3).returns(Foo(7, "foo"))

value where is not a member of Int => Foo

can't reproduce this.
The code snippet in your first example is invalid, as the documentation explains.
(foo.add(_: Int)).expects(3).returns(Foo(7, "foo")) works just fine with 3.6.0

Interesting, now I can't get that line to fail either. There might have been something else funny going on in the file I was playing with.

Thanks @BrianLondon . Happy if i close this then?

Yeah, that's fine. Sorry for the trouble.

no problem, thanks :)


Locale not loading?

Hello,
I've specified the following:

    <input type="text" class="form-control" name="renovar_expira_em" required />

$('#renovar_picker').datepicker({
    format: "yyyy/mm/dd",
    language: 'pt',
    calendarWeeks: true,
    autoclose: true,
    todayHighlight: true
});

Folder structure:
css
| - datepicker
    | - datepicker3.css
js
| - datepicker
    | - bootstrap-datepicker.js
    | - locales
        | - bootstrap-datepicker.*.js

I've then imported the css/datepicker/datepicker3.cssand the js/datepicker/bootstrap-datepicker.js files.
Everything seems to be working fine, except the languages - everything is english instead of the defined language.

I am not sure about the use of locales,
1.)working fine if my custom.js includes the language:'XX' tag.
2.) i need the Datepicker localized, based on loading the locale XX.js file, ONLY
3.)i read about data-language. how to use please?
i ended up with 4 different custom.js with the language tag in it.
is 2.) possible?


Need management of flavors, eg create/update/delete

Options to clone a flavor to create a new new one, or delete, etc.

Ah, It is there I managed to overlook it.


Fix Users can edit the placeholder text ‘Type your description here’

Issue: #441
Actual Result:
Users can edit the placeholder text ‘Type your description here’.
Expected Result:
Upon Navigating to item description edit box, text ‘Type your description here’ should not be editable. 'Type your description here' should be a placeholder text.
Note: When Screen reader focus is on item description edit box, Narrator announces as 'Type your description here'. Screen reader user will know that it is placeholder text and may start typing the item description without knowing that 'Type your description here' is editable.

/azp run

/azp run

/azp run

/azp run

/azp run


Fixed X3D vertex order problem

This replaces pull request #768 and includes just the X3D change
Fixes issue #741
GearVRf-DCO-1.0-Signed-off-by: Nola Donato<EMAIL_ADDRESS>

Will merge tomorrow morning if there are no comments


Crashing with iOS 9

Any ideas why this no longer works on iOS 9??

@shutterflypro the internal structure has been changed in iOS 9, I've updated based on the run time headers: https://github.com/sandeepmistry/AnyiBeacon-iOS/commit/3e9946c24e5eb34b73e7544d30bc742a62c211b7 and made iOS 9 the minimum.
Bonus: there is also a UI included now


Add application labels as meta labels

:+1:
The removal of the isValidApp logic is a breaking change, so should be mentioned in the description.

Should be we speaking of breaking changes for features that were never part of a release?
I always feel that it makes everyones life easier if we are able to tweak a new feature before the next release.

I think it's good practice to call them out in the description, even if we don't need to put it in the release notes

Fair enough, as long as we allow ourselves to break.


Some colors are inconsistent between default and italic version

I checked the difference between default and italic version and found that some colors are wrong. This is only wrong in italic version.
list.focusBackground: #5f7e9700 should be #010d18
activityBarBadge.background: #5f7e97 should be #44596b
editorRuler.foreground: #5e82ceb4 should be #5e81ce52
It even contains bug because of wrong colors like this:

As you can see there's no focus background in italic version.
If needed I can create a PR.

@sdras PR is already opened: https://github.com/sdras/night-owl-vscode-theme/pull/149


SpeechT5-tts fine-tuned on Chinese

I used colab notebookto fine-tuned this model.When I run trainer.train(),It goes into error.
in <cell line: 2>:2                                                                              │
│                                                                                │
│ /usr/local/lib/python3.9/dist-packages/transformers/trainer.py:1662 in train                     │
│                                                                                │
│   1659 │   │   inner_training_loop = find_executable_batch_size(                                 │
│   1660 │   │   │   self._inner_training_loop, self._train_batch_size, args.auto_find_batch_size  │
│   1661 │   │   )                                                                                │
│ ❱ 1662 │   │   return inner_training_loop(                                                       │
│   1663 │   │   │   args=args,                                                                    │
│   1664 │   │   │   resume_from_checkpoint=resume_from_checkpoint,                                │
│   1665 │   │   │   trial=trial,                                                                  │
│                                                                                │
│ /usr/local/lib/python3.9/dist-packages/transformers/trainer.py:1839 in _inner_training_loop      │
│                                                                                │
│   1836 │   │   self.state.is_world_process_zero = self.is_world_process_zero()                   │
│   1837 │   │                                                                                │
│   1838 │   │   # tr_loss is a tensor to avoid synchronization of TPUs through .item()            │
│ ❱ 1839 │   │   tr_loss = torch.tensor(0.0).to(args.device)                                       │
│   1840 │   │   # _total_loss_scalar is updated everytime .item() has to be called on tr_loss an  │
│   1841 │   │   self._total_loss_scalar = 0.0                                                     │
│   1842 │   │   self._globalstep_last_logged = self.state.global_step                             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be
incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

I do use GPU,why did this error happen?

For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

Hi! I am trying to fine-tune SpeechT5 for Hindi. From my understanding, SpeechT5 is pre-trained on LibriSpeech English dataset and on going through the official colab notebook for fine-tuning the TTS model for Dutch, I realised that they are replacing the characters not in the vocabulary of their tokenizer. I have two doubts, which tokenizer are they using and since you are fine-tuning for Chinese, how did you deal with the problem of chinese characters not part of their vocabulary?

Fine-tuning on the other language as https://github.com/microsoft/SpeechT5/issues/56#issuecomment-1624912143

You must expand the vocab of the processor tokenizer first, otherwise it would tokenzie the whole chunk of the sentence as the input.


KYLIN-4689 BuildJobSubmitter should obey MaxJobLimit

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

I need some time to test this patch.

Pull Request Test Coverage Report for Build 6436

0 of 8 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.001%) to 28.049%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

stream-coordinator/src/main/java/org/apache/kylin/stream/coordinator/coordinate/BuildJobSubmitter.java
0
8
0.0%

Files with Coverage Reduction
New Missed Lines
%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
1
78.12%

stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/ColumnarStoreCache.java
1
56.82%

Totals

Change from base Build 6416:
-0.001%

Covered Lines:
26257

Relevant Lines:
93610

💛  - Coveralls


Support setting native id in checkbox and native for in checkbox and …

I needed to get automated browser testing to work which required the ability to set the native id attribute and the corresponding label for attribute in a rendered checkbox.  Also added the ability to set arbitrary attributes on checkboxes using the v-bind="$attrs" as is done in input.
Also added the ability to set the label for attribute in field which allows users to click on the label name to give focus to the form element.
I guessed at the convention for property names you would like -- but please let me know if anything should be changed.
Thanks for Buefy btw... it's really great!!

Hi @jtommy,
Thanks for the very fast review.  I will implement all of your feedback but wanted to ask another question first.
To support automated browser testing (simulating clicking checkboxes) I need to target the label created by the Checkbox.vue template using a css selector.  I can remove the for attribute from the checkbox label as requested and instead access it as a child of the Field.vue div.  This would require me to add a new prop to Field.vue allowing the ability to set an id on the div or if you like I can use v-bind="$attrs" on the div to accomplish the same thing.  Are you ok with that?

@tmepple Why do you want add an id to Div? As you see from my review, you might add for prop to Field and apply it to Label tag.

Hi @jtommy, The reason is I'm pretty sure the label tag for  is rendered by the template inside Checkbox.vue instead of relying on Field.vue like , , etc does.  Adding the for to Field will work great for , etc but not for checkboxes.
If I pass the label and for props to the the encompassing Field around a checkbox, I end up with two rendered label tags for the same field which doesn't look good.
I guess rather than adding a new prop to render an id to the div inside Buefy's Field I can just wrap another div around the whole thing and put an id on that to target the children for automated testing.  Do you like that idea better?

@tmepple I'm sorry but where do you want add a div ? Anyway I think that Label into Field with for attribute works with checkbox

Hi @jtommy, I think an example would really help the discussion...

    I agree to the Terms and Conditions.

Is rendered by Checkbox.vue as:

    <input type="checkbox" name="user[agree]" true-value="true" value="true">

    I agree to the Terms and Conditions.

In the case above we wouldn't want to pass label or for as attributes to  because then by my testing two  tags would be rendered.  One by Field.vue and one by Checkbox.vue.  Instead, if we were rendering a  or  then I would use  which would work great.
I was thinking in addition to updating my PR making the other changes that you suggested above, if I could add an id prop to  so the div could be rendered as
 then I could easily target any internal element for automated click-testing with css #user_agree > label or #user_agree > label > span.check.
Alternatively, if you don't want me to add the new id prop on  then I can wrap everything in another div as below:

      I agree to the Terms and Conditions.

It's a little more verbose but it would also work as I could then target the rendered html with css like #user_agree > div > label > span.check.
Please just let me know... if you are not comfortable with my adding an id to  that's perfectly fine at least I have a workaround and can push another commit with the other approved changes.

Id to Field it's ok but you don't update nothing because all native attributes to Field are applied to  root div.


chore(main): release 0.0.17

:robot: I have created a release beep boop
0.0.17 (2022-12-05)
Bug Fixes

loading external templates is working as intended now (7c81907)
qr code showing again, enabling mfa requires reentering the password (9a5e18b)
use safehtml over html/template, typed viewmodels instead of map[string]interface, fixed changed password (bbb1421)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/eisenwinter/gotrxx/releases/tag/0.0.17 :sunflower:


Fix AutoreleasingUnsafeMutablePointer assignment.

Fix the implementation to obey the memory model by
using withMemoryRebound.
Also move toward using Unsafe not Opaque.

@swift-ci Please smoke test and merge.

This failed on an XCTest symbol--the one that's been breaking builds for the past couple days.


Map entities and create database tables

Overview
As a software engineer,
I want to map the following entities and create the respective database tables using Hibernate:

Category
City
PaymentMethod
Permission
Restaurant
State

Acceptance Criteria

[x] Map all the entities using Hibernate.
[x] Automatically generate the database tables.
[x] Add at least 2 mock entries for each table for testing purposes.

Changes implemented succesfully!


Screen#{isPauseScreen -> shouldPause}

The current name implies that whether the screen pauses the game is a permanent property; which it is not (it is checked every render tick).
We know that it's a screen.

Using github search this does seem quite an impacful rename. More than others I have suggested holding back.

Is the definition of a "pause" pausing the integrated server?
I guess "render tick" is a frame render (like the frame in fps) than a client tick. Need to find time to check these to review.

Is the definition of a "pause" pausing the integrated server?

Yes, it pauses the game in singleplayer. (Probably not in LAN games even though it uses the integ server)


Copy/duplicate form control

Can we expect the option to copy a control in a form builder section as there as many control fields which have mostly all information same. for example: first name and last name. all type, validations, classes for these form controls are same.
Just like this: https://formbuilder.online/

Not sure in real life, we would really need to copy a whole Section? Many of my cases don't.
And also, we can't do that either because the fields need to have unique key names.
I'll close this ticket then, thanks.

We can copy the section, For example if I want to show 4-5 textboxes in 7 sections, then copy section button should copy the section design and fields either leaving the unique fields like id and value empty or adding "fieldname-1" numeric after the existing name. This should be a must have feature in real life scenario, as while we are testing the form builder we some times need to copy the fields and sections many times. @sethsandaru


python3Packages.pywayland: 0.4.14 -> 0.4.15

Description of changes

https://github.com/flacjacket/pywayland/releases/tag/v0.4.15
Security fix: https://github.com/advisories/GHSA-gw9q-c7gh-j9vm
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Note: the security fix is not that interesting, it's about untarring the wayland protocol sources, so not exactly an untrusted tar.


Error in div operation with DataFrame contains negative and 0 values

df1 = pd.DataFrame([-1, 0, 1])
df2 = pd.DataFrame([1, 1, 1])
df2/df1
    0
0   -inf
1   inf
2   1.00000

on 0.15.2 looks ok to me.
In [4]: df1 = pd.DataFrame([-1, 0, 1])

In [5]: df2 = pd.DataFrame([1, 1, 1])

In [6]: df2/df1
Out[6]:
          0
0 -1.000000
1       inf
2  1.000000

@jreback right, my version was 0.14. Upgrading to 0.15.2 cure it. Thanks.


Create UserDetails from JWT claims

If I understand the code correctly in JwtAuthenticationTokenFilter, on every request for data from the api, a database call is made to build the UserDetails, based on username. Would it not be better create the UserDetails based on the claims as parsed from the JWT?
Cheers,
Jim

You're right. You're solution would also work and make the database calls unnecessary. In other scenarios it could be necessary to load more information than it is present in the token. Because this is just a demo I leave it as it is, but I mention your comment in the code.


Negative frame positions.

Hello wo1fsea,
First, thank you for the awesome rectangle/texture packer.
I am not sure if this is bug or not. But, in some plist files the frame key has negative position.
like: {2,-1} The frame sizes seem all correct.
The packer is running with these parameters:
packer = Packer.create(max_width=2048, max_height=2048, bg_color=0x00ff00ff, trim_mode=True, enable_rotated=True)
I would expect the "frame" never to be outside the texture page. so, I am kinda puzzled by the {2,-1}
I suspect that it has something to do with the padding/borders etc.
I left all these values to their defaults.
Kind regards,
theoldnewb
Here is part of the plist:
`

frames

0044.png

frame
{{2,-1},{462,514}}
offset
{-26,21}
rotated

sourceColorRect
{{255,234},{462,514}}
sourceSize
{1024,1024}

0045.png

frame
{{450,463},{444,510}}
offset
{-14,23}
rotated

sourceColorRect
{{276,234},{444,510}}
sourceSize
{1024,1024}

`
![0044](https://user-images.githubusercontent.com/58051505/78987498-7f240300-7b2e-11ea-9a25-d88fb1aa1c1d.png)
![atlas_9](https://user-images.githubusercontent.com/58051505/78987524-8c40f200-7b2e-11ea-9d6a-a9e0fae01991.png)
[atlas_9.txt](https://github.com/wo1fsea/PyTexturePacker/files/4461308/atlas_9.txt)

Somehow the attachments were not added properly...

The single image:

The plist file:
atlas_9.txt

Hello wo1fsea,
First, thank you for the awesome rectangle/texture packer.
I am not sure if this is bug or not. But, in some plist files the frame key has negative position.
like: {2,-1} The frame sizes seem all correct.
The packer is running with these parameters:
packer = Packer.create(max_width=2048, max_height=2048, bg_color=0x00ff00ff, trim_mode=True, enable_rotated=True)
I would expect the "frame" never to be outside the texture page. so, I am kinda puzzled by the {2,-1}
I suspect that it has something to do with the padding/borders etc.
I left all these values to their defaults.
Kind regards,
theoldnewb
Here is part of the plist:
`
frames 0044.png frame {{2,-1},{462,514}} offset {-26,21} rotated sourceColorRect {{255,234},{462,514}} sourceSize {1024,1024} 0045.png frame {{450,463},{444,510}} offset {-14,23} rotated sourceColorRect {{276,234},{444,510}} sourceSize {1024,1024} `   atlas_9.txt

Thanks for using this module.
In your case, it's not a bug. The "frame" is be outside the texture page, because of the trim_mode parameter. When trim_mode is not 0, it will remove transparent pixels from border, so the transparent pixels removed will be outside the atlas texture.


Feature/intellij basic plugin

Checklist

[x] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[x] I documented my source code using the JavaDoc / JSDoc style.
[x] ~I added integration test cases for the server (Spring) related to the features~
[ ] I added integration test cases for the client (Jest) related to the features
[x] I added screenshots/screencast of my UI changes
[x] I translated all the newly inserted strings

Motivation and Context

This is the first version of the ArTEMiS plugin called OrION (https://github.com/ls1intum/Orion). In order for the IntelliJ plugin to work correctly, it has to be able to communicate with the Angular webapp. The bridge between the Java and the Typescript code has to provide the following functionalities:

Git clone, push, add, commit calls from TS to Java
Notifications about the status of the IDE (IntelliJ) from Java to TS
Some sort of check, in order to find out whether the browser opening the webapp belongs to an IDE (IntelliJ)

As previously discussed with @thilo-behnke  I will write the tests for this PR after the first draft has been reviewed, since there might be some bigger changes depending on the review.
Description

I've added a new JavaBridgeService which provides the most important functionalities described above. This services can communicate with the IDE by calling functions directly on the window object of the browser.
Downcalls (from TS to Java) are executed by calling the in the intellij interface specified methods. The actual JS object in the window is set by the plugin in Intellij itself.
Upcalls (from Java to TS) are executed by calling the methods of the JavaBridgeService, which has to be set at the start of the app, so that the IDE can immediately communicate with the webapp as soon as the page has been loaded.
Steps for Testing

Install the IntelliJ plugin (please contact me in order to get the most recent version)
Open the ArTEMiS tool window on the right side in IntelliJ
Open any course in ArTEMiS with programming exercises.
Click on "Open in IntelliJ" in order to clone and open the exercise
Change anything in the source files of the opened project
Click on "Submit" in order to add all changes, commit them and push them to master
All changes should be committed and visible in Bitbucket

Screenshots

So, there seems to be quite a lot of problems if I try to create tests.
As soon as I import the ArtemisOverviewModule for the tests, I get the following error: Error: Can't resolve all parameters for[...]. I talked to @thilo-behnke and it seems that there are multiple imports missing at least in the OverviewModule, which are normally fixed by the app.module's tree structure. After fixing a couple of those problems, I get Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files., though there are no circular dependencies at all, even after checking using the madge tool. I don't know how long it will take to fix these problems, so we either merge this PR without client tests, or we have to delay it to the next release depending on when I will be able to solve all problems.

@Alex: This is really hard to test for us. Can you please make the latest version of the plugin available as jar file? You could attach it here if possible or share it e.g. as alpha release in the other git repo and link it here. Please also describe in a bit more detail how to install it (you could also link to another website). Thanks!

So, there seems to be quite a lot of problems if I try to create tests.
As soon as I import the ArtemisOverviewModule for the tests, I get the following error: Error: Can't resolve all parameters for[...]. I talked to @thilo-behnke and it seems that there are multiple imports missing at least in the OverviewModule, which are normally fixed by the app.module's tree structure. After fixing a couple of those problems, I get Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files., though there are no circular dependencies at all, even after checking using the madge tool. I don't know how long it will take to fix these problems, so we either merge this PR without client tests, or we have to delay it to the next release depending on when I will be able to solve all problems.

The alternative - even though not ideal - is to not change the OverviewModule but to declare everything you need manually in your TestBed. This includes the declaration of the component and the import of all Modules / providers needed for this component to work.

@alex: This is really hard to test for us. Can you please make the latest version of the plugin available as jar file? You could attach it here if possible or share it e.g. as alpha release in the other git repo and link it here. Please also describe in a bit more detail how to install it (you could also link to another website). Thanks!

You are right, I will link a .zip file and upload a gif on how to install the plugin

I've added a download link for an alpha release and gifs detailing how to install and setup the plugin

I general, I am fine with the changes, but I think we need some additional documentation.
Regarding the username and password. I guess you should ask the user with a popup in the Angular client app before sending this to a java bridge. The username and password should not leave the Angular app without a consent by the user.

I documented the bridge service class and added a confirmation modal, which the user has to accept before sending the credentials to the IDE.

@ungaralex Can you resolve the conflict caused by #789? Should be an easy fix.


Happy New Year 2020

I know its a bit late, but never to late.
I wish you all best in the coming year 2020, but mostly a good health... and thank you all for your work.
Cheers 🍷 🍻
@pants close at will 😉

Thanks @crssi, Happy New Year to you too and everyone else


APP_ENV=test - Some calls fail due to missing custom tables, so setting up the test environment is missing tables

Description
For internal tests you added Custom entity definitions when using APP_ENV=test or --env=test. This results in the table for this custom entity to be missing, if setting up the environment for tests which results in e.g. dal:refresh:index --env=test or system:install --env=test to fail.
You should only load this service definition in your own internal test for these custom entities.
Possible Solution
In \Shopware\Core\Framework\Framework::build you load a services_test.xml which might make sense. However, it should definitely not load the custom entity service defintion part. This should only be loaded in your custom tests, e.g. by extending the Framework, e.g. extend the original and only load the file there (or add a custom parameter to load these custom entity defintions)
Additional context
In AbstractMySQLDriver.php line 42:

  An exception occurred while executing 'SELECT COUNT(DISTINCT `attribute_test`.id) FROM `attribute_test` LIMIT 50':

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'attribute_test' doesn't exist

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


id_token is missing or empty

when I clicked add deep links, the pop up shows the error "id_token is missing or empty". may I know how to make it run?

https://github.com/LtiLibrary/LtiAdvantageTool/pull/7 fixed it.


[API] Terminal.name returns empty string after calling createTerminal()

VSCode Version: 1.35
OS Version: Windows

Steps to Reproduce:

calling createTerminal()
check the value of Terminal.name is empty string (which is not expected)
wait for some time, the value of Terminal.name becomes normal

Related to https://github.com/microsoft/vscode/issues/74233#issuecomment-497527337, as we could not use terminal.integrated.shell.<platform>. However, we could not use Terminal.name.
This issue has affect the Code Runner and Maven extension:

https://github.com/formulahendry/vscode-code-runner/issues/491
https://github.com/formulahendry/vscode-code-runner/issues/492
https://github.com/microsoft/vscode/issues/75007

This is as designed since createTerminal is synchronous but setting of the name only happens once the process has launched (async). For now you can workaround this by polling until name is set.


brew extract does not correctly read formula history

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
brew extract -d --version=1.9.6 haproxy <mytap>
I need to have version 1.9.6 installed on my machine.
What happened (include command output)
brew fails to find the 1.9.6 version although it is in the formula history.

Command output

==> Searching repository history
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaContentsLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/haproxy.rb
==> Trying 2.1.2 from revision 38812f7 against desired 1.9.6
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaContentsLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/haproxy.rb
==> Trying 2.1.2 from revision a45b254 against desired 1.9.6
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaContentsLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/haproxy.rb
==> Trying 2.0.10 from revision e103c6a against desired 1.9.6
Error: Could not find haproxy! The formula or version may not have existed.
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/utils.rb:127:in exit' /usr/local/Homebrew/Library/Homebrew/utils.rb:127:in odie'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/extract.rb:136:in block in extract' /usr/local/Homebrew/Library/Homebrew/dev-cmd/extract.rb:133:in loop'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/extract.rb:133:in extract' /usr/local/Homebrew/Library/Homebrew/brew.rb:102:in '

What you expected to happen
brew should have been able to find the version.
Step-by-step reproduction instructions (by running brew commands)
$ brew tap-new <user/haproxy>
$ brew extract -d --version=1.9.6 haproxy jmarty/haproxy

It looks like the issue comes from that line:
==> Trying 2.0.10 from revision e103c6a against desired 1.9.6
Revision e103c6a has the following commit message:
azure-cli: update 2.0.79_1 bottle.

which has nothing to do with haproxy.
I guess Git.last_revision_commit_of_files does not work as expected
Output of brew config and brew doctor commands

$ brew config
HOMEBREW_VERSION: 2.2.4-2-g23108f3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 23108f3c736030070ca1e4673652c20c503a7d02
Last commit: 24 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cc0bceefd6a0b779c58ee3698097125344c3c539
Core tap last commit: 12 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.25.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: N/A

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /Users/jmarty/.pyenv/shims/python3.7-config
  /Users/jmarty/.pyenv/shims/python3.7m-config
  /Users/jmarty/.pyenv/shims/python-config
  /Users/jmarty/.pyenv/shims/python3-config

fair enough


Fix  #4832

Description

Do URL shortening for flow-detail < 1 instead of <= 1

Checklist

[x] I have updated tests where applicable.
[ ] I have added an entry to the CHANGELOG.

Thanks! This looks good, but it doesn't really solve the inconsistencies. For example, right now the addon doesn't print anything when flow_detail is set to 0 (https://github.com/mitmproxy/mitmproxy/blob/main/mitmproxy/addons/dumper.py#L260), so we now essentially have a dead code branch. I think we should keep the behavior of not printing anything with flow_detail=0 so that -q keeps working. Here's what I would propose:

Level 0: no output
Level 1: shortened request URL, response status code
Level 2: full request URL + headers
Level 3 + 4: as-is.

Does that make sense?


How to use version 3.x and 4.x together?

I want to use 3.x and new version together as new version is still not complited yet.

I'm also curious about this. if anyone has any advice please let me know. @muzaffar622 are you using nuxt?

@Rsalyme no, I use only Vue.js.


Fix missing stylesheets on installation page

When running gitea for the first time, the stylesheets for the
installation page are broken since the middleware that statically serves
stylesheets does not get executed by chi. This is because if no handlers
are registered in chi, it will drop all middleware.
This commit introduces a "dummy" handler to deal with that quirk.
Closes #13725
Thanks: Lunny Xiao<EMAIL_ADDRESS>for finding the quirk

Codecov Report

Merging #13736 (6ba56ce) into master (1e5247d) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #13736      +/-   ##
==========================================
- Coverage   42.21%   42.19%   -0.03%
==========================================
  Files         697      697
  Lines       76845    76848       +3
==========================================
- Hits        32439    32423      -16
- Misses      39054    39072      +18
- Partials     5352     5353       +1

Impacted Files
Coverage Δ

routers/routes/chi.go
35.18% <0.00%> (-0.67%)
:arrow_down:

services/pull/check.go
48.90% <0.00%> (-3.65%)
:arrow_down:

services/pull/temp_repo.go
26.59% <0.00%> (-3.20%)
:arrow_down:

modules/process/manager.go
72.50% <0.00%> (-2.50%)
:arrow_down:

services/pull/patch.go
53.97% <0.00%> (-1.71%)
:arrow_down:

modules/queue/workerpool.go
58.77% <0.00%> (-1.23%)
:arrow_down:

models/error.go
36.25% <0.00%> (-0.50%)
:arrow_down:

modules/indexer/stats/db.go
52.17% <0.00%> (ø)

modules/git/repo.go
45.68% <0.00%> (+0.50%)
:arrow_up:

modules/git/utils.go
77.04% <0.00%> (+3.27%)
: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 1e5247d...6ba56ce. Read the comment docs.


#ifndef before #define BN_ARRAY_SIZE

I want to use this as a submodule but I need numbers larger than 1024 bits

As no feedback has been given and I needed these features I will use my own fork.

As no feedback has been given and I needed these features I will use my own fork.

Hi @umnikos and thanks for your interest in this project :)
I'm sorry for keeping you waiting :( Like everyone else I also have other obligations, which is why I'm sometimes super slow to react to these issues and PRs. You are of course free to use your own form if you do not have the patience to wait for me :)
I see two main changes in your PR:

ifndef before define BN_ARRAY_SIZE
Karatsuba multiplication

1) ifndef before define BN_ARRAY_SIZE
I don't think your suggestion works well here, if what you want is parametric integer size.
The problem with using an ifndef-guard, is that unless you explicitly #define the array-size everywhere you include the header file / bn.h (which also mean in bn.c, which you will have to edit as well) you will have a default array-size that you can override, but which will silently return to the default. No errors will be thrown if you inadvertently #define two different array-sizes.
I.e. it makes it possible to have the c-file compiled with one array size (i.e. one integer max-size), and the header-file indicating otherwise.
I think it would be better to refactor the code such that the array-sizes are parametric. E.g. converting
void bignum_add(struct bn* a, struct bn* b, struct bn* c); /* c = a + b */

to
void bignum_add(struct bn* a, struct bn* b, struct bn* c, size_t array_size);

... or something similar.
If you only need fixed-size integers all the time, it should be possible to use macros
#define    bn_add(a, b)    bignum_add(a, b, FIXED_ARRAY_SIZE)

How do you like this approach instead?

2) Karatsuba multiplication
I've dabbled with karatsuba multiplication in the past, but did not get anywhere near theoretical speed-ups in practice.
Have you by chance benchmarked the difference in run-time between naiive multiplication and the karatsuba-method?

1) ifndef before define BN_ARRAY_SIZE
Your concern is very valid and it turns out I didn't actually test if this part works (and it doesn't). Whoops.
The alternatives you suggested are worse in my opinion. I can easily make all of my files import from prelude.h which just imports bn.h but defines the array size first and it's just 3 lines of code on the user's end.
2) Karatsuba multiplication
I don't know if this particular implementation is the theoretical maximum speed (recursion is fundamentally slow) but it's noticeably faster than the regular multiplication you had before so I consider it a big success. For non-big numbers it also performs as fast as normal multiplication since there's a check for that particular case (it serves as a base case for the recursion)

I can open a pull request with only the karatsuba multiplication if you want :)

I can open a pull request with only the karatsuba multiplication if you want :)

Please do. I consider keeping the naiive implementation, and letting a compile-time switch (#define-macro) decide. In some environments recursion is verboten, so it'd be nice to have the choice.
While meddling with multiplication, have you seen #11 ? I never got around to taking proper care of that PR either ;(

I took a quick look at #11 and it's still a regular O(n²) algorithm. I also took a look at your exponentiation algorithm and it's very bad, so expect another pull request from me :)

so expect another pull request from me :)

:laughing: exactly what I was hoping :+1: :+1: :+1:
Please keep in mind that this code is (also) aimed at resource-constrained resources. Many optimizations make use of plenty temporary variables, each allocating potentially hundreds of bytes - many small devices have 2-4kb stack at most.
If possible, I would prefer to have two functions to choose from at compile time, as mentioned above :)

The pull request is open if you haven't seen it. Also I did some digging and discovered -Dname=value is a way to pass preprocessor definitions while compiling as a parameter and it seems to work with my ifndef thing.

Today I learned about .patch files and how they would be way better suited to do this than my #ifndef and forked repo hack. Oh well...


Mobiledoc editor (or: Build a Koenig-equivalent for Android/cross-platform)

Background
First off: What is mobiledoc and how does it relate to Ghost? 👀👇

https://blog.ghost.org/2-0/
https://github.com/bustle/mobiledoc-kit/blob/master/MOBILEDOC.md

Where we are today
Currently Ghost Android only supports posts with a single Markdown card. Only such posts can be previewed and edited; for all other posts, the app refuses to open them at all. When creating a new draft, the app presents a basic Markdown editor, as it was before Ghost 2.0, with no notion of "cards" or any other rich content at the moment.
What needs to get done
Full mobiledoc support (which, to be clear, is not currently planned) would involve implementing the following pieces:

Rendering mobiledoc: Take mobiledoc as input, and render it on Android using native/Flutter/React Native widgets
Card-based editor: Building on top of the renderer, create a card-based editor for Android, similar to the one in Ghost Admin on the web or in Medium's mobile app (note: the Medium app presents the UI differently, but the fundamental unit of editing can still be interpreted as a "card"). Naturally, the editor should store/serialize its contents in the mobiledoc format.

This work can be further broken down: once a foundation for rendering and manipulating the mobiledoc format is laid, the various card types can be implemented separately (see here for an up-to-date list of what mobiledoc cards Ghost Admin supports).
Interested in helping out? This could be an opportunity to learn Flutter or React Native! ✨
Given the nature of this project, it's going to be quite well-isolated from the rest of the Ghost Android codebase, which means it'll be a lot easier for someone new to get started 🚗💨
If you're interested in helping out (or even if you think you might be interested but would like more details first), just add a comment in this thread 💬
Why Flutter/React Native?

This project is mostly UI so those frameworks should be a good fit; not many Android-specific APIs will be required
Well-isolated from the rest of Ghost Android, should be easier to embed/integrate
The editor could be reused in a future Ghost iOS app, and if things go well, it may well make sense to adopt the framework for a full-fledged cross-platform app 👻📱

One thing that is currently unclear is that although Flutter and React Native can both be embedded into existing apps, it is possible that some required APIs are missing, so some more exploration would be required before committing to one of these frameworks.
Of course, a pure native solution is also welcome.

Hey, I'm on a self hosted Ghost instance, and am trying to load and edit existing posts using the Android application, and am met by this issue.
I am by no means an Android guy, but I'd be willing to have a crack at fixing this if you could provide a little more technical detail on what is necessary to get it working :)

@vickychijwani, do you see a way forward with this issue through making the current Koenig editor a PWA?
That would take care of the UI part, and the key missing piece would be to store and manage offline updates.
Steps:

Add manifest.webmanifest file to editor,
Add sw.js file to editor,
Add logic to manage offline/online state to sw.js.

A great example of this done right is the app at kanbanflow.com.
On Android, it can be "installed" right from the browser, and feels smooth just like a native app when used.


Adding new way to docker big graphite !

Coverage remained the same at ?% when pulling a67487e90a1c1b13668af97e4d748164c316da85 on melchiormoulin:master into 91e4d9a47585bb30ded3a1e8f7ae0adaaba46f94 on criteo:master.


fix a bug of wrong dimension when sample_size=0

When we want to feed all the audio file into the queue with sample_size=0, after trim_silence(), the audio variable is a row vector, which should be reshaped before sess.run(self.enqueue, feed_dict={self.sample_placeholder: audio}).

Thank you for that @fehiepsi
I reproduced the problem and verified the fix. Merging.

@jyegerlehner For future PR's, could you "Squash and merge"? It leaves a much cleaner commit history (a single commit by the author at the time of merging and with you as a merger rather than a separate merge commit and the commit by the author in the past). It's also the default option for me, maybe it remembers whatever you did last.

@lemonzi oops sorry. I guess I wasn't paying attention to that. Thanks for the pointer.


Update analytics-common-data-service.md

Removed statements causing customer confusion:
ICM Ticket Ref:  265380823

Taking to live via my working branch.


why is there such a strange import in the python api in the mediapipe.solutions module

why does the python api in the mediapipe.solutions module import like this "import mediapipe.python.solutions.drawing_styles", and not like this "from mediapipe.python.solutions import drawing_styles", what is the reason for this? this also disables type hints in the same vs code, and does not allow you to go to the definition of the function

Hello @mar0us,
It is possible to import like from mediapipe.python.solutions import holistic, drawing_styles, drawing_utils and intellisense also works along with the definition of function in VSCode. Would you please let us know which OS, python version and mediapipe version are you using? Thank you!


error while naming songs

Describe your bug here.
Hi hi!
while naming the week file, if a banned windows name is typed midway the engine crashes
like con, con1, etc
I suggest adding a list of these items so the engine doesn't try to load them while typing the week file
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope

Why is this a "bug" label?


Clarify handling of Kosovo

[x] Determine what should happen from Tim Hirsch
[ ] Update portal frontend and country enum
[x] Update geocoder
[x] Update registry country enum
[ ] Add XK to directory API

We will include Kosovo in the geocoder. And we should not raise the coordinateCountryMismatch issue for occurrences in Kosovo.
@MattBlissett can you look into this?

This is now ready for the portal to show the page https://www.gbif.org/country/XK/summary

It also needs to show on the search facet dropdown, @MortenHofft .

The XK code should be rocognised by the directory:
http://api.gbif.org/v1/directory/participant/?country=XK

It's now returning no results rather than an error, the same as e.g. http://api.gbif.org/v1/directory/participant/?country=BZ

Occurrence api also throws an error
http://api.gbif.org/v1/occurrence/count?country=XK

This is fixed, and also the vector tile server.


Load files with arbitrary names

Currently, load(0 works by detecting the file type depending on the file name suffix. In case of yaml libraries, especially, it must end up with .lib.yml which is not always desired (you might just want to have the standard yaml suffix).
I suggest this limitation could be lifted by explicitly defining the type we want to load at load time. This could be achieved by separate functions such as loadYaml() or loadStarlark().
Another alternative would be to add a parameter to load() but this would be a backwards incompatible change.

one of the reasons we use .lib.yml extension is to determine which files are templates and hence should be rendered (included in stdout) vs plain library files that should be discarded. given that we need to identify which files are "root", i dont think we can rely on at-load time indicator (unless we start statically checking whether file uses load, but that's a bit weird imho).
i was considering adding some kind of annotation (e.g. #@file/type "library") that would be used in the file to indicate that file is a library file and should not be considered a template.

If changing the load() statement is not possible because it comes from starlark, peraps adding an annotation on the file name:

load("$yml:loaded.yaml", ...)
load("$txt:loaded.txt", ...)
load("$starlark:loaded.starlark", ...)

I think it's better to define it at the load point (instead of within the loaded file) for different reasons:

you don't always control the loaded file if it comes from a third party for example
in some contexts you might want to load a YAML file as text for inclusion as a text object within your document

I think it's better to define it at the load point (instead of within the loaded file) for different reasons:

but how should we eliminate library files from being templated on their own?

you don't always control the loaded file if it comes from a third party for example

agreed.

in some contexts you might want to load a YAML file as text for inclusion as a text object within your document

thats possible today via @ytt:data library. https://get-ytt.io/#example:example-load-data-files and https://github.com/k14s/ytt/blob/master/docs/lang-ref-ytt.md.

i do agree that we have special casing for lib.yaml and lib.txt extensions and somehow we should get rid of that.

but how should we eliminate library files from being templated on their own?
I don't think so

I tried to look at how files were loaded, and I come to a dead-end. In pkg/workspace/template_loader.go I see that the Load() function is calling Library.FindFile, which suggests the file has already been loaded? Is ytt loading the complete directory structure in the Library before starting up ?

which suggests the file has already been loaded?

Load() actually evaluates file. Library.FindFile() is just a way to access in memory representation of the file ([]byte content).

With #18 finalized, I guess we can expect people to drop their arbitrary .yaml files (with no extra lib.yaml extensions) into _ytt_lib and not have them rendered in the output. This should eliminate the need for the specialized naming of yaml files.
In other cases though (for text and starlark), I believe the suffix is a good visual clue on the expected content in the file. I believe it is less desirable for people to have to open arbitrarily named files to see what's inside them.


Outdated instructions for collapse shortcuts

First of all thanks for the plugin, I really like it.
I had problem with the collapse shortcuts. Letter m would always trigger mark command.  By inspecting repo for something else I stumble upon #21 and that was the reason for this problem.
I guess the change was made but docs/strings are not updated yet so I wanted to point it out just in case you are not aware of that.

Thanks, the readme looks outdated. Just updated.


Rdp

[Enter feedback here]

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

ID: 8e4c63a8-69a4-da31-a805-54f5a4eba11d
Version Independent ID: c1af9748-e90c-9521-7ea8-017ad238faa0
Content: Enable Remote Desktop on your PC
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-allow-access.md
Service: windows-server
Sub-service: remote
GitHub Login: @robinharwood
Microsoft Alias: wscontent

Rdp

Yujjjjjj
Hj


No suitable FD found for adaptation

CONTEXT
Packages in their most recent branches for MODELS paper: mvp, master or observers
Experiment command:
./run_single_sim.sh -i 2 -g 2 -n standard -r true -p 1.3

OUTPUT
...
OBJECTIVE	|  STATUS	|  NFRs
o_navigateA 	|   INTERNAL_ERROR 	|   [('energy', 0.15), ('safety', 0.8)]
...
== Checking FDs for Objective with NFRs type:  energy and value:  0.15
	 WARNING FD has no expected value for this QA
	 WARNING FD has no expected value for this QA
#### WARNING: no FDs meetf NFRs
== FunctionDesigns also meeting NFRs:  []
*** OPERATOR NEEDED, NO SOLUTION FOUND ***
*** Objective  o_navigateA cannot be realised ***

== Checking FDs for Objective with NFRs type:  energy and value:  0.15

Nothing is wrong, there is no FD with energy QA below 0.15
see https://docs.google.com/spreadsheets/d/12aB35Jj4qmarIq3OWHocATmnDfUa6ftp_j09W5twy1g/edit#gid=280179034


Benchmarks are broken

Describe the bug
A clear and concise description of what the bug is.
Hey! I've been trying to run the benchmarks but it seems like the benchmark CSV files are out of date. The benchmarks expect 2 assets whereas the CSV files only give one. In addition, the formatting is wrong for the CSV files as well. I think the deserialization expects ; for separation and the CSV is comma separated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Hi @ec2, thanks for pointing this out. It should be fixed in a day or two. Will update you as soon as this happens.

Thanks!!! 🫡

@ec2, benchmark are fixed now. You can test it yourself or have a look at our results here => https://github.com/summa-dev/summa-solvency/tree/master/zk_prover#benchmarking


Add via git URL not working

[Package Manager Window] Cannot perform upm operation: Unable to add package [https://github.com/vertxxyz/Vertx.Debugging]:
Package name 'https://github.com/vertxxyz/Vertx.Debugging' is invalid. [InvalidParameter].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:356)

https://github.com/vertxxyz/Vertx.Debugging.git is the git url.
I don't advise you add via git, but instead use the instructions listed and use OpenUPM.


[Frontend/Test] Fix flaky lock_interface test

Testing that the compiler rebuilds the same module more than once with -disable-interface-lock was not reliable as some jobs could be executed after the module was rebuilt. Just make sure the compiler accepts the flag.
Also reorder permission change and FileCheck calls to make failures less likely to leave the tmp folder in an unwritable state.
This test was reenabled in #36185.

@swift-ci Please smoke test

@swift-ci Please test Ubuntu 20.04 platform

@swift-ci Please test CentOS 8 platform

Build failed
Swift Test Ubuntu 20.04 Platform
Git Sha - daf9af43ac530aa1c5149e24ee03566fd86e6a7f

The Ubuntu failure is unrelated, the test succeeded on both GNU/Linux platforms.

-j20 seems really arbitrary. What is the test trying to do?

It's trying to build many dependencies of Foo in parallel to make the implicit module build system try to rebuild Foo's module interface more than once. When the lock files are used it triggers a single rebuild, but without the lock files each of the frontend job can trigger its own rebuild. I believe the -j20 is to make sure the driver runs enough job in parallel for it to be noticeable.

This sounds like a stress test, since success/failure depends on good/bad luck. It should therefore have REQUIRES: stress_test in the test.
Why do you think -j20 is the right number? Why not -j2 or -j2000?


comment, standard, optimize

hey @dominictarr,
here's your suggestion implemented.
seems to help a bit, before:
Theoretical max x 20,120,961 ops/sec ±4.86% (10 runs sampled) *burn in*
MiniSignals x 15,381,183 ops/sec ±2.27% (10 runs sampled)
mini-pipe x 14,867,393 ops/sec ±6.16% (10 runs sampled)
EventEmitter x 13,120,457 ops/sec ±3.63% (10 runs sampled)
MicroSignals x 14,177,460 ops/sec ±15.69% (10 runs sampled)
EventEmitter3 x 12,476,861 ops/sec ±9.58% (10 runs sampled)
signal-lite x 12,015,678 ops/sec ±7.56% (10 runs sampled)
dripEmitter x 11,812,423 ops/sec ±11.84% (10 runs sampled)
EventEmitter2 x 14,187,397 ops/sec ±35.18% (10 runs sampled)
push-stream x 10,881,711 ops/sec ±6.01% (10 runs sampled)
ReactiveProperty x 8,956,755 ops/sec ±8.41% (10 runs sampled)
push-stream-patch x 9,345,109 ops/sec ±14.26% (10 runs sampled)
observ x 6,266,037 ops/sec ±11.30% (10 runs sampled)
RXJS x 3,349,851 ops/sec ±8.77% (10 runs sampled)
event-signal x 2,789,982 ops/sec ±5.97% (10 runs sampled)
barracks x 2,835,602 ops/sec ±14.77% (10 runs sampled)
d3-dispatch x 1,726,163 ops/sec ±7.91% (10 runs sampled)
pull-pushable x 1,587,159 ops/sec ±1.94% (10 runs sampled)
dripEmitterEnhanced x 853,680 ops/sec ±1.51% (10 runs sampled)
pull-notify x 437,368 ops/sec ±4.70% (10 runs sampled)
observable x 481,767 ops/sec ±19.53% (10 runs sampled)
signal-emitter x 342,021 ops/sec ±4.01% (10 runs sampled)
minivents x 279,941 ops/sec ±3.11% (10 runs sampled)
JS-Signals x 245,514 ops/sec ±14.47% (10 runs sampled)
namespace-emitter x 188,021 ops/sec ±2.07% (10 runs sampled)

after:
Theoretical max x 19,808,549 ops/sec ±3.05% (10 runs sampled) *burn in*
mini-pipe x 15,498,393 ops/sec ±7.05% (10 runs sampled)
MiniSignals x 13,925,170 ops/sec ±1.46% (10 runs sampled)
MicroSignals x 14,271,370 ops/sec ±7.38% (10 runs sampled)
signal-lite x 12,612,094 ops/sec ±8.09% (10 runs sampled)
push-stream x 11,406,447 ops/sec ±5.96% (10 runs sampled)
ReactiveProperty x 9,201,107 ops/sec ±11.20% (10 runs sampled)
push-stream-patch x 9,684,901 ops/sec ±33.43% (10 runs sampled)
EventEmitter x 7,338,195 ops/sec ±4.14% (10 runs sampled)
EventEmitter3 x 9,146,239 ops/sec ±35.05% (10 runs sampled)
dripEmitter x 8,782,591 ops/sec ±30.70% (10 runs sampled)
EventEmitter2 x 8,932,679 ops/sec ±38.77% (10 runs sampled)
observ x 4,372,794 ops/sec ±1.37% (10 runs sampled)
pull-pushable x 3,401,511 ops/sec ±9.42% (10 runs sampled)
event-signal x 3,043,959 ops/sec ±5.05% (10 runs sampled)
barracks x 2,569,803 ops/sec ±5.57% (10 runs sampled)
RXJS x 2,434,372 ops/sec ±6.69% (10 runs sampled)
d3-dispatch x 1,794,338 ops/sec ±4.04% (10 runs sampled)
dripEmitterEnhanced x 979,185 ops/sec ±7.60% (10 runs sampled)
observable x 396,305 ops/sec ±3.06% (10 runs sampled)
pull-notify x 351,958 ops/sec ±3.27% (10 runs sampled)
signal-emitter x 314,840 ops/sec ±4.41% (10 runs sampled)
minivents x 285,241 ops/sec ±5.31% (10 runs sampled)
JS-Signals x 204,678 ops/sec ±1.78% (10 runs sampled)
namespace-emitter x 182,191 ops/sec ±4.99% (10 runs sampled)

also standard-ized the overall module code and added comments.

doubled!

merged into 2.0.1


SSG allow loading static assets

Command
build
Is this a regression?

[x] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
17
Description
I am using transloco for localization.
When building (used to be prerendering) now the build process tries to render the pages.
In doing so, it hits this loader, which loads a static asset (the language in question)
@Injectable({providedIn: 'root'})
export class HttpLoader implements TranslocoLoader {
  private http = inject(HttpClient);

  getTranslation(langPath: string): Observable<Translation> {
    return this.http.get<Translation>(`assets/i18n/${langPath}.json`);
  }
}

However, the HTTP request fails, since there seems to not be an http server involved in the SSG process.

If I accept not having a server, I need to have a similar behavior to what I do during testing:
    if (isPlatformServer(this.platformId)) {
      const path = require('path');
      const filePath = path.join(__dirname, '..', '..', '..', assetPath);
      console.error('filePath', filePath);
      const fs = require('fs');

      const data = fs.readFileSync(filePath, 'utf8');
      return of(JSON.parse(data));
    }

But this relies on node modules, and the builder errors:

The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.

Therefore, my issues are:

SSG should have some sort of way to load static assets.
SSR should not need the full URL. somehow, it should understand that any path requested is under the same host as the REQUEST.

Minimal Reproduction

Make a new app, with ssr and ssg ("prerender": true, "ssr": {"entry": "src/server.ts"}`)
under src/assets add something.json
in the AppComponent's ngOnInit function, make this.httpClient.get('/assets/something.json').subscribe()
run ng build --configuration=production

Exception or Error
- SSG should have a way to load static assets
- SSR should be able to load assets using HTTP

Your Environment
Angular CLI: 19.0.6
Node: 22.0.0
Package Manager: npm 10.5.1
OS: darwin arm64

Angular: 19.0.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.6
@angular-devkit/build-angular   19.0.6
@angular-devkit/core            19.0.6
@angular-devkit/schematics      19.0.6
@angular/cdk                    19.0.4
@angular/cli                    19.0.6
@angular/material               19.0.4
@angular/ssr                    19.0.6
@schematics/angular             19.0.6
rxjs                            7.8.1
typescript                      5.6.3
zone.js                         0.15.0

Anything else relevant?
In the old prerendering, it used to work.

Load of assets when using SSG has been supported for some time now, Although you are required to use withFetch.
If the problem persists please provide a minimal runnable reproduction of the problem.
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

If I set up a new app:

Added public/something.json file with some content, , and added provideHttpClient(withFetch()), it indeed works.
  private http = inject(HttpClient);

  ngOnInit() {
    this.http.get('something.json').pipe(
      tap((res: any) => console.log("Success", res)),
      catchError((err: any) => {
        console.log("Error", err);
        return of(null);
      })
    ).subscribe();
  }

Indeed prints "success"

However, in my app, I am using withFetch
    provideHttpClient(withFetch(), withInterceptorsFromDi()),

But still it doesn't work:
Couldn't load translation file 'assets/i18n/en.json' dt {
  headers: e {
    headers: Map(0) {},
    normalizedNames: Map(0) {},
    lazyInit: undefined,
    lazyUpdate: null
  },
  status: 0,
  statusText: 'Unknown Error',
  url: 'assets/i18n/languages/en.json',
  ok: false,
  type: undefined,
  name: 'HttpErrorResponse',
  message: 'Http failure response for assets/i18n/languages/en.json: 0 undefined',
  error: TypeError: Invalid URL


Connection times out

An error is displayed on the map "operation timed out retry"

Hi @kabads - this is the correct operation and is caused by a network timeout as a result of the locations not being received from the server in a timely manner -something that usually occurs on poor internet connected devices.
Please retry, either by reloading the page, or clicking the 'retry' button that appears.


Decide on how config files should be formatted

Background

#3636 provides some good suggestions for how config files could be formatted to better support many types of non-SDK chains. We could consider adopting some (or all) of the suggestions.
Tasks

[ ] Decide on how config files should be formatted

For Admin Use

[ ] https://github.com/informalsystems/hermes/labels/tracking or https://github.com/informalsystems/hermes/labels/okr label (as well as any other appropriate labels) applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged

We may also want to consider whether or not we want to stick with TOML or not.


etcd cluster was reporting network timeouts without clue on what is going on

etcd status and logs, we have 3 masters , the same issue happened frequently causing the cluster down.
azureuser@k8s-master-95CA054F-0:~$ etcd --version
etcd Version: 2.2.5
Git SHA: Not provided (use ./build instead of go build)
Go Version: go1.6.2
Go OS/Arch: linux/amd64
azureuser@k8s-master-95CA054F-0:~$ sudo systemctl cat etcd
/lib/systemd/system/etcd.service
[Unit]
Description=etcd - highly-available key value store
Documentation=https://github.com/coreos/etcd
Documentation=man:etcd
After=network.target
Wants=network-online.target
[Service]
Environment=DAEMON_ARGS=
Environment=ETCD_NAME=%H
Environment=ETCD_DATA_DIR=/var/lib/etcd/default
EnvironmentFile=-/etc/default/%p
Type=notify
User=etcd
PermissionsStartOnly=true
#ExecStart=/bin/sh -c "GOMAXPROCS=$(nproc) /usr/bin/etcd $DAEMON_ARGS"
ExecStart=/usr/bin/etcd $DAEMON_ARGS
Restart=always
#RestartSec=10s
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
Alias=etcd2.service
Master 0
Apr 05 23:56:12 k8s-master-95CA054F-0 etcd[1235]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036a9d23.snap successfully
Apr 06 00:04:02 k8s-master-95CA054F-0 etcd[1235]: the connection with 91d25258d70ad868 became inactive
Apr 06 00:04:02 k8s-master-95CA054F-0 etcd[1235]: failed to read 91d25258d70ad868 on stream MsgApp v2 (read tcp <IP_ADDRESS>:60792-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:04:04 k8s-master-95CA054F-0 etcd[1235]: failed to read 91d25258d70ad868 on stream Message (read tcp <IP_ADDRESS>:47810-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:04:05 k8s-master-95CA054F-0 etcd[1235]: the connection with 91d25258d70ad868 became active
Apr 06 00:05:44 k8s-master-95CA054F-0 etcd[1235]: start to snapshot (applied: 57378697, lastsnap: 57368696)
Apr 06 00:05:44 k8s-master-95CA054F-0 etcd[1235]: saved snapshot at index 57378697
Apr 06 00:05:44 k8s-master-95CA054F-0 etcd[1235]: compacted raft log at 57373697
Apr 06 00:06:12 k8s-master-95CA054F-0 etcd[1235]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036ac434.snap successfully
Apr 06 00:15:19 k8s-master-95CA054F-0 etcd[1235]: start to snapshot (applied: 57388698, lastsnap: 57378697)
Apr 06 00:15:19 k8s-master-95CA054F-0 etcd[1235]: saved snapshot at index 57388698
Apr 06 00:15:19 k8s-master-95CA054F-0 etcd[1235]: compacted raft log at 57383698
Apr 06 00:15:42 k8s-master-95CA054F-0 etcd[1235]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036aeb45.snap successfully
Apr 06 00:24:56 k8s-master-95CA054F-0 etcd[1235]: start to snapshot (applied: 57398699, lastsnap: 57388698)
Apr 06 00:24:57 k8s-master-95CA054F-0 etcd[1235]: saved snapshot at index 57398699
Apr 06 00:24:57 k8s-master-95CA054F-0 etcd[1235]: compacted raft log at 57393699
Apr 06 00:25:12 k8s-master-95CA054F-0 etcd[1235]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036b1256.snap successfully
Apr 06 00:31:46 k8s-master-95CA054F-0 etcd[1235]: the connection with 2a0965170762fd09 became inactive
Apr 06 00:31:46 k8s-master-95CA054F-0 etcd[1235]: failed to read 2a0965170762fd09 on stream MsgApp v2 (read tcp <IP_ADDRESS>:49916-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:31:48 k8s-master-95CA054F-0 etcd[1235]: the connection with 2a0965170762fd09 became active
Apr 06 00:32:21 k8s-master-95CA054F-0 etcd[1235]: the connection with 2a0965170762fd09 became inactive
Apr 06 00:32:21 k8s-master-95CA054F-0 etcd[1235]: failed to read 2a0965170762fd09 on stream MsgApp v2 (read tcp <IP_ADDRESS>:54326-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:32:21 k8s-master-95CA054F-0 etcd[1235]: failed to read 2a0965170762fd09 on stream Message (read tcp <IP_ADDRESS>:49914-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:32:25 k8s-master-95CA054F-0 etcd[1235]: the connection with 2a0965170762fd09 became active
Master 1
Apr 05 23:55:58 k8s-master-95CA054F-1 etcd[1190]: start to snapshot (applied: 57368696, lastsnap: 57358695)
Apr 05 23:55:58 k8s-master-95CA054F-1 etcd[1190]: saved snapshot at index 57368696
Apr 05 23:55:58 k8s-master-95CA054F-1 etcd[1190]: compacted raft log at 57363696
Apr 05 23:56:13 k8s-master-95CA054F-1 etcd[1190]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036a9d22.snap successfully
Apr 06 00:04:02 k8s-master-95CA054F-1 etcd[1190]: the connection with 91d25258d70ad868 became inactive
Apr 06 00:04:02 k8s-master-95CA054F-1 etcd[1190]: failed to read 91d25258d70ad868 on stream MsgApp v2 (read tcp <IP_ADDRESS>:45122-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:04:02 k8s-master-95CA054F-1 etcd[1190]: failed to read 91d25258d70ad868 on stream Message (read tcp <IP_ADDRESS>:45124-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:04:05 k8s-master-95CA054F-1 etcd[1190]: the connection with 91d25258d70ad868 became active
Apr 06 00:05:44 k8s-master-95CA054F-1 etcd[1190]: start to snapshot (applied: 57378697, lastsnap: 57368696)
Apr 06 00:05:44 k8s-master-95CA054F-1 etcd[1190]: saved snapshot at index 57378697
Apr 06 00:05:44 k8s-master-95CA054F-1 etcd[1190]: compacted raft log at 57373697
Apr 06 00:06:13 k8s-master-95CA054F-1 etcd[1190]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036ac434.snap successfully
Apr 06 00:14:20 k8s-master-95CA054F-1 etcd[1190]: segmented wal file /var/lib/etcddisk/member/wal/000000000000019a-00000000036baa91.wal is created
Apr 06 00:14:42 k8s-master-95CA054F-1 etcd[1190]: purged file /var/lib/etcddisk/member/wal/0000000000000195-0000000003625ac4.wal successfully
Apr 06 00:15:19 k8s-master-95CA054F-1 etcd[1190]: start to snapshot (applied: 57388698, lastsnap: 57378697)
Apr 06 00:15:20 k8s-master-95CA054F-1 etcd[1190]: saved snapshot at index 57388698
Apr 06 00:15:20 k8s-master-95CA054F-1 etcd[1190]: compacted raft log at 57383698
Apr 06 00:15:43 k8s-master-95CA054F-1 etcd[1190]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036aeb45.snap successfully
Apr 06 00:24:56 k8s-master-95CA054F-1 etcd[1190]: start to snapshot (applied: 57398699, lastsnap: 57388698)
Apr 06 00:24:57 k8s-master-95CA054F-1 etcd[1190]: saved snapshot at index 57398699
Apr 06 00:24:57 k8s-master-95CA054F-1 etcd[1190]: compacted raft log at 57393699
Apr 06 00:25:13 k8s-master-95CA054F-1 etcd[1190]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036b1256.snap successfully
Apr 06 00:32:25 k8s-master-95CA054F-1 etcd[1190]: the connection with 134af6e5d3e35861 became inactive
Apr 06 00:32:25 k8s-master-95CA054F-1 etcd[1190]: failed to heartbeat 134af6e5d3e35861 on stream Message (write tcp <IP_ADDRESS>:2380-><IP_ADDRESS>:49914: write: broken pipe)
Apr 06 00:32:25 k8s-master-95CA054F-1 etcd[1190]: the connection with 134af6e5d3e35861 became active
Apr 06 00:32:29 k8s-master-95CA054F-1 etcd[1190]: etcdserver: request timed out, possibly due to connection lost
Apr 06 00:32:29 k8s-master-95CA054F-1 etcd[1190]: etcdserver: request timed out, possibly due to connection lost
Apr 06 00:32:32 k8s-master-95CA054F-1 etcd[1190]: etcdserver: request timed out, possibly due to connection lost
Apr 06 00:32:32 k8s-master-95CA054F-1 etcd[1190]: etcdserver: request timed out, possibly due to connection lost
Master 2
Apr 06 00:25:25 k8s-master-95CA054F-2 etcd[1204]: purged file /var/lib/etcddisk/member/snap/0000000000000626-00000000036b1257.snap successfully
Apr 06 00:31:46 k8s-master-95CA054F-2 etcd[1204]: the connection with 2a0965170762fd09 became inactive
Apr 06 00:31:46 k8s-master-95CA054F-2 etcd[1204]: failed to read 2a0965170762fd09 on stream Message (read tcp <IP_ADDRESS>:54168-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:31:46 k8s-master-95CA054F-2 etcd[1204]: failed to read 2a0965170762fd09 on stream MsgApp v2 (read tcp <IP_ADDRESS>:54291-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:31:49 k8s-master-95CA054F-2 etcd[1204]: the connection with 2a0965170762fd09 became active
Apr 06 00:32:21 k8s-master-95CA054F-2 etcd[1204]: the connection with 2a0965170762fd09 became inactive
Apr 06 00:32:21 k8s-master-95CA054F-2 etcd[1204]: failed to read 2a0965170762fd09 on stream Message (read tcp <IP_ADDRESS>:52936-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:32:21 k8s-master-95CA054F-2 etcd[1204]: failed to read 2a0965170762fd09 on stream MsgApp v2 (read tcp <IP_ADDRESS>:52938-><IP_ADDRESS>:2380: i/o timeout)
Apr 06 00:32:24 k8s-master-95CA054F-2 etcd[1204]: the connection with 2a0965170762fd09 became active
Apr 06 00:34:20 k8s-master-95CA054F-2 etcd[1204]: start to snapshot (applied: 57408707, lastsnap: 57398706)
Apr 09 07:21:52 k8s-master-95CA054F-0 etcd[1235]: the connection with 91d25258d70ad868 became inactive
Apr 09 07:21:52 k8s-master-95CA054F-0 etcd[1235]: failed to read 91d25258d70ad868 on stream MsgApp v2 (read tcp <IP_ADDRESS>:45016-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:21:53 k8s-master-95CA054F-0 etcd[1235]: failed to read 91d25258d70ad868 on stream Message (read tcp <IP_ADDRESS>:45002-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:21:53 k8s-master-95CA054F-0 etcd[1235]: failed to reach the peerURL(http://<IP_ADDRESS>:2380) of member 91d25258d70ad868 (Get http://<IP_ADDRESS>:2380/version: read tcp <IP_ADDRESS>:55308->10.240.255Apr 09 07:21:53 k8s-master-95CA054F-0 etcd[1235]: cannot get the version of member 91d25258d70ad868 (Get http://<IP_ADDRESS>:2380/version: read tcp <IP_ADDRESS>:55308-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:21:57 k8s-master-95CA054F-0 etcd[1235]: failed to dial 91d25258d70ad868 on stream MsgApp v2 (read tcp <IP_ADDRESS>:55330-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:21:58 k8s-master-95CA054F-0 etcd[1235]: failed to dial 91d25258d70ad868 on stream Message (read tcp <IP_ADDRESS>:55334-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:22:03 k8s-master-95CA054F-0 etcd[1235]: failed to dial 91d25258d70ad868 on stream MsgApp v2 (read tcp <IP_ADDRESS>:55348-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:22:03 k8s-master-95CA054F-0 etcd[1235]: failed to dial 91d25258d70ad868 on stream Message (read tcp <IP_ADDRESS>:55350-><IP_ADDRESS>:2380: i/o timeout)
Apr 09 07:22:03 k8s-master-95CA054F-0 etcd[1235]: failed to reach the peerURL(http://<IP_ADDRESS>:2380) of member 91d25258d70ad868 (Get http://<IP_ADDRESS>:2380/version: read tcp <IP_ADDRESS>:55358->10.240.255Apr 09 07:22:03 k8s-master-95CA054F-0 etcd[1235]: cannot get the version of member 91d25258d70ad868 (Get http://<IP_ADDRESS>:2380/version: read tcp <IP_ADDRESS>:55358-><IP_ADDRESS>:2380: i/o timeout)

failed to read 2a0965170762fd09 on stream MsgApp v2 (read tcp <IP_ADDRESS>:52938-><IP_ADDRESS>:2380: i/o timeout)

Seems like network faults from outside of etcd?


Query-expressions that construct maps and tables should not always have error type

Description:
$title. This should be fixed after fixing https://github.com/ballerina-platform/ballerina-lang/issues/36181.
Steps to reproduce:
Ex.
type Employee record {|
    readonly int id;
    string firstName;
|};

public function main() {
    table<Employee> key(id) employees = table [
        {id: 1, firstName: "John"}
    ];

    table<Employee> key(id) highPaidEmployees = table key(id) from var e in employees
                            select e; // expected 'table<Employee> key(id)', found '(table<Employee> key(id)|error)'
// Here, both `from-clause` and `select-clause` will not complete early with an error value.
// Therefore, for this scenario, compiler should allow this statement.
// Same for map case also
}

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Table case which is described in https://github.com/ballerina-platform/ballerina-lang/issues/36686 will be fixed with https://github.com/ballerina-platform/ballerina-lang/issues/36686

@SandaruJayawardana shall we back-port the fix to applicable branches

@SandaruJayawardana shall we back-port the fix to applicable branches
Sure. I will send this fix to 2201.2.x.

https://github.com/ballerina-platform/ballerina-lang/pull/37925 will fix this issue in 2201.2.x branch.


chore: bdd-gh-1583181715 to 0.0.1

chore: Promote bdd-gh-1583181715 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix copy and paste on local backend

Pull Request Description
This PR adds check for localBackend on dragOver event

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[ ] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

Why when I drag n drop something (or drag out) to the local directory it is automatically sorted? its big annoying tbh can we fix that?
https://github.com/user-attachments/assets/33176290-072c-4802-a61b-a705dd0cbde0

@somebody1234 is it something with the default sorting?

@PabloBuchu Found a place where we sort by the modified date. Removed this

@MrFlashAccount it still sorts when you rename a catalog. It works properly now on develop when renaming do not change directories order

@PabloBuchu it's expected behavior. We sort things on each refetch. Folders come first, everything sorted alphabetically,
For example, this is how it works in Gdrive:
https://github.com/user-attachments/assets/cb154749-e3fe-4d67-9940-75ad54b59ef0

@MrFlashAccount not sure what do you call expected behaviour here.
https://github.com/user-attachments/assets/248fb2ed-3963-40d9-9228-1ae1976ab698
https://github.com/user-attachments/assets/da89e558-30f9-4261-adc1-d00b9919853b
Both examples (gdrive and develop) shows that renaming does not triggers sorting. Not sure whats different in your example but probably you have set non default sorting. It does nothing to do with refetch as reload nor refetch does not resort directories
https://github.com/user-attachments/assets/ce05a2e4-7671-40e2-a65c-771c134c6edf
Right now however renaming makes catalogs jumping around which is bit annoying

also click to rename feels really hard to trigger but I guess its not topic of this PR

So we have only 2 options here:

Keep it as intended
Remove alphabetic sorting entirely


Create script to copy from submodules

Pull requests:

https://github.com/Senzing/g2-python/pull/119