SASS transformation

Probably outside the scope of this module, but we could document how to make this work:
<script jsx type="text/sass">{`
  p {
    color: red;
    & a {
       color: #fff;
    }
  }
`}</script>

I'm looking into adding this to stylis, ping me if you have implementation ideas.

Having a documentation about how to add own css transformation rules would be really useful.

Note: whoever writes this transformation must be aware that we auto-prefix already.

Btw, this is also important part missing in docs. Autoprefixing should be at least configurable to define supported browsers.

@rauchg @operatino why not simply do it like csjs? They allow compile time babel transforms:
Links:
https://github.com/tizmagik/react-csjs
https://github.com/rtsao/babel-plugin-csjs-postcss
That way any postCSS transform can run over the css. You could safely remove the autoprefixer as its no longer needed.

So i already got a working version of this for stylis that i'll push with the next release and it's only like ~40 lines so i'm pretty impressed with the results, the way it works is when it finds a block it skips it but adds it as a block to the end of the string buffer namespaced to it's parent, when the parser finally comes across it again the same thing will happen for any nested blocks within it, recursively until there are no more nested blocks.
so this...
h1, div {
        color: red;

	h2, &:before {
		color: red;
	}

       color: blue;

	header {
		font-size: 12px;
	}
}

becomes this...
h1,
div { color: red; color: blue; }

h1 h2,
h1:before,
div h2,
div:before { color: red; }

h1 header,
div header{ font-size: 12px; }

^^ v0.8.0 now supports this.

What I'd rather see is postcss support.
More specifically, cssnext is a perfect fit for the styled-jsx paradigm, since it's basically like "babel for CSS." It takes proposed CSS additions and implements them. I'd love to see a more standard approach to CSS variables.

+1 to cssnext, we would avoid lot's of bugs ( like #68 ) with full-featured css transpiler. Dependency size is not an issue since it's compile time step

...also it's not mutually-exclusive to stylis! postcss is a css-to-css compiler, so styled-jsx can easily do postcss -> stylis. stylis can take care of the [data-jsx] scoping, postcss can take care of the rest.

Personally I'm looking forward to using postcss-import and postcss-cssnext.
<style jsx>{`
  @import './vars.css';

  .button {
    & .icon { background: var(--color-danger); }
  }
`}</style>

Btw, I tried looking at getting postcss implemented in styled-jsx, but postcss's API is async while (afaik) Babel plugins are sync :\

Dependency size is not an issue since it's compile time step

Good point. Unlike styled-components we don't compile at run-time so we could as well use PostCSS and take advantage of its ecosystem and the AST. cc @rauchg

More specifically, cssnext is a perfect fit for the styled-jsx paradigm, since it's basically like "babel for CSS." It takes proposed CSS additions and implements them. I'd love to see a more standard approach to CSS variables.

Using PostCSS sounds like a good idea but I wouldn't go as far as picking an opinionated preset of plugins (like cssnext) that sometimes can't fully polyfill css features (e.g. custom properties or color functions).
IMHO we would need a custom plugin to add scoping, autoprefixer and :global. Then we can make the preprocessor so that users can load custom plugins with postcss-load-plugins or like we do it in suitcss preprocessor.

Babel plugins are sync

correct

One of the reasons I don't like postcss is that it increases the compilation time and memory allocation very significantly :(

That said, I think there's a lot of merit to supporting features like darken(), & etc that come from the SASS / stylus / LESS crowd.
@import is actually a bit controversial. We had it in the original Next.js and it led to a lot of really questionable decisions, like using big stylesheets to style a bunch of elements at once instead of creating neatly separated components. We ended up with a bunch of big stylesheets all over the place, and we found that taking away the feature was a really good idea.

I'd love to see a more standard approach to CSS variables.

@rstacruz Like scss? I'm adding this in the next version of stylis and other scss like features see the changelog, including the possibility for @imports via middleware, though i'm still not yet sure if middleware should be a single function that you can optionally compose from many functions as well or an array of middlewares that are composed internally.

https://www.npmjs.com/package/styled-jsx-postcss

It works on styled-jsx transformed code so autoprefixing is still done by styled-jsx.

@giuseppeg , this is amazing. Exactly what i was looking for, but i am having difficulties with implementing it with nextjs. Fails at babel compilation with below error.
Any pointers or examples i can look at that implements into nextjs, since styled-components is used by default.
Property value expected type of number but got string     at Object.validate (/Users/ganeshu/Code/mysite/node_modules/babel-types/lib/definitions/index.js:161:13)
Below is my .babelrc
{   "presets": [     "next/babel"   ],   "plugins": [     "styled-jsx-postcss/babel"   ] }

@raavanan can you open an issue on the styled-jsx-postcss repo? I need to update the dependency to ^0.4.0

@rauchg people that want advanced features/preprocessing can now use styled-jsx-postcss. I could add a section to the README if you want. Can we close this issue or do you want to keep it open for reference?

Just for reference, a styled-jsx-postcss example is at next.js/examples/with-styled-jsx-postcss

That said, I think there's a lot of merit to supporting features like darken(), & etc that come from the SASS / stylus / LESS crowd.

I couldn't agree more, I think these are pretty mandatory actually, especially &

Those can all be achieved with postcss plugins and https://www.npmjs.com/package/styled-jsx-postcss

@giuseppeg this is awesome. Thanks a lot!

What about stylus?

What about stylus?
/cc @giuseppeg

I would really like to see example how to use some scss syntax with styled-jsx. postcss with ton of plugins and modules makes me confused how to even integrate it with webpack. :)


feat: added support for fzf_colors based on Neovim colorscheme

This PR makes it easier to (optionally) get a consistent look & feel for fzf_colors based on the Neovim colorscheme.
I haven't touched the defaults for opts.fzf_colors.
When setting opts.fzf_colors = true, instead of a table, defaults are used based on the colorscheme.
This makes it easier for users to get a consistent look & feel and for colorscheme plugins to provide custom highlights for fzf colors.
I haven't updated the docs yet, since I first wanted to get your input whether this is something you'd want in fzf-lua and if the approach I've taken is in line with what you'd expect.
Instead of making this optional, it could also be the default so that fzf_colors would look more in line with the colorscheme out of the box.
Let me know what you think!
Colorschemes
As an example, this is how I use the new groups in Tokyonight:
    -- FzfLua
    FzfLuaBorder = { fg = c.border_highlight, bg = c.bg_float },
    FzfLuaNormal = { fg = c.fg, bg = c.bg_float },
    FzfLuaTitle = { fg = c.orange, bg = c.bg_float },
    FzfLuaPreviewTitle = { fg = c.border_highlight, bg = c.bg_float },
    FzfLuaHeaderBind = { link =<EMAIL_ADDRESS>},
    FzfLuaHeaderText = { link = "Title" },
    FzfColorsPointer = { fg = c.magenta2 },
    FzfColorsSeparator = { fg = c.orange, bg = c.bg_float },

Hi @folke, this is great, I’m all in favor for this.
A few notes:

I would like the naming to still start with FzfLua…, A lot of users don’t know how the plug-in works internally or what is Fzf and therefore don’t need that separation of what are fzf-lua colors in neovim and fzf terminal colors
Some of the color specs don’t work in skim and should not be specified when using it
This PR doesn’t take into account temporarily command line overrides, e.g :FzfLua files hls.fzf_colors.fg=Normal

I haven't updated the docs yet, since I first wanted to get your input whether this is something you'd want in fzf-lua and if the approach I've taken is in line with what you'd expect.

You’re working so hard for all of us I’d hate to dump this on you too, I can merge this and then make the suggested changes and update the docs unless you have a specific interest in doing it yourself :) lmk

I just renamed the groups to FzfLuaColors..., but feel free to change it to anything else.
It's probably best that you make the other changes indeed, since you're the expert of fzf-lua afterall :)

I just renamed the groups to FzfLuaColors..., but feel free to change it to anything else.
It's probably best that you make the other changes indeed, since you're the expert of fzf-lua afterall :)

Ty @folke, will do :)
I’ll keep this thread posted with the changes when done.

Seem like I created this PR on main instead of a feature branch.
Just fixed it. Will stop pushing to this branch now :)

Seems like I created this PR on main instead of a feature branch. Just fixed it. Will stop pushing to this branch now :)

No worries, I was already working on an offline copy before you pushed :)

Merged manually, further changes in https://github.com/ibhagwan/fzf-lua/commit/240991be2534902c566ce96a1568dc96ee037e5a:

Renamed the higlight groups prefix to FzfLuaFzf..., not optimal but at least conveys the message this goes towards terminal fzf
Added docs and customiztation

Docs (generated from OPTIONS.md), displayed as nvim-cmp source:

Direct call customiztaion:
:FzfLua files  fzf_colors=true hls.fzf.gutter=IncSearch

Look great! Thanks again!
Not sure this is the right place to ask, but next part I'd like to tackle is formatting of result entries.
It seems that live_grep for example, is using the ansi coloring directly from rg, so FzfLuaBufName is not related to that.
To get more coherent entries, is the best way to implement a custom formatter? Like that vscode path formatter?

It seems that live_grep for example, is using the ansi coloring directly from rg, so FzfLuaBufName is not related to that.

That’s by design, for performance reasons I try to meddle as little as possible with string processing and manipulation when parsing she’ll command output as every string find/gsub can potentially add a lot of time to the overall process to finish.

To get more coherent entries, is the best way to implement a custom formatter? Like that vscode path formatter?

It’s a bit more complicated than telescope as the only context we have is the string line and I wish to avoid hiding metadata in the line using  -nth as this will increase memory consumption by a lot, I recently started laying down the framework for that with the addition of the path.filename_first formatter, I’m sure there are some rough edges still but overall it should boil down to:

