Quickstarts nits part 3

More little improvements for misc quickstarts
Nits

[x] small typo in apache description / summary. i think should be : instead of ;
[x] windows event log documentation link 404s

I asked the docs hero about where this could have move to

[ ] network data ingest and cardinality needs doc/install button visible

I've reached out to @thezackm about this

haven't heard back from @thezackm yet on network data ingest and cardinality needs doc/install button visible but he can push an update to that Quickstart when he reviews the issue.


Turn "interesting ideas in Datasette" into part of the documentation

I wrote this a few years ago: https://simonwillison.net/2018/Oct/4/datasette-ideas/
It could do with an update, but it would also work better as evergreen content - kind of like how the SQLite documentation includes https://www.sqlite.org/appfileformat.html and https://www.sqlite.org/np1queryprob.html

This could go in the official docs, or it could go on https://datasette.io/
I'm inclined to put it on datasette.io since it's more about marketing than it is about showing people how to use the tool - though it could be a good fit in either place.
Having it outside the docs does mean I can update it without shipping a new stable release.

Moving this to the datasette.io repo. I'm going to put these docs there.


test_operator.test_unary_math_operators has fixed seed that can mask flakiness

The unit test in title have been using fixed seed to mask flakiness. Suggested action:

Evaluate whether the test is flaky without fixed seed. If not, remove seed. Else move to 2
If test is flaky, determine whether it's an actual uncaught edge case. If so, fix the operator. Else move to 3
If numerical instability is inevitable, adjust tolerance level appropriately.

@szha Thanks for filing this issue. We will investigate these Flaky tests.

Test is failing for the cbrt operator using seeds<PHONE_NUMBER> and 622837949. In both cases the error looks to occur when the random number generator creates very small numbers like 3.97272133e-05 and 5.99873512e-05.

@mxnet-label-bot: ["Good First Issue"]

@mxnet-label-bot [Good First Issue]


Add issue and pull request template

We could add this to have consistency across all other orbs project

Hey, I'd like to work on this issue. Would you mind assigning me this one and adding the orbtoberfest label?

@Shaedil I'm waiting for it to be assigned to me so that I could start working on it 😅


num.replace not function v11 to v12

commands have an num.replace not function error
I got the error in the anime search command error line
https://github.com/ravener/miyako/blob/135b3648e40eb5cff7a141d81a318f032df52a11/src/structures/Command.js#L114

I was aware of that issue for long but i didn't properly read the stack trace I thought the API response changed and so I became lazy to fix it. But that was a very simple mistake, I just pushed a fix.


SchemaDirectiveVisitor for @hasScope must implement visitQuery method

directive @hasScope(scope: [String]) on QUERY | FIELD

Something in the most recent 2.23.0 version of graphql-tools breaks my whole API.
I cannot find any breaking change in the changelog (or any changelog at all for this version!).
Everything works fine prior to this version.
What do I need to do?

Okay, apparently, I needed to change
directive @hasScope(scope: [String]) on QUERY | FIELD

to
directive @hasScope(scope: [String]) on FIELD_DEFINITION

then it works again but still, this is somewhat a breaking change that was not documented.

Thanks for the reminder about the changelog: https://github.com/apollographql/graphql-tools/blob/master/CHANGELOG.md#v2230
You've identified an unintended bug in the way we enforce directive declarations, so this is something we will fix, rather than documenting it as a breaking change.
Specifically, SchemaDirectiveVisitor can only visit locations in a schema, such as FIELD_DEFINITION, so we shouldn't be enforcing that subclasses implement visitor methods corresponding to query locations like QUERY or FIELD.


Standard compliant HTTP Response codes

Hello,
Presently the API returns non-standard complaint HTTP response codes. This causes reverse proxies such as Apache 2.4 to drop the responses:
[Thu Jun 27 18:23:12.684170 2019] [proxy_http:error] [pid 11733] (70014)End of file found: [client <IP_ADDRESS>:53670] AH01102: error reading status line from remote server <IP_ADDRESS>:8000
[Thu Jun 27 18:23:12.684611 2019] [proxy:error] [pid 11733] [client x.x.x.x:53670] AH00898: Error reading from remote server returned by /powerdns-admin/api/v1/pdnsadmin/apikeys
I'm proposing the following changes to the HTTP response codes, as I cannot see them being used anywhere else I don't think this should break any workflows.

The correct code a forbidden response would be 403 instead of 401 I think.

Thanks for submitting the PR.
Agree with the above commend, the code for a forbidden should be 403. Can we change it?

I made the change and updated the commit.

Merged it. Thanks for your contribution!


Create a list of storage items on the settings page for easier debugging

Should create a scroll-able box that contains:

Local storage key-value pairs
Cookies key-value pairs

Closed by #53


Update getting-started.md

At the beginning, should include the description such as 'don't include via any script'.

Lodash is being included via a script though, the basic setup section is meant to be written all at once. There shouldn't be any intermediate steps, and if it wasn't included via a <script> tag, none of the code in that script would run.


Production experience?

Hi, this looks very promising for a project where we would run this on iOS/macOS wrapped in Swift, and also compiled to wasm for web.
Are there any production experiences with this to share, or demos / products which integrate it that we could try out? How does it compare with the popular "fzf" algorithm for instance, or other popular fuzzy match tools? Thank you.

Hi,
This projet was initially developped for this research paper: https://aclanthology.org/2020.acl-main.144. As far as I know there are no comparisons with other algorithms and no public demos or products using this project directly.


RenderGraph: Rewrite pipelines

I originally thought that pipelines similar to rendy might make sense, but we need to structure the trait a bit more inline with how wgpu handles pipelines and rendering. This mainly means getting rid of the prepass phase, or maybe moving any encoder changes to it. Originally I thought we could just reuse command buffers, but wgpu doesn't really let you do that, also I'm not sure there is performance benefit to doing so. Things to do:

Rewrite prepare stuff (remove dirty, remove PrepareResult)
Provide a better mechanism for passing data into a pipeline.
Look into using 1 command buffer over many?
Look into using 1 render pass instead of many?
Perhaps benchmark to see which way seems to be the best.

Item one has been rewritten a little bit, but more work is needed.

Closing this issue as it's addressed by other things.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.9 to before v5.10.102",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=09854ba94c6aad7886996bfbee2530b3d8a7f4f4",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=254090925e16abd914c87b4ad1b489440d89c4c3"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "09854ba94c6aad7886996bfbee2530b3d8a7f4f4",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "254090925e16abd914c87b4ad1b489440d89c4c3",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "mm: don't try to NUMA-migrate COW pages that have other uses\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.102 by commit 254090925e16abd914c87b4ad1b489440d89c4c3, it was introduced in version v5.9 by commit 09854ba94c6aad7886996bfbee2530b3d8a7f4f4. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000385


Using dxf-parser behind Requirejs

So, I am pretty new to RequireJS, but I am trying to integrate your library into https://github.com/openhardwarecoza/widget-laserweb/blob/master/widget.js#L31
But lower down when I run https://github.com/openhardwarecoza/widget-laserweb/blob/master/widget.js#L528
It complains that DxfParser is not defined.


Axis rotated bar chart clips axis x tick text

Using this config
{
data: {
type: 'bar',
json: [{"key":"Quia enim ut.","value":24},{"key":"Omnis et dolor ea quod exercitationem sint quo ut tempora doloremque.","value":46}],
keys: {
x: 'key',
value: ['value']
},
labels: true
},
axis: {
rotated: true,
x: {
type: 'category',
tick: {
multiline: true
}
}
},
legend: {
show: false
},
bar: {
width: 16
},
grid: {
y: {show: true}
},
tooltip: {show: false}
}
here
http://c3js.org/samples/chart_combination.html
Displays the second bar tick text clipped, i was also wondering how to display the whole text using multiline false?

Marking as an bug because axes shouldn't clip labels regardless of size. That said, is a bit of an edge-case.


Added function vfs_spiffs_truncate to solve issue https://github.com/espressif/esp-idf/issues/2234 (IDFGH-2880)

Hi,
I have added vfs_spiffs_truncate  in esp_spiffs.c file.
I have also implemented the function in SPIFFS submodule. See here for the pull request to the repository
https://github.com/pellepl/spiffs/pull/218
Thanks

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

any progress on accepting this pull request?

Hi @milamber-ls we need the respective PR merged into SPIFFS repository first, as soon as this happens we can accept this PR.

Thanks for your contribution again and sorry for the very slow turnaround, changes merged with https://github.com/espressif/esp-idf/commit/b95d2e30d08f371a5e62a2bee91e5cef6e696bc8


AVRO-2921 Add Type Hints to avro.schema

What is the purpose of the change
This is part of the incremental effort to add type checking to the Python implementation.
Verifying this change
This change is already covered by existing tests.
Documentation
This change does not add any new user-facing features. Type annotations may add clearer responses for users who elect to run a type checker. Hopefully those responses are sufficient documentation in themselves.

@RyanSkraba if you're not the right person to review this, can you suggest someone else? (I don't even think it necessarily needs to be someone with the commit bit.)


[BUG] API change causes "bodyObject.filter is not a function" in getRankNameInGroup