Having the formatter globally defined (in defaults or via setup)
Using the formatter option as formatter = x.y (I.e. formatter = path.my_custom_fmt).
Both to and from‘ methods should be defined that restore the line to a PATH:LINE:COL:TEXT` format
Use the enrich method to enforce special options (--nth, etc)
Formatter must adhere to require limitations as it’s passed to the external process via string.dump

You can see the code here:
https://github.com/ibhagwan/fzf-lua/blob/cf0dffd59ab0386f78579ec343091b9c39002061/lua/fzf-lua/defaults.lua#L198-L252
Given custom formatter are relatively new and “WIP” don’t hesitate to ask for changes as these will surely be required at one point or another.

This seems to do exactly what I want:
        grep = {
          formatter = "path.hl",
        },
        formatters = {
          path = {
            hl = {
              _to = function(o)
                local _, escseq = require("fzf-lua.utils").ansi_from_hl(o.hls.dir_part, "foo")
                return [[
                    return function(s, _, m)
                      local _escseq = "]] .. (escseq or "") .. [["
                      return _escseq .. s .. m.utils.ansi_escseq.clear
                    end
                  ]]
              end,
            },
          },
        },

This seems to do exactly what I want:

Nice! I’m mostly shocked this is working without additional changes to the formatter API lol


This fork adds support for Rails 3.2.

All of the specs pass and a manual test of the dummy app shows everything working properly. I've updated all of the gems in the Gemfile to the latest version and everything seems to work fine.

Looks good, thanks for the PR! :D


[Wait for #1116] [tflite] Implement buildBuffers

[tflite] Implement buildBuffers

This patch implements buildBuffers, now our generated tflite file has
buffers attached.

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #1117. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @zhoonit, nntrainer/compiler/tflite_interpreter.cpp does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

:octocat: cibot: @zhoonit, nntrainer/compiler/tflite_interpreter.cpp does not include Doxygen tags such as @file @brief @author @bug. You must include the Doxygen tags in the source code. Please refer to a Doxygen manual at http://github.com/nnstreamer/TAOS-CI/blob/main/ci/doc/doxygen-documentation.md

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1117-202104272122460.93355798721313-2ceb837f731a29a7d81b2fb127bc76b158dc4bd1/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1117-202104281154060.70634007453918-d6dfeaecb19b9e8c43ecb2d941eb48dcdb288a2c/.

@zhoonit please rebase.

rebased


"too many files open" exception when calling karate.call dynamically in loop

See attached for repo.
testing-karate.zip

for problem details see #758
this should be fixed, would be good if @marklindell can validate

I will validate when fix available.

@marklindell your call, generally folks are willing to build from source and help release this faster: https://github.com/intuit/karate/wiki/Developer-Guide

released 0.9.3


Name collision with identical relational property names on separate types that refer to a common type

Apologize if the title is confusing, but this is a really odd issue, so I wasn't sure how to word it 😅 feel free to edit it to something more appropriate!
I have a schema that looks like this (excluding the obvious fields like ids):
model Foo {
  fooVersions: FooVersion[]   @relation("A")
}

model FooVersion {
  foo:      Foo?              @relation("A")
  bars:     Bar[]             @relation("B")

}

model Bar {
  fooVersions: FooVersion[]   @relation("B")
}

If I try to simultaneously create a Foo and a FooVersion node and then customize the FooVersion node's bars relation, however, I get an odd type error:
photon.foos.create({
  data: {
    fooVersions: {
      create: {
        bars: <- this property isn't accessible
      }
    }
  }
})

If I hover over the create property to see the type, it gives something like this:
(property) create?: Enumerable<FooVersionCreateWithoutBarsInput>

However, if I now modify the schema by renaming fooVersions on type Bar to something else (like otherFooVersions),
model Bar {
  otherFooVersions: FooVersion[]   @relation("B")
}

the bars property is suddenly accessible:
photon.foos.create({
  data: {
    fooVersions: {
      create: {
        bars: <- this property is now accessible
      }
    }
  }
})

and hovering over the create field now gives this type instead:
(property) create?: Enumerable<FooVersionCreateWithoutFooInput>

I'm not sure how to summarize all of this in a sentence or two, but it seems like there's some sort of type collision going on when you have two types that are both related to a third type, and those two types have the exact same property name for referring to their relation to that third type.

I can confirm this bug.
Reproduction: https://github.com/harshit-test-org/prisma-photon-201


Enable duplex streaming and special status message interop tests

grpc-dotnet now support them.

Known failures:
https://github.com/grpc/grpc/issues/18608


FHIR Patch

User story
As an MS FHIR Server user, I want use FHIR Patch so that as an alternative to updating an entire resource, clients can perform a patch operation. This can be useful when a client is seeking to minimize its bandwidth utilization, or in scenarios where a client has only partial access or support for a resource. T
http://hl7.org/fhir/http.html#patch
Acceptance criteria

When I do submit selected attributes on a resource, MS FHIR Server creates a new version of the resource which differs from the previous version only by the submitted attributes.

@uxbridgeroad thank you so much for sharing this. We have $Patch on our list of enhancements but don't have a timeline yet for when we would start development. We will keep you updated as we progress.

@CaitlinV39 , this is great to hear. Is it possible to view the list of enhancements? As mentioned in (#695) Update Roadmap.md, it would be really useful to get a view on what is under consideration so we align our project features.

I have a draft PR for Patch ready #1272. But need this: https://github.com/FirelyTeam/fhir-net-api/pull/1375 to be merged and back-ported to a version FHIR Server is using (which I've done too: R4 R5 STU3).

@uxbridgeroad as Michael mentioned in #695 we use open issues and PR to track features and give visibility into what we are releasing. We are thinking about how we can give more clarity into what we are releasing in upcoming months as well. If you'd like to jump on a call to share more ideas around this I'd love to hear them. Feel free to email me at<EMAIL_ADDRESS>

Would you update https://docs.microsoft.com/en-us/azure/healthcare-apis/fhir/fhir-features-supported to say that PATCH is not supported, please?  I spent several hours trying to get it working, whereas it doesn't appear to be implemented yet?

I'm so sorry for the confusion. We will get the docs updated. This is available in open source on both offerings and will be int he managed service by the end of next week.

FHIRPath patch has been merged


Update e-mail regex

Your regular expression allow use e-mail like this: d@a,,,ds,d###@@#@##@#

Thanks @azat-io, I recognise there's room for improvement but the regex you've submitted is a little too strict. It doesn't allow for things like admin@localhost - which is technically a valid email address.


How to use the SDK via WSGI

I used the Pythonic resin-sdk before from the command line.
Now I'm trying to move some of my code into a WSGI application, but I get:
OSError: [Errno 13] Permission denied: '/usr/share/httpd/.balena'
Is there a way to not use such a directory? Maybe using the RESIN_API_KEY?

With https://github.com/balena-io/balena-sdk-python/pull/342 users can use a in-memory settings storage which allows to run without any file system attatched, if you want to use the file system storage and want a different path you can just use the data_directory in the initialization


[request] README or some other documentation for installation and inclusion in neovim/vim

Thanks so much for this project @jaredramirez! I'd love to see some sort of documentation outlining installation procedures and possibly even config snippets for inclusion/usage within neovim/vim.
I'd be happy to help test (i use neovim for everything)

That's definitely on the roadmap, but this project is still in the very early stages and is not really usable right now. Once it gets to an alpha stage, I'll definitely add some documentation and let you know so you can give it a shot!
(I know already responded to your message on twitter, but also responding here in case others have this same question)


Continuous Planning lab - no rights

I do not have the appropriate access rights to perform the prerequisites of the "Continuous Planning lab". In the last step, create a new project, I receive the following message:
"The following account does not have sufficient permissions to complete the operation: XX. The following permissions are needed to perform this operation: Create new projects."
What should I do?

Already answered

What is the answer??? Where do I find it?

Hi smacar01, I saw that there are 3 or more "closed issues" that asked this question and because of that I closed it. The answer provided does not detail a lot what to do though, but you can have a look.
For me it works now, what I did is I went to Azure DevOps (following link):
https://go.microsoft.com/fwlink/?LinkId=307137
And I logged in with my Microsoft account. This created an organization which is called like my alias, and it is the one I am using for the labs.


Support composer scripts as objects to support symfony apps

Closes: #81

Thank you for the PR! The PHP maintainer, @dzuelke, will review this soon.


The class datasets missed

Hi~
I'm trying to train your model in our abnoraml cervical cell detection task. However, the imported class datasets in run.py is missed in this repository.
I found datasets/ in your another repository Link, which announced this code is the new version of the paper. Is that the correct code I should use?
Thank you!

Hi~
I'm trying to train your model in our abnoraml cervical cell detection task. However, the imported class datasets in run.py is missed in this repository.
I found datasets/ in your another repository Link, which announced this code is the new version of the paper. Is that the correct code I should use?
Thank you!

Thank you for reading our paper and code. The data used in our study is in our workstation, which is under maintanance now. Sorry for this. Once the maintanance work is done, we would upload our data on GoogleDrive or something available.


Upgrade to flyway 6.0.0 beta

Since chocolatey won't automatically update anything with a - in the version number, this can be safely pushed to the repo.
For those who specifically want to upgrade, they have to specify --pre during installation or upgrade.

Now upgraded flyway to 6.0.0-beta2.
Can you merge this please?

@Roemer are you in a position to help with this update?  Please let me know if there is anything that we can do to help.

Hi Ewan
Yes I will update all my packages today.

Am 31.05.2019 um 09:22 schrieb Gary Ewan Park<EMAIL_ADDRESS>@Roemer are you in a position to help with this update? Please let me know if there is anything that we can do to help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Roemer that is great news! 😄

Thanks for your contribution. The updated packages are pushed to choco!


Could not execute same task two times or more

Hi,
Today I tried execute same task 'deploy:permissions:fix' two times like:
task('deploy', [
    'deploy:prepare',
    // ...
    'deploy:permissions:fix',
    // ...
    'database:migrate',
    'deploy:permissions:fix',
    //...
])->desc('Deploy your project');

But deploy:permissions:fix was run only once. Is this intentional? If no, could you change your code in  \Deployer\Console\TaskCommand::execute() to:
$tasks = [];
foreach ($this->deployer->scenarios->get($this->getName())->getTasks() as $taskName) {
    $tasks[] = $this->deployer->tasks->get($taskName);
}

Thank you

Hmmm, look like a bug, but i not sure =0
@deployphp/maintainer guys, can anybody check this? :smile:

I will correct.

@ZhukV thanks!

So, fixed. BUT!!!
The task (in runtime) have a unique identifier for control many task with one name in group and execution context. The identifier create before run task for each task (uniqueid). And in Output we can see this identifier.
As example:
$ ./bin/dep foo production
✔ Executing task some #5579874ddfd9e
✔ Executing task some_2 #5579874de003e
✔ Executing task some #5579874de022c

The 5579874ddfd9e, 5579874de003e and 5579874de022c - is a identifiers of task.
And, for control this identifiers in parallel executor, i adds storage tasks_to_do_info to pure. And, send the task info (id and name) (previously only send task name).
I tested on series executor and parallel executor. All ok.

Fixed!


Incorrect values for m_iIDEntIndex on linux?

Hey for some reason when i read m_iIDEntIndex i always get very huge values like 237023232
i add it to the local player and then read, using process_vm_readv from the nix crate
i dont think it is a problem with me as i am perfectly able to get m_ihealth using that and some people on UC told me that its likely the dumper thats giving me wrong values
this is the code i currently have
https://paste.gg/p/anonymous/23b3ad412320449da695df72fa6e30b7/files/392bd74e84644e58972cdbb172619bfd/raw

womp womp

agree

Sorry for the delay mate, I'll look at this as soon as I can.

@AbsurdumDaemonium
I'm not exactly sure if I understand you correctly. The value will always be 0xFFFFFFFF (invalid handle) when your crosshair isn't over another player.
It seems to work as intended for me.
Screencast from 2024-07-22 23-27-26.webm

@AbsurdumDaemonium
I'm not exactly sure if I understand you correctly. The value will always be 0xFFFFFFFF (invalid handle) when your crosshair isn't over another player.
It seems to work as intended for me. Screencast from 2024-07-22 23-27-26.webm

works for me also just fine


restangular + http-rewrite-middleware + cg-angular?

Well I can't find a forum with general questions, so sorry posting here in issues.
I can't get http-rewrite-middleware to play nice with cg-angular, anyone making it working here?
And secondly It would be awesome if cg-angular could come with a optional restangular startup project, as we get the ui-router option, then http-rewrite-middleware really would have a role here.
Today almost all my projects starts up with cg-angular, ui-router, (grunt-connect-rewrite that I try to change to http-rewrite-middleware), angular-deferred-bootstrap and restangular, I would love to scaffold this from one command + some options :)
See:
http://stackoverflow.com/questions/29802171/http-rewrite-middleware-with-generator-cg-angular

Btw, how about a gitter.im for generator-cg-angular for handling this type of questions? I know some of the Github projects that really like to have all the discussions there.

I created a pull request to fix the rewrite issue a while back:
https://github.com/cgross/generator-cg-angular/pull/90
That said, to be 100% honest I would recommend not using this project at all.  Either write your own or find another one.  This one seems to be abandoned and takes more work than it's worth to bring up to speed to use with modern versions of all it's dependencies.

Well, I might be sad to say I might have to sadly agree with you, I really love the concept of cg-angular, but know Im looking into cc-angular, because we are going over to cucumber tests, but big issue it is cg-angular in base and if you actually try out to cucumber-js in cg-angular, then you will realise that there is io.js only dependency somewhere down that decency road :)
I would really like to join a group to make a new improved generator based on Angular Best Practice Guidelines for Project Structure + http rewrite + rectangular + cucumber-js. A modern one aimed on rest services with a fully mocked test examples etc...

If anyone wants to start a new one I'll be happy to merge in the changes I've made to this generator in.  Sadly my generator is now currently too heavily modified to even attempt to merge them back upstream.


import some stuff into the main namespace

closes #5   (I misnamed the branch)

the checks are failing.  But there is nothing wrong with those additions, we need to be able to pull things into the namespace.


⚠ Secret Website 3 has degraded performance

In 9ddd10b, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2657 ms

Resolved: Secret Website 3 performance has improved in 1b83233.


Update Working with Dependencies -> Centralizing Dependencies Section

Details
This is a Documentation change ONLY.
Context
Create a new Centralizing Dependencies section in Working with Dependencies
Centralizing Dependencies:

Old (Current docs)
New (Build link)
Notes

Sharing dependency versions
Creating Platforms

Sharing dependency versions
Creating Version Catalogs

None
Using Catalogs with Platforms

Review
Pages to review:

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

Build Distributions (Pull Request Feedback)

@bot-gradle clean

The merge queue build has failed. Click here to see all failures.


JWT security and scopes - my working solution

Hello,
here there is my solution, hope I can help other developers!
Token
Lets us imagine that the APP will receive in the header a JWT token (TOKENVALUE). The token has been sign with a private key. Payload can be for example:
{ user:
   { system_name: 'SVJWTDEV',
     user_uid: 'root',
     name: 'Supervisor',
     surname: 'Supervisor',
     email<EMAIL_ADDRESS>},
  scopes: [ 'admin' ],
  custom: {},
  exp:<PHONE_NUMBER>,
  iat:<PHONE_NUMBER> }

In my case, the scope is just an array of roles
Swagger.yaml
...
securityDefinitions:
  APIKey:
    description: "Accesso tramite JWT"
    type: "apiKey"
    name: "Authorization"
    in: "header"
...
paths:
  /protected_calls:
    get:
      security:
        - APIKey: []
      x-security-scopes:
      - admin

I have extended swagger adding x-security-scopes.  This is the key point of the solution.
Client authorization
Every calls to server should contains
Authorization: Bearer TOKENVALUE

Middleware
In the swaggerSecurity function it is now easy to verify the token using the public key and check if there is an intersection between scopes from token and x-security-scopes
I'm a newbie to nodejs so just get the idea and not the specific implementation
  app.use(middleware.swaggerSecurity({
    APIKey: function(req, def, JWTAuth, callback) {
      var current_req_scopes = req.swagger.operation["x-security-scopes"]
      if (!!JWTAuth && JWTAuth.indexOf("Bearer ") == 0) {
          var JWTToken = JWTAuth.split("Bearer ")[1]
          jwt.verify(JWTToken, appl_config.jwt.pubKey, function(err, payload) {
               if (err) {
                 var err = new Error('Invalid token');
                 err['statusCode'] = 400;
                 callback(err);
                 return
               }
               if (_.intersection(payload.scopes, current_req_scopes).length == 0) {
                 console.log("Not Authorized!")
                 var err = new Error('Not Authorized');
                 err['statusCode'] = 401;
                 callback(err);
                 return
               }
               else {
                   console.log("Authorized!")
                   req.swagger.params.auth_payload = payload;    //example
                   callback()
               }
          });
      } else {
         var err = new Error('Failed to authenticate using bearer token');
         err['statusCode'] = 403; // custom error code
         callback(err);
      }
    },
  }));

Riccardo

Great solution, thanks for sharing Riccardo!

Only problem is it can't be documented through swagger-ui...

We also came up with a similar solution. On top of that, we have added a version check to expire any existing tokens, when needed, to force a re-authentication.
if(token.version !== config.jwt.version) {
  // return 403
}

@ric79 Thanks for the great post.
What if you have a multiple security definition?
securityDefinitions:
  APIKey1:
    description: "Accesso tramite JWT"
    type: "apiKey"
    name: "Authorization"
    in: "header"
APIKey2:
   description: "another key"
   type: "apiKey"
   name: "another key"
   in: header
...
paths:
  /protected_calls:
    get:
      security:
        - APIKey: []
          APIKey2: [] # Here, the endpoint uses both keys
      x-security-scopes:
      - admin
...

And your authentication mw uses both keys? What do you use instead of ??? ?
app.use(middleware.swaggerSecurity({
   ???: function(req, def, JWTAuth, callback) {
....

Something like this?
securityDefinitions:
  adminKey:
    type: apiKey
    in: header
    name: Authorization
  userKey:
    type: apiKey
    in: header
    name: Authorization

const { authorize, authorizeAdmin } = require('./api/helpers/auth');

    app.use(middleware.swaggerSecurity({
        userKey: authorize,
        adminKey: authorizeAdmin,
    }));


fix: Make sure PostCSS variables is not included in bundle

Removed Parcel, since we only need to process the PostCSS

Pushed a small fix, other than that I think it looks & works good!


Introducing kubernetes ratelimit queue for configuration reloading

Do you want to request a feature or report a bug?
Feature Request

What did you expect to see?
After #2848, we have unlocked some newer utilities of kubernetes client-go. I think it's the time to introduce k8s.io/client-go/util/workqueue to traefik.
This package provides a queue with rate limit and we can use it to prevent some ramification and overhead e.g. when the ingress or other resources is changing frequently. This will be helpful for large-scale deployment in kubernetes.
Also we can provide an item to configure the limit rate in the [kubernetes] section of the toml file and default the ratelimit to 10s-ish (not sure about this number).
What did you see instead?
Currently every small changes in kubernetes will trigger a configuration reload instantly.

This would be helpful to replace the static resync period that we have right now by a more reasonable exponential backoff pattern.

Umm I am sort of confused about the usage of exponential backoff here.
Surely the backoff could prevent traefik from doing some useless re-process, OTOH it will also delay the correct event we need when it arrives. So how could we clearify the possible correct event?
Alternatively, we can set a max backoff delay for the event queue so that too many noisy events will not delay the correct event for too long.

My experience with the work queue in client-go is still fairly limited, so take everything I say or claim with a grain of salt. :-) From what I know, it is possible to put elements back into the queue and revisit them at a periodicity dictated by an exponential factor. The idea is that, if an element cannot be processed for some reason (say, we cannot set up an Ingress because we can't access the secret for RBAC reasons), we want to conserve resources by retrying at longer and longer intervals, hoping that the situation will eventually be remedied.
On second thought, making this work may require changing how the Ingress controller in Traefik operates as we currently treat every event as a signal to process everything again. I suppose we'd have to carefully assess if the change in design is really worth it.
I also assumed that the backoff applied when putting an element back into the queue for failure reasons can be different from the backoff affecting new, incoming events. Ideally, the backoff should be indexable so that offending Ingresses can be backed off while others continue to be processed without any penalty whatsoever. Again, I'm lacking experience on what's possible in this field.
In summary, we may or may not have two separate feature requests hidden under the surface.
Anyways... I'm not opposed to the idea to throttle the rate of incoming events per se. I'd like to make sure though that there are actual users who have measured a negative impact of too frequently changing configurations and would benefit from the proposed feature. If that user is you, @yue9944882, please let me know. :-)

I'd like to make sure though that there are actual users who have measured a negative impact of too frequently changing configurations and would benefit from the proposed feature.

@timoreimann Maybe we could listen if any user hits this issue. I'm not having any negative impact from this currently. Just theoritically concerning if frequent changes will impact.


Building for Android: I haven't been able to do this so far since I haven't been able to figure out how to configure my machine to export for Android, and I don't have an Android device to test on

(split from #11 )
We should configure our project to generate .apk files on each push to the main branch to always have an installable prototype available.

[ ] Generate .apk from CI

I ran into some issue with a debug keystore when trying to build for the android emulator and I don't have an Android device to test on, so I don't have a way to figure this one out.

Made Android Deployment File .apk under my branch in folder labeled Android.

Will deploy a final .apk file to the release category once we have finished all changes.


[BEAM-3789][SQL] Support nested Rows

Add basic support for SqlTypeName.ROW, support for row constructors and field access
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @kennknowles @apilloud

Review status: 2 of 8 files reviewed at latest revision, 3 unresolved discussions.

sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/interpreter/BeamSqlFnExecutor.java, line 44 at r1 (raw file):
Previously, kennknowles (Kenn Knowles) wrote…
This is a bit weird

intellij is funny sometimes. fixed

sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/interpreter/operator/row/package-info.java, line 23 at r1 (raw file):
Previously, kennknowles (Kenn Knowles) wrote…
I think we might be getting a bit extreme about nesting Java packages. I prefer to keep them as un-nested as possible so that package-private access is useful and it is easy to browse the whole system at a glance. Most tools are best at one directory at a time, up to a few dozen files.

I agree. Will move stuff either later in this PR or in another one if this gets merged

sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/BeamSqlDslNestedRowsTest.java, line 200 at r1 (raw file):
Previously, kennknowles (Kenn Knowles) wrote…
Now that there's also arrays, it would be nice to build some complex nesting and make sure it all works. This PR is fine now, but you do have to rebase to resolve the conflicts anyhow.

Added tests for accessing array fields of nested rows. Found out that arrays of rows don't work right now. Will fix either later in this PR or in another one.

Comments from Reviewable

rebased added tests for array fields

Reviewed 6 of 6 files at r2.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable


tf.math.reduce_euclidean_norm can not be in tf.function with experimental_compile=True

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.4.0-dev20200730
Python version: colab
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory: no

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
EuclideanNorm: unsupported op: No registered 'EuclideanNorm' OpKernel for XLA_CPU_JIT devices compatible with node {{node EuclideanNorm}}

Describe the expected behavior
The op can run as usual.
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
import tensorflow as tf

x = tf.complex(tf.random.uniform(shape=(5, 5)), tf.random.uniform(shape=(5, 5)))

@tf.function(experimental_compile=True)
def reduce_euclidean_norm(x):
  return tf.math.reduce_euclidean_norm(x)

print(reduce_euclidean_norm(x))

https://colab.research.google.com/drive/1YENmpGDLU6kCupseizWTO1wBiDDj8v9x?usp=sharing
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@WindQAQ
I have tried in colab with TF nightly version(2.4.0-dev20200730) and was able to reproduce the issue.However if I change
@tf.function(experimental_compile=True)to @tf.functionin the code I am not seeing any issue.Please, find the gist here.Thanks!

@WindQAQ
I have tried in colab with TF nightly version(2.4.0-dev20200730) and was able to reproduce the issue.However if I change
@tf.function(experimental_compile=True)to @tf.functionin the code I am not seeing any issue.Please, find the gist here.Thanks!

Yes, but in that case, it does not utilize XLA.

It looks like the ops is missing an XLA kernel for the gradient. @cheshire could you triage?

Thanks for the triage! I think it misses the XLA kernel for EuclideanNorm instead of its gradient as the gradient is defined with python ops here.


Support forcing CNI network creation even if delete of pre-existing network fails

In reference to the current code's attempt to delete a pre-existing network for a given VM, I've now encountered in the wild a plugin (the firewall CNI plugin) that consistently fails here due to a previous result not being available (which goes against what the CNI spec says).
While we can fix this problem upstream, we should probably also include the ability for users to optionally override failing at that line (perhaps via something like a Force parameter in the CNI configuration) in order to allow use of CNI plugins that aren't perfectly compliant. The default behavior should stay the same though and if the error is overridden with the Force parameter then the error needs to be logged still.

I will work on this one!

I will work on this one!

Sounds great, thanks! Let me know if you need any more context on the change

Closed by #161


是否支持泛域名？

是的，它确实。

是的，它确实。

是否有教程？我想要支持*.xxx.com这种泛域名。网上没有找到相关资料，都说win-acme不支持*.xxx.com泛域名，acme.sh可以支持。谢谢。

The documentation in the Wiki here on GitHub is the only source of true up-to-date information about this program. Online tutorials that you may find with Google are commonly based on older releases.
There is nothing special about creating wildcard domains, you just specify *.yourdomain.com as the host name. For international domains you can either input unicode characters or use punycode, e.g. the xn--c1yn36f format. This assumes you are using the "Manual" option for targets.
For IIS it's even simpler: you just configure the HTTP bindings, pick the site, and the program creates the HTTPS versions.

Looking into this a bit more, I actually found a bug that prevents the punycode-format from working with wildcards or actually any non-punycode subdomains. This affects the manual target plugin.
The IIS plugin should be fine, as should straight unicode input.
This will be fixed in the next release.

Thank you very much for your reply。I will try according to your suggestion。

Looking into this a bit more, I actually found a bug that prevents the punycode-format from working with wildcards or actually any non-punycode subdomains. This affects the manual target plugin.
The IIS plugin should be fine, as should straight unicode input.
This will be fixed in the next release.

Thank you very much for your reply。I will try according to your suggestion。

This has been released in version 2.0.8


[Finishes #150263746] Bumped version of UI-components

@miq-bot add_label bug
@miq-bot add_label fine/no
@miq-bot add_label catalogs / dialogs

This PR integrates the changes that were made in the ui-components from the PR https://github.com/ManageIQ/ui-components/pull/113


Bug fix : blog artical has broken links

Description :-
Bug fix : https://github.com/kubernetes/website/issues/38556
Fixing broken links from important blog "Borg: The Predecessor to Kubernetes"

Thanks @divya-mohan0209 , I understand your point, changes are done now.

Cross checked, there is no other broken links in the article other than replication controller.
Change for replication controller is done.

Thanks
/lgtm
/approve

/retitle Fix links in blog article


Gradle 4.7, metadata version

Currently sqldelight uses a new 4.10  gradle metadata, but all other popular mpp libraries like kodein, ktor and others still use 4.7, making consumers unable to use both. Are you planning to keep it at `4.10? What are your thoughts on this?

i believe the gradle 4.10.2 metadata version is consistent with the 5.0-milestone1 gradle metadata version, and recent versions of kotlin native require 4.10.2 i believe. Once kotlin 1.3 is fully released I think the versioning will be consistent on 4.10 metadata.

In reality, you should expect this to happen a lot until the format is stable. Trending towards the newer versions is likely the best strategy for libraries. If you don't want to deal with the hassle, disabling metadata and depending on the individual artifacts directly is the best approach until the metadata format hits 1.0.

ima just close this since theres not really anything we can do

Any progress on this one? I mean is there a way to use ktor.. coroutines with SQLDelight? I am writing Multiplatform app, but I can either setup SQL Delight or Ktor/Coroutines and all, due to Gradle settings.. has anything changed in recent time?

Ktor (and other libraries) is already compatible with 4.10.

hmm.. last time I could not make them work with 4.10, but good to hear, will try again tom. Thanks.


BTCP Electrum 1.0 changed addresses

Sorry for my ignorance, already searched and didn´t find this:
My BTCP address changed today, same amount of coins... I still get coins sent to my "yesterday" address ? Will I lose what i mined and wasn´t send before address changed?

Private key from ZCL / BTC reflects a BTCP address; indeed it is a different address.


Adding a textfield in the upload area