Before posting a bug, be sure that someone else has not posted it already and it is an actual bug with noblox.js and not other frameworks like discord.js
Describe the bug
When using the getRankNameInGroup related things, you get the error bodyObject.filter is not a function I went to investigate the node module code and found that the API endpoint in use (//api.roblox.com/users/${userId}/groups) now returns a 404 error.
To Reproduce
Steps to reproduce the behavior:

Go to the API endpoint used in getRankNameInGroup.js;
Use someone's ID on it;
It is now a 404 error.

You're actually on an outdated version, consider updating.


Don’t create new revisions when editing a user’s own test during the same session

Editing one of your own tests should not create a new revision. Only create a new revision when the test author != the current user.

The title and description feel at odds to me. Now that we have GitHub auth, is session still how "current user" should be measured?
Once github_user_1 creates a page, should they always edit the same revision of the page?
I've been thinking more and more how to introduce proper "users" now that there's dedicated auth. Are revisions now like forking a repo (max/jsperf => mathias/jsperf)? that could open up possibilities for #252 (what have I done?)

Basically, I think keeping all the PHP-Session-based logic and layering on GitHub auth is the real root of all the editing problems. It may be possible to plug the holes but would be better long term to flesh out a user concept

Are revisions now like forking a repo (max/jsperf => mathias/jsperf)?

That would change the URL structure, which I’m opposed to.

Once github_user_1 creates a page, should they always edit the same revision of the page?

Absolutely! GitHub users are the new sessions, basically. 👍

In the meantime, this could be implemented by adding new revisions to a user's own session jar var when created. This should make it work while the session is still active.

fixed by #325. now, new revisions are not created when the original author makes edits


Allow filtering events when subscribing to them

It looks like I can call service.addEventListener but there is no way to filter those events before sending them over the wire to the client. This means that for a busy service, this could send a lot of events to the client, even if client is interested only in a subset of events.
For example, in SimplePeg I would like to listen to events that conversion for a particular user is completed. But it looks like I have to listen for events for all users.

For now, if you want web3 filters, use the Web3Gateway's eth.subscribe method directly. See https://oasis-labs-oasis-client.readthedocs-hosted.com/en/latest/gateways.html#subscriptions.


fixed faq issue

Title and Issue number

Title : FAQs answers not visible
Issue No. : #347
Code Stack :
Close #347

I have fixed the faq issue
Now the faq answers are visible
Also there were some issues in footer regarding tags
I also solved it
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md if its a new page/tech stack
[ ] I have gone through the  contributing.md file before contributing

Are you contributing under any Open-source programme?

[x] I'm a GSSOC-EXT contributor
[x] I'm a HACKTOBERFEST contributor

resolve conflicts

any updates

@Gauravtb2253 Sorry for the late reply, fix conflicts

done


Some labels are duplicate

Thanks for your great work on VCSL dataset! When checking test pair in split_meta_pairs.json, we found about 1% of the labels are self-duplicate (e.g. e45b9eec5ea54e00a2d6e6689cd5fe92-e45b9eec5ea54e00a2d6e6689cd5fe92, dd44c4be9fdc4c95bdf075e7e756294e-dd44c4be9fdc4c95bdf075e7e756294e)  or query-reference reverse duplicate (e.g. dd44c4be9fdc4c95bdf075e7e756294e-0a25c04af29940e5b34676b6c1a7eca1(label:[[65, 1, 79, 156]]) and 0a25c04af29940e5b34676b6c1a7eca1-dd44c4be9fdc4c95bdf075e7e756294e(label:[[1, 65, 156, 79]])). And labels of some query-reference reverse duplicate pairs are different (e.g. dd44c4be9fdc4c95bdf075e7e756294e-ca334995c55c45af93dee776799f0433(label:[[52, 9, 82, 44], [68, 84, 82, 96], [9, 1, 16, 7], [46, 97, 49, 100], [47, 45, 49, 47]]) and ca334995c55c45af93dee776799f0433-dd44c4be9fdc4c95bdf075e7e756294e (label:[[9, 52, 44, 82], [1, 9, 7, 16], [97, 46, 100, 49]])). These duplicate pairs may cause inaccurate results. I would like to ask that are these duplicate pairs made by mistake or by designed, thank you!

Thank you for the feedback! For the "self-duplicate" pairs, we consider them as special and valid cases. The models are expected to consider one video as "copying" itself.

Our annotation process has several stages with interactions between human annotators and algorithms, and occasionally those "query-reference reverse duplicates" could be included (about 1% of the total pairs). Most of these pairs have equivalent labels as your second example, but when the duplicates were processed by different annotator, the labels could be inconsistent (about 0.3% of the total pairs). We remove the "query-reference reverse duplicates" and tested the TransVCL model, the F1-score is 66.41. The difference with the number in the paper (66.51) is pretty small.

To clear up concerns, we will remove those duplicates and update the benchmark. Thanks again!


Ability for a generator to log after its default success message

Problem

https://github.com/prisma/nexus-prisma/issues/46#issuecomment-843268529
Instead of this:
You can now start using Nexus Prisma in your code. Reference: https://pris.ly/d/nexus-prisma

✔ Generated Prisma Client (2.22.0) to ./node_modules/@prisma/client in 122ms

✔ Generated Nexus Prisma to ./node_modules/nexus-prisma/dist/runtime in 3.26s
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client

It should be:
✔ Generated Prisma Client (2.22.0) to ./node_modules/@prisma/client in 122ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client

✔ Generated Nexus Prisma to ./node_modules/nexus-prisma/dist/runtime in 3.26s
You can now start using Nexus Prisma in your code. Reference: https://pris.ly/d/nexus-prisma

Suggested solution

When a generator logs, put the info after the success message. Or better yet maybe offer a log API that is given to generators that they use instead of just raw process.stdout. then Prisma generator system gets all the input and has high degree of control on how to manage this.
Also a generator logger would ensure all generators use the same log style. For example the Prisma logger given to generators could include things like log.error log.success etc. so that these semantic things are all sharing the same DX for the community across generators.
Anyways, right now I just want the right log order! :D
Alternatives

Additional context

CC @Jolg42 we can continue the discussion here

I am pretty sure we have an issue somewhere already that the You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client output is in the wrong place and should always happen after the ✔ Generated Prisma Client ... line.


Gemini Lake is unsupported?

I stumbled upon this project today and tried to run it on my N4100 based laptop, but was greeted with an unsupported processor error:
Error: unsupported processor. Only Intel(R) processors are supported (Atom(R) and microarchitecture codename Nehalem/Nehalem-EP, Atom(tm), Westmere/Clarkdale, Sandy Bridge, Westmere-EP, Sandy Bridge-EP/Jaketown, Nehalem-EX, Westmere-EX, unknown, Centerton, Baytrail, Ivy Bridge, Haswell, Broadwell, Ivy Bridge-EP/EN/EX/Ivytown, Haswell-EP/EN/EX, Cherrytrail, Avoton, Skylake U/Y, Broadwell-EP/EX, Skylake-SP, Cascade Lake-SP, Broadwell-DE, Knights Landing, Apollo Lake, Skylake, Denverton, Icelake-SP, Icelake, Snowridge, Tiger Lake, Kabylake/Whiskey Lake, Alder Lake, Kabylake, Comet Lake, Rocket Lake). CPU model number: 122 Brand: "Intel(R) Celeron(R) N4100 CPU @ 1.10GHz"
It seems like an oversight to me for Apollo Lake to be supported but not Gemini lake, as Gemini Lake should support a super set of Apollo Lake's features.

thanks for the report. We will consider your request

this should be resolved now


Feature Request: Add 'crystal' format to crystal tool hierarchy

In addition to text or json for crystal tool hierarchy, add a crystal option that emits legal crystal code suitable for copy and paste into text editor.
The intent would be for the developer to:

get increased clarity of instance variables.
be able to copy and paste this code to more formally declare their instance variables, perhaps at the top of the class/struct, in a header-like file or however they see fit.
to see what instance variables are available when re-opening a class.
could be used in a possible future --strict mode to formally declare instance variables, similar to Go declaring struct members.

For example:
file.cr
class Animal
    def initialize(x : String)
        @name = x
    end

    def legs
        @legs = 2
    end
end

class Dog < Animal
    def talk
        @says = "woof"
    end
end

# reopen class
class Animal
    def tail(x : Bool)
        @tail = x
    end
end

crystal tool hierarchy --format crystal file.cr would yield:
class Animal # (48 bytes)
    @name : String        # ( 8 bytes)
    @legs : (Int32 | Nil) # (16 bytes)
    @tail : (Bool | Nil)  # (16 bytes)
end

class Dog < Animal # (56 bytes)
    @says : (String | Nil) # (8 bytes)
end

Should byte size comments be optional or not be there at all?

Should byte size comments be optional or not be there at all?

It's useful when you're working on low level stuff and really mind about memory layout, so maybe there's value in having it as an (off by default) option.


Gnosis class weirdness around onNewBlock events

Notice a strange issue within the UI while I was QA-ing Gnosis safe.
There seems to be two instances of the Gnosis class. Inside Gnosis.ts, the private method onNewBlock which is called on each new block seems to be only being caught on one of the two instances, the instance that also doesn't contain any of the relevant Gnosis data we need to listen to.
Not sure if it's related, or another issue, but furthermore, the UI will sometimes just stop receiving onNewBlock events - which causes balances and gnosis states to freeze until the page is refreshed or another TX is triggered.

@andrewdamelio The two instance thing is expected. There will be one on each side of the webworker boundary. One is tied into blockstream and the other is not which should account for what you are seeing.

So a fix is required @justinbarry? To allow the UI to get these events?


Problem when try to connect to chat with token

I'm facing this problem when i try to login using a backend-generated token. It was working until yesterday.

We are investigation re root cause
Will update shortly with more info
Thank you for raising the issue

@henriquetroiano the root cause is identified,
the fix is on the waY

@henriquetroiano the patch is applied on server
Please let us know  whether the issue is resolved

Thank you for the support. It working now. I'll close this issue. Any update for the issue number 93?


Add readOnly prop to Checkbox

Checklist

[x] Build process is done without errors. All tests pass in the /lib directory.
[x] Self-reviewed the code before submitting.
[x] Meets accessibility standards.
[x] Added/updated documentation to /website as needed.
[x] Added/updated tests as needed.

Description
The new read-only variant of the Checkbox.
Closes #1692

Could you please do this change also in the tokens we have in the files defaultAdvancedTheme.ts, advanced-theme.json and advanced.schema.json?

Could you please do this change also in the tokens we have in the files defaultAdvancedTheme.ts, advanced-theme.json and advanced.schema.json?
This will be done when readOnly is added to all components.


UnicodeEncodeError: Unencoded UTF-8 unicode in ARSC._analyze

The bug is here : https://github.com/androguard/androguard/blob/a18256203d7af751c8862b04b15b15c23225b54f/androguard/core/bytecodes/axml.py#L1017
language and region are <unicode> type but are being used as string. This raised the following error:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xa4' in position 0: ordinal not in range(128)

u'\xa4' being some unicode region name.

Androguard Version: master
Python Version: 2.7.10
Operating System: Mac OS

I also saw your PR! Thanks for that! Have you tested this with python3.x as well? Can you upload the AXML file here or even write a short testcase? I remember that I tried to fix this but had troubles propagating the changes all the way through all the functions...

@reox I haven't tested with 3.x but I can do that. I can add a testcase for this as well. However, I think this fix should be pretty isolated enough to not effect other functions since it's only used to format a string that gets assigned to a locale variable.
Are we're looking for a more "universal" fix?

that would be very appreciated, thanks!

Are we're looking for a more "universal" fix? Then we better off looking into ARSCResTableConfig.

yes and no. I read through the whole ARSC parser once and i think there is much which needs to be rewritten anyways. Then, the universal fix would be to decide which parts are actually strings and which are bytes. Unfortunately, python2 was very sloppy with bytes/strings conversions, thus there are many problems now, that androguard runs on py3.
So please, do not chase the rabbit too long. If the fix works in both py3 and py2 its fine for now!

Actually if these lines
https://github.com/androguard/androguard/blob/a18256203d7af751c8862b04b15b15c23225b54f/androguard/core/bytecodes/axml.py#L1012-L1017
were replaced by

locale = a_res_type.config.get_language_and_region()

It achieved the same without the error. Can you take a look?

yes, that one looks better. would you like to change that in your PR?

It looks like the fix did not work and made the resource parser unusable...


update common and fix race test condition

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.

/azp run net - maps - tests


Math expressions would not render correctly when Jupyter notebook used locally in VS Code.

Most likely, it is a problem of VS Code implementation of Jupyter but math expression with \\ line breaks will render with $$ and ruin the at block unless closing && moved to the new line.
here is an example from Complex Arithmetic:

I'll admit I've never tried using the Jupyter Notebooks in VS Code, so it will take me a while to reproduce the issue. Thank you for reporting it!
If you have found a simple fix that renders the notebooks better in VS Code (without breaking them in regular Jupyter!), would you be willing to send a pull request with the fix?

I'll admit that after digging deeper into it I can recommend not to use  Jupyter Notebooks in VS Code :).
Experience is not good, notebook does not look good, fonts, line length, local links not working, an overall jerkiness. I would recommend people to run the notebooks locally in the browser at this point.
That said, workaround is to regex replace all ([^"\\n])\$\$ with \1\\n\$\$: all $$ with leading character except if character is " or new line, replace with leading char (group \1) and $$.
But I do not thing that anyone should do that. Fix should come from VS Code Python plugin team.

Thank you for the investigation! This is very helpful - now I know not to spend too much time on this :-)


Don't warn if _LARGEFILE64_SOURCE is not defined

Such a warning is otherwise shown with GCC if -Wundef is used. That's the only warning I got for this code when I dropped it into our codebase (nice!), and it'd be nice if we could just compile it with the same warnings as the rest of our code.

Implemented with 6db3c0d290b7b7bd00e5414ee9c482c480a37f5c


Link on navigation page not working

Hi my blog is at https://pjpaulpj.github.io/. As you can see the link titled "Posts" is broken. I'm not sure why since I've defined the link in _data/navigation.yml, and there's a directory named posts in the repo.
I'm using this site http://rudvfaden.github.io/posts/ as a guide to imitate. Could you suggest other better structured sites using only github pages?
What am I missing?

Defining links in _data/navigation.yml doesn't actually build the pages. You need to physically build the /posts/index.html page.
Depending on how you want to set that up you could grab this sample from the demo site.

Rename it to posts.html and place it in the root of your project.
Change the permalink to permalink: /posts/ in its YAML Front Matter.
Rebuild your site and https://pjpaulpj.github.io/posts/ should work.

Thanks for the great support and guidance.
I'm a complete Noob when it comes to Jekyll blogs and github pages. Could you recommend a reference that starts from scratch- and deals with questions like this one? I don't care much for Jekyll and heavy duty designing- I just want a blog I can upload posts to in markdown which allows for easy (relatively) extensions and modifications.
I've already tried the 'Quick Start Guide'- it's a bit too advanced/ Jekyll focused; the official Jekyll guide- too advanced and detailed.
Thanks once again.

http://jekyll.tips/

A quick follow-up:
I looked at the demo site, and the About page at  is defined at url: /about/. However, the actual about.md page is located at _pages/about.md.
What's happening here? I noticed that you suggest this as best practise in your Guide.

It's purely an organizational thing. You can consult the Jekyll docs for more, but what is going on is instead of putting about.md in the root, I prefer to keep all my pages in  _pages folder.... similar to _posts.
If you do that you need the permalink override so Jekyll places the rendered index.html in the right location. You also need to tell Jekyll to look at _pages since underscore files and folders are ignored by default.
To do that _pages is added to the include array in _config.yml.


[fixed] Docs for named/multiple components

When using named/multiple components in a route definition, they are now available as this.props[name] not this.props.children[name]. This PR updates the docs to match the example and the test coverage. This also drops the duplicate named component paragraph, which is superfluous.

Sorry for the excessive bikeshedding - can you make the indicated changes and then squash? And then I'll merge. Thanks for updating these docs!

I'll fix and then resubmit ASAP. Thanks!

@bs1180 you can add commits to this branch and they will be added to this pull request. If you're using the web UI to make changes, you can go here to make more: https://github.com/bs1180/react-router/tree/patch-1

And note the advantage of this is those changes will close the line comments above, effectively marking them as completed. If we need to squash any commits down to one single one, I can take care of that for you. No problem.

Done, cheers.

I'll merge this manually to squash.

https://github.com/rackt/react-router/commit/b7b021cc48d5059fd3b1eda0b75b346adb556094


feat/first working draft

chore: Remove all node:built-ins calls
refactor: Remove app dir
refactor: use default exports everywhere
chore: Add needed dependencies
chore: Setup environment
feat: First working draft with human lib

@all-contributors please add @ff6347 for design, code, idea, infra

@all-contributors please add @raphael-arce  for code, idea

@all-contributors please add @annameide  for design, idea


account_id is missing in the IbanFindParameters and in the VirtualAccountFindParameters objects

account_id parameter is missing in the IbanFindParameters and in the VirtualAccountFindParameters objects.
I added them to the code and the query works fine, maybe other objects are missing it too.

This is confirmed as bugs introduced by currencycloud-swagger pull requests TCC-13748 and TCC-13750.
We welcome contributions from the community. If you would like to submit your changes please see our guidelines page

Fixed in v2.7.2


Endless warnings when generated code is compiled with nullable

The code generated by the ModelCompiler needs to at least output #nullable disable or preferably generate code that compiles without warnings when nullable is enabled.

Can you provide the places where the #nullable disable needs to go?

at the top of every generated cs file. the files are riddled with nullable violations

Not surprising since the code was written before that feature existed in the C# language. But it also means that making it nullable compliant would break existing code so it can never be more than option that has to be enabled during generation.

Looks like #nullable disable is not an option given all the different frameworks that the Core library has to build against:
Error CS8370	Feature 'nullable reference types' is not available in C# 7.3. Please use language version 8.0 or greater.
See https://github.com/OPCFoundation/UA-.NETStandard/issues/2300

crazy that there is no preprocessor switch that could help here... but a commandline switch would be perfectly fine!

The language version is explicitly set to 7.3 in the Core library.
If you know a way to create a constant like this:
#if CSHARP_8_OR_NEWER
#nullable disable
#endif
Then it will be possible to update the generated code.
I tried to find a way to do it but none of them worked and I have no more time right now.

I also tried to find a solution like that but I could not find a pretty one. The best solution would be to add a nullable switch to the executable but then it would a bit much to add that switch just to print those three lines... Ideally it would be nice to have a switch to properly generate nullable enabled code but I realize that is not so simple...

Marked as nice-to-have enhancement but switching to nullable is not trival. It requires a rethink of almost every line of code.


Dial <IP_ADDRESS>:3306 connection refused

There seems to be an issue with accessing port 3306 on startup, this is the Planetscale DB connection.

Per Panic dial on startup at that repository issue, there was a problem with the environment variable.
On the production machine, I had the environment set to ENVIRONMENT="PROD". Removing the apostrophes fixed the issue. Clown mistake.


cproject file: warnings is missing in Setup

Hi
In https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/schemas/projmgr/2.0.0-dev0/tools/projmgr/schemas/common.schema.json#/definitions/ProjectDescType
it seems that
"warnings":    { "$ref": "#/definitions/WarningsType" },
is missing in "SetupType"
Regards,

Well spotted. If you skip the schema check it should actually already work.

Will be included in CMSIS-Toolbox 2.0.0-dev2


Create a glossary for odo terminology

[kind/Documentation]

What did you find missing in the documentation?
Since we have feedback on odo being confusing sometimes, how about adding a glossary in "Understanding odo" which would elaborate on the important terms and explain the relationship/hierarchy between them as well as examples:

project
application
component
something else?

Maybe a visual representation - a diagram of some sorts could help?
Cc @kadel @cdrage @dharmit
What is the relevance of it?
Make docs better!

diagram https://drive.google.com/file/d/1iNSZjEfNY5mdOcfBMGUR-mYaFdDZL85l/view?usp=sharing

@boczkowska @pmacko1 could you please add an update on this issue?

I was not working on this issue, @boczkowska could you provide an update, please?

Done here: https://github.com/openshift/openshift-docs/pull/18477

As the PR was merged, we can close this issues


SSL only

Hi,
all communication between Client-Server should be SSL-only.
This can be done by flask-sslify. Still, we need to check how to get a certificate from Google Cloud Services.

update: so it's looking like AppEngine supports SSL out of the box: https://cloud.google.com/appengine/docs/python/config/appref#handlers_secure
I've added the secure flag in 4a962b1, but we can wait for the PR that'll come back on to verify that this is addressed.


Get rid of err altogether by just returning the assignment

- What I did

Remove the string(output) cast as %s already prints the byte slice as a string.
Get rid of err altogether by just returning the assignment.

Signed-off-by: Xianglin Gao<EMAIL_ADDRESS>

cc @tonistiigi @justincormack @vdemeester


Fix minor grammar issues and links in readme

See linked PR for details.

@arkalsekar PR is ready to be merged after fixing the conflicts from the readme update.


Offline mode support in NTP

Is it possible to store the last time synchronized with an NTP server and, if the device goes offline, calculate the correct time?

Hello! Using NPT, the program looks for a time offset. Therefore, if there
is no internet, the last known time offset will be used.
вт, 17 янв. 2023 г. в 05:42, Miguel Daipré @.***>:

Is it possible to store the last time synchronized with an NTP server and,
if the device goes offline, calculate the correct time?
—
Reply to this email directly, view it on GitHub
https://github.com/NewYaroslav/ztime-cpp/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYUZ3UDATH5GP7I2OCMESDWSYBLHANCNFSM6AAAAAAT5KYDAI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add Less template for sprite CSS generation

Hi!
I use your plugin and it is greatfull. Thanks for this!
But  I work with Less, not Sass and this is why default template.tpl is not good for me
I did simple template for Less, tested it and all is good.
I propose you to include it in plugin for more Less-users.
Thanks
P.S. sorry for my English

Thanks for doing this Igor, but I don't want to start maintaining examples of all the possible implementations you could do with the template system and I don't want to dictate a style for people to follow. I'd rather people just created whatever they needed.


Reduce chunk write queue memory usage

This avoids wasting memory on the c.chunkRefMap by re-initializing it regularly. When re-initializing it, it gets initialized with a size which is half of the peak usage of the time period since the last re-init event, for this we also track the peak usage and reset it on every re-init event.
Very frequent re-initialization of the map would cause unnecessary allocations, to avoid that there are two factors which limit the frequency of the re-initializations:

There is a minimum interval of 10min between re-init events
In order to re-init the map the recorded peak usage since the last re-init event must be at least 10 (objects in c.chunkRefMap).

When re-initializing it we initialize it to half of the peak usage since the last re-init event to try to hit the sweet spot in the trade-off between initializing it to a very low size potentially resulting in many allocations to grow it, and initializing it to a large size potentially resulting in unused allocated memory.
With this solution we have the following advantages:

If a tenant's number of active series decreases over time then we want that their queue size also shrinks over time. By always resetting it to half of the previous peak it will shrink together with the usage over time
We don't want to initialize it to a size of 0 because this would cause a lot of allocations to grow it back to the size which it actually needs. By initializing it to half of the previous peak it will rarely have to be grown to more than double of the initialized size.
We don't want to initialize it too frequently because that would also cause avoidable allocations, so there is a minimum interval of 10min between re-init events

I've addressed review feedback, and would like to get this merged. Can you please re-review the PR?
I have a doubt about using 10 minutes timeout for shrinking the map. It seems too big to me. If map is empty, we can shrink it faster (eg. after 1 min) and pay the allocation price instead after this time.
My other concern is that PR only focuses on map size, but doesn't address channel size. Allocating channel with buffer of size 1000000 will allocate all memory upfront and never release it. Since chunkWriteJob uses 64-bytes, this will use 64 MB of heap for each open TSDB.
But let's see how this works in practice and decide if we need to address timeout and/or channel size based on our experience.

Given the title of the PR, I would expect some data on results, i.e. memory usage measured before and after.

Testing on Mimir ingesters with 7 tenants shows drop of memory allocated by chunks.newChunkWriteQueue by half (from from 814 MB to 427 MB when using queue size of 1000000). shrinkChunkRefMap didn't show up in the profile as place allocating objects "in-use". This is consistent with expectation: memory for map isn't kept allocated unless it's needed, but memory for the channel itself is still in-use (7 tenants, 1M channel buffer, 64 bytes entry = 427 MiB).

Sent to upstream Prometheus as https://github.com/prometheus/prometheus/pull/10873.


[Frontend] Change the Navigation Panel to Collapsible Menu For Admins

Deliverable -

[ ] The navigation panel for the admin takes a lot of space for small screen. Please change it in the form of collapsible menu for small screens(similar to navbar of our website)

GIF of the issue ->

Hi @Kajol-Kumari, I would like to work on this issue.

Hi @Kajol-Kumari, I would like to work on this issue.

Sure @akshitakanojia Please go ahead with this issue.


Search Stream: StatusCode="Unknown", Detail="Stream removed"

I'm getting some failed requests with StatusCode="Unknown", Detail="Stream removed" where retries did not help.
You can see in the example below that the RequestIDs still prove elusive (see https://github.com/googleads/google-ads-dotnet/issues/283).
I'm wondering if anyone has a recommendation for how to deal with these errors.
Certainly I could just ignore them and assume there is no data to be retrieved, but returning no data in a successful response would be much easier to handle and trust than returning a response with a fault.
For example:
[2021-08-18 06:39:24Z] - Request made: Host: https://googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, ClientCustomerID:<PHONE_NUMBER>,  RequestID: , IsFault: True, FaultMessage: Status(StatusCode="Unknown", Detail="Stream removed", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1629268764.271000000","description":"Error received from peer ipv4:<IP_ADDRESS>:443","file":"......\src\core\lib\surface\call.cc","file_line":1068,"grpc_message":"Stream removed","grpc_status":2}")
[2021-08-18 06:40:22Z] - Request made: Host: https://googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, ClientCustomerID:<PHONE_NUMBER>,  RequestID: , IsFault: True, FaultMessage: Status(StatusCode="Unknown", Detail="Stream removed", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1629268822.355000000","description":"Error received from peer ipv4:<IP_ADDRESS>:443","file":"......\src\core\lib\surface\call.cc","file_line":1068,"grpc_message":"Stream removed","grpc_status":2}")
[2021-08-18 06:41:51Z] - Request made: Host: https://googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, ClientCustomerID:<PHONE_NUMBER>,  RequestID: , IsFault: True, FaultMessage: Status(StatusCode="Unknown", Detail="Stream removed", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1629268911.873000000","description":"Error received from peer ipv4:<IP_ADDRESS>:443","file":"......\src\core\lib\surface\call.cc","file_line":1068,"grpc_message":"Stream removed","grpc_status":2}")

"Stream removed" means the connection broke between the server and the client. Retrying the call after a few seconds might succeed. Usually this is a symptom of a connectivity issue between your client machine and the server, and could be anywhere in the chain of servers.  Trying out a different internet provider is a good way to troubleshoot and confirm if this is a network issue.


poetry doesn't support pypy

[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I have searched the documentation and believe that my question is not covered.

Question

Is there intent on supporting released or beta released versions of pypy?  Currently looking at the poetry.utils.helpers there is use of typing.NoReturn which was added to python 3.5.4 which is beyond pypy 3.5.3 support, and pypy 3.6 beta series doesn't yet include that.
Currently other projects are using this preview version of poetry, so at the moment any CI setup including pypy will always fail.  (project in question is tomlkit, who have already started to depend on new poetry features).
I'm curious if there's a stance on supporting pypy, so I can advice tomlkit how to proceed.

Just a funny though, I was trying to submit a bug fix to tomlkit, because of an issue I was encountering in poetry, because they also use poetry, I'm hitting this new issue.
If you want to see the tomlkit bug that is causing issues for my poerty use see the following report.     https://github.com/sdispater/tomlkit/pull/60

I think this is closed with #1320?
Admittedly I'm a bit confused by the PR because the rest of the codebase does type hinting by comment (Python 2 friendly) whereas that file is Python3 only...

@Caligatio which file are you talking about?

I don't know what I thought I saw but all the type hinting is Python 2 friendly.  Sorry about that!

I'm not a pypy user myself, but I'll set it up and check it out.   It would be nice if poetry would confirm that their intent is to support the current release of pypy.  If so I can add it to your test coverage.

I'm having similar issues with clikit https://github.com/sdispater/clikit/issues/7 as I need to use Python 3.5.2, which doesn't have all of the values in typing that 3.5.7 does. With poetry 1.0.0b1 I'm still getting the NoReturn import error, unfortunately. Will this fix be release any time soon?


Odd addresses in Pseudo C view

Version and Platform (required):

Binary Ninja Version: 4.0.4845-dev Personal, 9a0fcb66
OS: windows
OS Version: 11
CPU Architecture: x86_64

Bug Description:
The odd addresses are only in Pseudo C view, other views are fine. Also, the odd addresses keep changing while scrolling (uninitialized memory?).

Related: trying to copy lines in linear view including one of the buggy addresses can sometimes cause a crash.

Fixed in 4.0.4901


moving documentation to vitepress

Clear and concise description of the problem
It might be better to carry vitepress directly from Nuxt. I like the coding and how fast it works.
Suggested solution
vitepress
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

done!


PHP Packages won't install

Tested on both Windows and MacOS, I can't get any php packages to install. All packages result in the following errors:
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'

Changing PHP and NGINX to blitznote/debase:16.04 in the Dockerfile go me much further. Still had some issues with blackfire and curl


Request to add Cipher suites in the roundtripper

What would you like to be added:
need to way to relay back cipher suites as part of roundtripper
Why this is needed:
This is required as different implementation of gateway-api can support different Ciphers. For example, the set of Cipher suites supported by two different version envoy might be different and we need to make sure the conformance tests has the capability to relay back the Cipher suites(atleast suite code) to the caller.

The mesh test echo tool, which is already used for some tests, supports this already. https://github.com/istio/istio/blob/9b625fdeae8e9a6176cab53371d2845022c615ae/pkg/test/echo/server/forwarder/tls.go#L83.
There has been some discussion of using this for all tools

General idea sounds ok, but still needs a bit more information/discussion.
Doesn't seem like this is needed for GA.


First Run and dont work! give error in the PulidFluxInsightFaceLoader Node!

I have the comfyui updated also the PuLID node! but when i run the example workflow o got this error:
any idea how to solve it?

Please report this error to the maintainer of the ComfyUI implementation.


[Internal] [Bug] UnboundLocalError: local variable 'sra_submission' referenced before assignment

ERROR ~ Error executing process > 'TOSTADAS_WORKFLOW:TOSTADAS:INITIAL_SUBMISSION:UPDATE_SUBMISSION (1)'
Caused by:
Process TOSTADAS_WORKFLOW:TOSTADAS:INITIAL_SUBMISSION:UPDATE_SUBMISSION (1) terminated with an error exit status (1)
Error during update_submission:
Command executed:
submission_new.py         --update         --submission_name DRR152972         --config_file submission_config.yaml          --metadata_file DRR152972.tsv         --species rsv         --output_dir  .         --fasta_file MZ568967.fasta                  --fastq1 DRR152972.R1.fastq.gz         --fastq2 DRR152972.R2.fastq.gz         --custom_metadata_file /scicomp/home-pure/ick4/02.scratch/metadata_custom_fields.json         --submission_mode ftp         --test                  --genbank --sra --biosample
Command exit status:
1
Command output:
Submission requested for genbank,biosample,sra
Error: Missing required files for sra: ['DRR152972.R1.fastq.gz', 'DRR152972.R2.fastq.gz']
Error: Missing required files for genbank: ['annotation_file (file not provided)']
XML generated at ./DRR152972/biosample/submission.xml
Command error:
/scicomp/home-pure/ick4/01.scripts/tostadas/bin/submission_new.py:380: UserWarning: DataFrame columns are not unique, some columns will be omitted.
return self.metadata_df[available_columns].to_dict(orient='records')[0] if available_columns else {}
Submission requested for genbank,biosample,sra
Error: Missing required files for sra: ['DRR152972.R1.fastq.gz', 'DRR152972.R2.fastq.gz']
Error: Missing required files for genbank: ['annotation_file (file not provided)']
XML generated at ./DRR152972/biosample/submission.xml
Traceback (most recent call last):
File "/scicomp/home-pure/ick4/01.scripts/tostadas/bin/submission_new.py", line 1196, in
submission_main()
File "/scicomp/home-pure/ick4/01.scripts/tostadas/bin/submission_new.py", line 139, in submission_main
submission_objects = { 'biosample': biosample_submission, 'sra': sra_submission }
UnboundLocalError: local variable 'sra_submission' referenced before assignment
Work dir:
/scicomp/scratch/ick4/64/2f70f0db4867b8e2d1c7c9ea4fe5d7
Tip: you can replicate the issue by changing to the process work dir and entering the command bash .command.run
-- Check '.nextflow.log' file for details
Place an :x: in a Box that Best Matches the Bug's Importance:

[] 1 - Most severe (a full-break in core function)
[x] 2-4 - Moderate (break for a particular aspect/feature) (how integral is the broken feature?)
[] 5 - Least severe (non-functional issue, such as inconsitency / error in documentation or administrative in nature)

Please Complete the Following Information:

OS: [e.g. iOS]:
Browser [e.g. chrome, safari]:
Version [e.g. 22]:
Run environment (container, cloud service, HPC, platform, etc.):

nextflow run main.nf -profile test,singularity --species rsv --annotation false --submission true --output_dir test_rsv --submission_config /scicomp/home-pure/ick4/02.scratch/submission_config.yaml --meta_path ~/02.scratch/custom_test_metadata.xlsx --custom_fields_file ~/02.scratch/metadata_custom_fields.json
Any Additional Context or Information? Has There Been Any Progress Made So Far Towards this Request? Any Concrete Instructions to Resolve the Bug or Helpful Resources to Reference? Screenshots or Logs?

Changed milestone to v4.2.0 because I can't replicate this error on dev. It's on the branch where I'm updating cloud path support.


forward port of #2212 to fix #3547

This is a really simple forward port of #2212 to fix #3547
I explicitly left all code improvements out of this PR.
The idea is to reduce the amount of changes because 3.0.x is phasing out.

LGTM

LGTM


Set the validations object at runtime

Is there a way to set the validations object of a component at runtime? The reason for this is that i find myself in a situation where i have to render fields coming from another source (like an array of fields) and thus, i cannot setup the validations object as i don't know anything about said fields.
I tried setting the validations object on the created hook where the data is made available but it's not working, the $v object in the template is not reflecting my setup. The fields are rendered in a v-for directive and i cannot know the type, name, required or any other property, as they are set by the user and are passed on from the backend.
Ideally, in some hook (mounted, created..) i can loop the fields like so
this.Form.fields.map((field ) => {
                if (field.required) {
                    validations.formData[field.varName] = {required};
                    if (field.type === 'email') {
                        validations.formData[field.varName]['email'] = email;
                    }
                }
            });

or something in this direction.
Any ideas?

i am doing this via another mixin added before vuelidate. The mixin is an object with a beforeCreate function inside of which this.$options.validations is available and can be modified.
This is my 3rd day coding vue, so its probably wrong, but it works

@mkoryak It doesn't work for me. Tried the mixins trick, set the this.$options.validations in the beforeCreate method but the validations are not reflected in the template. $v is not set properly.
On a side note, instead of a mixin, i tried the plugin approach at some point, but nothing

Paste the code. It worked for me.
You have the corresponding models setup too right?

Ok, this is after many tests so the code is not ideal, but you'll get the idea.
In the component
   const SetupFormValidations = require('../mixins/setupFormValidations');

    export default {
        name : 'MiniForm',
        mixins : [SetupFormValidations],
        props: ['formSettings'],
        data () {
            return {
                Form : {},//Should be filled in the mixin
                formData : {},//Should be filled in the mixin
                locale : Vue.config.lang
            };
        },
  }

The mixin
import { required, email } from 'vuelidate/lib/validators';

module.exports = {
//Tried to set the data here after not reflecting in the component but no joy
/*    data () {
        return {
            Form :{},
            formData : {}
        }
    },*/
    beforeCreate () {
        this.Form =  (typeof window[this.$options.propsData.formSettings] !== 'undefined') ? window[this.$options.propsData.formSettings] : {}; //just an object holding the form fields
        let validations = {
            formData : {}
        },
            fields = {};

       //Iterate fields and assign them to 2 objects. One will serve as the model and the other will hold the validations
        this.Form.fields.map((field ) => {
            fields[field.varName] = '';//model for each field
            if (typeof field.required !== 'undefined' && field.required) {
                validations.formData[field.varName] = {required};//set the basic validation
                if (field.type === 'email') {//testing if i can assign custom validations, starting with email which already exists in the library. The idea is to auto-assign
                    validations.formData[field.varName]['email'] = email;
                }
            }
        });

        this.formData = fields;//assign to the model, does not reflect on to the component
        this.$options.validations = validations;//assign validations, does not reflect on to the component
    },

};

Finally, on the template, if i do
{{ $v.formData }}
{{ formdata }}

In the above template $v.formData and formData are both not set. The this.Form and this.formData are not filled in the mixin although it is my understanding that they should have

Having the same problem. Mixin approach doesn't seem to help either, but I only just started with VueJS. @mkoryak could you share a code snippet?

Pull request 52 apparently addresses this, hoping it gets merged soon

I wonder if it has anything to do with your reassigning the validations object and not setting on it directly. Maybe vuelidate hangs on to a ref to it so your reassignment has no effect

Could be, but if you can't reassign the object, how can you set it dynamically? I tried a lot of stuff, even not assigning a validation object to the component at all, rather than assigning it in the mixin, but no joy

let validations = this.$options.validations

where would you have that?

The place you declare validations now, at the top of beforeCreate

Ok, this works, provided you have setup the object in the component like so :
        validations : {
            formData : {}
        }

However it will not set the data object. To do that, the hook in the mixin needs to be created or above.
@mkoryak thanks for the help.
P.S: Having this functionality in a mixin is not that bad. In this case we end up with a reusable way to setup dynamic forms with validation which is cool.


defineProps with typescript returns different defaults vs using the props object

Vue version
3.2.47
Link to minimal reproduction
https://sfc.vuejs.org/#eNrtVktv2kAQ/isrH8BIYEs9GkKVVjm0h7RSqlxCDsYewKm9a+2u8xDlv3f2ZXsNoVJbqVJUpITdee3szDffsg8u6zp6bCBIgoWEqi5TCcsVJfhZyHRdAlkzngO3MiXt1mqXL29TXqRULmJc+5pPtG5OyW/TsgFPjptzR+SwKSh85awW4ajMmvV8xNX/yYngi487yL6v2TN5nFUsh/JiFVDGq7RcBfHSOEjfZb83BofDbyY1KuW8n9doK+fhMLlX0vz2UoPIeFHLXsKyFZ5JmnRW5PXUcan6iDtcdR3GrXUtU7pVR4pVgPKiqhmXZE84bMiBbDiryCpAhKyCeattS2zVUewkCkunLHu3PPLpdK23qhY86whY5rQpMSMlpWkFCTp3PVZQwsynSpsxPJQClSIx5qQ9X+u7bXekkh+0VoBs6oSEE3KxdO4Zo0ISgw5yoWoSbtJSwETn6PS9Ppyw4RiXU6yoCTP12uaOP6DxIjbSZTANTPlmVVpHD4JRHE+d0coq8MbtFW13VFl2UtYiiWOxyVQpH0TE+DbGVcQbKosKIhDVbM3ZkwCOgW3dbIwYhY/AZxwoTjzwczEHpkdx9b3wWniVPjQUzdir63IPwEdICz/Vy0ZCPlUAcHPmNldVIXHzlMpsd7XZQIaVNLga4yHjFTV9qZUPtqRPH7ZospAlIulG8oJubRH08GluSsidm6QPjJWQUmtCfA9CrptqDbzdXnKevpBUWBTp7UJoF/KDUG28tNb39ltDGE+0kV3Ic7GWzlfyBmzG9mIoQ3hhOJe4y9jGdZ7EDVaig1ipmQRCNID/OLCOMoicKTRAngwKW6DEK62ZdE/EWUOPHPNCKHo7DojAlMCrgiLf+crDRNGfgQggklqEaFiFd+OmzpVTh4fxfc/FIVNr0NftHbS2ILFjbdVaAtBojLqglh5cYXAeQg0Fz1flF55IaGpg4zhGU4jZqL/eYIRHfIaFiEq2DT/ffLmODJ6KzUuo05siRkukqHcTvLCpVMtK+s3wfiMsCvXA9x623gvmVcnwgf0oGCkDSwueLlFtVw82fvkK12dUuqVv4DUcrby9b6oAP9P1U9TjRsi30dhtjbp58K2cXn/7Kgt0d9NBulmZCoG6XZHnQD1VbGorSib12nu4e3zqP5v/nFkXFmKqde8TYoDVYziUrc0QIhMOKBEX4UA0ubvHNQ68PiEfMvTfiNZ2/lywIR/+2ta2uzP0iWoo93DaVx6W4Zsmqv809YZp6vATrh2k8w==
Steps to reproduce
Check on and off both checkbox variants. You can see that the normal checkbox results in the value changing reactively. The one with typescript props will not
What is expected?
That no matter what variant of defineProps I use, both will result in exactly the same props
What is actually happening?
The value prop in this case on the typescript variant results in a false value while I expect it to be undefined. I think its related to how v-model is transpiled and how it interacts with the value prop? Not sure though
System Info
No response
Any additional comments?
No response

When you use defineProps<Type>(), you should give trueValue and falseValue  a default value. playground

Hi Chris, good to see you! 😀
Ricardo is right here - the issue is that in the TS example you did not provide default values.

Hey @LinusBorg long time not seen indeed. Likewise! And thanks @RicardoErii . I think I understand now. Besides this mistake, I've also been using the value prop eg: <Checkbox value="Give this" v-model="computedValue" />. I was expecting it to give me "Give this" when checked and undefined when unchecked.
Thanks though for the fast reply. Should I close this?


Building a multipart form with ng-admin to post an attribute and file data to the server

How can you build a creation view form with two fields: a name, and a file?
The file field type lets you easily select a file as part of a form, but it immediately posts it to an endpoint that you configure. That endpoint returns the created filename, which you can then refer to when you submit the form.
This strategy doesn't work for me. I need ng-admin to let me select a file, enter a name for the file, and then submit both pieces of data as a multipart encoded POST when I submit the form.
I think this might be possible with some clever uses of custom Angular directives, but I'm not sure about the right way to go about it. Any ideas?

Any solutions to this issue. I am also trying to add same functionality. I am unable to figure out a decent way.

As explained in StackOverflow (please don't multipost your questions), this is not implemented in ng-admin. Try the following pointer for directions on how to do it in Angular.js alone (to be integrated as a custom template): http://stackoverflow.com/questions/28902727/multipart-request-with-angularjs


[Salesforce] Incorrect query is generated by column header filter

Description
Strings picked in column header filter are not wrapped in quotes leading to incorrect query
DBeaver Version
23.1.1
Operating System
Any
Database and driver
Salesforce Devart ODBC
Steps to reproduce

Open a table with string column
Click on column header filter
Check any string
Save filter

Expected: Correct query is generated and results are shown
Actual: Query is incorrect which leads to an error
Additional context

https://github.com/dbeaver/dbeaver/assets/82543000/e4649d6b-f503-4872-aa32-925cb3dcec71

The reason here is the incorrect data type recognition. Probably, we can add a special case for unknown data type with the String name.


raftstore: only persist merge target if the merge is known to be succeeded

What is changed and how it works?

Issue Number: Close #12232
What's Changed:
When destroying, only persist merge target if the merge is known to be succeeded

raftstore: only persist merge target if the merge is known to be succeeded

Check List
Tests

Integration test

Release note
fix tikv panic and peer unexpected destroy due to fake merge target

/merge

/test

/test


.Trc file from labnotebook results in 'UnicodeDecodeError'

Hi @yetifrisstlama ,
Thanks for the script! I used it with a directly exported .trc file first, but I also wanted to use data I exported as labnotebook (.lnb). So I was able to unpack the notebook, but the contained .trc file can not be  read via readTrc().
UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-39-f7bc7e777e0d> in <module>()
      1
      2 fName = "MyLabNotebook--00000/C4.trc"
----> 3 datX, datY, m = readTrc.readTrc( fName )

~\path\to\readTrc.py in readTrc(fName)
     61         # Get Instrument info
     62         #------------------------
---> 63         d["INSTRUMENT_NAME"]  = readX( fid, "16s",    wdOffset + 76 ).decode().split('\x00')[0]
     64         d["INSTRUMENT_NUMBER"]= readX( fid, endi+"l", wdOffset + 92 )
     65         d["TRACE_LABEL"]      = readX( fid, "16s",    wdOffset + 96 ).decode().split('\x00')[0]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 12: invalid continuation byte

I would try to fix this on my own, but I don't where to look for. For sure, it's line 63 in the source code, but I don't know what's the difference between the pure .trc file and the extracted one.
Of course I could use wavestudio to export the data from the labnotebook as csv. But it would be handy to skip that step.
Instrument used: LECROYWR640Zi

Haven't tried the lab notebook yet. Could you attach / send me the extracted .trc file?

I had to zip it to upload it to github. Github does not allow to upload arbitrary file types.
C4.zip

Okay, try it again.
Note that the API has changed slightly:
from readTrc import Trc
trc = Trc()
datX, datY, d = trc.open("C4.trc")

Cool, works very well! Thanks for your help and your overall work!


Rendering issue when returning Promise from subtasks

When using collapse option on parent task and returning Promise (via run method) from subtasks, there are some weird rendering issues happening:
Returning Promise

Returning instance

Is this known issue? What I’m trying to achieve is to have callback after list of subtasks is completed. Thenable seems like simplest solution for this.
Task returning subtask code which produces error:
task: ( ctx, task ) => {

	const values = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

	return new Listr(values.map(( value ) => {
		return {
			title: `Task ${value}`,
			task: () => {
				return new Promise(( resolve ) => {
					setTimeout(() => {
						resolve(value);
					}, 300);
				});
			}
		};
	})).run();

}

Don't call run inside your task function, just return the instance. Not sure if this will solve it though.

Do you have other suggestion on how to achieve this?

The reason why the output is foobar is quite logical. The sub instance isn't recognised internally because it returns a promise. This means that the subinstance has its own renderer which interferes with the main renderer. That's also the reason why the subtask aren't indented when you return the promise.
If you don't care about the output of the subtasks, you can set the renderer option of the sub instance to silent.
If you do care but want to know when task 3 finishes, you can call the callback at the start of task 4 or if you don't have task 4 in the then call of the main run.
While typing this, a new idea popped in my head. Have to think this through first and think of enough use cases for this. We could add a new property in a task object called done or finished or something which gets called when the task completes.

I could also use this so that I can change title or whatever on the main task when the subtasks are done.


DEPS.xwalk: Roll chromium-crosswalk (326f968 -> 7f651758).

7f651758 Merge pull request #307 from rakuco/backport-win-task-scheduler-launcher
d5e7e6b [Backport] Conditionally set CREATE_BREAKAWAY_FROM_JOB when job objects are used.

BUG=XWALK-5142

@darktears

lgtm


AH-176: Fix Contributor Role for pacific work types

Rename field in pacific worktypes and add new authority service

@prdanelli This looks good.  I think if https://github.com/ubiquitypress/hyku_addons/blob/main/config/authorities/contributor_group.yml gets renamed too then CI will go green and it will be good for merging.

@prdanelli This looks good. I think if https://github.com/ubiquitypress/hyku_addons/blob/main/config/authorities/contributor_group.yml gets renamed too then CI will go green and it will be good for merging.

Hi @cjcolvar, I dont thnk the original contributor_group.yml doesn't need to be changed as this relates to a field that was renamed... it's all a little confusing, but I think it can stay and be used as a default for the normal HykuAddons fields.

@prdanelli Where is contributor_group used now?  Or is that something entirely different?


Documentation site bug

On the documentation site, the search bar on the top left corner has the same id as the search mixin header causing an issue with appearance and preventing the user from being able to jump to the search section.
changing the id of the search bar would correct this

Updated docs.


typo fix on auric noodles effect

Looks like "Effect: Blade of the Heart" has a similar issue if you want to fix that at the same time?


[QUERY] How to get all active keys with a given name using the SDK

Query/Question
While implementing keys, we are running into an issue and wanted to see if you have a solution for this.
While using keys, we are implementing key rotation and expiry. However, a key could be rotated, but still not expired. In our case, for a highly available service requirement, we want to ensure that the keys which are not expired are also retrievable.
With a specific key version, I know I can use it.
But if I only have the name, how can I retrieve all the currently not expired keys and not just the latest one?
Why is this not a Bug or a feature Request?
Not sure, it depends on your answer.
Setup (please complete the following information if applicable):

OS: N/A
IDE: IntelliJ
Library/Libraries: com.azure:azure-security-keyvault-keys

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Query Added
[ ] Setup information Added

Any update on this issue, it is a requirement for us to achieve high availability setup so a solution would be highly appreciated.

Hi @vtapadia, you can list all versions for a key with listPropertiesOfKeyVersions() and then iterate through them to check if a specific version has expired. Here is a code sample on how to achieve this:
Sync
PagedIterable<KeyProperties> keyPropertiesOfVersions =  keyClient.listPropertiesOfKeyVersions("");

for (KeyProperties keyProperties : keyPropertiesOfVersions) {
    OffsetDateTime expirationDate = keyProperties.getExpiresOn();
    ...
}

Async
keyAsyncClient.listPropertiesOfKeyVersions("")
    .subscribe(keyProperties -> {
        OffsetDateTime expirationDate = keyProperties.getExpiresOn();
        ...
    });

Let me know if this works for you or if you have any further questions!

Thanks, this looks promissing.
We will give a try and see if solves the use case.
I hope this does not provides the key versions which are already purged or expired... or it will return all the keys ?

Verified, this works as expected. Thanks for sharing.


upgrade to polar 1.2

when upgrade to polar 1.2, some functions used are deprecated. For example.
in criteo.py
return pl.col(col_name).apply(_convert_to_bucket).cast(pl.Int32)
    return pl.col(col_name).map_elements(_convert_to_bucket, return_dtype=pl.Int32)

the function "apply” is not used anymore.

Please follow the environment settings: https://github.com/reczoo/FuxiCTR/discussions/99


Test and scale-test support for WDL

Due end of January 2016, implemented by UCSC

Due end of January 2016, implemented by UCSC

Addressed in #1823.


[Question] Is there any way to list all the supported features in the gallery image-definition?

Related command
az sig image-definition -h
Is your feature request related to a problem? Please describe.
I cannot find a doc or any help messages that can list all the supported features in the gallery image-definition. Even in https://learn.microsoft.com/en-us/cli/azure/sig/image-definition?view=azure-cli-latest there are only some examples but no clear features list.
When I create image-definition with a wrong feature(e.g. --features SecurityType=A) it only shows:
Message: The value 'A' for feature 'SecurityType' is invalid. Allowed characters are English alphanumerical characters with spaces and commas. The length of the value cannot exceed 100 characters.
Target: galleryImage.properties.features

Is there any way to show the supported features list? Thanks!

@zhoxing-ms for awareness

@zhoxing-ms  Any news about this?

@kangsun-ctrl May I ask if you can provide features supported by service, or provide relevant documentation link to allow CLI to add it to the help message?

@zhoxing-ms I found here something, may be it can help https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/sig/image-definition.yml

Thank you for the feedback, we will review how this can be addressed at the API.

The API may take time, but we are working on updating the docs with the list of supported features.

The list of features and accepted values are updated here: https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries?tabs=azure-cli#image-definitions
Closing this for now, reopen if it didn't answer your question.


Put js as the default

Hello! This looks very promising so far.
Could you perhaps use js instead of jsx for the babel loader? As it only makes sense for react apps (or used as standalone)

Hi @MartinMuzatko thanks for filing the issue! It will still load js, with this current setup it will load js and jsx. I could certainly make it an option during the selection. Thoughts?

Oh right! I didn't see the ? for 0 or 1 of the last character. In that case, it is good as it is.
Thank you a lot for the effort of creating this. This is really great if you get lost into configuration quickly :)


fix: added explicit cluster dependency back to namespace - removed in error.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign chrismellard
You can assign the PR to them by writing /assign @chrismellard in a comment when ready.
The full list of commands accepted by this bot can be found 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

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
3edd13e0cff228cbca9757740722c1104ef6d9dd
link
/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
0e8b852cbcd78aad30c3c87b5b0d8c2ac070de61
link
/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


It should be possible to apply default InputType and ObjectType decorators to the same class

Is your feature request related to a problem? Please describe.
I would like to use the same structure as input and output data. So, I attempted to annotate it like the following:
@ObjectType()
@InputType()
export abstract class DescribedPlace {
    @Field()
    name: string;

    @Field({ nullable: true })
    description?: string;
}

This failed compilation of graphql schema with an error telling that DescribedPlace type is already defined. My workaround was the following:
@ObjectType()
@InputType('DescribedPlaceInput') // <-- notice non-default name addition
export abstract class DescribedPlace {
    @Field()
    name: string;

    @Field({ nullable: true })
    description?: string;
}

Describe the solution you'd like
I would like the first code snippet to work without the workaround.

RTFM! 😉
https://19majkel94.github.io/type-graphql/docs/faq.html#in-many-cases-i-have-a-situation-where-inputtype-and-objecttype-have-exactly-the-same-shape-how-can-i-share-the-definitions

Thanks. I have missed it in FAQ

Whew! I also overlooked the FAQ and embarrassingly spent way longer than I should have to try to make a class work as an input and an object. Embarrassingly because I never thought to pass a name as a parameter.
I hang my head in shame (and embarrassment, as previously stated).


Fix NPM dependency versions

As explained by @deepu105 here, we should fix all dependency versions

@hdurix I can quickly do that if you want :)

Yes please, you can do it :)


Start supporting pydantic v2

pydantic v2 is now out with a lot of nice things, most notably higher speed.
I think we will want to support v2 as fast as possible, but depending on the amount of work, it would be nice to continue supporting v1 as well.
If we don't do that, packaging Ribasim Python on Deltaforge will be hard to do in the near future because of version requirement conflicts.
The migration guide can be found here: https://docs.pydantic.dev/latest/migration/

Fully moving to pydantic v2 depends on https://github.com/machow/quartodoc/pull/211

And on Pandera, which has a Pydantic V2 compatible version coming in October at the earliest (and we'll have to test it first).

Pandera now supports pydantic v2 as of v0.17: https://github.com/unionai-oss/pandera/releases/tag/v0.17.0
Quartodoc merged support a few days ago to main, so the upcoming release after v0.6.3 should have it.

Ok our dependencies are ready, now we just need to update.
I tried pixi add pydantic=2 and that works, only it causes ribasim-python tests to fail.
E       pydantic_core._pydantic_core.ValidationError: 5 validation errors for Model
E       outlet
E         Field required [type=missing, input_value={'modelname': 'basic', 'n...='debug', timing=False)}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.4/v/missing
E       discrete_control
E         Field required [type=missing, input_value={'modelname': 'basic', 'n...='debug', timing=False)}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.4/v/missing
E       pid_control
E         Field required [type=missing, input_value={'modelname': 'basic', 'n...='debug', timing=False)}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.4/v/missing
E       user
E         Field required [type=missing, input_value={'modelname': 'basic', 'n...='debug', timing=False)}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.4/v/missing
E       solver
E         Field required [type=missing, input_value={'modelname': 'basic', 'n...='debug', timing=False)}, input_type=dict]
E           For further information visit https://errors.pydantic.dev/2.4/v/missing

python\ribasim_testmodels\ribasim_testmodels\basic.py:196: ValidationError

I don't really understand why since these are declared as Optional. Probably best to wait until @evetion tackled #630. @evetion I don't know if you plan to upgrade as part of the redesign, but it's good to know that you could start using pydantic v2 features. You could use d73637193011a8a7fc08c1812b9238e1e27f5f54 for the dependency upgrade if needed.

Optional (or T | None) behaves differently with pydantic 2 (another reason why we should drop the misleading Optional and use the new syntax instead)

@visr that is the change: https://docs.pydantic.dev/latest/migration/#required-optional-and-nullable-fields
TLDR: just add a default value of None and you get the old behavior

Fixed in #731


Update DynamicBlurView.podspec

set the swift version to 4 to prevent build errors if mixed pods require swift 3.2 and swift 4

This issue is supported in Cocoapods: https://github.com/CocoaPods/CocoaPods/issues/7134.


Delaying worker initializations

When running on a single host, around 10 worker initializations made in the following line fail. This is possibly due to exceeding the number of new concurrent connections to sshd (MaxStartups).
https://github.com/SymbioticLab/FedScale/blob/2af119c2efb3f007f2279a2425aa0b3adb1bc8d6/core/evals/manager.py#L87
Waiting for the previous connections to succeed, just like it is done for the PS, has resolved this issue for me.
https://github.com/SymbioticLab/FedScale/blob/2af119c2efb3f007f2279a2425aa0b3adb1bc8d6/core/evals/manager.py#L74
This issue might not surface in multi-node setups due to network latencies inherently delaying requests for new connections, as opposed to single-node setups where the request never leaves the node (i.e. when relayed to <IP_ADDRESS>).
Please consider adding a delay before initiating the next connection.

Same observation with my single-node testbed and I indeed fixed the issue with the same solution.

Merged. Thanks for pointing it out.


Direction not consistent with bevy screen-space coordinates

Bevy 0.11 has changed a coordinate system (inverted Y) for cursor position.
This leads to Direction::Top appears at the bottom.
Here is a patch for hex_grid example to showcase the issue: patch.txt.
diff --git a/examples/hex_grid.rs b/examples/hex_grid.rs
index 5177783..1a57efb 100644
--- a/examples/hex_grid.rs
+++ b/examples/hex_grid.rs
@@ -175,6 +175,14 @@ fn handle_input(
                 .entity(entity)
                 .insert(map.selected_material.clone());
             highlighted_hexes.selected = coord;
+
+            let top = coord.neighbor(hexx::direction::Direction::Top);
+            if let Some(entity) = map.entities.get(&top).copied() {
+                commands
+                    .entity(entity)
+                    .insert(map.half_ring_material.clone());
+                highlighted_hexes.selected = top;
+            }
         }
     }
 }

Hi !
What version of hexx are you using? #74 updated the way the examples retrieve and convert the pixel coordinates to the world coordinates with bevy 0.11:
- let pos = pos - Vec2::new(window.width(), window.height()) / 2.0;
+ let pos = Vec2::new(pos.x - window.width() / 2.0, window.height() / 2.0 - pos.y);

Therefore since 0.9.0 all 2D examples should behave correctly, hex_grid included

Hi,
I run this on HEAD on main. So it's 0.9.1 and bevy 0.11.

I think I misunderstood the issue, I'm going to try with your addition.
The direction orientation is a concept inner to the heagonal coordinate system like an orthogonal 2D vector could be (0,1) and still point down on screen if the camera is upside down.
Maybe the camera is upside down, which I would need to fix, or the way the grid is generated is inverted, which I should fix too

Just checked it. With 0.8.0 (and bevy 0.10.1) the issue is still present, so my guess that it's coordinate changes related was incorrect.
I think it's more likely the camera than the grid as the latter was my first assumption and I looked at my grid coordinates - it was fine (on pointy-topped rectangle X increases from left to right and Y from bottom-left to top-right)

It seems that the fact that Direction::Top points to (0, -1) is done on purpose, Direction::Bottom points to (0, 1)
I'm not sure why I made it this way, it may be a mistake

I think directions should be renamed to stuff like Direction::X, Direction::NEG_Z, etc to avoid this kind of inconsistencies

It seems that the fact that Direction::Top points to (0, -1) is done on purpose, Direction::Bottom points to (0, 1) I'm not sure why I made it this way, it may be a mistake

Maybe the purpose was to be consistent with Bevy coordinate system? Now, that UI and all other parts use the same coordinates it's okay to use convenient Top, Bottom, etc.?

Maybe the purpose was to be consistent with Bevy coordinate system? Now, that UI and all other parts use the same coordinates it's okay to use convenient Top, Bottom, etc.?

I think I made it based on this, which is fine but I think the directions should be rename to use coordinate axis instead of named directions and avoid this issue

@uvizhe After running some tests the issue is simple:
Hex considers that positive y goes "down" (for flat topped, otherwise it goes "down right") in ortogonal system
This is correct inside of the hexagonal system but confusing when using pixel/screen coordinates when the standard is y up.
But when converting Hex to pixel/screen/world the y axis is actually going up, meaning somewhere something is inverted.
Therefore AFAIK there are two choices:

Fix the inverted axis (maybe the conversion is wrong)
Rename the directions so that Direction::Top is actually towards y instead of -y

I made hex_grid example show hex coordinates (see the patch2.txt) and I see that on flat hexes Hex.y raises from bottom to top. This contradicts to what you say and to what I see in that article.

Also the article itself looks confusing, because actual coordinates in examples do not correspond to directions of axis arrows.

I think I found out what the issue is, for rouding hex (Hex::round) I use this method instead of the redblobgames method, and it seems to use a different orientation, I'm getting confused but I'm getting closer to the issue I think.
Btw I think adding coord text to the hex_grid example is a good idea I will implement this


[Package Issue]: Microsoft.Office not found anymore

Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
No applicable update found.
Brief description of your issue
As mentioned in issue #181598, I have been using Winget upgrade --id Microsoft.Office with no problems until yesterday.
Now I get the following message: No installed package found matching input criteria.
Has this package been removed, or is there an alternative id or method to install/upgrade Microsoft 365 in Winget?
Steps to reproduce
Winget upgrade --id Microsoft.Office
Actual behavior
No installed package found matching input criteria.
Expected behavior
Package is found and can be installed/upgraded.
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.2033
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Screenshots and Logs
No response

Does the package show up in searches?
PS C:\ManVal> Find-WinGetPackage Microsoft.Office

Name                              Id                             Version          Source
----                              --                             -------          ------
Microsoft 365 Apps for enterprise Microsoft.Office               16.0.18129.20030 winget
Office Deployment Tool            Microsoft.OfficeDeploymentTool 16.0.17830.20162 winget

No, only below appears:
PS C:\> winget search Microsoft.Office
Name                   Id                             Version          Source
------------------------------------------------------------------------------
Office Deployment Tool Microsoft.OfficeDeploymentTool 16.0.17830.20162 winget

Package index works as expected.
Could you please try reset your source index URL settings and refresh the index?
11:22:42 D:\...\winget-pkgs  [master ≡] 1ms pwsh> winget search Microsoft.Office
名称                              ID                             版本             源
-----------------------------------------------------------------------------------------
Microsoft 365 Apps for enterprise Microsoft.Office               16.0.18025.20140 winget
Office Deployment Tool            Microsoft.OfficeDeploymentTool 16.0.17830.20162 winget

11:22:47 D:\...\winget-pkgs  [master ≡] 2.039s pwsh> winget source list
名称    参数                                          显式
-----------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget  https://cdn.winget.microsoft.com/cache        false
11:22:51 D:\...\winget-pkgs  [master ≡] 121ms pwsh>

Yes it appears now, I didn't even have to do the reset the source or refresh the index, but it appears now:

Name                              Id                             Version          Source
-----------------------------------------------------------------------------------------
Microsoft 365 Apps for enterprise Microsoft.Office               16.0.18025.20140 winget
Office Deployment Tool            Microsoft.OfficeDeploymentTool 16.0.17830.20162 winget

Name    Argument                                      Explicit
--------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget  https://cdn.winget.microsoft.com/cache        false

Not sure what happened.
Thank


ERROR in building the convex_plane_decomposition_ros #10

Ubuntu 20.04
ROS noetic
when I ran catkin build convex_plane_decomposition_ros It occured
/usr/include/boost/parameter/config.hpp:61: note: this is the location of the previous definition 61 | #define BOOST_PARAMETER_MAX_ARITY BOOST_MPL_LIMIT_VECTOR_SIZE |  /usr/bin/ld: CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/test/TestShapeGrowing.cpp.o: undefined reference to symbol '__gmpn_com' /usr/bin/ld: /lib/x86_64-linux-gnu/libgmp.so.10: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/build.make:227：/home/skywalker/quardroped/devel/.private/convex_plane_decomposition_ros/lib/convex_plane_decomposition_ros/convex_plane_decomposition_ros_TestShapeGrowing] 错误 1 make[1]: *** [CMakeFiles/Makefile2:225：CMakeFiles/convex_plane_decomposition_ros_TestShapeGrowing.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... make: *** [Makefile:141：all] 错误 2
Wish you could help me to solve this issue ,thanks

I solved the same problem by link gmp library.
# GMP find_library(GMP_LIBRARY NAMES gmp)
target_link_libraries(${PROJECT_NAME}_TestShapeGrowing   ${catkin_LIBRARIES}   ${OpenCV_LIBRARIES}   gmp )


gsap is not defined

Hey 👋 Puppeteer seems to be throwing an undefined error when trying to run this package.
Error:
$ gsap-video-export https://lettermark.co.uk -S "#logo"
gsap-video-export 1.0.3 / @defaced

┃
┃ Support this project!
┃
┃ Help support the work that goes into creating and maintaining my projects
┃ and buy me a coffee via Ko-fi or sponsor me on GitHub Sponsors.
┃
┃ Ko-fi: https://ko-fi.com/defaced
┃ GitHub Sponsors: https://github.com/sponsors/workeffortwaste/
┃

https://lettermark.co.uk

Browser.......................................................................OK
Selector..............................................................(#logo) OK
GSAP.....................................................................v3.12.5
/Users/lucas/.nvm/versions/node/v20.11.1/lib/node_modules/gsap-video-export/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221
            throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
                  ^

Error: Evaluation failed: ReferenceError: gsap is not defined
    at <anonymous>:5:37
    at ExecutionContext._evaluateInternal (/Users/lucas/.nvm/versions/node/v20.11.1/lib/node_modules/gsap-video-export/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ExecutionContext.evaluate (/Users/lucas/.nvm/versions/node/v20.11.1/lib/node_modules/gsap-video-export/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
    at async exportVideo (file:///Users/lucas/.nvm/versions/node/v20.11.1/lib/node_modules/gsap-video-export/index.js:339:20)

So the problem is for the site in your example the gsap library is not exposed to the Window, which means my tool can't hook into it or the animation timeline.

Thanks for letting me know! Might be worth a check for this - will take a look later today


123-model-can-not-loaded

Hi,
This PR includes some fix for not loading model => undefined this.model in AvatarController
Please help to merge into develop.

Sorry for this bug, tried going to fast in the cleanup


is it possible to use @OneToOne and @ManyToOne in one Entity

Hi,
I have a model that has below relationship called Milestone
@OneToOne(mappedBy = "milestone", cascade = {CascadeAction.SAVE, CascadeAction.DELETE})
    public Consignment consignment;

    @ManyToOne
    public Article article;

it means Consignment has exactly 1 milestone, Article have a List of Milestone. and Consignment have a List of Articles. However, when I run the test it never runs, it halts forever and no logs printed. It seems like a infinite loop running or a StackOverflow maybe? Because the machine CPU is at the max when running this test:)
I think it is somehow causing a CircularReference but wan't be able to be detected by SchemaModifier.sortTypes

Can you provide your full test case and the full models? It's easier for others to reproduce it then. However, if I got the models right, it seems like there might be a deadlock? I'm getting a lot of
W/art: Suspending all threads took: 5.961ms
W/art: Suspending all threads took: 5.995ms
W/art: Suspending all threads took: 5.778ms
...

Also I cannot access the database from the shell anymore, as I always get Error: database is locked. I don't have any solution, just providing more info.

Ok here is the sample model I created.
public class A implements Persistable{
    @Key
    @Generated
    public int aid;

    public String name;

    @ForeignKey
    @OneToOne
    public B b;

    @OneToMany
    public List<C> cList;
}

@Entity
public class B implements Persistable{
    @Key
    @Generated
    public int bid;

    public String name;

    @OneToOne
    public A athing;

    @ManyToOne
    public C c;
}
@Entity
public class C implements Persistable{

    @Key
    @Generated
    public int cid;

    public String name;

    @ManyToOne
    public A a;

    @OneToMany
    public List<B> bList;
}```

Just by a simple insertion of A, the app will hang because the infinite loop running in`SchemaModifier.sortTypes`

In this case you have a circular reference that prevents the table from being created, this situation can be handled better by the library.


messages always scroll

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.6.5

Platform and Target: Browser, Android, iOS

What you did
I have a <f7-messages :scrollMessages="false"> sitting somewhere at at the bottom of the page (on load outside of visible area).
Expected Behavior
I expect the <f7-page> not to scroll to the bottom but stay on top.
Actual Behavior
The <f7-page> scrolls to the bottom where the <f7-messages> is sitting, despite scrollMessages being fase.
This is due to a line in messages.js
https://github.com/framework7io/Framework7/blob/master/src/js/framework7/messages.js#L199
The  m.scrollMessages(0); will always scroll the page to the messages part.

Issue is closed because of outdated, irrelevant or not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Errors running on windows in git bash: EPERM operation not permitted, could not find parent dir

I get the following error on running npx yarn-audit-fix on windows in git bash:
npx yarn-audit-fix
Preparing temp assets...
Error: EPERM: operation not permitted, symlink '..\..' -> 'C:\data\src\<my project>\node_modules\.cache\yarn-audit-fix\node_modules'

running the same in a console with administrator privileges results in this error:
npx yarn-audit-fix
Preparing temp assets...
Generating package-lock.json from yarn.lock...
Error: Could not find parent dir!
    at parentPackagePath (C:\data\src\<my project>\node_modules\synp\util\traverse.js:9:11)
    at C:\data\src\<my project>\node_modules\synp\lib\lockfileV1\tree.js:67:30

thanks for any hints to get it running.

Hi @klues
There're some issues with synp and yarn-audit-fix we're trying to solve rigth now. Could you try out the latest 2.0.0-rc.5?
npx<EMAIL_ADDRESS>

Same thing here. I did try the 2.0.0-rc.5 with the same results. See below
$ npx<EMAIL_ADDRESS>--symlink=junction
npx: installed 375 in 11.943s
Preparing temp assets...
Generating package-lock.json from yarn.lock...
Error: Could not find parent dir!
    at parentPackagePath (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\util\traverse.js:9:11)
    at C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\lib\lockfileV1\tree.js:65:30
    at Array.reduce (<anonymous>)
    at buildNpmTree (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\lib\lockfileV1\tree.js:51:8)
    at convertYarnToNpmV1 (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\lib\lockfileV1\index.js:13:26)
    at convertYarnToNpm (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\lib\index.js:15:9)
    at Object.yarnToNpm (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\node_modules\@antongolub\synp\index.js:15:12)
    at yarnLockToPkgLock (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\target\es5\index.js:90:42)
    at C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\target\es5\index.js:179:21
    at step (C:\Users\matt\AppData\Roaming\npm-cache\_npx\33692\node_modules\yarn-audit-fix\target\es5\index.js:33:23)

Let me know what information I can supply to help.

Oh... It seems to be all about path separators. Could you try 2.0.0-rc.6?

@MattSwartz @klues
I've added windows os to build matrix. Everything seems to be ok.
https://travis-ci.com/github/antongolub/yarn-audit-fix/jobs/375950459

thank you very much for the support!
I've tried rc7, this is the result:
npx<EMAIL_ADDRESS>--symlink=junction
npx: Installierte 375 in 12.618s
Preparing temp assets...
Generating package-lock.json from yarn.lock...
Applying npm audit fix...
invoke node node_modules/npm/bin/npm-cli.js audit fix --prefix=C:\data\src\<my-project>\node_modules\.cache\yarn-audit-fix
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module 'C:\data\src\<my-project>\node_modules\.cache\yarn-audit-fix\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
{
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 11764,
  stdout: null,
  stderr: null
}

@klues
I'll assume this is because npm v7 is trying to eliminate the difference in the node_modules directory structure. Let's try this workaround:

Restore original node_modules state. yarn --force or rm-rf node_modules && yarn.
Apply npx<EMAIL_ADDRESS>--symlink=junction --package-lock-only. The last param should instruct npm not to modify node_modules contents.

I did
rm -rf node_modules
rm -rf yarn.lock
yarn
npx<EMAIL_ADDRESS>--symlink=junction --package-lock-only

but unfortunately it results in the same error.
Maybe this line is the problem:
invoke node node_modules/npm/bin/npm-cli.js audit fix --prefix=C:\data\src\<my-project>\node_modules\.cache\yarn-audit-fix
where the current node_modules\.cache directory is passed as --prefix?!

@klues
Most likely you are right. I'll experiment with this a little later.

If there is no objections, I'm going to close this for now as the main issue seems to be solved.