Hi All,
Actually, I want to have a caption field for the images I upload. So, I was trying to add a text field in the upload area where it will have the caption for the images I upload and on clicking the start upload button it will save those captions into the database  Can this be possible?
Please help.
Thanks in Advance :)

It's very possible but has to be implemented yourself. When you get the information for the file upload, simply get the caption value out of the text field and save it to a database using your own code.
It's unreasonable to expect a file upload plugin to do something that specific in addition to uploading the file to your server for you.


Change backend code in model.

Updating backend query to get right 'Author Feedback Response Mapping'

Changes ready for first review


w2field for selected cell

Can i add w2field('date') for selected cell, not for entire column.
ERROR: w2field could only be applied to INPUT or TEXTAREA.
Input area show later, but i can't associated for this cell

You can do this by enabling for the column an input field of type 'text' and then in onEditField event initialize the control with w2field('date'). See http://w2ui.com/web/docs/w2grid.onEditField. I think you will need to attach in onComplete loop and there should be either an id of the input in the event object or reference to it

Just i don't want enable date all for column, but can i enable for record?

Yes, for one field only, not for the column. For the column you define it as text input, but when onEditField happens, you can specify it for your particular field or event.preventDefault() to disable it.

Closing issue: Solution posted by @mrg2001 should work.


Print external port when doing tye run and having multiple replicas

Right now, when doing tye run, if you have multiple frontends, it won't log the frontend host and port. Also, the other frontend ports are still publicly available.

It's always localhost.

Is there anything to do here? I'm not sure what action we're going to take so can we close this?


Start working on a TimePicker

You can't actually pick a time with the time picker yet, but this patch adds
most of the plumbing.

LGTM


Unable to process 'src/app.css'. Reason: addImports is not a function #12778

Topic
adding tailwindcss to a sveltekit project
Version
"svelte": "^4.2.7",                                                                                │
Expected behavior
pnpm create svelte@latest testing
cd testing
pnpm i
pnpm dlx svelte-add@latest tailwindcss
The above should add tailwindcss to the project.
Actual behavior
└  Unable to process 'src/app.css'. Reason: addImports is not a function                                         │
│                                                                                │
│     Error: Unable to process 'src/app.css'. Reason: addImports is not a function                                     │
│         at createOrUpdateFiles (file:///Users/aaa/Library/pnpm/store/v3/tmp/dlx-78821/node_modules/.pnpm/@sv│
│     elte-add+core@2.9.5/node_modules/@svelte-add/core/build/internal.js:361:37)                                      │
│         at async processInlineAdder (file:///Users/aaa/Library/pnpm/store/v3/tmp/dlx-78821/node_modules/.pnp│
│     m/@svelte-add+core@2.9.5/node_modules/@svelte-add/core/build/internal.js:14373:33)                               │
│         at async executePlan (file:///Users/aaa/Library/pnpm/store/v3/tmp/dlx-78821/node_modules/.pnpm/@svel│
│     te-add+core@2.9.5/node_modules/@svelte-add/core/build/internal.js:14336:28)                                      │
│         at async executeAdders (file:///Users/aaa/Library/pnpm/store/v3/tmp/dlx-78821/node_modules/.pnpm/@sv│
│     elte-add+core@2.9.5/node_modules/@svelte-add/core/build/internal.js:14260:5)                                     │
│         at async executeCli (file:///Users/aaa/Library/pnpm/store/v3/tmp/dlx-78821/node_modules/.pnpm/svelte│
│     -add@2.3.9/node_modules/svelte-add/build/index.js:64:3)
I tried pnpm svelte 4 and svelte 5 (both used to work) but now suffer the same issue. I was able to also reproduce while trying to add it in svelte 4 and 5 projects running on bun.

@jakubdonovan Thanks for reporting this! We had a problem with our release workflow yesterday, so it did not release all relevant packages. This will be fixed in a minute when the pipeline succeeds!
Sorry for the inconvenience!

@jakubdonovan Thanks for reporting this! We had a problem with our release workflow yesterday, so it did not release all relevant packages. This will be fixed in a minute when the pipeline succeeds!
Sorry for the inconvenience!

I was able to install via pnpm, but keep getting the same error in bun.
PNPM
 jakubdonovan at …/code
pnpm create svelte@latest pnpm
.../Library/pnpm/store/v3/tmp/dlx-87835  |   +6 +
.../Library/pnpm/store/v3/tmp/dlx-87835  | Progress: resolved 6, reused 6, downloaded 0, added 6, done
create-svelte version 6.3.4
┌  Welcome to SvelteKit!
│
◇  Which Svelte app template?
│  Skeleton project
│
◇  Add type checking with TypeScript?
│  Yes, using TypeScript syntax
│
◇  Select additional options (use arrow keys/space bar)
│  Add ESLint for code linting, Add Prettier for code formatting, Add Playwright for browser testing, Try the Svelte 5 preview (unstable!)
│
└  Your project is ready!
Install more integrations with:
npx svelte-add
Next steps:
1: cd pnpm
2: pnpm install
3: git init && git add -A && git commit -m "Initial commit" (optional)
4: pnpm run dev -- --open
To close the dev server, hit Ctrl-C
Stuck? Visit us at https://svelte.dev/chat
 jakubdonovan at …/code
cd pnpm
 jakubdonovan at …/pnpm
pnpm i
 WARN  3 deprecated subdependencies found<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Packages: +219
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 256, reused 219, downloaded 0, added 219, done
devDependencies:

@playwright/test 1.45.3
@sveltejs/adapter-auto 3.2.2
@sveltejs/kit 2.5.18
@sveltejs/vite-plugin-svelte 3.1.1
@types/eslint 9.6.0
eslint 9.7.0
eslint-config-prettier 9.1.0
eslint-plugin-svelte 2.43.0
globals 15.8.0
prettier 3.3.3
prettier-plugin-svelte 3.2.6
svelte 5.0.0-next.198
svelte-check 3.8.4
typescript 5.5.4
typescript-eslint 8.0.0-alpha.54
vite 5.3.4

WARN  Issues with peer dependencies found
.
└─┬ @sveltejs/vite-plugin-svelte 3.1.1
└─┬ svelte-hmr 0.16.0
└── ✕ unmet peer<EMAIL_ADDRESS>|| ^4.0.0": found 5.0.0-next.198
Done in 8.4s
 jakubdonovan at …/pnpm
pnpm dlx svelte-add@latest tailwind
Packages: +5
+++++
Progress: resolved 5, reused 5, downloaded 0, added 5, done
Invalid adder selected: tailwind
 jakubdonovan at …/pnpm
pnpm dlx svelte-add@latest tailwindcss
Packages: +5
+++++
Progress: resolved 5, reused 5, downloaded 0, added 5, done
svelte-add version 2.3.10
┌  Welcome to Svelte Add!
│
◇  Do you want to use typography plugin?
│  No
│
◇  Successfully installed dependencies
│
◇  Successfully formatted modified files
│
└  You're all set!
BUN
 jakubdonovan at  ~
cd bun
 jakubdonovan at …/bun
bun i
bun install v1.1.20 (ae194892)
warn: incorrect peer dependency<EMAIL_ADDRESS>
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>(v9.6.0 available)
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
220 packages installed [4.80s]
Blocked 1 postinstall. Run bun pm untrusted for details.
 jakubdonovan at …/bun
bun pm trust --all
bun pm trust v1.1.20 (ae194892)
./node_modules/svelte-preprocess @5.1.4
✓ [postinstall]: echo "[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc..."
1 script ran across 1 package [54.00ms]
 jakubdonovan at …/bun
bun i
bun install v1.1.20 (ae194892)
Checked 223 installs across 258 packages (no changes) [83.00ms]
 jakubdonovan at …/bun
bunx svelte-add@latest tailwindcss
svelte-add version 2.3.9
┌  Welcome to Svelte Add!
│
◇  Do you want to use typography plugin?
│  No
└  Unable to process 'src/app.css'. Reason: addImports is not a function
Error: Unable to process 'src/app.css'. Reason: addImports is not a function
at createOrUpdateFiles (file:///private/tmp/bunx-501-svelte-add@latest/node_modules/@svelte-add/core/build/internal.js:361:37)
at async processInlineAdder (file:///private/tmp/bunx-501-svelte-add@latest/node_modules/@svelte-add/core/build/internal.js:14373:33)
at async executePlan (file:///private/tmp/bunx-501-svelte-add@latest/node_modules/@svelte-add/core/build/internal.js:14336:28)
at async executeAdders (file:///private/tmp/bunx-501-svelte-add@latest/node_modules/@svelte-add/core/build/internal.js:14260:5)
at async executeCli (file:///private/tmp/bunx-501-svelte-add@latest/node_modules/svelte-add/build/index.js:64:3)
Any ideas?

That's a caching issue. Notice how the version is still 2.3.9 while the current version is 2.3.10. You'll need to purge the global cache from bun:
bun pm cache rm
see: https://bun.sh/docs/cli/pm

Yeah, we had such things happening before. PNPM apparently has less strict caching and correctly downloaded the newest version

Yeah, we had such things happening before. PNPM apparently has less strict caching and correctly downloaded the newest version

That did it, appreciate it!


Monitoring script for agents

Rationale
Currently the 0.x-stats branch has a shtf.py script that can be run as a cron job and it reports unclaimed fills, expired requests with no fill and claim & challenged requests.
This script needs to be made compatible with v1 of the contracts. Currently we are the one consuming this script and it helps us to monitor the network for anomalies. We should modify the script to be "agent targeted" - meaning that if you provide it an agent address it will filter the events to only those relevant to the agent. This way we could have it in the "run your agent" repo as a separate docker container that runs next to the main agent container and it could notify the agent when something out of the ordinary is going on.

[x] update current script to work with v1 of the contracts
[ ] add option to send messages to telegram
[ ] filter events based on an agent id
[ ] create docker container with the script
[ ] create necessary config files for the run your agent repo

[ ] catch crash on fetching of events from RPC


Fine tuning D1 and D2 in qw11q

Fine tuning qubit D1 and D2.
I will try to upload a reasonable calibration for 2q gates as well.

I'm closing this since it is outdated following the restart of the instruments


When releasing an orphan tag is created (no history) preventing it to be detected by pre-commit autoupdate

Like the title says.
The tag has to be created on the main branch @klmcadams - currently the action is creating the tag on an orphan branch, not on main. The workflow has to be adapted.

This is high priority whenever you are back.

Closed by ansys/actions #526


docker run get stuck

Hello, I was trying to install docker image of coppeliasim in this repo. When i insert "docker run coppeliasim-ubuntu18:latest". It's working until this part

How can i solve this ?
PS : I'm on openSUSE Leap 15.2, ASUS x455l

Hello, I have exactly the same problem, I'm really stuck. Thanks

@StephAO I am facing the same problem. Did you by now manage to run RLBench in a docker image?


How can I, from build pipeline, disable compression, in player "Publishing Settings" , Compression Format

My build is created (WebGL) as an artifact but when I try to run it I get an error message
unityFramework is not defined at HTMLScriptElement.r.onload
I want to try and disable compression because that worked from my manual / local build. Can it be done?

Unity Builder will use whatever is in your <projectPath>/ProjectSettings/ProjectSettings.asset
To disable compression, just make sure you have webGLCompressionFormat: 2 in there.

Thanks, now it worked @davidmfinol

Is it possible to override the ProjectSettings using the "customParameters" in the yaml file?


Can't install the Example on Android

Hey guys!
I was able to run the example in my own app (just copied the js files and everything seems to work with them). However I'm not able to clone the repository and run the examples in their own app. During the build process I get:
Example\android\app\build\outputs\apk\app-debug.apk: Failed to finalize session : -26: Package com.example new target SDK 22 doesn't support runtime permissions but the old target SDK 23 does.

Has anyone run into this issue?
I'm trying to install this on a real device running android 6

I couldn't find any app called com,example on my device, but after changing the app package to com.aksonov.routerflux.example I was able to build and deploy to my device.

Closing as my pull request was merged


Tensor with inconsistent dimension size?

I've been implementing a convolutional neural network for object detection and I met the issue below:
For object detection task, usually, one input image is associated with an undetermined number of object bounding boxes. Each bounding box can be represented by 4 coordinates. Thus, to represent bounding boxes as a tensor, the shape will be:
[batch_size, variable_num_bbox(?), 4].
Note that here, it's not just that variable_num_bbox can't be determined before the graph construction, but also, even within one batch input, different images can have different numbers of bounding boxes.
As an illustrative example, I would like to convert the following array into a tensor:
[[[1, 2, 3, 4], [2, 3, 4, 5]], [[3, 4, 5, 6]]]
Here, variable_num_bbox is 2 for the first image, but it's 1 for the second image.
I've tried and failed several ways to convert the above nested list to a tensor, which leads me to the question whether tensorflow support tensors with inconsistent dimension size? If no, is there any plan to support it to give developers such flexibility? And if it's not going to be supported, is there a way to by-pass this issue for object detection task? One solution would be to set batch_size=1 , and a bounding box can be represented as [variable_num_bbox(?), 4], so yes, the dimension inconsistency is gone, but that will hurt the efficiencyy significantly.

This is a question better suited for StackOverflow. Please ask it there and tag it with the tensorflow tag.


Octobot doesn't update Jira ticket with fix version when merging into a main branch named main

Since renaming master to main, Octobot stopped setting a fix-version when merging into the branch.
Looking at the codebase, I can see that is_main_branch assumes the main branch to be named master, develop, or have the release branch prefix.
My suggestion: add a repo config option for a regular expression that is to be used for matching the main branch of a repository, and have it default to ^(main|master|develop)$.

Repo config option with regex would be great! For new Console workbench we named our default branch default to line up with GitHub labeling.

Fixed by https://github.com/tanium/octobot/pull/248?


MISSING_DESCRIPTION

Just to be sure we don't forget to address it (low priority)

Descriptions should be good now.
(Empty text when nothing provided)

Fixed


anvil: make block time configurable with foundry.toml

Component
Anvil
Describe the feature you would like
anvil has a --block-time argument/option, but that doesn't appear to be configurable with foundry.toml (or, if it is, it's undocumented).
I'd love for this to be made available. In fact, it would be great if most/all anvil options were configurable via foundry.toml.
Additional context
No response

Related: https://github.com/foundry-rs/foundry/issues/4226


rexolved.

The site ( http://download.gridcoin.us/download/downloadstake/GridcoinResearch.msi ) is giving me install package 41.5 = v<IP_ADDRESS> wallet.
I heard you were looking to serve the packages over https... I think something might have gotten mixed up.


Get compiler bridge using Ivy in IncrementalCompilerSpec

The problem is that the compiler bridge will not get recompiled after being modified. I don't think that we want the compiler bridge to be recompiled every time that we run IncrementalCompilerSpec, but how to decide when to recompile it?

I am ok with recompiling the compiler bridge used by the unit test.


MEDIUM: Single ALB with Path Rewrites via Ingress Nginx

Background:
What we know:

We can group kind: Ingress for each kind: Service onto a shared ALB to save monies

We can then use path-based matching to forward traffic to the correct service

ALB(s) still (b/c the last time i ran into this was 2020) don't have the ability to forward traffic AND also do path rewriting like a proxy would. Huge bummer IMHO

While there are workarounds via Lambda we don't want to have to think about those limitations too: cold starts, invocation limits, latency etc

What the above means in practice is that a request that comes in on the main ALB /vector cannot have the prefix stripped and will actually get sent to the tipg service as /vector and then 404
What we want to try:

Instead of using the AWS Load Balancer Controller lets try using Ingress Nginx Controller and get the path rewriting we want

AC:

[ ] review Ingress Nginx  and how to get set up (pay close attention to setting up the IAM <> k8s ServiceAccount bridge via OIDC since that's how anything in k8s tells AWS what to do dynamically for EBS volume mounts, ALB/NLB(s), ENI(s))
[ ] document steps for IAC Terraform or eksctl later
[ ] figure out how our path rewriting would work in this setting
[ ] keep the existing options in the templates and values.yaml (enable_shared_ingress) so folks can choose whether they want path-based routing and single shared ALB or a single ALB per service

What the above means in practice is that a request that comes in on the main ALB /vector cannot have the prefix stripped and will actually get sent to the tipg service as /vector and then 404

based on this sentence above I think we using --root-path override on each service would also work with the ALB approach


[Bug] TypeHint(typing.NamedTuple[T]) <= beartype.door.TypeHint(tuple[T]) is False

This issue report comes courtesy @tbsexton (i.e., the brilliant NIST ML scientist that does science in our midst) by way of discussion #188: "Plugins, Protocols, and Unholy Algebras".
Specifically, @tbsexton wisely notices that the beartype.door.TypeHint API fails to collate typing.NamedTuple subclasses as subhints of tuple[...] type hints subscripted by the same child type hints. Minimal-length example (MLE) or @leycec never saw it, so:
from beartype import beartype
from beartype.typing import NamedTuple
from beartype.door import TypeHint

@beartypeable
class BadnessIncarnate(NamedTuple):
    name: str
    kind: str
    velocity: float

# This currently prints "False", but should instead print "True". Gah!
print(TypeHint(tuple[str, str, float]) >= TypeHint(BadnessIncarnate))

Thanks so much for the public shaming, @tbsexton. @beartype, when will you finally learn to be correct? :face_exhaling:

...ohnoes. @tbsexton brings down the hammer of beartype.door bugs onto the anvil of this issue tracker. Sparks ignite. @leycec faints. My wife can be faintly heard screaming. The cats continue snoring, oblivious to all.
Adding to the original th(NamedType[T]) <= th(tuple[T]) badness you noted, you've now uncovered two more badnesses:

th(list[Subclass]) <= th(list[Superclass]) is False but should be True, as mutable generics are expected to be invariant in their items.
th(Callable[[Subclass], Any]) <= th(Callable[[Superclass], Any]) is True but should be False, as callable arguments are expected to be contravariant.

This is badness on badness. Let's open yet another issue that someone should do something about. :+1:


Code for determining if Kaprekar number or not

A Kaprekar number is a number whose square when divided into two parts and such that sum of parts is equal to the original number and none of the parts has value 0

Thankyou for contribution Bhavesh


Added test of docker command line

Add unit test of the command line used when running docker from dog - including a mocked Windows version.
Fixed a couple of minor issues in dog (e.g. constant usage).
Init. of Windows version of p4tickets moved, so perforce config option is taken into account.

The tests are green on windows with these changes - but they fail on github actions.

Finally got this to go green so we can start working on features instead :)


Disable CephObjectStore when the cloud provider is IBMCloud

Signed-off-by: Ambika Nair<EMAIL_ADDRESS>When the Cloud Provider is IBMCloud and Cos Secret is present, disable deployment of CephObjectStore

/ok-to-test

LGTM

/retest

And another apology, but I completely forgot about a pre-existing PR. #953 is aiming to do most of the refactor work this PR is trying to accomplish. I think it is a more complete and correct refactor, so you may want to just rebase your work on top of that and focus on just the IBM-specific changes.

Yup yup, unfortunately that's the suggestion. PR #953 is an older PR I lost track of, and the refactor there is headed in a direction that's making more sense.

/retest

/retest

/cherrypick release-4.7

/cherrypick release-4.7

/cherrypick release-4.6

@jarrpa This is not yet required for 4.6, please don't backport now.

@jarrpa This is approved for 4.6 now, we need to manually backport it because of the conflict.

Above BP is failing because of the code restructuring we did in 4.7, so please check if that is also required in 4.6 or we can just manually make the changes.
@jarrpa


[Bridging PCH] Make -enable-bridging-pch the default.

Swift-3.1-branch version of #7287: Turn bridging PCH on by default, leaving -disable-bridging-pch as an opt-out.
rdar://30383376

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 040f3eebd3f7d90c880dae7e7b9fd66bf521a2e0
Test requested by - @graydon

@swift-ci clean test macOS


Get.put dependencies are registered in the previous route

Describe the bug
I'm facing an issue using Get navigation. Seems when it call binding.dependencies(), the GetConfig.currentRoute contains the previous route, so any call call to Get.put() got registered on that previous route.
To Reproduce
Steps to reproduce the behavior:

Create get bindings, and in the dependencies method make some Get.put() calls (works with Get.lazyPut())
Navigate on the route using that bindings using something which will destroy the previous route, like Get.offNamed()
The new route get pushed, the previous route get popped, but any bindings which normally have to be maintained in the new route got destroyed at the same time the previous route is popped

Expected behavior
Every declared dependencies must be remain alive in the route they are declared.
Flutter Version:
1.20.0
Getx Version:
3.8.0
Describe on which device you found the bug:
Samsung SM A7000
Possible solution
After a debugging session on the get code, I've found this line
@override
Widget buildPage(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation) {
  if (binding != null) {
    binding.dependencies();
  }
  if (bindings != null) {
    for (Bindings element in bindings) {
      element.dependencies();
    }
  }
  final pageWidget = page();
  GetConfig.currentRoute = settings.name ?? routeName; // HERE
  return pageWidget;
}

Seems that the current route is updated after the dependencies AND the page are created. Is this intended? Seems to be a strange behavior to me...

Initially, thanks for opening this issue.
With a recent change in the api, this code ended up going after the bindings causing this error.
Your suggestion will likely solve the problem, as it points out just the recent change that created it.

Fix on 3.10


⚠ Bofrost.at has degraded performance

In fb43c1c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1598 ms

Resolved: Bofrost.at performance has improved in 37ce594 after 30 minutes.


Invalid async chunk reference to async-burger

When using the eager_loading=True option in dash, I came across the following error
  File "/home/gitpod/.pyenv/versions/3.8.13/lib/python3.8/site-packages/dash/dash.py", line 800, in _generate_scripts_html
    + self._collect_and_register_resources(
  File "/home/gitpod/.pyenv/versions/3.8.13/lib/python3.8/site-packages/dash/dash.py", line 742, in _collect_and_register_resources
    _relative_url_path(
  File "/home/gitpod/.pyenv/versions/3.8.13/lib/python3.8/site-packages/dash/dash.py", line 721, in _relative_url_path
    modified = int(os.stat(module_path).st_mtime)
FileNotFoundError: [Errno 2] No such file or directory: '/home/gitpod/.pyenv/versions/3.8.13/lib/python3.8/site-packages/dash_extensions/async-burger.js'

After a bit of looking online it seems that this file would have been part of chunked loading of components (see https://community.plotly.com/t/dash-how-to-implement-chunked-loading-of-custom-components/55366), specifically the burger component which was removed in v0.1.0:
https://github.com/thedirtyfew/dash-extensions/blob/87a9c9ce4ff9731e9f8fb27a40d6ec1b501b6c0a/CHANGELOG.md?plain=1#L33-L57
It seems that some references to this component remain:
https://github.com/thedirtyfew/dash-extensions/blob/87a9c9ce4ff9731e9f8fb27a40d6ec1b501b6c0a/package.json#L29
https://github.com/thedirtyfew/dash-extensions/blob/e43cb965766e2b846892402938d7f464b3691445/MANIFEST.in#L3-L4
and most notably
https://github.com/thedirtyfew/dash-extensions/blob/87a9c9ce4ff9731e9f8fb27a40d6ec1b501b6c0a/dash_extensions/__init__.py#L34-L65
which is used to generate the eager loading script imports.
Would it be possible to remove "burger" from this list (and other possibly spurious references) to fix the eager loading? Thank you in advance for your help :)

@MomoLangenstein The issue should be resolved in version 0.1.4. Please let me know, if you still see any issue(s).

@MomoLangenstein The issue should be resolved in version 0.1.4. Please let me know, if you still see any issue(s).

It now works! Thanks for the quick fix and release!


relayer fallback - TXs

@justinbarry Lets chat before you review, i wanna bring some things to your attention.

#5059

If relayer TX fails we will fall back to using regular transactions. The flow will be a) Use signs transactions b) user sends transactions.
Updated middleware to use gasPrice/gasLimit for non-relayer transactions
Added transaction event RELAYER_DOWN to notify the UI when to show an informational modal about the service disruption.

Testing

Run locally and add a broken payload to the Gnosis API for transactions
Run locally and in the console run AugurSDK.dependencies.setUseRelay(false). After that, all transaction will bypass the relayer

what's status of this

@justinbarry Can you take a look at this today -- would love this get to merged. I'll rebase to fix conflicts
cc @joeykrug i thought this was already merged :/ -- I just need Justin to give it a review, we should be able to merge this today


Requirements for score annotation / MEI improvement

This ticket records observations from a discussion between myself and @alastair around score annotation and crowd-based MEI improvement. No direct action required as yet, though there are implications for the use cases and for the multimodal component.

Repertoires for use cases that require score annotations must be available in MEI format, as the semantic hierarchy and addressability provided by MEI is required in order for Web Annotations to be made.

This has the implication that scores in other encoding formats (e.g. MusicXML encodings) must be converted to and stored (e.g. on GitHub) as MEI, and the annotations must be made against the MEI encodings. While Verovio is able to convert MusicXML to MEI "on-the-fly" in browser memory, thus appearing to render MusicXML, any annotations created on such on-the-fly renderings would cease to be meaningful as soon as the browser session ends since the identifiers in the converted-MEI would be different on re-rendering.

MusicXML to MEI conversion is imperfect; while we (particularly @wergo) have been working to improve Verovio in this respect, 100% perfect conversion is out of reach. Thus, any use case that converts MusicXML to MEI must support (crowd-sourced) MEI correction / improvement.

Any MEI intended for crowd correction must be tied to a PDF, to act as a reference / ground-truth during the correction process.

Chaining these three points together, it becomes clear that **any use case wishing to display score annotations must EITHER fully "buy-in" to MEI crowd-correction, including storing MEI encodings of scores, and interlinking them with PDF;
OR, commit to creating "perfect" (i.e., fit-for-purpose) MEI encodings through a different mechanism, e.g. through manual encoding. This applies e.g. where a scholarly user might be preparing a new digital edition that has no corresponding physical manifestation (i.e., there is no PDF as there is nothing to scan).

This has some effect on the model that we use to store items in the CE.
Currently we have Composers (people), MusicalWorks (works), and DigitalDocuments (files that represent the works). @musicog has suggested that instead of DigitalDocument, we use MediaObject, which has additional fields that allow us to specify more concrete data about the encoding.
In the case of scores, it seems likely that we'll have a MediaObject representing a PDF, and a MediaObject representing a digital transcription of that PDF (and a relationship between them indicating this). In the case that we convert a mxml to mei, we will probably have 2 MediaObjects for the scores.
We may also have a score MediaObject which is not related to a pdf (e.g. a new "digital-first" transcription/edition).
We need to ensure that with the CE api we can retrieve all MediaObjects of a specific type which are related to a specific composition.
We haven't thought much about how mediaobjects of different types will be represented (images? of people?, recordings). This will have to be clarified in the near future as we add more content to the CE.


How to run in an existing container

I see that everything runs around IMAGE. You provide an image, x11docker creates a container with proper GUI configuration and runs the app inside.

How about this scenario:
I have docker environment configured for my development project. A container for compiling the project, a container for database, a container for database management app. All these containers are managed with docker-compose. I would like x11docker to work like this: I specify a container and a command to start my IDE. Then x11docker will check if that container has the right configurations and will start successfully the command or will show me what I have to change in container parameters in order to fix the problem. Then I will add the required parameters in my docker-compose.yml, recreate the container and start my IDE via x11docker.
Does this make sense?

At the moment I set up my IDE to work inside docker container by mounting my home directory, /tmp/.X11-unix, sharing ${DISPLAY} and starting it with docker exec (I sometime execute xhost + if it shows an error).
I just found this solution on internet and I have no idea how it works (x11 noob).
Is my solution ok and I should continue using it or x11docker has to offer something better?

I am not sure if I understand everything right; I am a noob with docker compose :-).
Short said, you have an already existing container and want to provide an X display only occasionally? You don't want to run from image every time?
I have early dropped preserving containers due to a docker issue. Maybe it got fixed in the meantime, but I don't think so.
If I run an image and mount a custom X socket (for example, /tmp/.X11-unix/X200) and I don't delete the container with docker option --rm, the container will persist after reboot. But the X socket X200 does not exist anymore.
From x11docker side it would not be a problem; it can create a new X200.
But docker has the annoying habit to create missing shared volumes as folders owned by root, even if the container is not running at all. In this example, after reboot there would be a folder /tmp/.X11-unix/X200 that I cannot delete without root permissions. And it forestalls the creation of a new X unix socket X200.
Maybe you don't stumble about this issue as you share the whole folder /tmp/.X11-unix instead of a single socket. For x11docker that is not an option as it creates multiple X sockets that should not be shared with other containers. x11docker wants to isolate X access between containers and host to avoid X security issues.

Is my solution ok and I should continue using it

If you don't care about X security leaks between host and container, your solution is ok.
For X access of an application, it needs access to the X socket that you share with /tmp/.X11-unix, it needs environment variable DISPLAY and an authentication to access X (that one you miss).

I sometime execute xhost + if it shows an error

This is a bad idea as it allows access to X for everyone and makes your host vulnerable.
You can either manipulate the cookie XAUTHORITY from host and share it, or you can set a more special xhost command. Do you set the same UID in container as you have as host user?
Than run xhost +SI:localuser:$(id -un).
To allow root in container access to X, run xhost +SI:localuser:root.

or x11docker has to offer something better?

x11docker offers avoidance of X security leaks and improves container isolation. If you trust your container applications,  this does not matter.
Further it offers options for e.g. pulseaudio sound, clipboard sharing and hardware acceleration. If you don't need that, it doesn't matter, too.

Then x11docker will check if that container has the right configurations and will start successfully the command or will show me what I have to change in container parameters in order to fix the problem. Then I will add the required parameters in my docker-compose.yml, recreate the container and start my IDE via x11docker.

There is one possibility. x11docker offers to only create a new X server and shows what is needed to access it. Example with Xephyr:
lauscher@debian9:~$ read Xenv < <(x11docker --xephyr --showenv)
lauscher@debian9:~$ echo $Xenv
DISPLAY=:200 XAUTHORITY=/home/lauscher/.cache/x11docker/X200-/share/Xclientcookie XSOCKET=/tmp/.X11-unix/X200 XPRA_XSHM=0 X11DOCKER_CACHE=/home/lauscher/.cache/x11docker/X200-

Example with display from host:
lauscher@debian9:~$ read Xenv < <(x11docker --hostdisplay --showenv)
lauscher@debian9:~$ echo $Xenv
DISPLAY=:0.0 XAUTHORITY=/home/lauscher/.cache/x11docker/X50-/share/Xclientcookie XSOCKET=/tmp/.X11-unix/X0 XPRA_XSHM=0 X11DOCKER_CACHE=/home/lauscher/.cache/x11docker/X50-

Your container needs environment variables DISPLAY and XAUTHORITY. It needs shared volumes XAUTHORITY and XSOCKET.  You can mount XAUTHORITY at a different location in container; in that case,  environment variable XAUTHORITY in container must point to that location.

Do I understand right that you can subsequently add shared volumes to an already running container with docker compose? It is possible to  unmount them afterwards?

Do I understand right that you can subsequently add shared volumes to an already running container with docker compose? It is possible to unmount them afterwards?

No. Docker compose is just syntactic sugar to help you start all your configured and linked containers with one command docker-compose up instead of starting them individually with docker run. You create one file docker-compose.yml with all information about your containers (also you can create docker-compose.override.yml to override/add some keys in docker-compose.yml without changing it). Then you manage all those containers by executing the docker-compose command in the same directory.
docs

Do you set the same UID in container as you have as host user?

Yes

Thank you very much for the detailed answer!

Just an afterthought:
You need X only for the IDE, right?
The IDE is in the same image as the rest of the development environment?
All important changing data is stored in HOME from host?
You don't need a persistant container for the IDE,  you just want to start it after your developer image is already running?
Instead of executing the IDE in the same container as the rest, you can create a new container with x11docker and share the same HOME.
The following command should catch most of your IDE setup as far as I understand it:
x11docker --hostdisplay --homedir $HOME --clipboard \
    -- \
    --cap-add=SYS_PTRACE --publish=80:8080  \
    defacto:1.1  [yourIDEcommand]

Maybe you also need x11docker option --cap-default.

This can definitely be a solution.
I also need to be in the same network created by docker-compose to be able to connect to the database container. I think this can be achieved with --network defacto_default

I simplified a bit the above script just to make the IDE start
x11docker --hostdisplay --homedir $HOME --clipboard defacto:1.1 ~/soft/phpstorm/bin/phpstorm.sh

but it throws the error export: dpkg-dev: bad variable name
x11docker ERROR: Docker startup seems to have failed!

  Last lines of docker.log:
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
/x11docker/x11docker.CMD.sh: 16: export: dpkg-dev: bad variable name

  Last lines of xterm.log:
x11docker: container IP: <IP_ADDRESS>
x11docker: container PID: 13199
mkdir: created directory '/var/run/dbus'
mkdir: created directory '/tmp/.ICE-unix'
mkdir: created directory '/tmp/.X11-unix'
mkdir: created directory '/tmp/.font-unix'
lrwxrwxrwx 1 root root 13 Mar 31 19:03 /tmp/.X11-unix/X0 -> /x11docker/X0

  Last lines of command stderr:

Does the image contain environment variables defined with ENV and containing whitespaces?
x11docker does not handle that well, that is the next to-do point on my list.
Please run with --verbose and store the output at pastebin for debugging.

There is a variable PHPIZE_DEPS containing spaces and tabs
$ docker exec defacto printenv
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=ffd2b68e0281
DISPLAY=:0
PHPIZE_DEPS=autoconf 		dpkg-dev 		file 		g++ 		gcc 		libc-dev 		make 		pkg-config 		re2c
PHP_INI_DIR=/usr/local/etc/php
PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2
PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2
PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie
GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
PHP_VERSION=7.1.14
PHP_URL=https://secure.php.net/get/php-7.1.14.tar.xz/from/this/mirror
PHP_ASC_URL=https://secure.php.net/get/php-7.1.14.tar.xz.asc/from/this/mirror
PHP_SHA256=c09f0c1074f5689b492d79034adb84e6a6c6d08c6763c02282e6318d41156779
PHP_MD5=
TINI_VERSION=v0.17.0
HOME=/home/i

I've made an update that handles whitespaces in ENV variables.
Please try again.
Though, that export error should not have prevented upstarting the IDE, I assume something else is going wrong.

Now I get export: Illegal option -W
https://pastebin.com/raw/QBBnaM4d

ok, next try.
Formerly I parsed the output of docker inspect --format='{{.Config.Env}}' IMAGENAME, but in case of your image environment that is impossible. The output lacks quotation marks, and the values contain =.
Now I am parsing the output of docker run --entrypoint env IMAGENAME env.

In the pastebin log I see the image has init system tini as entrypoint. x11docker also runs  tini with docker run option --init.
To have only one instance of tini,  set either x11docker option --no-init or --no-entrypoint.

It works!
x11docker --hostdisplay --homedir ${HOME} --clipboard \
    --cap-default --no-entrypoint \
    -- "--cap-add=SYS_PTRACE --publish=80:8080 --network defacto_default" \
    defacto \
    ~/soft/phpstorm/bin/phpstorm.sh

The only problem is that it generates an orphan container after every execution
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED              STATUS                          PORTS                    NAMES
3e8ce56668c3        defacto             "env env"                18 seconds ago       Exited (0) 18 seconds ago                                admiring_lewin
3b7e036c9ff5        defacto             "env env"                About a minute ago   Exited (0) About a minute ago                            thirsty_jepsen
9dfc5a3dfa2c        defacto             "env env"                2 minutes ago        Exited (0) 2 minutes ago                                 optimistic_hypatia
6ee864f0574b        defacto             "env env"                3 minutes ago        Exited (0) 3 minutes ago                                 happy_agnesi
f2076f096d2d        adminer             "entrypoint.sh docke…"   3 minutes ago        Up 3 minutes                    <IP_ADDRESS>:8080->8080/tcp   defacto_adminer
634bb9e1658a        defacto             "/tini -- sleep infi…"   3 minutes ago        Up 3 minutes                    8080/tcp                 defacto
e80c79a3784a        postgres:9          "docker-entrypoint.s…"   3 minutes ago        Up 3 minutes                    5432/tcp                 defacto_pg

It works!

:-)

The only problem is that it generates an orphan container after every execution

Argh! Yeah, i forgot to add --rm,  is fixed now.
I also fine-tuned the parsing of the image command. Now you can set desired working directory with:
x11docker [...] defacto  sh -c "cd $PWD ; ~/soft/phpstorm/bin/phpstorm.sh"

Afterthought about tini:
Although recent docker versions provide option --init to run tini in container, it does not work on all systems. At least it fails in  openSUSE and fedora; its an issue with their docker packaging. Compare #23
If you want to deploy your setup and always be sure tini is running, it is more reliable to use your tini installation in image.
With --no-entrypoint you disable tini in image.
Rather use --no-init to run tini from image instead of unreliable tini from docker.

You would not need to set --no-init or --no-entrypoint now.

With latest release v4.2.0 tini in ENTRYPOINT is preferred over tini from host. Now you can drop --no-init, too.


How to prevent xAxis values and dataset value get overlapped ?

I have enabled public var wordWrapEnabled = true  for multiple line labels on xAxis. but now facing problem with xAxis label is overlapping below labels.

@danielgindi seems another bug that calculating the legend position not considering wrapping?

There's no way to know ahead of time how much space you will need, especially considering the visible labels could change when interacting with the chart, and how costly it is to calculate text bounds.
So if you suspect that your chart may have really long labels and with word-wrapping enabled - just add extra padding on the bottom. There's a property for that :-)

ok thanks, can you please let me know from where or which class i can change padding to solve this issue?

That's the chart view

LineChartView ?

hi thanks issue solved.


FAU_GEN.1.1

Did we ever find out what the "not specified level" of audit was? If not - can we just tweak this wording to not sound so.. daft?

Ken told us it was actually in CCPART2 (see <IP_ADDRESS>), co-mingled with everything else. Basically it would be more difficult in every regard if we did anything but "not specified level".


use this docker success

use this docker success。
https://hub.docker.com/r/kaldiasr/kaldi
Sample usage of the CPU based images:
docker run -it kaldiasr/kaldi:latest
Sample usage of the GPU based images:
Note: use nvidia-docker to run the GPU images.
docker run -it --runtime=nvidia kaldiasr/kaldi:gpu-latest
Please refer to Kaldi's GitHub repository for more details.

Good to hear that. hope Korean_FA is helpful to your work.


test that storing a hash as ActiveRecord::Type::Value.new works, and …

…doesnt embed as a string

Doc suggestions from @nhemsley at #56

Huh, you had me worried there. note the JSON.parse.
here is a dump of what comes out of the postgres adaptor:
ActiveRecord::Base.connection.execute(instance.class.all.to_sql).first

=> {"id"=>1,
 "json_attributes"=>"{\"value\": {\"a\": {\"b\": \"c\"}}}",
 "other_attributes"=>nil,
 "string_type"=>nil,
 "integer_type"=>nil,
 "product_category_id"=>nil,
 "boolean_type"=>nil,
 "float_type"=>nil,
 "time_type"=>nil,
 "date_type"=>nil,
 "datetime_type"=>nil,
 "decimal_type"=>nil}

JSON.parse(ActiveRecord::Base.connection.execute(instance.class.all.to_sql).first["json_attributes"])
=>

{"value"=>{"a"=>{"b"=>"c"}}}

The code checks that {'a' => {'b' => 'c'}} is not a string

Oh, I see now. Nice work @nhemsley . Thank you for contributing!


Unable to start bin/www

Whenever I attempt to start bin/www, I'm getting a TypeError after the latest release of aberowl-web.
➜  aberowl-web git:(c1df353) ✗ bin/www
express-session deprecated undefined resave option; provide resave option app.js:46:9
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option app.js:46:9

TypeError: Cannot set property 'statusCode' of undefined
    at Request._callback (/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/routes/index.js:12:30)
    at self.callback (/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/node_modules/request/request.js:198:22)
    at Request.EventEmitter.emit (events.js:95:17)
    at Request.onRequestError (/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/node_modules/request/request.js:861:8)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)

Change app.js#53 to a valid path to AberOWL-server API. If you did the
Apache proxy it should probably be 'http://localhost/service/api/'
On 20 July 2015 at 09:26, KeironO<EMAIL_ADDRESS>wrote:

Whenever I attempt to start bin/www, I'm getting a TypeError after the
latest release of aberowl-web.
``bash
➜ aberowl-web git:(c1df353) ✗ bin/www
express-session deprecated undefined resave option; provide resave option
app.js:46:9
express-session deprecated undefined saveUninitialized option; provide
saveUninitialized option app.js:46:9
TypeError: Cannot set property 'statusCode' of undefined
at Request._callback
(/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/routes/index.js:12:30)
at self.callback
(/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/node_modules/request/request.js:198:22)
at Request.EventEmitter.emit (events.js:95:17)
at Request.onRequestError
(/home/keiron/Documents/Projects/aberowl-meta/aberowl-web/node_modules/request/request.js:861:8)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at Socket.socketErrorListener (http.js:1547:9)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:441:14
at process._tickCallback (node.js:415:13)
—
Reply to this email directly or view it on GitHub
https://github.com/bio-ontology-research-group/aberowl-meta/issues/1.

--
Luke Slater
:O)

Should probably just change it to that by default, given that's our suggested route in the README

Still having issues.

I have followed the README religiously, and am still having the exact same issues.
Can I suggest that you re-install it on a fresh system, and see whether you have the same problems? @MiguelAngelRG had these same issues but forgot how he fixed them.

How we fixed it:

Cloned the (aberowl-orepo)[https://github.com/bio-ontology-research-group/aberowl-orepo] repository into aberowl-meta
Removed aberowl-web and renamed orepo to web.
Installed all of the npm modules.
Configured app.js to run off localhost

Thanks.

That doesn't really make sense as a solution, but I'm glad it works.
@KeironO @MiguelAngelRG I will be removing the tracking submodules and implementing install script just straight cloning the most recent version this evening or tomorrow.


Web: getNotificationPermissionStatus MissingPluginException error

On web, getNotificationPermissionStatus results in MissingPluginException(No implementation found for method getNotificationPermissionStatus on channel notification_permissions).
I'll try to create a MR including web getNotificationPermissionStatus

So I got stuck awhile trying to understand how we can load JS in a flutter web plugin.
I used https://tbrgroup.software/writing-a-flutter-web-plugin-with-javascript/ but I didn't manage to get it working.
I ended up adding a notif.js file in my project web folder, containing
function getNotificationPermissionStatus(text) {
    return Notification.permission;
}

I load it in my index.html file's <head>:
  <!-- more code -->
  <script src="flutter.js" defer></script>
  <script src="notif.js" defer></script>
  <script src="splash/splash.js"></script>
  <!-- ... -->

Then I conditionnaly run the JS code in my project:
Future<PermissionStatus> _permissionStatus() async {
    if (kIsWeb) {
      final webPermission =
          js.context.callMethod('getNotificationPermissionStatus');

      if (webPermission == 'granted') {
        return PermissionStatus.granted;
      } else if (webPermission == 'denied') {
        return PermissionStatus.denied;
      }

      return PermissionStatus.unknown;
    }

    return await NotificationPermissions.getNotificationPermissionStatus();

This workaround is enough for me but if someone has more time/knowledge this work could be added so web can use notification permissions ;)
Here's my non-working work: https://github.com/OwnWeb/flutter_notification_permissions/tree/feat/web-getNotificationPermissionStatus


Remove otto and add RxEventBus class

Otto is now deprecated, so I've replaced it with our implementation of an RxEventBus.

All good apart from that class that needs removing